var-tracking.c (vt_add_function_parameter): Adjust for VEC changes.
[official-gcc.git] / libstdc++-v3 / configure
blobba471ad3b450fbe85106a1728bbbad771e257c2d
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
148 esac
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
164 else
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
182 as_have_required=yes
183 else
184 as_have_required=no
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
188 else
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
193 IFS=$as_save_IFS
194 test -z "$as_dir" && as_dir=.
195 as_found=:
196 case $as_dir in #(
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 break 2
208 done;;
209 esac
210 as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
223 BASH_ENV=/dev/null
224 ENV=/dev/null
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 export CONFIG_SHELL
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236 else
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
242 exit 1
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
260 { eval $1=; unset $1;}
262 as_unset=as_fn_unset
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
269 return $1
270 } # as_fn_set_status
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
277 set +e
278 as_fn_set_status $1
279 exit $1
280 } # as_fn_exit
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
288 case $as_dir in #(
289 -*) as_dir=./$as_dir;;
290 esac
291 test -d "$as_dir" || eval $as_mkdir_p || {
292 as_dirs=
293 while :; do
294 case $as_dir in #(
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 *) as_qdir=$as_dir;;
297 esac
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306 s//\1/
309 /^X\(\/\/\)[^/].*/{
310 s//\1/
313 /^X\(\/\/\)$/{
314 s//\1/
317 /^X\(\/\).*/{
318 s//\1/
321 s/.*/./; q'`
322 test -d "$as_dir" && break
323 done
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
338 eval $1+=\$2
340 else
341 as_fn_append ()
343 eval $1=\$$1\$2
345 fi # as_fn_append
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 eval 'as_fn_arith ()
355 as_val=$(( $* ))
357 else
358 as_fn_arith ()
360 as_val=`expr "$@" || test $? -eq 1`
362 fi # as_fn_arith
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
372 as_status=$?; test $as_status -eq 0 && as_status=1
373 if test "$3"; then
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
379 } # as_fn_error
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 as_expr=expr
384 else
385 as_expr=false
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 as_basename=basename
390 else
391 as_basename=false
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 as_dirname=dirname
396 else
397 as_dirname=false
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
406 s//\1/
409 /^X\/\(\/\/\)$/{
410 s//\1/
413 /^X\/\(\/\).*/{
414 s//\1/
417 s/.*/./; q'`
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
440 :lineno
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
453 . "./$as_me.lineno"
454 # Exit status is that of the last command.
455 exit
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
463 xy) ECHO_C='\c';;
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 ECHO_T=' ';;
466 esac;;
468 ECHO_N='-n';;
469 esac
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
474 else
475 rm -f conf$$.dir
476 mkdir conf$$.dir 2>/dev/null
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s='ln -s'
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486 as_ln_s='cp -p'
487 elif ln conf$$.file conf$$ 2>/dev/null; then
488 as_ln_s=ln
489 else
490 as_ln_s='cp -p'
492 else
493 as_ln_s='cp -p'
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
500 else
501 test -d ./-p && rmdir ./-p
502 as_mkdir_p=false
505 if test -x / >/dev/null 2>&1; then
506 as_test_x='test -x'
507 else
508 if ls -dL / >/dev/null 2>&1; then
509 as_ls_L_option=L
510 else
511 as_ls_L_option=
513 as_test_x='
514 eval sh -c '\''
515 if test -d "$1"; then
516 test -d "$1/.";
517 else
518 case $1 in #(
519 -*)set "./$1";;
520 esac;
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
523 '\'' sh
526 as_executable_p=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev/null 6>&1
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
545 # Initializations.
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
564 ac_unique_file="src/shared/hashtable-aux.cc"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #ifdef STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # ifdef HAVE_STDLIB_H
579 # include <stdlib.h>
580 # endif
581 #endif
582 #ifdef HAVE_STRING_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 # include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #ifdef HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #ifdef HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 PIC_CXXFLAGS
606 WARN_FLAGS
607 OPTIMIZE_CXXFLAGS
608 TOPLEVEL_INCLUDES
609 GLIBCXX_INCLUDES
610 glibcxx_toolexeclibdir
611 glibcxx_toolexecdir
612 gxx_include_dir
613 glibcxx_prefixdir
614 ERROR_CONSTANTS_SRCDIR
615 OS_INC_SRCDIR
616 ABI_TWEAKS_SRCDIR
617 CPU_DEFINES_SRCDIR
618 ATOMIC_FLAGS
619 ATOMIC_WORD_SRCDIR
620 ATOMICITY_SRCDIR
621 BUILD_PDF_FALSE
622 BUILD_PDF_TRUE
623 PDFLATEX
624 DBLATEX
625 BUILD_MAN_FALSE
626 BUILD_MAN_TRUE
627 BUILD_HTML_FALSE
628 BUILD_HTML_TRUE
629 BUILD_XML_FALSE
630 BUILD_XML_TRUE
631 BUILD_EPUB_FALSE
632 BUILD_EPUB_TRUE
633 XSL_STYLE_DIR
634 XMLLINT
635 XSLTPROC
637 DOXYGEN
638 BUILD_INFO_FALSE
639 BUILD_INFO_TRUE
640 baseline_subdir_switch
641 baseline_dir
642 GLIBCXX_LDBL_COMPAT_FALSE
643 GLIBCXX_LDBL_COMPAT_TRUE
644 ENABLE_VISIBILITY_FALSE
645 ENABLE_VISIBILITY_TRUE
646 libtool_VERSION
647 ENABLE_SYMVERS_SUN_FALSE
648 ENABLE_SYMVERS_SUN_TRUE
649 ENABLE_SYMVERS_DARWIN_FALSE
650 ENABLE_SYMVERS_DARWIN_TRUE
651 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
652 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
653 ENABLE_SYMVERS_GNU_FALSE
654 ENABLE_SYMVERS_GNU_TRUE
655 ENABLE_SYMVERS_FALSE
656 ENABLE_SYMVERS_TRUE
657 port_specific_symbol_files
658 SYMVER_FILE
659 CXXFILT
660 LTLIBICONV
661 LIBICONV
662 OPT_LDFLAGS
663 SECTION_LDFLAGS
664 GLIBCXX_LIBS
665 ENABLE_WERROR_FALSE
666 ENABLE_WERROR_TRUE
667 ENABLE_PYTHONDIR_FALSE
668 ENABLE_PYTHONDIR_TRUE
669 python_mod_dir
670 ENABLE_EXTERN_TEMPLATE_FALSE
671 ENABLE_EXTERN_TEMPLATE_TRUE
672 EXTRA_CXX_FLAGS
673 ENABLE_PARALLEL_FALSE
674 ENABLE_PARALLEL_TRUE
675 GLIBCXX_BUILD_DEBUG_FALSE
676 GLIBCXX_BUILD_DEBUG_TRUE
677 DEBUG_FLAGS
678 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
679 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
680 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
681 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
682 GLIBCXX_C_HEADERS_C_STD_FALSE
683 GLIBCXX_C_HEADERS_C_STD_TRUE
684 GLIBCXX_C_HEADERS_C_FALSE
685 GLIBCXX_C_HEADERS_C_TRUE
686 C_INCLUDE_DIR
687 ALLOCATOR_NAME
688 ALLOCATOR_H
689 CLOCALE_INTERNAL_H
690 CLOCALE_CC
691 CTIME_CC
692 CTIME_H
693 CNUMERIC_CC
694 CMONEY_CC
695 CMESSAGES_CC
696 CCTYPE_CC
697 CCOLLATE_CC
698 CCODECVT_CC
699 CMESSAGES_H
700 CLOCALE_H
701 USE_NLS
702 glibcxx_localedir
703 glibcxx_POFILES
704 glibcxx_MOFILES
705 check_msgfmt
706 BASIC_FILE_CC
707 BASIC_FILE_H
708 CSTDIO_H
709 SECTION_FLAGS
710 WERROR
711 glibcxx_PCHFLAGS
712 GLIBCXX_BUILD_PCH_FALSE
713 GLIBCXX_BUILD_PCH_TRUE
714 GLIBCXX_HOSTED_FALSE
715 GLIBCXX_HOSTED_TRUE
716 enable_static
717 enable_shared
718 lt_host_flags
719 CXXCPP
720 OTOOL64
721 OTOOL
722 LIPO
723 NMEDIT
724 DSYMUTIL
725 OBJDUMP
727 ac_ct_DUMPBIN
728 DUMPBIN
730 FGREP
732 LIBTOOL
733 EGREP
734 GREP
736 MAINT
737 MAINTAINER_MODE_FALSE
738 MAINTAINER_MODE_TRUE
739 RANLIB
742 LN_S
743 toplevel_srcdir
744 toplevel_builddir
745 glibcxx_srcdir
746 glibcxx_builddir
747 ac_ct_CXX
748 CXXFLAGS
750 OBJEXT
751 EXEEXT
752 ac_ct_CC
753 CPPFLAGS
754 LDFLAGS
755 CFLAGS
757 am__untar
758 am__tar
759 AMTAR
760 am__leading_dot
761 SET_MAKE
763 mkdir_p
764 MKDIR_P
765 INSTALL_STRIP_PROGRAM
766 STRIP
767 install_sh
768 MAKEINFO
769 AUTOHEADER
770 AUTOMAKE
771 AUTOCONF
772 ACLOCAL
773 VERSION
774 PACKAGE
775 CYGPATH_W
776 am__isrc
777 INSTALL_DATA
778 INSTALL_SCRIPT
779 INSTALL_PROGRAM
780 target_os
781 target_vendor
782 target_cpu
783 target
784 host_os
785 host_vendor
786 host_cpu
787 host
788 build_os
789 build_vendor
790 build_cpu
791 build
792 multi_basedir
793 target_alias
794 host_alias
795 build_alias
796 LIBS
797 ECHO_T
798 ECHO_N
799 ECHO_C
800 DEFS
801 mandir
802 localedir
803 libdir
804 psdir
805 pdfdir
806 dvidir
807 htmldir
808 infodir
809 docdir
810 oldincludedir
811 includedir
812 localstatedir
813 sharedstatedir
814 sysconfdir
815 datadir
816 datarootdir
817 libexecdir
818 sbindir
819 bindir
820 program_transform_name
821 prefix
822 exec_prefix
823 PACKAGE_URL
824 PACKAGE_BUGREPORT
825 PACKAGE_STRING
826 PACKAGE_VERSION
827 PACKAGE_TARNAME
828 PACKAGE_NAME
829 PATH_SEPARATOR
830 SHELL'
831 ac_subst_files=''
832 ac_user_opts='
833 enable_option_checking
834 enable_multilib
835 with_target_subdir
836 with_cross_host
837 with_newlib
838 enable_maintainer_mode
839 enable_shared
840 enable_static
841 with_pic
842 enable_fast_install
843 with_gnu_ld
844 enable_libtool_lock
845 enable_hosted_libstdcxx
846 enable_libstdcxx_verbose
847 enable_sjlj_exceptions
848 enable_libstdcxx_pch
849 enable_cstdio
850 enable_clocale
851 enable_nls
852 enable_libstdcxx_allocator
853 enable_cheaders
854 enable_long_long
855 enable_wchar_t
856 enable_c99
857 enable_concept_checks
858 enable_libstdcxx_debug_flags
859 enable_libstdcxx_debug
860 enable_cxx_flags
861 enable_fully_dynamic_string
862 enable_extern_template
863 with_python_dir
864 enable_werror
865 enable_libstdcxx_time
866 enable_tls
867 enable_rpath
868 with_libiconv_prefix
869 with_system_libunwind
870 enable_linux_futex
871 enable_symvers
872 enable_libstdcxx_visibility
873 enable_libstdcxx_threads
874 with_gxx_include_dir
875 enable_version_specific_runtime_libs
877 ac_precious_vars='build_alias
878 host_alias
879 target_alias
881 CFLAGS
882 LDFLAGS
883 LIBS
884 CPPFLAGS
886 CXXFLAGS
889 CXXCPP
890 CXXFILT'
893 # Initialize some variables set by options.
894 ac_init_help=
895 ac_init_version=false
896 ac_unrecognized_opts=
897 ac_unrecognized_sep=
898 # The variables have the same names as the options, with
899 # dashes changed to underlines.
900 cache_file=/dev/null
901 exec_prefix=NONE
902 no_create=
903 no_recursion=
904 prefix=NONE
905 program_prefix=NONE
906 program_suffix=NONE
907 program_transform_name=s,x,x,
908 silent=
909 site=
910 srcdir=
911 verbose=
912 x_includes=NONE
913 x_libraries=NONE
915 # Installation directory options.
916 # These are left unexpanded so users can "make install exec_prefix=/foo"
917 # and all the variables that are supposed to be based on exec_prefix
918 # by default will actually change.
919 # Use braces instead of parens because sh, perl, etc. also accept them.
920 # (The list follows the same order as the GNU Coding Standards.)
921 bindir='${exec_prefix}/bin'
922 sbindir='${exec_prefix}/sbin'
923 libexecdir='${exec_prefix}/libexec'
924 datarootdir='${prefix}/share'
925 datadir='${datarootdir}'
926 sysconfdir='${prefix}/etc'
927 sharedstatedir='${prefix}/com'
928 localstatedir='${prefix}/var'
929 includedir='${prefix}/include'
930 oldincludedir='/usr/include'
931 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
932 infodir='${datarootdir}/info'
933 htmldir='${docdir}'
934 dvidir='${docdir}'
935 pdfdir='${docdir}'
936 psdir='${docdir}'
937 libdir='${exec_prefix}/lib'
938 localedir='${datarootdir}/locale'
939 mandir='${datarootdir}/man'
941 ac_prev=
942 ac_dashdash=
943 for ac_option
945 # If the previous option needs an argument, assign it.
946 if test -n "$ac_prev"; then
947 eval $ac_prev=\$ac_option
948 ac_prev=
949 continue
952 case $ac_option in
953 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
954 *) ac_optarg=yes ;;
955 esac
957 # Accept the important Cygnus configure options, so we can diagnose typos.
959 case $ac_dashdash$ac_option in
961 ac_dashdash=yes ;;
963 -bindir | --bindir | --bindi | --bind | --bin | --bi)
964 ac_prev=bindir ;;
965 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
966 bindir=$ac_optarg ;;
968 -build | --build | --buil | --bui | --bu)
969 ac_prev=build_alias ;;
970 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
971 build_alias=$ac_optarg ;;
973 -cache-file | --cache-file | --cache-fil | --cache-fi \
974 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
975 ac_prev=cache_file ;;
976 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
977 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
978 cache_file=$ac_optarg ;;
980 --config-cache | -C)
981 cache_file=config.cache ;;
983 -datadir | --datadir | --datadi | --datad)
984 ac_prev=datadir ;;
985 -datadir=* | --datadir=* | --datadi=* | --datad=*)
986 datadir=$ac_optarg ;;
988 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
989 | --dataroo | --dataro | --datar)
990 ac_prev=datarootdir ;;
991 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
992 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
993 datarootdir=$ac_optarg ;;
995 -disable-* | --disable-*)
996 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
997 # Reject names that are not valid shell variable names.
998 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
999 as_fn_error "invalid feature name: $ac_useropt"
1000 ac_useropt_orig=$ac_useropt
1001 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1002 case $ac_user_opts in
1004 "enable_$ac_useropt"
1005 "*) ;;
1006 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1007 ac_unrecognized_sep=', ';;
1008 esac
1009 eval enable_$ac_useropt=no ;;
1011 -docdir | --docdir | --docdi | --doc | --do)
1012 ac_prev=docdir ;;
1013 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1014 docdir=$ac_optarg ;;
1016 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1017 ac_prev=dvidir ;;
1018 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1019 dvidir=$ac_optarg ;;
1021 -enable-* | --enable-*)
1022 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1023 # Reject names that are not valid shell variable names.
1024 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1025 as_fn_error "invalid feature name: $ac_useropt"
1026 ac_useropt_orig=$ac_useropt
1027 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1028 case $ac_user_opts in
1030 "enable_$ac_useropt"
1031 "*) ;;
1032 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1033 ac_unrecognized_sep=', ';;
1034 esac
1035 eval enable_$ac_useropt=\$ac_optarg ;;
1037 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1038 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1039 | --exec | --exe | --ex)
1040 ac_prev=exec_prefix ;;
1041 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1042 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1043 | --exec=* | --exe=* | --ex=*)
1044 exec_prefix=$ac_optarg ;;
1046 -gas | --gas | --ga | --g)
1047 # Obsolete; use --with-gas.
1048 with_gas=yes ;;
1050 -help | --help | --hel | --he | -h)
1051 ac_init_help=long ;;
1052 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1053 ac_init_help=recursive ;;
1054 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1055 ac_init_help=short ;;
1057 -host | --host | --hos | --ho)
1058 ac_prev=host_alias ;;
1059 -host=* | --host=* | --hos=* | --ho=*)
1060 host_alias=$ac_optarg ;;
1062 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1063 ac_prev=htmldir ;;
1064 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1065 | --ht=*)
1066 htmldir=$ac_optarg ;;
1068 -includedir | --includedir | --includedi | --included | --include \
1069 | --includ | --inclu | --incl | --inc)
1070 ac_prev=includedir ;;
1071 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1072 | --includ=* | --inclu=* | --incl=* | --inc=*)
1073 includedir=$ac_optarg ;;
1075 -infodir | --infodir | --infodi | --infod | --info | --inf)
1076 ac_prev=infodir ;;
1077 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1078 infodir=$ac_optarg ;;
1080 -libdir | --libdir | --libdi | --libd)
1081 ac_prev=libdir ;;
1082 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1083 libdir=$ac_optarg ;;
1085 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1086 | --libexe | --libex | --libe)
1087 ac_prev=libexecdir ;;
1088 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1089 | --libexe=* | --libex=* | --libe=*)
1090 libexecdir=$ac_optarg ;;
1092 -localedir | --localedir | --localedi | --localed | --locale)
1093 ac_prev=localedir ;;
1094 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1095 localedir=$ac_optarg ;;
1097 -localstatedir | --localstatedir | --localstatedi | --localstated \
1098 | --localstate | --localstat | --localsta | --localst | --locals)
1099 ac_prev=localstatedir ;;
1100 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1101 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1102 localstatedir=$ac_optarg ;;
1104 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1105 ac_prev=mandir ;;
1106 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1107 mandir=$ac_optarg ;;
1109 -nfp | --nfp | --nf)
1110 # Obsolete; use --without-fp.
1111 with_fp=no ;;
1113 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1114 | --no-cr | --no-c | -n)
1115 no_create=yes ;;
1117 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1118 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1119 no_recursion=yes ;;
1121 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1122 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1123 | --oldin | --oldi | --old | --ol | --o)
1124 ac_prev=oldincludedir ;;
1125 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1126 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1127 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1128 oldincludedir=$ac_optarg ;;
1130 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1131 ac_prev=prefix ;;
1132 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1133 prefix=$ac_optarg ;;
1135 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1136 | --program-pre | --program-pr | --program-p)
1137 ac_prev=program_prefix ;;
1138 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1139 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1140 program_prefix=$ac_optarg ;;
1142 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1143 | --program-suf | --program-su | --program-s)
1144 ac_prev=program_suffix ;;
1145 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1146 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1147 program_suffix=$ac_optarg ;;
1149 -program-transform-name | --program-transform-name \
1150 | --program-transform-nam | --program-transform-na \
1151 | --program-transform-n | --program-transform- \
1152 | --program-transform | --program-transfor \
1153 | --program-transfo | --program-transf \
1154 | --program-trans | --program-tran \
1155 | --progr-tra | --program-tr | --program-t)
1156 ac_prev=program_transform_name ;;
1157 -program-transform-name=* | --program-transform-name=* \
1158 | --program-transform-nam=* | --program-transform-na=* \
1159 | --program-transform-n=* | --program-transform-=* \
1160 | --program-transform=* | --program-transfor=* \
1161 | --program-transfo=* | --program-transf=* \
1162 | --program-trans=* | --program-tran=* \
1163 | --progr-tra=* | --program-tr=* | --program-t=*)
1164 program_transform_name=$ac_optarg ;;
1166 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1167 ac_prev=pdfdir ;;
1168 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1169 pdfdir=$ac_optarg ;;
1171 -psdir | --psdir | --psdi | --psd | --ps)
1172 ac_prev=psdir ;;
1173 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1174 psdir=$ac_optarg ;;
1176 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1177 | -silent | --silent | --silen | --sile | --sil)
1178 silent=yes ;;
1180 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1181 ac_prev=sbindir ;;
1182 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1183 | --sbi=* | --sb=*)
1184 sbindir=$ac_optarg ;;
1186 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1187 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1188 | --sharedst | --shareds | --shared | --share | --shar \
1189 | --sha | --sh)
1190 ac_prev=sharedstatedir ;;
1191 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1192 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1193 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1194 | --sha=* | --sh=*)
1195 sharedstatedir=$ac_optarg ;;
1197 -site | --site | --sit)
1198 ac_prev=site ;;
1199 -site=* | --site=* | --sit=*)
1200 site=$ac_optarg ;;
1202 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1203 ac_prev=srcdir ;;
1204 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1205 srcdir=$ac_optarg ;;
1207 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1208 | --syscon | --sysco | --sysc | --sys | --sy)
1209 ac_prev=sysconfdir ;;
1210 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1211 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1212 sysconfdir=$ac_optarg ;;
1214 -target | --target | --targe | --targ | --tar | --ta | --t)
1215 ac_prev=target_alias ;;
1216 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1217 target_alias=$ac_optarg ;;
1219 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1220 verbose=yes ;;
1222 -version | --version | --versio | --versi | --vers | -V)
1223 ac_init_version=: ;;
1225 -with-* | --with-*)
1226 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1227 # Reject names that are not valid shell variable names.
1228 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1229 as_fn_error "invalid package name: $ac_useropt"
1230 ac_useropt_orig=$ac_useropt
1231 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1232 case $ac_user_opts in
1234 "with_$ac_useropt"
1235 "*) ;;
1236 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1237 ac_unrecognized_sep=', ';;
1238 esac
1239 eval with_$ac_useropt=\$ac_optarg ;;
1241 -without-* | --without-*)
1242 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1243 # Reject names that are not valid shell variable names.
1244 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1245 as_fn_error "invalid package name: $ac_useropt"
1246 ac_useropt_orig=$ac_useropt
1247 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1248 case $ac_user_opts in
1250 "with_$ac_useropt"
1251 "*) ;;
1252 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1253 ac_unrecognized_sep=', ';;
1254 esac
1255 eval with_$ac_useropt=no ;;
1257 --x)
1258 # Obsolete; use --with-x.
1259 with_x=yes ;;
1261 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1262 | --x-incl | --x-inc | --x-in | --x-i)
1263 ac_prev=x_includes ;;
1264 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1265 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1266 x_includes=$ac_optarg ;;
1268 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1269 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1270 ac_prev=x_libraries ;;
1271 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1272 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1273 x_libraries=$ac_optarg ;;
1275 -*) as_fn_error "unrecognized option: \`$ac_option'
1276 Try \`$0 --help' for more information."
1279 *=*)
1280 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1281 # Reject names that are not valid shell variable names.
1282 case $ac_envvar in #(
1283 '' | [0-9]* | *[!_$as_cr_alnum]* )
1284 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1285 esac
1286 eval $ac_envvar=\$ac_optarg
1287 export $ac_envvar ;;
1290 # FIXME: should be removed in autoconf 3.0.
1291 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1292 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1293 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1294 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1297 esac
1298 done
1300 if test -n "$ac_prev"; then
1301 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1302 as_fn_error "missing argument to $ac_option"
1305 if test -n "$ac_unrecognized_opts"; then
1306 case $enable_option_checking in
1307 no) ;;
1308 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1309 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1310 esac
1313 # Check all directory arguments for consistency.
1314 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1315 datadir sysconfdir sharedstatedir localstatedir includedir \
1316 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1317 libdir localedir mandir
1319 eval ac_val=\$$ac_var
1320 # Remove trailing slashes.
1321 case $ac_val in
1322 */ )
1323 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1324 eval $ac_var=\$ac_val;;
1325 esac
1326 # Be sure to have absolute directory names.
1327 case $ac_val in
1328 [\\/$]* | ?:[\\/]* ) continue;;
1329 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1330 esac
1331 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1332 done
1334 # There might be people who depend on the old broken behavior: `$host'
1335 # used to hold the argument of --host etc.
1336 # FIXME: To remove some day.
1337 build=$build_alias
1338 host=$host_alias
1339 target=$target_alias
1341 # FIXME: To remove some day.
1342 if test "x$host_alias" != x; then
1343 if test "x$build_alias" = x; then
1344 cross_compiling=maybe
1345 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1346 If a cross compiler is detected then cross compile mode will be used." >&2
1347 elif test "x$build_alias" != "x$host_alias"; then
1348 cross_compiling=yes
1352 ac_tool_prefix=
1353 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1355 test "$silent" = yes && exec 6>/dev/null
1358 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1359 ac_ls_di=`ls -di .` &&
1360 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1361 as_fn_error "working directory cannot be determined"
1362 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1363 as_fn_error "pwd does not report name of working directory"
1366 # Find the source files, if location was not specified.
1367 if test -z "$srcdir"; then
1368 ac_srcdir_defaulted=yes
1369 # Try the directory containing this script, then the parent directory.
1370 ac_confdir=`$as_dirname -- "$as_myself" ||
1371 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1372 X"$as_myself" : 'X\(//\)[^/]' \| \
1373 X"$as_myself" : 'X\(//\)$' \| \
1374 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1375 $as_echo X"$as_myself" |
1376 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1377 s//\1/
1380 /^X\(\/\/\)[^/].*/{
1381 s//\1/
1384 /^X\(\/\/\)$/{
1385 s//\1/
1388 /^X\(\/\).*/{
1389 s//\1/
1392 s/.*/./; q'`
1393 srcdir=$ac_confdir
1394 if test ! -r "$srcdir/$ac_unique_file"; then
1395 srcdir=..
1397 else
1398 ac_srcdir_defaulted=no
1400 if test ! -r "$srcdir/$ac_unique_file"; then
1401 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1402 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1404 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1405 ac_abs_confdir=`(
1406 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1407 pwd)`
1408 # When building in place, set srcdir=.
1409 if test "$ac_abs_confdir" = "$ac_pwd"; then
1410 srcdir=.
1412 # Remove unnecessary trailing slashes from srcdir.
1413 # Double slashes in file names in object file debugging info
1414 # mess up M-x gdb in Emacs.
1415 case $srcdir in
1416 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1417 esac
1418 for ac_var in $ac_precious_vars; do
1419 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1420 eval ac_env_${ac_var}_value=\$${ac_var}
1421 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1422 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1423 done
1426 # Report the --help message.
1428 if test "$ac_init_help" = "long"; then
1429 # Omit some internal or obsolete options to make the list less imposing.
1430 # This message is too long to be a string in the A/UX 3.1 sh.
1431 cat <<_ACEOF
1432 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1434 Usage: $0 [OPTION]... [VAR=VALUE]...
1436 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1437 VAR=VALUE. See below for descriptions of some of the useful variables.
1439 Defaults for the options are specified in brackets.
1441 Configuration:
1442 -h, --help display this help and exit
1443 --help=short display options specific to this package
1444 --help=recursive display the short help of all the included packages
1445 -V, --version display version information and exit
1446 -q, --quiet, --silent do not print \`checking...' messages
1447 --cache-file=FILE cache test results in FILE [disabled]
1448 -C, --config-cache alias for \`--cache-file=config.cache'
1449 -n, --no-create do not create output files
1450 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1452 Installation directories:
1453 --prefix=PREFIX install architecture-independent files in PREFIX
1454 [$ac_default_prefix]
1455 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1456 [PREFIX]
1458 By default, \`make install' will install all the files in
1459 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1460 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1461 for instance \`--prefix=\$HOME'.
1463 For better control, use the options below.
1465 Fine tuning of the installation directories:
1466 --bindir=DIR user executables [EPREFIX/bin]
1467 --sbindir=DIR system admin executables [EPREFIX/sbin]
1468 --libexecdir=DIR program executables [EPREFIX/libexec]
1469 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1470 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1471 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1472 --libdir=DIR object code libraries [EPREFIX/lib]
1473 --includedir=DIR C header files [PREFIX/include]
1474 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1475 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1476 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1477 --infodir=DIR info documentation [DATAROOTDIR/info]
1478 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1479 --mandir=DIR man documentation [DATAROOTDIR/man]
1480 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1481 --htmldir=DIR html documentation [DOCDIR]
1482 --dvidir=DIR dvi documentation [DOCDIR]
1483 --pdfdir=DIR pdf documentation [DOCDIR]
1484 --psdir=DIR ps documentation [DOCDIR]
1485 _ACEOF
1487 cat <<\_ACEOF
1489 Program names:
1490 --program-prefix=PREFIX prepend PREFIX to installed program names
1491 --program-suffix=SUFFIX append SUFFIX to installed program names
1492 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1494 System types:
1495 --build=BUILD configure for building on BUILD [guessed]
1496 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1497 --target=TARGET configure for building compilers for TARGET [HOST]
1498 _ACEOF
1501 if test -n "$ac_init_help"; then
1502 case $ac_init_help in
1503 short | recursive ) echo "Configuration of package-unused version-unused:";;
1504 esac
1505 cat <<\_ACEOF
1507 Optional Features:
1508 --disable-option-checking ignore unrecognized --enable/--with options
1509 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1510 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1511 --enable-multilib build many library versions (default)
1512 --enable-maintainer-mode enable make rules and dependencies not useful
1513 (and sometimes confusing) to the casual installer
1514 --enable-shared[=PKGS] build shared libraries [default=yes]
1515 --enable-static[=PKGS] build static libraries [default=yes]
1516 --enable-fast-install[=PKGS]
1517 optimize for fast installation [default=yes]
1518 --disable-libtool-lock avoid locking (might break parallel builds)
1519 --disable-hosted-libstdcxx
1520 only build freestanding C++ runtime support
1521 --disable-libstdcxx-verbose
1522 disable termination messages to standard error
1523 --enable-sjlj-exceptions
1524 force use of builtin_setjmp for exceptions
1525 [default=auto]
1526 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1527 [default=$is_hosted]
1528 --enable-cstdio[=PACKAGE]
1529 use target-specific I/O package [default=stdio]
1530 --enable-clocale[=MODEL]
1531 use MODEL for target locale package [default=auto]
1532 --enable-nls use Native Language Support (default)
1533 --enable-libstdcxx-allocator[=KIND]
1534 use KIND for target std::allocator base
1535 [default=auto]
1536 --enable-cheaders[=KIND]
1537 construct "C" headers for g++ [default=$c_model]
1538 --enable-long-long enable template specializations for 'long long'
1539 [default=yes]
1540 --enable-wchar_t enable template specializations for 'wchar_t'
1541 [default=yes]
1542 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1543 --enable-concept-checks use Boost-derived template checks [default=no]
1544 --enable-libstdcxx-debug-flags=FLAGS
1545 pass compiler FLAGS when building debug library
1546 [default="-gdwarf-4 -g3 -O0"]
1547 --enable-libstdcxx-debug
1548 build extra debug library [default=no]
1549 --enable-cxx-flags=FLAGS
1550 pass compiler FLAGS when building library [default=]
1551 --enable-fully-dynamic-string
1552 do not put empty strings in per-process static
1553 memory [default=no]
1554 --enable-extern-template
1555 enable extern template [default=yes]
1556 --enable-werror turns on -Werror [default=yes]
1557 --enable-libstdcxx-time[=KIND]
1558 use KIND for check type [default=no]
1559 --enable-tls Use thread-local storage [default=yes]
1560 --disable-rpath do not hardcode runtime library paths
1561 --enable-linux-futex use the Linux futex system call [default=default]
1562 --enable-symvers[=STYLE]
1563 enables symbol versioning of the shared library
1564 [default=yes]
1565 --enable-libstdcxx-visibility
1566 enables visibility safe usage [default=yes]
1567 --enable-libstdcxx-threads
1568 enable C++11 threads support [default=auto]
1569 --enable-version-specific-runtime-libs
1570 Specify that runtime libraries should be installed
1571 in a compiler-specific directory
1573 Optional Packages:
1574 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1575 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1576 --with-target-subdir=SUBDIR
1577 configuring in a subdirectory
1578 --with-cross-host=HOST configuring with a cross compiler
1579 --with-newlib assume newlib as a system C library
1580 --with-pic try to use only PIC/non-PIC objects [default=use
1581 both]
1582 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1583 --with-python-dir the location to install Python modules. This path is
1584 relative starting from the prefix.
1585 --with-gnu-ld assume the C compiler uses GNU ld default=no
1586 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1587 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1588 --with-system-libunwind use installed libunwind
1589 --with-gxx-include-dir=DIR
1590 installation directory for include files
1592 Some influential environment variables:
1593 CC C compiler command
1594 CFLAGS C compiler flags
1595 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1596 nonstandard directory <lib dir>
1597 LIBS libraries to pass to the linker, e.g. -l<library>
1598 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1599 you have headers in a nonstandard directory <include dir>
1600 CXX C++ compiler command
1601 CXXFLAGS C++ compiler flags
1602 CPP C preprocessor
1603 CXXCPP C++ preprocessor
1604 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1605 `c++filt', `gc++filt' on PATH.
1607 Use these variables to override the choices made by `configure' or to help
1608 it to find libraries and programs with nonstandard names/locations.
1610 Report bugs to the package provider.
1611 _ACEOF
1612 ac_status=$?
1615 if test "$ac_init_help" = "recursive"; then
1616 # If there are subdirs, report their specific --help.
1617 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1618 test -d "$ac_dir" ||
1619 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1620 continue
1621 ac_builddir=.
1623 case "$ac_dir" in
1624 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1626 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1627 # A ".." for each directory in $ac_dir_suffix.
1628 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1629 case $ac_top_builddir_sub in
1630 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1631 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1632 esac ;;
1633 esac
1634 ac_abs_top_builddir=$ac_pwd
1635 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1636 # for backward compatibility:
1637 ac_top_builddir=$ac_top_build_prefix
1639 case $srcdir in
1640 .) # We are building in place.
1641 ac_srcdir=.
1642 ac_top_srcdir=$ac_top_builddir_sub
1643 ac_abs_top_srcdir=$ac_pwd ;;
1644 [\\/]* | ?:[\\/]* ) # Absolute name.
1645 ac_srcdir=$srcdir$ac_dir_suffix;
1646 ac_top_srcdir=$srcdir
1647 ac_abs_top_srcdir=$srcdir ;;
1648 *) # Relative name.
1649 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1650 ac_top_srcdir=$ac_top_build_prefix$srcdir
1651 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1652 esac
1653 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1655 cd "$ac_dir" || { ac_status=$?; continue; }
1656 # Check for guested configure.
1657 if test -f "$ac_srcdir/configure.gnu"; then
1658 echo &&
1659 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1660 elif test -f "$ac_srcdir/configure"; then
1661 echo &&
1662 $SHELL "$ac_srcdir/configure" --help=recursive
1663 else
1664 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1665 fi || ac_status=$?
1666 cd "$ac_pwd" || { ac_status=$?; break; }
1667 done
1670 test -n "$ac_init_help" && exit $ac_status
1671 if $ac_init_version; then
1672 cat <<\_ACEOF
1673 package-unused configure version-unused
1674 generated by GNU Autoconf 2.64
1676 Copyright (C) 2009 Free Software Foundation, Inc.
1677 This configure script is free software; the Free Software Foundation
1678 gives unlimited permission to copy, distribute and modify it.
1679 _ACEOF
1680 exit
1683 ## ------------------------ ##
1684 ## Autoconf initialization. ##
1685 ## ------------------------ ##
1687 # ac_fn_c_try_compile LINENO
1688 # --------------------------
1689 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1690 ac_fn_c_try_compile ()
1692 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1693 rm -f conftest.$ac_objext
1694 if { { ac_try="$ac_compile"
1695 case "(($ac_try" in
1696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1697 *) ac_try_echo=$ac_try;;
1698 esac
1699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1700 $as_echo "$ac_try_echo"; } >&5
1701 (eval "$ac_compile") 2>conftest.err
1702 ac_status=$?
1703 if test -s conftest.err; then
1704 grep -v '^ *+' conftest.err >conftest.er1
1705 cat conftest.er1 >&5
1706 mv -f conftest.er1 conftest.err
1708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1709 test $ac_status = 0; } && {
1710 test -z "$ac_c_werror_flag" ||
1711 test ! -s conftest.err
1712 } && test -s conftest.$ac_objext; then :
1713 ac_retval=0
1714 else
1715 $as_echo "$as_me: failed program was:" >&5
1716 sed 's/^/| /' conftest.$ac_ext >&5
1718 ac_retval=1
1720 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1721 return $ac_retval
1723 } # ac_fn_c_try_compile
1725 # ac_fn_cxx_try_compile LINENO
1726 # ----------------------------
1727 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1728 ac_fn_cxx_try_compile ()
1730 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1731 rm -f conftest.$ac_objext
1732 if { { ac_try="$ac_compile"
1733 case "(($ac_try" in
1734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1735 *) ac_try_echo=$ac_try;;
1736 esac
1737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1738 $as_echo "$ac_try_echo"; } >&5
1739 (eval "$ac_compile") 2>conftest.err
1740 ac_status=$?
1741 if test -s conftest.err; then
1742 grep -v '^ *+' conftest.err >conftest.er1
1743 cat conftest.er1 >&5
1744 mv -f conftest.er1 conftest.err
1746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1747 test $ac_status = 0; } && {
1748 test -z "$ac_cxx_werror_flag" ||
1749 test ! -s conftest.err
1750 } && test -s conftest.$ac_objext; then :
1751 ac_retval=0
1752 else
1753 $as_echo "$as_me: failed program was:" >&5
1754 sed 's/^/| /' conftest.$ac_ext >&5
1756 ac_retval=1
1758 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1759 return $ac_retval
1761 } # ac_fn_cxx_try_compile
1763 # ac_fn_c_try_cpp LINENO
1764 # ----------------------
1765 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1766 ac_fn_c_try_cpp ()
1768 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1769 if { { ac_try="$ac_cpp conftest.$ac_ext"
1770 case "(($ac_try" in
1771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1772 *) ac_try_echo=$ac_try;;
1773 esac
1774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1775 $as_echo "$ac_try_echo"; } >&5
1776 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1777 ac_status=$?
1778 if test -s conftest.err; then
1779 grep -v '^ *+' conftest.err >conftest.er1
1780 cat conftest.er1 >&5
1781 mv -f conftest.er1 conftest.err
1783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1784 test $ac_status = 0; } >/dev/null && {
1785 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1786 test ! -s conftest.err
1787 }; then :
1788 ac_retval=0
1789 else
1790 $as_echo "$as_me: failed program was:" >&5
1791 sed 's/^/| /' conftest.$ac_ext >&5
1793 ac_retval=1
1795 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1796 return $ac_retval
1798 } # ac_fn_c_try_cpp
1800 # ac_fn_c_try_link LINENO
1801 # -----------------------
1802 # Try to link conftest.$ac_ext, and return whether this succeeded.
1803 ac_fn_c_try_link ()
1805 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1806 rm -f conftest.$ac_objext conftest$ac_exeext
1807 if { { ac_try="$ac_link"
1808 case "(($ac_try" in
1809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1810 *) ac_try_echo=$ac_try;;
1811 esac
1812 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1813 $as_echo "$ac_try_echo"; } >&5
1814 (eval "$ac_link") 2>conftest.err
1815 ac_status=$?
1816 if test -s conftest.err; then
1817 grep -v '^ *+' conftest.err >conftest.er1
1818 cat conftest.er1 >&5
1819 mv -f conftest.er1 conftest.err
1821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1822 test $ac_status = 0; } && {
1823 test -z "$ac_c_werror_flag" ||
1824 test ! -s conftest.err
1825 } && test -s conftest$ac_exeext && {
1826 test "$cross_compiling" = yes ||
1827 $as_test_x conftest$ac_exeext
1828 }; then :
1829 ac_retval=0
1830 else
1831 $as_echo "$as_me: failed program was:" >&5
1832 sed 's/^/| /' conftest.$ac_ext >&5
1834 ac_retval=1
1836 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1837 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1838 # interfere with the next link command; also delete a directory that is
1839 # left behind by Apple's compiler. We do this before executing the actions.
1840 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1841 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1842 return $ac_retval
1844 } # ac_fn_c_try_link
1846 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1847 # -------------------------------------------------------
1848 # Tests whether HEADER exists and can be compiled using the include files in
1849 # INCLUDES, setting the cache variable VAR accordingly.
1850 ac_fn_c_check_header_compile ()
1852 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1854 $as_echo_n "checking for $2... " >&6; }
1855 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1856 $as_echo_n "(cached) " >&6
1857 else
1858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1859 /* end confdefs.h. */
1861 #include <$2>
1862 _ACEOF
1863 if ac_fn_c_try_compile "$LINENO"; then :
1864 eval "$3=yes"
1865 else
1866 eval "$3=no"
1868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1870 eval ac_res=\$$3
1871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1872 $as_echo "$ac_res" >&6; }
1873 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1875 } # ac_fn_c_check_header_compile
1877 # ac_fn_c_try_run LINENO
1878 # ----------------------
1879 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1880 # that executables *can* be run.
1881 ac_fn_c_try_run ()
1883 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1884 if { { ac_try="$ac_link"
1885 case "(($ac_try" in
1886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1887 *) ac_try_echo=$ac_try;;
1888 esac
1889 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1890 $as_echo "$ac_try_echo"; } >&5
1891 (eval "$ac_link") 2>&5
1892 ac_status=$?
1893 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1894 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1895 { { case "(($ac_try" in
1896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1897 *) ac_try_echo=$ac_try;;
1898 esac
1899 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1900 $as_echo "$ac_try_echo"; } >&5
1901 (eval "$ac_try") 2>&5
1902 ac_status=$?
1903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1904 test $ac_status = 0; }; }; then :
1905 ac_retval=0
1906 else
1907 $as_echo "$as_me: program exited with status $ac_status" >&5
1908 $as_echo "$as_me: failed program was:" >&5
1909 sed 's/^/| /' conftest.$ac_ext >&5
1911 ac_retval=$ac_status
1913 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1914 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1915 return $ac_retval
1917 } # ac_fn_c_try_run
1919 # ac_fn_c_check_func LINENO FUNC VAR
1920 # ----------------------------------
1921 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1922 ac_fn_c_check_func ()
1924 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1926 $as_echo_n "checking for $2... " >&6; }
1927 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1928 $as_echo_n "(cached) " >&6
1929 else
1930 if test x$gcc_no_link = xyes; then
1931 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1934 /* end confdefs.h. */
1935 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1937 #define $2 innocuous_$2
1939 /* System header to define __stub macros and hopefully few prototypes,
1940 which can conflict with char $2 (); below.
1941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1942 <limits.h> exists even on freestanding compilers. */
1944 #ifdef __STDC__
1945 # include <limits.h>
1946 #else
1947 # include <assert.h>
1948 #endif
1950 #undef $2
1952 /* Override any GCC internal prototype to avoid an error.
1953 Use char because int might match the return type of a GCC
1954 builtin and then its argument prototype would still apply. */
1955 #ifdef __cplusplus
1956 extern "C"
1957 #endif
1958 char $2 ();
1959 /* The GNU C library defines this for functions which it implements
1960 to always fail with ENOSYS. Some functions are actually named
1961 something starting with __ and the normal name is an alias. */
1962 #if defined __stub_$2 || defined __stub___$2
1963 choke me
1964 #endif
1967 main ()
1969 return $2 ();
1971 return 0;
1973 _ACEOF
1974 if ac_fn_c_try_link "$LINENO"; then :
1975 eval "$3=yes"
1976 else
1977 eval "$3=no"
1979 rm -f core conftest.err conftest.$ac_objext \
1980 conftest$ac_exeext conftest.$ac_ext
1982 eval ac_res=\$$3
1983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1984 $as_echo "$ac_res" >&6; }
1985 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1987 } # ac_fn_c_check_func
1989 # ac_fn_cxx_try_cpp LINENO
1990 # ------------------------
1991 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1992 ac_fn_cxx_try_cpp ()
1994 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1995 if { { ac_try="$ac_cpp conftest.$ac_ext"
1996 case "(($ac_try" in
1997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1998 *) ac_try_echo=$ac_try;;
1999 esac
2000 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2001 $as_echo "$ac_try_echo"; } >&5
2002 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2003 ac_status=$?
2004 if test -s conftest.err; then
2005 grep -v '^ *+' conftest.err >conftest.er1
2006 cat conftest.er1 >&5
2007 mv -f conftest.er1 conftest.err
2009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2010 test $ac_status = 0; } >/dev/null && {
2011 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2012 test ! -s conftest.err
2013 }; then :
2014 ac_retval=0
2015 else
2016 $as_echo "$as_me: failed program was:" >&5
2017 sed 's/^/| /' conftest.$ac_ext >&5
2019 ac_retval=1
2021 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2022 return $ac_retval
2024 } # ac_fn_cxx_try_cpp
2026 # ac_fn_cxx_try_link LINENO
2027 # -------------------------
2028 # Try to link conftest.$ac_ext, and return whether this succeeded.
2029 ac_fn_cxx_try_link ()
2031 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2032 rm -f conftest.$ac_objext conftest$ac_exeext
2033 if { { ac_try="$ac_link"
2034 case "(($ac_try" in
2035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2036 *) ac_try_echo=$ac_try;;
2037 esac
2038 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2039 $as_echo "$ac_try_echo"; } >&5
2040 (eval "$ac_link") 2>conftest.err
2041 ac_status=$?
2042 if test -s conftest.err; then
2043 grep -v '^ *+' conftest.err >conftest.er1
2044 cat conftest.er1 >&5
2045 mv -f conftest.er1 conftest.err
2047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2048 test $ac_status = 0; } && {
2049 test -z "$ac_cxx_werror_flag" ||
2050 test ! -s conftest.err
2051 } && test -s conftest$ac_exeext && {
2052 test "$cross_compiling" = yes ||
2053 $as_test_x conftest$ac_exeext
2054 }; then :
2055 ac_retval=0
2056 else
2057 $as_echo "$as_me: failed program was:" >&5
2058 sed 's/^/| /' conftest.$ac_ext >&5
2060 ac_retval=1
2062 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2063 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2064 # interfere with the next link command; also delete a directory that is
2065 # left behind by Apple's compiler. We do this before executing the actions.
2066 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2067 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2068 return $ac_retval
2070 } # ac_fn_cxx_try_link
2072 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2073 # -------------------------------------------------------
2074 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2075 # the include files in INCLUDES and setting the cache variable VAR
2076 # accordingly.
2077 ac_fn_c_check_header_mongrel ()
2079 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2080 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2082 $as_echo_n "checking for $2... " >&6; }
2083 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2084 $as_echo_n "(cached) " >&6
2086 eval ac_res=\$$3
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2088 $as_echo "$ac_res" >&6; }
2089 else
2090 # Is the header compilable?
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2092 $as_echo_n "checking $2 usability... " >&6; }
2093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2094 /* end confdefs.h. */
2096 #include <$2>
2097 _ACEOF
2098 if ac_fn_c_try_compile "$LINENO"; then :
2099 ac_header_compiler=yes
2100 else
2101 ac_header_compiler=no
2103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2105 $as_echo "$ac_header_compiler" >&6; }
2107 # Is the header present?
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2109 $as_echo_n "checking $2 presence... " >&6; }
2110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2111 /* end confdefs.h. */
2112 #include <$2>
2113 _ACEOF
2114 if ac_fn_c_try_cpp "$LINENO"; then :
2115 ac_header_preproc=yes
2116 else
2117 ac_header_preproc=no
2119 rm -f conftest.err conftest.$ac_ext
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2121 $as_echo "$ac_header_preproc" >&6; }
2123 # So? What about this header?
2124 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2125 yes:no: )
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2127 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2129 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2131 no:yes:* )
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2133 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2135 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2137 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2139 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2141 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2143 esac
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2145 $as_echo_n "checking for $2... " >&6; }
2146 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2147 $as_echo_n "(cached) " >&6
2148 else
2149 eval "$3=\$ac_header_compiler"
2151 eval ac_res=\$$3
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2153 $as_echo "$ac_res" >&6; }
2155 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2157 } # ac_fn_c_check_header_mongrel
2159 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2160 # ---------------------------------------------------------
2161 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2162 # the include files in INCLUDES and setting the cache variable VAR
2163 # accordingly.
2164 ac_fn_cxx_check_header_mongrel ()
2166 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2167 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2169 $as_echo_n "checking for $2... " >&6; }
2170 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2171 $as_echo_n "(cached) " >&6
2173 eval ac_res=\$$3
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2175 $as_echo "$ac_res" >&6; }
2176 else
2177 # Is the header compilable?
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2179 $as_echo_n "checking $2 usability... " >&6; }
2180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2181 /* end confdefs.h. */
2183 #include <$2>
2184 _ACEOF
2185 if ac_fn_cxx_try_compile "$LINENO"; then :
2186 ac_header_compiler=yes
2187 else
2188 ac_header_compiler=no
2190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2192 $as_echo "$ac_header_compiler" >&6; }
2194 # Is the header present?
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2196 $as_echo_n "checking $2 presence... " >&6; }
2197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2198 /* end confdefs.h. */
2199 #include <$2>
2200 _ACEOF
2201 if ac_fn_cxx_try_cpp "$LINENO"; then :
2202 ac_header_preproc=yes
2203 else
2204 ac_header_preproc=no
2206 rm -f conftest.err conftest.$ac_ext
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2208 $as_echo "$ac_header_preproc" >&6; }
2210 # So? What about this header?
2211 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2212 yes:no: )
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2214 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2216 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2218 no:yes:* )
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2220 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2222 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2224 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2226 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2228 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2230 esac
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2232 $as_echo_n "checking for $2... " >&6; }
2233 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2234 $as_echo_n "(cached) " >&6
2235 else
2236 eval "$3=\$ac_header_compiler"
2238 eval ac_res=\$$3
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2240 $as_echo "$ac_res" >&6; }
2242 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2244 } # ac_fn_cxx_check_header_mongrel
2246 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2247 # --------------------------------------------
2248 # Tries to find the compile-time value of EXPR in a program that includes
2249 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2250 # computed
2251 ac_fn_c_compute_int ()
2253 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2254 if test "$cross_compiling" = yes; then
2255 # Depending upon the size, compute the lo and hi bounds.
2256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2257 /* end confdefs.h. */
2260 main ()
2262 static int test_array [1 - 2 * !(($2) >= 0)];
2263 test_array [0] = 0
2266 return 0;
2268 _ACEOF
2269 if ac_fn_c_try_compile "$LINENO"; then :
2270 ac_lo=0 ac_mid=0
2271 while :; do
2272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2273 /* end confdefs.h. */
2276 main ()
2278 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2279 test_array [0] = 0
2282 return 0;
2284 _ACEOF
2285 if ac_fn_c_try_compile "$LINENO"; then :
2286 ac_hi=$ac_mid; break
2287 else
2288 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2289 if test $ac_lo -le $ac_mid; then
2290 ac_lo= ac_hi=
2291 break
2293 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2296 done
2297 else
2298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2299 /* end confdefs.h. */
2302 main ()
2304 static int test_array [1 - 2 * !(($2) < 0)];
2305 test_array [0] = 0
2308 return 0;
2310 _ACEOF
2311 if ac_fn_c_try_compile "$LINENO"; then :
2312 ac_hi=-1 ac_mid=-1
2313 while :; do
2314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2315 /* end confdefs.h. */
2318 main ()
2320 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2321 test_array [0] = 0
2324 return 0;
2326 _ACEOF
2327 if ac_fn_c_try_compile "$LINENO"; then :
2328 ac_lo=$ac_mid; break
2329 else
2330 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2331 if test $ac_mid -le $ac_hi; then
2332 ac_lo= ac_hi=
2333 break
2335 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2338 done
2339 else
2340 ac_lo= ac_hi=
2342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2345 # Binary search between lo and hi bounds.
2346 while test "x$ac_lo" != "x$ac_hi"; do
2347 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2349 /* end confdefs.h. */
2352 main ()
2354 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2355 test_array [0] = 0
2358 return 0;
2360 _ACEOF
2361 if ac_fn_c_try_compile "$LINENO"; then :
2362 ac_hi=$ac_mid
2363 else
2364 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2367 done
2368 case $ac_lo in #((
2369 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2370 '') ac_retval=1 ;;
2371 esac
2372 else
2373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2374 /* end confdefs.h. */
2376 static long int longval () { return $2; }
2377 static unsigned long int ulongval () { return $2; }
2378 #include <stdio.h>
2379 #include <stdlib.h>
2381 main ()
2384 FILE *f = fopen ("conftest.val", "w");
2385 if (! f)
2386 return 1;
2387 if (($2) < 0)
2389 long int i = longval ();
2390 if (i != ($2))
2391 return 1;
2392 fprintf (f, "%ld", i);
2394 else
2396 unsigned long int i = ulongval ();
2397 if (i != ($2))
2398 return 1;
2399 fprintf (f, "%lu", i);
2401 /* Do not output a trailing newline, as this causes \r\n confusion
2402 on some platforms. */
2403 return ferror (f) || fclose (f) != 0;
2406 return 0;
2408 _ACEOF
2409 if ac_fn_c_try_run "$LINENO"; then :
2410 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2411 else
2412 ac_retval=1
2414 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2415 conftest.$ac_objext conftest.beam conftest.$ac_ext
2416 rm -f conftest.val
2419 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2420 return $ac_retval
2422 } # ac_fn_c_compute_int
2424 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2425 # -------------------------------------------
2426 # Tests whether TYPE exists after having included INCLUDES, setting cache
2427 # variable VAR accordingly.
2428 ac_fn_c_check_type ()
2430 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2432 $as_echo_n "checking for $2... " >&6; }
2433 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2434 $as_echo_n "(cached) " >&6
2435 else
2436 eval "$3=no"
2437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2438 /* end confdefs.h. */
2441 main ()
2443 if (sizeof ($2))
2444 return 0;
2446 return 0;
2448 _ACEOF
2449 if ac_fn_c_try_compile "$LINENO"; then :
2450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2451 /* end confdefs.h. */
2454 main ()
2456 if (sizeof (($2)))
2457 return 0;
2459 return 0;
2461 _ACEOF
2462 if ac_fn_c_try_compile "$LINENO"; then :
2464 else
2465 eval "$3=yes"
2467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2471 eval ac_res=\$$3
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2473 $as_echo "$ac_res" >&6; }
2474 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2476 } # ac_fn_c_check_type
2477 cat >config.log <<_ACEOF
2478 This file contains any messages produced by compilers while
2479 running configure, to aid debugging if configure makes a mistake.
2481 It was created by package-unused $as_me version-unused, which was
2482 generated by GNU Autoconf 2.64. Invocation command line was
2484 $ $0 $@
2486 _ACEOF
2487 exec 5>>config.log
2489 cat <<_ASUNAME
2490 ## --------- ##
2491 ## Platform. ##
2492 ## --------- ##
2494 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2495 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2496 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2497 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2498 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2500 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2501 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2503 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2504 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2505 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2506 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2507 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2508 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2509 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2511 _ASUNAME
2513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2514 for as_dir in $PATH
2516 IFS=$as_save_IFS
2517 test -z "$as_dir" && as_dir=.
2518 $as_echo "PATH: $as_dir"
2519 done
2520 IFS=$as_save_IFS
2522 } >&5
2524 cat >&5 <<_ACEOF
2527 ## ----------- ##
2528 ## Core tests. ##
2529 ## ----------- ##
2531 _ACEOF
2534 # Keep a trace of the command line.
2535 # Strip out --no-create and --no-recursion so they do not pile up.
2536 # Strip out --silent because we don't want to record it for future runs.
2537 # Also quote any args containing shell meta-characters.
2538 # Make two passes to allow for proper duplicate-argument suppression.
2539 ac_configure_args=
2540 ac_configure_args0=
2541 ac_configure_args1=
2542 ac_must_keep_next=false
2543 for ac_pass in 1 2
2545 for ac_arg
2547 case $ac_arg in
2548 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2549 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2550 | -silent | --silent | --silen | --sile | --sil)
2551 continue ;;
2552 *\'*)
2553 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2554 esac
2555 case $ac_pass in
2556 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2558 as_fn_append ac_configure_args1 " '$ac_arg'"
2559 if test $ac_must_keep_next = true; then
2560 ac_must_keep_next=false # Got value, back to normal.
2561 else
2562 case $ac_arg in
2563 *=* | --config-cache | -C | -disable-* | --disable-* \
2564 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2565 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2566 | -with-* | --with-* | -without-* | --without-* | --x)
2567 case "$ac_configure_args0 " in
2568 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2569 esac
2571 -* ) ac_must_keep_next=true ;;
2572 esac
2574 as_fn_append ac_configure_args " '$ac_arg'"
2576 esac
2577 done
2578 done
2579 { ac_configure_args0=; unset ac_configure_args0;}
2580 { ac_configure_args1=; unset ac_configure_args1;}
2582 # When interrupted or exit'd, cleanup temporary files, and complete
2583 # config.log. We remove comments because anyway the quotes in there
2584 # would cause problems or look ugly.
2585 # WARNING: Use '\'' to represent an apostrophe within the trap.
2586 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2587 trap 'exit_status=$?
2588 # Save into config.log some information that might help in debugging.
2590 echo
2592 cat <<\_ASBOX
2593 ## ---------------- ##
2594 ## Cache variables. ##
2595 ## ---------------- ##
2596 _ASBOX
2597 echo
2598 # The following way of writing the cache mishandles newlines in values,
2600 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2601 eval ac_val=\$$ac_var
2602 case $ac_val in #(
2603 *${as_nl}*)
2604 case $ac_var in #(
2605 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2606 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2607 esac
2608 case $ac_var in #(
2609 _ | IFS | as_nl) ;; #(
2610 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2611 *) { eval $ac_var=; unset $ac_var;} ;;
2612 esac ;;
2613 esac
2614 done
2615 (set) 2>&1 |
2616 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2617 *${as_nl}ac_space=\ *)
2618 sed -n \
2619 "s/'\''/'\''\\\\'\'''\''/g;
2620 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2621 ;; #(
2623 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2625 esac |
2626 sort
2628 echo
2630 cat <<\_ASBOX
2631 ## ----------------- ##
2632 ## Output variables. ##
2633 ## ----------------- ##
2634 _ASBOX
2635 echo
2636 for ac_var in $ac_subst_vars
2638 eval ac_val=\$$ac_var
2639 case $ac_val in
2640 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2641 esac
2642 $as_echo "$ac_var='\''$ac_val'\''"
2643 done | sort
2644 echo
2646 if test -n "$ac_subst_files"; then
2647 cat <<\_ASBOX
2648 ## ------------------- ##
2649 ## File substitutions. ##
2650 ## ------------------- ##
2651 _ASBOX
2652 echo
2653 for ac_var in $ac_subst_files
2655 eval ac_val=\$$ac_var
2656 case $ac_val in
2657 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2658 esac
2659 $as_echo "$ac_var='\''$ac_val'\''"
2660 done | sort
2661 echo
2664 if test -s confdefs.h; then
2665 cat <<\_ASBOX
2666 ## ----------- ##
2667 ## confdefs.h. ##
2668 ## ----------- ##
2669 _ASBOX
2670 echo
2671 cat confdefs.h
2672 echo
2674 test "$ac_signal" != 0 &&
2675 $as_echo "$as_me: caught signal $ac_signal"
2676 $as_echo "$as_me: exit $exit_status"
2677 } >&5
2678 rm -f core *.core core.conftest.* &&
2679 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2680 exit $exit_status
2682 for ac_signal in 1 2 13 15; do
2683 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2684 done
2685 ac_signal=0
2687 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2688 rm -f -r conftest* confdefs.h
2690 $as_echo "/* confdefs.h */" > confdefs.h
2692 # Predefined preprocessor variables.
2694 cat >>confdefs.h <<_ACEOF
2695 #define PACKAGE_NAME "$PACKAGE_NAME"
2696 _ACEOF
2698 cat >>confdefs.h <<_ACEOF
2699 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2700 _ACEOF
2702 cat >>confdefs.h <<_ACEOF
2703 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2704 _ACEOF
2706 cat >>confdefs.h <<_ACEOF
2707 #define PACKAGE_STRING "$PACKAGE_STRING"
2708 _ACEOF
2710 cat >>confdefs.h <<_ACEOF
2711 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2712 _ACEOF
2714 cat >>confdefs.h <<_ACEOF
2715 #define PACKAGE_URL "$PACKAGE_URL"
2716 _ACEOF
2719 # Let the site file select an alternate cache file if it wants to.
2720 # Prefer an explicitly selected file to automatically selected ones.
2721 ac_site_file1=NONE
2722 ac_site_file2=NONE
2723 if test -n "$CONFIG_SITE"; then
2724 ac_site_file1=$CONFIG_SITE
2725 elif test "x$prefix" != xNONE; then
2726 ac_site_file1=$prefix/share/config.site
2727 ac_site_file2=$prefix/etc/config.site
2728 else
2729 ac_site_file1=$ac_default_prefix/share/config.site
2730 ac_site_file2=$ac_default_prefix/etc/config.site
2732 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2734 test "x$ac_site_file" = xNONE && continue
2735 if test -r "$ac_site_file"; then
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2737 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2738 sed 's/^/| /' "$ac_site_file" >&5
2739 . "$ac_site_file"
2741 done
2743 if test -r "$cache_file"; then
2744 # Some versions of bash will fail to source /dev/null (special
2745 # files actually), so we avoid doing that.
2746 if test -f "$cache_file"; then
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2748 $as_echo "$as_me: loading cache $cache_file" >&6;}
2749 case $cache_file in
2750 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2751 *) . "./$cache_file";;
2752 esac
2754 else
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2756 $as_echo "$as_me: creating cache $cache_file" >&6;}
2757 >$cache_file
2760 # Check that the precious variables saved in the cache have kept the same
2761 # value.
2762 ac_cache_corrupted=false
2763 for ac_var in $ac_precious_vars; do
2764 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2765 eval ac_new_set=\$ac_env_${ac_var}_set
2766 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2767 eval ac_new_val=\$ac_env_${ac_var}_value
2768 case $ac_old_set,$ac_new_set in
2769 set,)
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2771 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2772 ac_cache_corrupted=: ;;
2773 ,set)
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2775 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2776 ac_cache_corrupted=: ;;
2777 ,);;
2779 if test "x$ac_old_val" != "x$ac_new_val"; then
2780 # differences in whitespace do not lead to failure.
2781 ac_old_val_w=`echo x $ac_old_val`
2782 ac_new_val_w=`echo x $ac_new_val`
2783 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2785 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2786 ac_cache_corrupted=:
2787 else
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2789 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2790 eval $ac_var=\$ac_old_val
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2793 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2795 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2796 fi;;
2797 esac
2798 # Pass precious variables to config.status.
2799 if test "$ac_new_set" = set; then
2800 case $ac_new_val in
2801 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2802 *) ac_arg=$ac_var=$ac_new_val ;;
2803 esac
2804 case " $ac_configure_args " in
2805 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2806 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2807 esac
2809 done
2810 if $ac_cache_corrupted; then
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2812 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2814 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2815 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2817 ## -------------------- ##
2818 ## Main body of script. ##
2819 ## -------------------- ##
2821 ac_ext=c
2822 ac_cpp='$CPP $CPPFLAGS'
2823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2832 ac_config_headers="$ac_config_headers config.h"
2835 # This works around the fact that libtool configuration may change LD
2836 # for this particular configuration, but some shells, instead of
2837 # keeping the changes in LD private, export them just because LD is
2838 # exported. Only used at the end of this file.
2839 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2841 # Find the rest of the source tree framework.
2842 # Default to --enable-multilib
2843 # Check whether --enable-multilib was given.
2844 if test "${enable_multilib+set}" = set; then :
2845 enableval=$enable_multilib; case "$enableval" in
2846 yes) multilib=yes ;;
2847 no) multilib=no ;;
2848 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2849 esac
2850 else
2851 multilib=yes
2855 # We may get other options which we leave undocumented:
2856 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2857 # See config-ml.in if you want the gory details.
2859 if test "$srcdir" = "."; then
2860 if test "$with_target_subdir" != "."; then
2861 multi_basedir="$srcdir/$with_multisrctop../.."
2862 else
2863 multi_basedir="$srcdir/$with_multisrctop.."
2865 else
2866 multi_basedir="$srcdir/.."
2870 # Even if the default multilib is not a cross compilation,
2871 # it may be that some of the other multilibs are.
2872 if test $cross_compiling = no && test $multilib = yes \
2873 && test "x${with_multisubdir}" != x ; then
2874 cross_compiling=maybe
2877 ac_config_commands="$ac_config_commands default-1"
2880 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2882 # You will slowly go insane if you do not grok the following fact: when
2883 # building v3 as part of the compiler, the top-level /target/ becomes the
2884 # library's /host/. configure then causes --target to default to --host,
2885 # exactly like any other package using autoconf. Therefore, 'target' and
2886 # 'host' will always be the same. This makes sense both for native and
2887 # cross compilers, just think about it for a little while. :-)
2889 # Also, if v3 is being configured as part of a cross compiler, the top-level
2890 # configure script will pass the "real" host as $with_cross_host.
2892 # Do not delete or change the following two lines. For why, see
2893 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2894 ac_aux_dir=
2895 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2896 for ac_t in install-sh install.sh shtool; do
2897 if test -f "$ac_dir/$ac_t"; then
2898 ac_aux_dir=$ac_dir
2899 ac_install_sh="$ac_aux_dir/$ac_t -c"
2900 break 2
2902 done
2903 done
2904 if test -z "$ac_aux_dir"; then
2905 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2908 # These three variables are undocumented and unsupported,
2909 # and are intended to be withdrawn in a future Autoconf release.
2910 # They can cause serious problems if a builder's source tree is in a directory
2911 # whose full name contains unusual characters.
2912 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2913 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2914 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2917 # Make sure we can run config.sub.
2918 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2919 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2922 $as_echo_n "checking build system type... " >&6; }
2923 if test "${ac_cv_build+set}" = set; then :
2924 $as_echo_n "(cached) " >&6
2925 else
2926 ac_build_alias=$build_alias
2927 test "x$ac_build_alias" = x &&
2928 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2929 test "x$ac_build_alias" = x &&
2930 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2931 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2932 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2936 $as_echo "$ac_cv_build" >&6; }
2937 case $ac_cv_build in
2938 *-*-*) ;;
2939 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2940 esac
2941 build=$ac_cv_build
2942 ac_save_IFS=$IFS; IFS='-'
2943 set x $ac_cv_build
2944 shift
2945 build_cpu=$1
2946 build_vendor=$2
2947 shift; shift
2948 # Remember, the first character of IFS is used to create $*,
2949 # except with old shells:
2950 build_os=$*
2951 IFS=$ac_save_IFS
2952 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2956 $as_echo_n "checking host system type... " >&6; }
2957 if test "${ac_cv_host+set}" = set; then :
2958 $as_echo_n "(cached) " >&6
2959 else
2960 if test "x$host_alias" = x; then
2961 ac_cv_host=$ac_cv_build
2962 else
2963 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2964 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2969 $as_echo "$ac_cv_host" >&6; }
2970 case $ac_cv_host in
2971 *-*-*) ;;
2972 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2973 esac
2974 host=$ac_cv_host
2975 ac_save_IFS=$IFS; IFS='-'
2976 set x $ac_cv_host
2977 shift
2978 host_cpu=$1
2979 host_vendor=$2
2980 shift; shift
2981 # Remember, the first character of IFS is used to create $*,
2982 # except with old shells:
2983 host_os=$*
2984 IFS=$ac_save_IFS
2985 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2989 $as_echo_n "checking target system type... " >&6; }
2990 if test "${ac_cv_target+set}" = set; then :
2991 $as_echo_n "(cached) " >&6
2992 else
2993 if test "x$target_alias" = x; then
2994 ac_cv_target=$ac_cv_host
2995 else
2996 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2997 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3002 $as_echo "$ac_cv_target" >&6; }
3003 case $ac_cv_target in
3004 *-*-*) ;;
3005 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3006 esac
3007 target=$ac_cv_target
3008 ac_save_IFS=$IFS; IFS='-'
3009 set x $ac_cv_target
3010 shift
3011 target_cpu=$1
3012 target_vendor=$2
3013 shift; shift
3014 # Remember, the first character of IFS is used to create $*,
3015 # except with old shells:
3016 target_os=$*
3017 IFS=$ac_save_IFS
3018 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3021 # The aliases save the names the user supplied, while $host etc.
3022 # will get canonicalized.
3023 test -n "$target_alias" &&
3024 test "$program_prefix$program_suffix$program_transform_name" = \
3025 NONENONEs,x,x, &&
3026 program_prefix=${target_alias}-
3028 target_alias=${target_alias-$host_alias}
3030 # Handy for debugging:
3031 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3033 if test "$build" != "$host"; then
3034 # We are being configured with some form of cross compiler.
3035 GLIBCXX_IS_NATIVE=false
3036 case "$host","$target" in
3037 # Darwin crosses can use the host system's libraries and headers,
3038 # because of the fat library support. Of course, it must be the
3039 # same version of Darwin on both sides. Allow the user to
3040 # just say --target=foo-darwin without a version number to mean
3041 # "the version on this system".
3042 *-*-darwin*,*-*-darwin*)
3043 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3044 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3045 if test $hostos = $targetos -o $targetos = darwin ; then
3046 GLIBCXX_IS_NATIVE=true
3053 esac
3054 else
3055 GLIBCXX_IS_NATIVE=true
3058 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3059 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3060 # 1.x: minimum required version
3061 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3062 # of other PACKAGE_* variables will, however, and there's nothing
3063 # we can do about that; they come from AC_INIT).
3064 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3065 # file in the top srcdir, etc, etc), so stop complaining.
3066 # no-dependencies: turns off auto dependency generation (just for now)
3067 # no-dist: we don't want 'dist' and related rules.
3068 # -Wall: turns on all automake warnings...
3069 # -Wno-portability: ...except this one, since GNU make is now required.
3070 am__api_version='1.11'
3072 # Find a good install program. We prefer a C program (faster),
3073 # so one script is as good as another. But avoid the broken or
3074 # incompatible versions:
3075 # SysV /etc/install, /usr/sbin/install
3076 # SunOS /usr/etc/install
3077 # IRIX /sbin/install
3078 # AIX /bin/install
3079 # AmigaOS /C/install, which installs bootblocks on floppy discs
3080 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3081 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3082 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3083 # OS/2's system install, which has a completely different semantic
3084 # ./install, which can be erroneously created by make from ./install.sh.
3085 # Reject install programs that cannot install multiple files.
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3087 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3088 if test -z "$INSTALL"; then
3089 if test "${ac_cv_path_install+set}" = set; then :
3090 $as_echo_n "(cached) " >&6
3091 else
3092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3093 for as_dir in $PATH
3095 IFS=$as_save_IFS
3096 test -z "$as_dir" && as_dir=.
3097 # Account for people who put trailing slashes in PATH elements.
3098 case $as_dir/ in #((
3099 ./ | .// | /[cC]/* | \
3100 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3101 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3102 /usr/ucb/* ) ;;
3104 # OSF1 and SCO ODT 3.0 have their own names for install.
3105 # Don't use installbsd from OSF since it installs stuff as root
3106 # by default.
3107 for ac_prog in ginstall scoinst install; do
3108 for ac_exec_ext in '' $ac_executable_extensions; do
3109 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3110 if test $ac_prog = install &&
3111 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3112 # AIX install. It has an incompatible calling convention.
3114 elif test $ac_prog = install &&
3115 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3116 # program-specific install script used by HP pwplus--don't use.
3118 else
3119 rm -rf conftest.one conftest.two conftest.dir
3120 echo one > conftest.one
3121 echo two > conftest.two
3122 mkdir conftest.dir
3123 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3124 test -s conftest.one && test -s conftest.two &&
3125 test -s conftest.dir/conftest.one &&
3126 test -s conftest.dir/conftest.two
3127 then
3128 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3129 break 3
3133 done
3134 done
3136 esac
3138 done
3139 IFS=$as_save_IFS
3141 rm -rf conftest.one conftest.two conftest.dir
3144 if test "${ac_cv_path_install+set}" = set; then
3145 INSTALL=$ac_cv_path_install
3146 else
3147 # As a last resort, use the slow shell script. Don't cache a
3148 # value for INSTALL within a source directory, because that will
3149 # break other packages using the cache if that directory is
3150 # removed, or if the value is a relative name.
3151 INSTALL=$ac_install_sh
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3155 $as_echo "$INSTALL" >&6; }
3157 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3158 # It thinks the first close brace ends the variable substitution.
3159 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3161 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3163 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3166 $as_echo_n "checking whether build environment is sane... " >&6; }
3167 # Just in case
3168 sleep 1
3169 echo timestamp > conftest.file
3170 # Reject unsafe characters in $srcdir or the absolute working directory
3171 # name. Accept space and tab only in the latter.
3172 am_lf='
3174 case `pwd` in
3175 *[\\\"\#\$\&\'\`$am_lf]*)
3176 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3177 esac
3178 case $srcdir in
3179 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3180 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3181 esac
3183 # Do `set' in a subshell so we don't clobber the current shell's
3184 # arguments. Must try -L first in case configure is actually a
3185 # symlink; some systems play weird games with the mod time of symlinks
3186 # (eg FreeBSD returns the mod time of the symlink's containing
3187 # directory).
3188 if (
3189 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3190 if test "$*" = "X"; then
3191 # -L didn't work.
3192 set X `ls -t "$srcdir/configure" conftest.file`
3194 rm -f conftest.file
3195 if test "$*" != "X $srcdir/configure conftest.file" \
3196 && test "$*" != "X conftest.file $srcdir/configure"; then
3198 # If neither matched, then we have a broken ls. This can happen
3199 # if, for instance, CONFIG_SHELL is bash and it inherits a
3200 # broken ls alias from the environment. This has actually
3201 # happened. Such a system could not be considered "sane".
3202 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3203 alias in your environment" "$LINENO" 5
3206 test "$2" = conftest.file
3208 then
3209 # Ok.
3211 else
3212 as_fn_error "newly created file is older than distributed files!
3213 Check your system clock" "$LINENO" 5
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3216 $as_echo "yes" >&6; }
3217 test "$program_prefix" != NONE &&
3218 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3219 # Use a double $ so make ignores it.
3220 test "$program_suffix" != NONE &&
3221 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3222 # Double any \ or $.
3223 # By default was `s,x,x', remove it if useless.
3224 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3225 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3227 # expand $ac_aux_dir to an absolute path
3228 am_aux_dir=`cd $ac_aux_dir && pwd`
3230 if test x"${MISSING+set}" != xset; then
3231 case $am_aux_dir in
3232 *\ * | *\ *)
3233 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3235 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3236 esac
3238 # Use eval to expand $SHELL
3239 if eval "$MISSING --run true"; then
3240 am_missing_run="$MISSING --run "
3241 else
3242 am_missing_run=
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3244 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3247 if test x"${install_sh}" != xset; then
3248 case $am_aux_dir in
3249 *\ * | *\ *)
3250 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3252 install_sh="\${SHELL} $am_aux_dir/install-sh"
3253 esac
3256 # Installed binaries are usually stripped using `strip' when the user
3257 # run `make install-strip'. However `strip' might not be the right
3258 # tool to use in cross-compilation environments, therefore Automake
3259 # will honor the `STRIP' environment variable to overrule this program.
3260 if test "$cross_compiling" != no; then
3261 if test -n "$ac_tool_prefix"; then
3262 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3263 set dummy ${ac_tool_prefix}strip; ac_word=$2
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3265 $as_echo_n "checking for $ac_word... " >&6; }
3266 if test "${ac_cv_prog_STRIP+set}" = set; then :
3267 $as_echo_n "(cached) " >&6
3268 else
3269 if test -n "$STRIP"; then
3270 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3271 else
3272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3273 for as_dir in $PATH
3275 IFS=$as_save_IFS
3276 test -z "$as_dir" && as_dir=.
3277 for ac_exec_ext in '' $ac_executable_extensions; do
3278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3279 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3281 break 2
3283 done
3284 done
3285 IFS=$as_save_IFS
3289 STRIP=$ac_cv_prog_STRIP
3290 if test -n "$STRIP"; then
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3292 $as_echo "$STRIP" >&6; }
3293 else
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3295 $as_echo "no" >&6; }
3300 if test -z "$ac_cv_prog_STRIP"; then
3301 ac_ct_STRIP=$STRIP
3302 # Extract the first word of "strip", so it can be a program name with args.
3303 set dummy strip; ac_word=$2
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3305 $as_echo_n "checking for $ac_word... " >&6; }
3306 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3307 $as_echo_n "(cached) " >&6
3308 else
3309 if test -n "$ac_ct_STRIP"; then
3310 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3311 else
3312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3313 for as_dir in $PATH
3315 IFS=$as_save_IFS
3316 test -z "$as_dir" && as_dir=.
3317 for ac_exec_ext in '' $ac_executable_extensions; do
3318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3319 ac_cv_prog_ac_ct_STRIP="strip"
3320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3321 break 2
3323 done
3324 done
3325 IFS=$as_save_IFS
3329 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3330 if test -n "$ac_ct_STRIP"; then
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3332 $as_echo "$ac_ct_STRIP" >&6; }
3333 else
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3335 $as_echo "no" >&6; }
3338 if test "x$ac_ct_STRIP" = x; then
3339 STRIP=":"
3340 else
3341 case $cross_compiling:$ac_tool_warned in
3342 yes:)
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3344 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3345 ac_tool_warned=yes ;;
3346 esac
3347 STRIP=$ac_ct_STRIP
3349 else
3350 STRIP="$ac_cv_prog_STRIP"
3354 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3357 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3358 if test -z "$MKDIR_P"; then
3359 if test "${ac_cv_path_mkdir+set}" = set; then :
3360 $as_echo_n "(cached) " >&6
3361 else
3362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3363 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3365 IFS=$as_save_IFS
3366 test -z "$as_dir" && as_dir=.
3367 for ac_prog in mkdir gmkdir; do
3368 for ac_exec_ext in '' $ac_executable_extensions; do
3369 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3370 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3371 'mkdir (GNU coreutils) '* | \
3372 'mkdir (coreutils) '* | \
3373 'mkdir (fileutils) '4.1*)
3374 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3375 break 3;;
3376 esac
3377 done
3378 done
3379 done
3380 IFS=$as_save_IFS
3384 if test "${ac_cv_path_mkdir+set}" = set; then
3385 MKDIR_P="$ac_cv_path_mkdir -p"
3386 else
3387 # As a last resort, use the slow shell script. Don't cache a
3388 # value for MKDIR_P within a source directory, because that will
3389 # break other packages using the cache if that directory is
3390 # removed, or if the value is a relative name.
3391 test -d ./--version && rmdir ./--version
3392 MKDIR_P="$ac_install_sh -d"
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3396 $as_echo "$MKDIR_P" >&6; }
3398 mkdir_p="$MKDIR_P"
3399 case $mkdir_p in
3400 [\\/$]* | ?:[\\/]*) ;;
3401 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3402 esac
3404 for ac_prog in gawk mawk nawk awk
3406 # Extract the first word of "$ac_prog", so it can be a program name with args.
3407 set dummy $ac_prog; ac_word=$2
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3409 $as_echo_n "checking for $ac_word... " >&6; }
3410 if test "${ac_cv_prog_AWK+set}" = set; then :
3411 $as_echo_n "(cached) " >&6
3412 else
3413 if test -n "$AWK"; then
3414 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3415 else
3416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3417 for as_dir in $PATH
3419 IFS=$as_save_IFS
3420 test -z "$as_dir" && as_dir=.
3421 for ac_exec_ext in '' $ac_executable_extensions; do
3422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3423 ac_cv_prog_AWK="$ac_prog"
3424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3425 break 2
3427 done
3428 done
3429 IFS=$as_save_IFS
3433 AWK=$ac_cv_prog_AWK
3434 if test -n "$AWK"; then
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3436 $as_echo "$AWK" >&6; }
3437 else
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3439 $as_echo "no" >&6; }
3443 test -n "$AWK" && break
3444 done
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3447 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3448 set x ${MAKE-make}
3449 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3450 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3451 $as_echo_n "(cached) " >&6
3452 else
3453 cat >conftest.make <<\_ACEOF
3454 SHELL = /bin/sh
3455 all:
3456 @echo '@@@%%%=$(MAKE)=@@@%%%'
3457 _ACEOF
3458 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3459 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3460 *@@@%%%=?*=@@@%%%*)
3461 eval ac_cv_prog_make_${ac_make}_set=yes;;
3463 eval ac_cv_prog_make_${ac_make}_set=no;;
3464 esac
3465 rm -f conftest.make
3467 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3469 $as_echo "yes" >&6; }
3470 SET_MAKE=
3471 else
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3473 $as_echo "no" >&6; }
3474 SET_MAKE="MAKE=${MAKE-make}"
3477 rm -rf .tst 2>/dev/null
3478 mkdir .tst 2>/dev/null
3479 if test -d .tst; then
3480 am__leading_dot=.
3481 else
3482 am__leading_dot=_
3484 rmdir .tst 2>/dev/null
3486 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3487 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3488 # is not polluted with repeated "-I."
3489 am__isrc=' -I$(srcdir)'
3490 # test to see if srcdir already configured
3491 if test -f $srcdir/config.status; then
3492 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3496 # test whether we have cygpath
3497 if test -z "$CYGPATH_W"; then
3498 if (cygpath --version) >/dev/null 2>/dev/null; then
3499 CYGPATH_W='cygpath -w'
3500 else
3501 CYGPATH_W=echo
3506 # Define the identity of the package.
3507 PACKAGE='libstdc++'
3508 VERSION='version-unused'
3511 # Some tools Automake needs.
3513 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3516 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3519 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3522 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3525 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3527 # We need awk for the "check" target. The system "awk" is bad on
3528 # some platforms.
3529 # Always define AMTAR for backward compatibility.
3531 AMTAR=${AMTAR-"${am_missing_run}tar"}
3533 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3542 # -fno-builtin must be present here so that a non-conflicting form of
3543 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3545 save_CXXFLAGS="$CXXFLAGS"
3546 CXXFLAGS="$CXXFLAGS -fno-builtin"
3547 ac_ext=c
3548 ac_cpp='$CPP $CPPFLAGS'
3549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3552 if test -n "$ac_tool_prefix"; then
3553 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3554 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3556 $as_echo_n "checking for $ac_word... " >&6; }
3557 if test "${ac_cv_prog_CC+set}" = set; then :
3558 $as_echo_n "(cached) " >&6
3559 else
3560 if test -n "$CC"; then
3561 ac_cv_prog_CC="$CC" # Let the user override the test.
3562 else
3563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3564 for as_dir in $PATH
3566 IFS=$as_save_IFS
3567 test -z "$as_dir" && as_dir=.
3568 for ac_exec_ext in '' $ac_executable_extensions; do
3569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3570 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3572 break 2
3574 done
3575 done
3576 IFS=$as_save_IFS
3580 CC=$ac_cv_prog_CC
3581 if test -n "$CC"; then
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3583 $as_echo "$CC" >&6; }
3584 else
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3586 $as_echo "no" >&6; }
3591 if test -z "$ac_cv_prog_CC"; then
3592 ac_ct_CC=$CC
3593 # Extract the first word of "gcc", so it can be a program name with args.
3594 set dummy gcc; ac_word=$2
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3596 $as_echo_n "checking for $ac_word... " >&6; }
3597 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3598 $as_echo_n "(cached) " >&6
3599 else
3600 if test -n "$ac_ct_CC"; then
3601 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3602 else
3603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3604 for as_dir in $PATH
3606 IFS=$as_save_IFS
3607 test -z "$as_dir" && as_dir=.
3608 for ac_exec_ext in '' $ac_executable_extensions; do
3609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3610 ac_cv_prog_ac_ct_CC="gcc"
3611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3612 break 2
3614 done
3615 done
3616 IFS=$as_save_IFS
3620 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3621 if test -n "$ac_ct_CC"; then
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3623 $as_echo "$ac_ct_CC" >&6; }
3624 else
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3626 $as_echo "no" >&6; }
3629 if test "x$ac_ct_CC" = x; then
3630 CC=""
3631 else
3632 case $cross_compiling:$ac_tool_warned in
3633 yes:)
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3635 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3636 ac_tool_warned=yes ;;
3637 esac
3638 CC=$ac_ct_CC
3640 else
3641 CC="$ac_cv_prog_CC"
3644 if test -z "$CC"; then
3645 if test -n "$ac_tool_prefix"; then
3646 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3647 set dummy ${ac_tool_prefix}cc; ac_word=$2
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3649 $as_echo_n "checking for $ac_word... " >&6; }
3650 if test "${ac_cv_prog_CC+set}" = set; then :
3651 $as_echo_n "(cached) " >&6
3652 else
3653 if test -n "$CC"; then
3654 ac_cv_prog_CC="$CC" # Let the user override the test.
3655 else
3656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3657 for as_dir in $PATH
3659 IFS=$as_save_IFS
3660 test -z "$as_dir" && as_dir=.
3661 for ac_exec_ext in '' $ac_executable_extensions; do
3662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3663 ac_cv_prog_CC="${ac_tool_prefix}cc"
3664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3665 break 2
3667 done
3668 done
3669 IFS=$as_save_IFS
3673 CC=$ac_cv_prog_CC
3674 if test -n "$CC"; then
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3676 $as_echo "$CC" >&6; }
3677 else
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3679 $as_echo "no" >&6; }
3685 if test -z "$CC"; then
3686 # Extract the first word of "cc", so it can be a program name with args.
3687 set dummy cc; ac_word=$2
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3689 $as_echo_n "checking for $ac_word... " >&6; }
3690 if test "${ac_cv_prog_CC+set}" = set; then :
3691 $as_echo_n "(cached) " >&6
3692 else
3693 if test -n "$CC"; then
3694 ac_cv_prog_CC="$CC" # Let the user override the test.
3695 else
3696 ac_prog_rejected=no
3697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3698 for as_dir in $PATH
3700 IFS=$as_save_IFS
3701 test -z "$as_dir" && as_dir=.
3702 for ac_exec_ext in '' $ac_executable_extensions; do
3703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3704 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3705 ac_prog_rejected=yes
3706 continue
3708 ac_cv_prog_CC="cc"
3709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3710 break 2
3712 done
3713 done
3714 IFS=$as_save_IFS
3716 if test $ac_prog_rejected = yes; then
3717 # We found a bogon in the path, so make sure we never use it.
3718 set dummy $ac_cv_prog_CC
3719 shift
3720 if test $# != 0; then
3721 # We chose a different compiler from the bogus one.
3722 # However, it has the same basename, so the bogon will be chosen
3723 # first if we set CC to just the basename; use the full file name.
3724 shift
3725 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3730 CC=$ac_cv_prog_CC
3731 if test -n "$CC"; then
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3733 $as_echo "$CC" >&6; }
3734 else
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3736 $as_echo "no" >&6; }
3741 if test -z "$CC"; then
3742 if test -n "$ac_tool_prefix"; then
3743 for ac_prog in cl.exe
3745 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3746 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3748 $as_echo_n "checking for $ac_word... " >&6; }
3749 if test "${ac_cv_prog_CC+set}" = set; then :
3750 $as_echo_n "(cached) " >&6
3751 else
3752 if test -n "$CC"; then
3753 ac_cv_prog_CC="$CC" # Let the user override the test.
3754 else
3755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3756 for as_dir in $PATH
3758 IFS=$as_save_IFS
3759 test -z "$as_dir" && as_dir=.
3760 for ac_exec_ext in '' $ac_executable_extensions; do
3761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3762 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3764 break 2
3766 done
3767 done
3768 IFS=$as_save_IFS
3772 CC=$ac_cv_prog_CC
3773 if test -n "$CC"; then
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3775 $as_echo "$CC" >&6; }
3776 else
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3778 $as_echo "no" >&6; }
3782 test -n "$CC" && break
3783 done
3785 if test -z "$CC"; then
3786 ac_ct_CC=$CC
3787 for ac_prog in cl.exe
3789 # Extract the first word of "$ac_prog", so it can be a program name with args.
3790 set dummy $ac_prog; ac_word=$2
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3792 $as_echo_n "checking for $ac_word... " >&6; }
3793 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3794 $as_echo_n "(cached) " >&6
3795 else
3796 if test -n "$ac_ct_CC"; then
3797 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3798 else
3799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3800 for as_dir in $PATH
3802 IFS=$as_save_IFS
3803 test -z "$as_dir" && as_dir=.
3804 for ac_exec_ext in '' $ac_executable_extensions; do
3805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3806 ac_cv_prog_ac_ct_CC="$ac_prog"
3807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3808 break 2
3810 done
3811 done
3812 IFS=$as_save_IFS
3816 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3817 if test -n "$ac_ct_CC"; then
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3819 $as_echo "$ac_ct_CC" >&6; }
3820 else
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3822 $as_echo "no" >&6; }
3826 test -n "$ac_ct_CC" && break
3827 done
3829 if test "x$ac_ct_CC" = x; then
3830 CC=""
3831 else
3832 case $cross_compiling:$ac_tool_warned in
3833 yes:)
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3835 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3836 ac_tool_warned=yes ;;
3837 esac
3838 CC=$ac_ct_CC
3845 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3846 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3847 as_fn_error "no acceptable C compiler found in \$PATH
3848 See \`config.log' for more details." "$LINENO" 5; }
3850 # Provide some information about the compiler.
3851 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3852 set X $ac_compile
3853 ac_compiler=$2
3854 for ac_option in --version -v -V -qversion; do
3855 { { ac_try="$ac_compiler $ac_option >&5"
3856 case "(($ac_try" in
3857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3858 *) ac_try_echo=$ac_try;;
3859 esac
3860 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3861 $as_echo "$ac_try_echo"; } >&5
3862 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3863 ac_status=$?
3864 if test -s conftest.err; then
3865 sed '10a\
3866 ... rest of stderr output deleted ...
3867 10q' conftest.err >conftest.er1
3868 cat conftest.er1 >&5
3869 rm -f conftest.er1 conftest.err
3871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3872 test $ac_status = 0; }
3873 done
3875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3876 /* end confdefs.h. */
3879 main ()
3883 return 0;
3885 _ACEOF
3886 # FIXME: Cleanup?
3887 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3888 (eval $ac_link) 2>&5
3889 ac_status=$?
3890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3891 test $ac_status = 0; }; then :
3892 gcc_no_link=no
3893 else
3894 gcc_no_link=yes
3896 if test x$gcc_no_link = xyes; then
3897 # Setting cross_compile will disable run tests; it will
3898 # also disable AC_CHECK_FILE but that's generally
3899 # correct if we can't link.
3900 cross_compiling=yes
3901 EXEEXT=
3902 else
3903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3904 /* end confdefs.h. */
3907 main ()
3911 return 0;
3913 _ACEOF
3914 ac_clean_files_save=$ac_clean_files
3915 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3916 # Try to create an executable without -o first, disregard a.out.
3917 # It will help us diagnose broken compilers, and finding out an intuition
3918 # of exeext.
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3920 $as_echo_n "checking for C compiler default output file name... " >&6; }
3921 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3923 # The possible output files:
3924 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3926 ac_rmfiles=
3927 for ac_file in $ac_files
3929 case $ac_file in
3930 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3931 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3932 esac
3933 done
3934 rm -f $ac_rmfiles
3936 if { { ac_try="$ac_link_default"
3937 case "(($ac_try" in
3938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3939 *) ac_try_echo=$ac_try;;
3940 esac
3941 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3942 $as_echo "$ac_try_echo"; } >&5
3943 (eval "$ac_link_default") 2>&5
3944 ac_status=$?
3945 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3946 test $ac_status = 0; }; then :
3947 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3948 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3949 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3950 # so that the user can short-circuit this test for compilers unknown to
3951 # Autoconf.
3952 for ac_file in $ac_files ''
3954 test -f "$ac_file" || continue
3955 case $ac_file in
3956 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3958 [ab].out )
3959 # We found the default executable, but exeext='' is most
3960 # certainly right.
3961 break;;
3962 *.* )
3963 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3964 then :; else
3965 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3967 # We set ac_cv_exeext here because the later test for it is not
3968 # safe: cross compilers may not add the suffix if given an `-o'
3969 # argument, so we may need to know it at that point already.
3970 # Even if this section looks crufty: it has the advantage of
3971 # actually working.
3972 break;;
3974 break;;
3975 esac
3976 done
3977 test "$ac_cv_exeext" = no && ac_cv_exeext=
3979 else
3980 ac_file=''
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3983 $as_echo "$ac_file" >&6; }
3984 if test -z "$ac_file"; then :
3985 $as_echo "$as_me: failed program was:" >&5
3986 sed 's/^/| /' conftest.$ac_ext >&5
3988 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3989 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3990 { as_fn_set_status 77
3991 as_fn_error "C compiler cannot create executables
3992 See \`config.log' for more details." "$LINENO" 5; }; }
3994 ac_exeext=$ac_cv_exeext
3996 # Check that the compiler produces executables we can run. If not, either
3997 # the compiler is broken, or we cross compile.
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3999 $as_echo_n "checking whether the C compiler works... " >&6; }
4000 # If not cross compiling, check that we can run a simple program.
4001 if test "$cross_compiling" != yes; then
4002 if { ac_try='./$ac_file'
4003 { { case "(($ac_try" in
4004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4005 *) ac_try_echo=$ac_try;;
4006 esac
4007 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4008 $as_echo "$ac_try_echo"; } >&5
4009 (eval "$ac_try") 2>&5
4010 ac_status=$?
4011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4012 test $ac_status = 0; }; }; then
4013 cross_compiling=no
4014 else
4015 if test "$cross_compiling" = maybe; then
4016 cross_compiling=yes
4017 else
4018 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4019 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4020 as_fn_error "cannot run C compiled programs.
4021 If you meant to cross compile, use \`--host'.
4022 See \`config.log' for more details." "$LINENO" 5; }
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4027 $as_echo "yes" >&6; }
4029 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4030 ac_clean_files=$ac_clean_files_save
4031 # Check that the compiler produces executables we can run. If not, either
4032 # the compiler is broken, or we cross compile.
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4034 $as_echo_n "checking whether we are cross compiling... " >&6; }
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4036 $as_echo "$cross_compiling" >&6; }
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4039 $as_echo_n "checking for suffix of executables... " >&6; }
4040 if { { ac_try="$ac_link"
4041 case "(($ac_try" in
4042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4043 *) ac_try_echo=$ac_try;;
4044 esac
4045 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4046 $as_echo "$ac_try_echo"; } >&5
4047 (eval "$ac_link") 2>&5
4048 ac_status=$?
4049 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4050 test $ac_status = 0; }; then :
4051 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4052 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4053 # work properly (i.e., refer to `conftest.exe'), while it won't with
4054 # `rm'.
4055 for ac_file in conftest.exe conftest conftest.*; do
4056 test -f "$ac_file" || continue
4057 case $ac_file in
4058 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4059 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4060 break;;
4061 * ) break;;
4062 esac
4063 done
4064 else
4065 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4066 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4067 as_fn_error "cannot compute suffix of executables: cannot compile and link
4068 See \`config.log' for more details." "$LINENO" 5; }
4070 rm -f conftest$ac_cv_exeext
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4072 $as_echo "$ac_cv_exeext" >&6; }
4074 rm -f conftest.$ac_ext
4075 EXEEXT=$ac_cv_exeext
4076 ac_exeext=$EXEEXT
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4079 $as_echo_n "checking for suffix of object files... " >&6; }
4080 if test "${ac_cv_objext+set}" = set; then :
4081 $as_echo_n "(cached) " >&6
4082 else
4083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4084 /* end confdefs.h. */
4087 main ()
4091 return 0;
4093 _ACEOF
4094 rm -f conftest.o conftest.obj
4095 if { { ac_try="$ac_compile"
4096 case "(($ac_try" in
4097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4098 *) ac_try_echo=$ac_try;;
4099 esac
4100 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4101 $as_echo "$ac_try_echo"; } >&5
4102 (eval "$ac_compile") 2>&5
4103 ac_status=$?
4104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4105 test $ac_status = 0; }; then :
4106 for ac_file in conftest.o conftest.obj conftest.*; do
4107 test -f "$ac_file" || continue;
4108 case $ac_file in
4109 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4110 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4111 break;;
4112 esac
4113 done
4114 else
4115 $as_echo "$as_me: failed program was:" >&5
4116 sed 's/^/| /' conftest.$ac_ext >&5
4118 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4119 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4120 as_fn_error "cannot compute suffix of object files: cannot compile
4121 See \`config.log' for more details." "$LINENO" 5; }
4123 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4126 $as_echo "$ac_cv_objext" >&6; }
4127 OBJEXT=$ac_cv_objext
4128 ac_objext=$OBJEXT
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4130 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4131 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4132 $as_echo_n "(cached) " >&6
4133 else
4134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4135 /* end confdefs.h. */
4138 main ()
4140 #ifndef __GNUC__
4141 choke me
4142 #endif
4145 return 0;
4147 _ACEOF
4148 if ac_fn_c_try_compile "$LINENO"; then :
4149 ac_compiler_gnu=yes
4150 else
4151 ac_compiler_gnu=no
4153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4154 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4158 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4159 if test $ac_compiler_gnu = yes; then
4160 GCC=yes
4161 else
4162 GCC=
4164 ac_test_CFLAGS=${CFLAGS+set}
4165 ac_save_CFLAGS=$CFLAGS
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4167 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4168 if test "${ac_cv_prog_cc_g+set}" = set; then :
4169 $as_echo_n "(cached) " >&6
4170 else
4171 ac_save_c_werror_flag=$ac_c_werror_flag
4172 ac_c_werror_flag=yes
4173 ac_cv_prog_cc_g=no
4174 CFLAGS="-g"
4175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4176 /* end confdefs.h. */
4179 main ()
4183 return 0;
4185 _ACEOF
4186 if ac_fn_c_try_compile "$LINENO"; then :
4187 ac_cv_prog_cc_g=yes
4188 else
4189 CFLAGS=""
4190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4191 /* end confdefs.h. */
4194 main ()
4198 return 0;
4200 _ACEOF
4201 if ac_fn_c_try_compile "$LINENO"; then :
4203 else
4204 ac_c_werror_flag=$ac_save_c_werror_flag
4205 CFLAGS="-g"
4206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4207 /* end confdefs.h. */
4210 main ()
4214 return 0;
4216 _ACEOF
4217 if ac_fn_c_try_compile "$LINENO"; then :
4218 ac_cv_prog_cc_g=yes
4220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4225 ac_c_werror_flag=$ac_save_c_werror_flag
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4228 $as_echo "$ac_cv_prog_cc_g" >&6; }
4229 if test "$ac_test_CFLAGS" = set; then
4230 CFLAGS=$ac_save_CFLAGS
4231 elif test $ac_cv_prog_cc_g = yes; then
4232 if test "$GCC" = yes; then
4233 CFLAGS="-g -O2"
4234 else
4235 CFLAGS="-g"
4237 else
4238 if test "$GCC" = yes; then
4239 CFLAGS="-O2"
4240 else
4241 CFLAGS=
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4245 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4246 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4247 $as_echo_n "(cached) " >&6
4248 else
4249 ac_cv_prog_cc_c89=no
4250 ac_save_CC=$CC
4251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4252 /* end confdefs.h. */
4253 #include <stdarg.h>
4254 #include <stdio.h>
4255 #include <sys/types.h>
4256 #include <sys/stat.h>
4257 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4258 struct buf { int x; };
4259 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4260 static char *e (p, i)
4261 char **p;
4262 int i;
4264 return p[i];
4266 static char *f (char * (*g) (char **, int), char **p, ...)
4268 char *s;
4269 va_list v;
4270 va_start (v,p);
4271 s = g (p, va_arg (v,int));
4272 va_end (v);
4273 return s;
4276 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4277 function prototypes and stuff, but not '\xHH' hex character constants.
4278 These don't provoke an error unfortunately, instead are silently treated
4279 as 'x'. The following induces an error, until -std is added to get
4280 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4281 array size at least. It's necessary to write '\x00'==0 to get something
4282 that's true only with -std. */
4283 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4285 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4286 inside strings and character constants. */
4287 #define FOO(x) 'x'
4288 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4290 int test (int i, double x);
4291 struct s1 {int (*f) (int a);};
4292 struct s2 {int (*f) (double a);};
4293 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4294 int argc;
4295 char **argv;
4297 main ()
4299 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4301 return 0;
4303 _ACEOF
4304 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4305 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4307 CC="$ac_save_CC $ac_arg"
4308 if ac_fn_c_try_compile "$LINENO"; then :
4309 ac_cv_prog_cc_c89=$ac_arg
4311 rm -f core conftest.err conftest.$ac_objext
4312 test "x$ac_cv_prog_cc_c89" != "xno" && break
4313 done
4314 rm -f conftest.$ac_ext
4315 CC=$ac_save_CC
4318 # AC_CACHE_VAL
4319 case "x$ac_cv_prog_cc_c89" in
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4322 $as_echo "none needed" >&6; } ;;
4323 xno)
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4325 $as_echo "unsupported" >&6; } ;;
4327 CC="$CC $ac_cv_prog_cc_c89"
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4329 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4330 esac
4331 if test "x$ac_cv_prog_cc_c89" != xno; then :
4335 ac_ext=c
4336 ac_cpp='$CPP $CPPFLAGS'
4337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4341 ac_ext=cpp
4342 ac_cpp='$CXXCPP $CPPFLAGS'
4343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4346 if test -z "$CXX"; then
4347 if test -n "$CCC"; then
4348 CXX=$CCC
4349 else
4350 if test -n "$ac_tool_prefix"; then
4351 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4353 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4354 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4356 $as_echo_n "checking for $ac_word... " >&6; }
4357 if test "${ac_cv_prog_CXX+set}" = set; then :
4358 $as_echo_n "(cached) " >&6
4359 else
4360 if test -n "$CXX"; then
4361 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4362 else
4363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4364 for as_dir in $PATH
4366 IFS=$as_save_IFS
4367 test -z "$as_dir" && as_dir=.
4368 for ac_exec_ext in '' $ac_executable_extensions; do
4369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4370 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4372 break 2
4374 done
4375 done
4376 IFS=$as_save_IFS
4380 CXX=$ac_cv_prog_CXX
4381 if test -n "$CXX"; then
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4383 $as_echo "$CXX" >&6; }
4384 else
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4386 $as_echo "no" >&6; }
4390 test -n "$CXX" && break
4391 done
4393 if test -z "$CXX"; then
4394 ac_ct_CXX=$CXX
4395 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4397 # Extract the first word of "$ac_prog", so it can be a program name with args.
4398 set dummy $ac_prog; ac_word=$2
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4400 $as_echo_n "checking for $ac_word... " >&6; }
4401 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4402 $as_echo_n "(cached) " >&6
4403 else
4404 if test -n "$ac_ct_CXX"; then
4405 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4406 else
4407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4408 for as_dir in $PATH
4410 IFS=$as_save_IFS
4411 test -z "$as_dir" && as_dir=.
4412 for ac_exec_ext in '' $ac_executable_extensions; do
4413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4414 ac_cv_prog_ac_ct_CXX="$ac_prog"
4415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4416 break 2
4418 done
4419 done
4420 IFS=$as_save_IFS
4424 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4425 if test -n "$ac_ct_CXX"; then
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4427 $as_echo "$ac_ct_CXX" >&6; }
4428 else
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4430 $as_echo "no" >&6; }
4434 test -n "$ac_ct_CXX" && break
4435 done
4437 if test "x$ac_ct_CXX" = x; then
4438 CXX="g++"
4439 else
4440 case $cross_compiling:$ac_tool_warned in
4441 yes:)
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4443 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4444 ac_tool_warned=yes ;;
4445 esac
4446 CXX=$ac_ct_CXX
4452 # Provide some information about the compiler.
4453 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4454 set X $ac_compile
4455 ac_compiler=$2
4456 for ac_option in --version -v -V -qversion; do
4457 { { ac_try="$ac_compiler $ac_option >&5"
4458 case "(($ac_try" in
4459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4460 *) ac_try_echo=$ac_try;;
4461 esac
4462 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4463 $as_echo "$ac_try_echo"; } >&5
4464 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4465 ac_status=$?
4466 if test -s conftest.err; then
4467 sed '10a\
4468 ... rest of stderr output deleted ...
4469 10q' conftest.err >conftest.er1
4470 cat conftest.er1 >&5
4471 rm -f conftest.er1 conftest.err
4473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4474 test $ac_status = 0; }
4475 done
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4478 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4479 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4480 $as_echo_n "(cached) " >&6
4481 else
4482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4483 /* end confdefs.h. */
4486 main ()
4488 #ifndef __GNUC__
4489 choke me
4490 #endif
4493 return 0;
4495 _ACEOF
4496 if ac_fn_cxx_try_compile "$LINENO"; then :
4497 ac_compiler_gnu=yes
4498 else
4499 ac_compiler_gnu=no
4501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4502 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4506 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4507 if test $ac_compiler_gnu = yes; then
4508 GXX=yes
4509 else
4510 GXX=
4512 ac_test_CXXFLAGS=${CXXFLAGS+set}
4513 ac_save_CXXFLAGS=$CXXFLAGS
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4515 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4516 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4517 $as_echo_n "(cached) " >&6
4518 else
4519 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4520 ac_cxx_werror_flag=yes
4521 ac_cv_prog_cxx_g=no
4522 CXXFLAGS="-g"
4523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4524 /* end confdefs.h. */
4527 main ()
4531 return 0;
4533 _ACEOF
4534 if ac_fn_cxx_try_compile "$LINENO"; then :
4535 ac_cv_prog_cxx_g=yes
4536 else
4537 CXXFLAGS=""
4538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4539 /* end confdefs.h. */
4542 main ()
4546 return 0;
4548 _ACEOF
4549 if ac_fn_cxx_try_compile "$LINENO"; then :
4551 else
4552 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4553 CXXFLAGS="-g"
4554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4555 /* end confdefs.h. */
4558 main ()
4562 return 0;
4564 _ACEOF
4565 if ac_fn_cxx_try_compile "$LINENO"; then :
4566 ac_cv_prog_cxx_g=yes
4568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4573 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4576 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4577 if test "$ac_test_CXXFLAGS" = set; then
4578 CXXFLAGS=$ac_save_CXXFLAGS
4579 elif test $ac_cv_prog_cxx_g = yes; then
4580 if test "$GXX" = yes; then
4581 CXXFLAGS="-g -O2"
4582 else
4583 CXXFLAGS="-g"
4585 else
4586 if test "$GXX" = yes; then
4587 CXXFLAGS="-O2"
4588 else
4589 CXXFLAGS=
4592 ac_ext=c
4593 ac_cpp='$CPP $CPPFLAGS'
4594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4598 CXXFLAGS="$save_CXXFLAGS"
4600 # Runs configure.host, and assorted other critical bits. Sets
4601 # up critical shell variables.
4603 ac_ext=c
4604 ac_cpp='$CPP $CPPFLAGS'
4605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4609 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4610 # On Suns, sometimes $CPP names a directory.
4611 if test -n "$CPP" && test -d "$CPP"; then
4612 CPP=
4614 if test -z "$CPP"; then
4615 if test "${ac_cv_prog_CPP+set}" = set; then :
4616 $as_echo_n "(cached) " >&6
4617 else
4618 # Double quotes because CPP needs to be expanded
4619 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4621 ac_preproc_ok=false
4622 for ac_c_preproc_warn_flag in '' yes
4624 # Use a header file that comes with gcc, so configuring glibc
4625 # with a fresh cross-compiler works.
4626 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4627 # <limits.h> exists even on freestanding compilers.
4628 # On the NeXT, cc -E runs the code through the compiler's parser,
4629 # not just through cpp. "Syntax error" is here to catch this case.
4630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4631 /* end confdefs.h. */
4632 #ifdef __STDC__
4633 # include <limits.h>
4634 #else
4635 # include <assert.h>
4636 #endif
4637 Syntax error
4638 _ACEOF
4639 if ac_fn_c_try_cpp "$LINENO"; then :
4641 else
4642 # Broken: fails on valid input.
4643 continue
4645 rm -f conftest.err conftest.$ac_ext
4647 # OK, works on sane cases. Now check whether nonexistent headers
4648 # can be detected and how.
4649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4650 /* end confdefs.h. */
4651 #include <ac_nonexistent.h>
4652 _ACEOF
4653 if ac_fn_c_try_cpp "$LINENO"; then :
4654 # Broken: success on invalid input.
4655 continue
4656 else
4657 # Passes both tests.
4658 ac_preproc_ok=:
4659 break
4661 rm -f conftest.err conftest.$ac_ext
4663 done
4664 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4665 rm -f conftest.err conftest.$ac_ext
4666 if $ac_preproc_ok; then :
4667 break
4670 done
4671 ac_cv_prog_CPP=$CPP
4674 CPP=$ac_cv_prog_CPP
4675 else
4676 ac_cv_prog_CPP=$CPP
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4679 $as_echo "$CPP" >&6; }
4680 ac_preproc_ok=false
4681 for ac_c_preproc_warn_flag in '' yes
4683 # Use a header file that comes with gcc, so configuring glibc
4684 # with a fresh cross-compiler works.
4685 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4686 # <limits.h> exists even on freestanding compilers.
4687 # On the NeXT, cc -E runs the code through the compiler's parser,
4688 # not just through cpp. "Syntax error" is here to catch this case.
4689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4690 /* end confdefs.h. */
4691 #ifdef __STDC__
4692 # include <limits.h>
4693 #else
4694 # include <assert.h>
4695 #endif
4696 Syntax error
4697 _ACEOF
4698 if ac_fn_c_try_cpp "$LINENO"; then :
4700 else
4701 # Broken: fails on valid input.
4702 continue
4704 rm -f conftest.err conftest.$ac_ext
4706 # OK, works on sane cases. Now check whether nonexistent headers
4707 # can be detected and how.
4708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4709 /* end confdefs.h. */
4710 #include <ac_nonexistent.h>
4711 _ACEOF
4712 if ac_fn_c_try_cpp "$LINENO"; then :
4713 # Broken: success on invalid input.
4714 continue
4715 else
4716 # Passes both tests.
4717 ac_preproc_ok=:
4718 break
4720 rm -f conftest.err conftest.$ac_ext
4722 done
4723 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4724 rm -f conftest.err conftest.$ac_ext
4725 if $ac_preproc_ok; then :
4727 else
4728 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4729 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4730 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4731 See \`config.log' for more details." "$LINENO" 5; }
4734 ac_ext=c
4735 ac_cpp='$CPP $CPPFLAGS'
4736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4742 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4743 if test "${ac_cv_path_GREP+set}" = set; then :
4744 $as_echo_n "(cached) " >&6
4745 else
4746 if test -z "$GREP"; then
4747 ac_path_GREP_found=false
4748 # Loop through the user's path and test for each of PROGNAME-LIST
4749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4750 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4752 IFS=$as_save_IFS
4753 test -z "$as_dir" && as_dir=.
4754 for ac_prog in grep ggrep; do
4755 for ac_exec_ext in '' $ac_executable_extensions; do
4756 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4757 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4758 # Check for GNU ac_path_GREP and select it if it is found.
4759 # Check for GNU $ac_path_GREP
4760 case `"$ac_path_GREP" --version 2>&1` in
4761 *GNU*)
4762 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4764 ac_count=0
4765 $as_echo_n 0123456789 >"conftest.in"
4766 while :
4768 cat "conftest.in" "conftest.in" >"conftest.tmp"
4769 mv "conftest.tmp" "conftest.in"
4770 cp "conftest.in" "conftest.nl"
4771 $as_echo 'GREP' >> "conftest.nl"
4772 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4773 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4774 as_fn_arith $ac_count + 1 && ac_count=$as_val
4775 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4776 # Best one so far, save it but keep looking for a better one
4777 ac_cv_path_GREP="$ac_path_GREP"
4778 ac_path_GREP_max=$ac_count
4780 # 10*(2^10) chars as input seems more than enough
4781 test $ac_count -gt 10 && break
4782 done
4783 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4784 esac
4786 $ac_path_GREP_found && break 3
4787 done
4788 done
4789 done
4790 IFS=$as_save_IFS
4791 if test -z "$ac_cv_path_GREP"; then
4792 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4794 else
4795 ac_cv_path_GREP=$GREP
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4800 $as_echo "$ac_cv_path_GREP" >&6; }
4801 GREP="$ac_cv_path_GREP"
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4805 $as_echo_n "checking for egrep... " >&6; }
4806 if test "${ac_cv_path_EGREP+set}" = set; then :
4807 $as_echo_n "(cached) " >&6
4808 else
4809 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4810 then ac_cv_path_EGREP="$GREP -E"
4811 else
4812 if test -z "$EGREP"; then
4813 ac_path_EGREP_found=false
4814 # Loop through the user's path and test for each of PROGNAME-LIST
4815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4816 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4818 IFS=$as_save_IFS
4819 test -z "$as_dir" && as_dir=.
4820 for ac_prog in egrep; do
4821 for ac_exec_ext in '' $ac_executable_extensions; do
4822 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4823 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4824 # Check for GNU ac_path_EGREP and select it if it is found.
4825 # Check for GNU $ac_path_EGREP
4826 case `"$ac_path_EGREP" --version 2>&1` in
4827 *GNU*)
4828 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4830 ac_count=0
4831 $as_echo_n 0123456789 >"conftest.in"
4832 while :
4834 cat "conftest.in" "conftest.in" >"conftest.tmp"
4835 mv "conftest.tmp" "conftest.in"
4836 cp "conftest.in" "conftest.nl"
4837 $as_echo 'EGREP' >> "conftest.nl"
4838 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4839 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4840 as_fn_arith $ac_count + 1 && ac_count=$as_val
4841 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4842 # Best one so far, save it but keep looking for a better one
4843 ac_cv_path_EGREP="$ac_path_EGREP"
4844 ac_path_EGREP_max=$ac_count
4846 # 10*(2^10) chars as input seems more than enough
4847 test $ac_count -gt 10 && break
4848 done
4849 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4850 esac
4852 $ac_path_EGREP_found && break 3
4853 done
4854 done
4855 done
4856 IFS=$as_save_IFS
4857 if test -z "$ac_cv_path_EGREP"; then
4858 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4860 else
4861 ac_cv_path_EGREP=$EGREP
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4867 $as_echo "$ac_cv_path_EGREP" >&6; }
4868 EGREP="$ac_cv_path_EGREP"
4872 # Keep these sync'd with the list in Makefile.am. The first provides an
4873 # expandable list at autoconf time; the second provides an expandable list
4874 # (i.e., shell variable) at configure time.
4876 SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4878 # These need to be absolute paths, yet at the same time need to
4879 # canonicalize only relative paths, because then amd will not unmount
4880 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4881 glibcxx_builddir=`${PWDCMD-pwd}`
4882 case $srcdir in
4883 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4884 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4885 esac
4886 toplevel_builddir=${glibcxx_builddir}/..
4887 toplevel_srcdir=${glibcxx_srcdir}/..
4893 # We use these options to decide which functions to include. They are
4894 # set from the top level.
4896 # Check whether --with-target-subdir was given.
4897 if test "${with_target_subdir+set}" = set; then :
4898 withval=$with_target_subdir;
4903 # Check whether --with-cross-host was given.
4904 if test "${with_cross_host+set}" = set; then :
4905 withval=$with_cross_host;
4910 # Check whether --with-newlib was given.
4911 if test "${with_newlib+set}" = set; then :
4912 withval=$with_newlib;
4916 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4917 # available). Uncomment the next line to force a particular method.
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4919 $as_echo_n "checking whether ln -s works... " >&6; }
4920 LN_S=$as_ln_s
4921 if test "$LN_S" = "ln -s"; then
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4923 $as_echo "yes" >&6; }
4924 else
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4926 $as_echo "no, using $LN_S" >&6; }
4929 #LN_S='cp -p'
4931 if test -n "$ac_tool_prefix"; then
4932 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4933 set dummy ${ac_tool_prefix}as; ac_word=$2
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4935 $as_echo_n "checking for $ac_word... " >&6; }
4936 if test "${ac_cv_prog_AS+set}" = set; then :
4937 $as_echo_n "(cached) " >&6
4938 else
4939 if test -n "$AS"; then
4940 ac_cv_prog_AS="$AS" # Let the user override the test.
4941 else
4942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4943 for as_dir in $PATH
4945 IFS=$as_save_IFS
4946 test -z "$as_dir" && as_dir=.
4947 for ac_exec_ext in '' $ac_executable_extensions; do
4948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4949 ac_cv_prog_AS="${ac_tool_prefix}as"
4950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4951 break 2
4953 done
4954 done
4955 IFS=$as_save_IFS
4959 AS=$ac_cv_prog_AS
4960 if test -n "$AS"; then
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4962 $as_echo "$AS" >&6; }
4963 else
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4965 $as_echo "no" >&6; }
4970 if test -z "$ac_cv_prog_AS"; then
4971 ac_ct_AS=$AS
4972 # Extract the first word of "as", so it can be a program name with args.
4973 set dummy as; ac_word=$2
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4975 $as_echo_n "checking for $ac_word... " >&6; }
4976 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4977 $as_echo_n "(cached) " >&6
4978 else
4979 if test -n "$ac_ct_AS"; then
4980 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4981 else
4982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4983 for as_dir in $PATH
4985 IFS=$as_save_IFS
4986 test -z "$as_dir" && as_dir=.
4987 for ac_exec_ext in '' $ac_executable_extensions; do
4988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4989 ac_cv_prog_ac_ct_AS="as"
4990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4991 break 2
4993 done
4994 done
4995 IFS=$as_save_IFS
4999 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5000 if test -n "$ac_ct_AS"; then
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5002 $as_echo "$ac_ct_AS" >&6; }
5003 else
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5005 $as_echo "no" >&6; }
5008 if test "x$ac_ct_AS" = x; then
5009 AS=""
5010 else
5011 case $cross_compiling:$ac_tool_warned in
5012 yes:)
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5014 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5015 ac_tool_warned=yes ;;
5016 esac
5017 AS=$ac_ct_AS
5019 else
5020 AS="$ac_cv_prog_AS"
5023 if test -n "$ac_tool_prefix"; then
5024 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5025 set dummy ${ac_tool_prefix}ar; ac_word=$2
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5027 $as_echo_n "checking for $ac_word... " >&6; }
5028 if test "${ac_cv_prog_AR+set}" = set; then :
5029 $as_echo_n "(cached) " >&6
5030 else
5031 if test -n "$AR"; then
5032 ac_cv_prog_AR="$AR" # Let the user override the test.
5033 else
5034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5035 for as_dir in $PATH
5037 IFS=$as_save_IFS
5038 test -z "$as_dir" && as_dir=.
5039 for ac_exec_ext in '' $ac_executable_extensions; do
5040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5041 ac_cv_prog_AR="${ac_tool_prefix}ar"
5042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5043 break 2
5045 done
5046 done
5047 IFS=$as_save_IFS
5051 AR=$ac_cv_prog_AR
5052 if test -n "$AR"; then
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5054 $as_echo "$AR" >&6; }
5055 else
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5057 $as_echo "no" >&6; }
5062 if test -z "$ac_cv_prog_AR"; then
5063 ac_ct_AR=$AR
5064 # Extract the first word of "ar", so it can be a program name with args.
5065 set dummy ar; ac_word=$2
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5067 $as_echo_n "checking for $ac_word... " >&6; }
5068 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5069 $as_echo_n "(cached) " >&6
5070 else
5071 if test -n "$ac_ct_AR"; then
5072 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5073 else
5074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5075 for as_dir in $PATH
5077 IFS=$as_save_IFS
5078 test -z "$as_dir" && as_dir=.
5079 for ac_exec_ext in '' $ac_executable_extensions; do
5080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5081 ac_cv_prog_ac_ct_AR="ar"
5082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5083 break 2
5085 done
5086 done
5087 IFS=$as_save_IFS
5091 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5092 if test -n "$ac_ct_AR"; then
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5094 $as_echo "$ac_ct_AR" >&6; }
5095 else
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5097 $as_echo "no" >&6; }
5100 if test "x$ac_ct_AR" = x; then
5101 AR=""
5102 else
5103 case $cross_compiling:$ac_tool_warned in
5104 yes:)
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5106 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5107 ac_tool_warned=yes ;;
5108 esac
5109 AR=$ac_ct_AR
5111 else
5112 AR="$ac_cv_prog_AR"
5115 if test -n "$ac_tool_prefix"; then
5116 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5117 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5119 $as_echo_n "checking for $ac_word... " >&6; }
5120 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5121 $as_echo_n "(cached) " >&6
5122 else
5123 if test -n "$RANLIB"; then
5124 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5125 else
5126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5127 for as_dir in $PATH
5129 IFS=$as_save_IFS
5130 test -z "$as_dir" && as_dir=.
5131 for ac_exec_ext in '' $ac_executable_extensions; do
5132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5133 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5135 break 2
5137 done
5138 done
5139 IFS=$as_save_IFS
5143 RANLIB=$ac_cv_prog_RANLIB
5144 if test -n "$RANLIB"; then
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5146 $as_echo "$RANLIB" >&6; }
5147 else
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5149 $as_echo "no" >&6; }
5154 if test -z "$ac_cv_prog_RANLIB"; then
5155 ac_ct_RANLIB=$RANLIB
5156 # Extract the first word of "ranlib", so it can be a program name with args.
5157 set dummy ranlib; ac_word=$2
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5159 $as_echo_n "checking for $ac_word... " >&6; }
5160 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5161 $as_echo_n "(cached) " >&6
5162 else
5163 if test -n "$ac_ct_RANLIB"; then
5164 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5165 else
5166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5167 for as_dir in $PATH
5169 IFS=$as_save_IFS
5170 test -z "$as_dir" && as_dir=.
5171 for ac_exec_ext in '' $ac_executable_extensions; do
5172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5173 ac_cv_prog_ac_ct_RANLIB="ranlib"
5174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5175 break 2
5177 done
5178 done
5179 IFS=$as_save_IFS
5183 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5184 if test -n "$ac_ct_RANLIB"; then
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5186 $as_echo "$ac_ct_RANLIB" >&6; }
5187 else
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5189 $as_echo "no" >&6; }
5192 if test "x$ac_ct_RANLIB" = x; then
5193 RANLIB="ranlib-not-found-in-path-error"
5194 else
5195 case $cross_compiling:$ac_tool_warned in
5196 yes:)
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5198 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5199 ac_tool_warned=yes ;;
5200 esac
5201 RANLIB=$ac_ct_RANLIB
5203 else
5204 RANLIB="$ac_cv_prog_RANLIB"
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5210 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5211 # Check whether --enable-maintainer-mode was given.
5212 if test "${enable_maintainer_mode+set}" = set; then :
5213 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5214 else
5215 USE_MAINTAINER_MODE=no
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5219 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5220 if test $USE_MAINTAINER_MODE = yes; then
5221 MAINTAINER_MODE_TRUE=
5222 MAINTAINER_MODE_FALSE='#'
5223 else
5224 MAINTAINER_MODE_TRUE='#'
5225 MAINTAINER_MODE_FALSE=
5228 MAINT=$MAINTAINER_MODE_TRUE
5232 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5233 # which are themselves conditionally expanded.
5234 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5235 ## other macros from doing the same. This should be automated.) -pme
5237 # Check for C library flavor since GNU/Linux platforms use different
5238 # configuration directories depending on the C library in use.
5239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5240 /* end confdefs.h. */
5242 #include <stdio.h>
5243 #if __UCLIBC__
5244 _using_uclibc
5245 #endif
5247 _ACEOF
5248 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5249 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5250 uclibc=yes
5251 else
5252 uclibc=no
5254 rm -f conftest*
5257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5258 /* end confdefs.h. */
5260 #include <stdio.h>
5261 #if __BIONIC__
5262 _using_bionic
5263 #endif
5265 _ACEOF
5266 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5267 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5268 bionic=yes
5269 else
5270 bionic=no
5272 rm -f conftest*
5275 # Find platform-specific directories containing configuration info.
5276 # Also possibly modify flags used elsewhere, as needed by the platform.
5278 . $glibcxx_srcdir/configure.host
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5280 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5282 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5286 if test "x${with_newlib}" != "xyes"; then
5287 enable_dlopen=yes
5292 case `pwd` in
5293 *\ * | *\ *)
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5295 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5296 esac
5300 macro_version='2.2.7a'
5301 macro_revision='1.3134'
5315 ltmain="$ac_aux_dir/ltmain.sh"
5317 # Backslashify metacharacters that are still active within
5318 # double-quoted strings.
5319 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5321 # Same as above, but do not quote variable references.
5322 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5324 # Sed substitution to delay expansion of an escaped shell variable in a
5325 # double_quote_subst'ed string.
5326 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5328 # Sed substitution to delay expansion of an escaped single quote.
5329 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5331 # Sed substitution to avoid accidental globbing in evaled expressions
5332 no_glob_subst='s/\*/\\\*/g'
5334 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5335 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5336 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5339 $as_echo_n "checking how to print strings... " >&6; }
5340 # Test print first, because it will be a builtin if present.
5341 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5342 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5343 ECHO='print -r --'
5344 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5345 ECHO='printf %s\n'
5346 else
5347 # Use this function as a fallback that always works.
5348 func_fallback_echo ()
5350 eval 'cat <<_LTECHO_EOF
5352 _LTECHO_EOF'
5354 ECHO='func_fallback_echo'
5357 # func_echo_all arg...
5358 # Invoke $ECHO with all args, space-separated.
5359 func_echo_all ()
5361 $ECHO ""
5364 case "$ECHO" in
5365 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5366 $as_echo "printf" >&6; } ;;
5367 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5368 $as_echo "print -r" >&6; } ;;
5369 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5370 $as_echo "cat" >&6; } ;;
5371 esac
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5387 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5388 if test "${ac_cv_path_SED+set}" = set; then :
5389 $as_echo_n "(cached) " >&6
5390 else
5391 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5392 for ac_i in 1 2 3 4 5 6 7; do
5393 ac_script="$ac_script$as_nl$ac_script"
5394 done
5395 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5396 { ac_script=; unset ac_script;}
5397 if test -z "$SED"; then
5398 ac_path_SED_found=false
5399 # Loop through the user's path and test for each of PROGNAME-LIST
5400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5401 for as_dir in $PATH
5403 IFS=$as_save_IFS
5404 test -z "$as_dir" && as_dir=.
5405 for ac_prog in sed gsed; do
5406 for ac_exec_ext in '' $ac_executable_extensions; do
5407 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5408 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5409 # Check for GNU ac_path_SED and select it if it is found.
5410 # Check for GNU $ac_path_SED
5411 case `"$ac_path_SED" --version 2>&1` in
5412 *GNU*)
5413 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5415 ac_count=0
5416 $as_echo_n 0123456789 >"conftest.in"
5417 while :
5419 cat "conftest.in" "conftest.in" >"conftest.tmp"
5420 mv "conftest.tmp" "conftest.in"
5421 cp "conftest.in" "conftest.nl"
5422 $as_echo '' >> "conftest.nl"
5423 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5424 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5425 as_fn_arith $ac_count + 1 && ac_count=$as_val
5426 if test $ac_count -gt ${ac_path_SED_max-0}; then
5427 # Best one so far, save it but keep looking for a better one
5428 ac_cv_path_SED="$ac_path_SED"
5429 ac_path_SED_max=$ac_count
5431 # 10*(2^10) chars as input seems more than enough
5432 test $ac_count -gt 10 && break
5433 done
5434 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5435 esac
5437 $ac_path_SED_found && break 3
5438 done
5439 done
5440 done
5441 IFS=$as_save_IFS
5442 if test -z "$ac_cv_path_SED"; then
5443 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5445 else
5446 ac_cv_path_SED=$SED
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5451 $as_echo "$ac_cv_path_SED" >&6; }
5452 SED="$ac_cv_path_SED"
5453 rm -f conftest.sed
5455 test -z "$SED" && SED=sed
5456 Xsed="$SED -e 1s/^X//"
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5469 $as_echo_n "checking for fgrep... " >&6; }
5470 if test "${ac_cv_path_FGREP+set}" = set; then :
5471 $as_echo_n "(cached) " >&6
5472 else
5473 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5474 then ac_cv_path_FGREP="$GREP -F"
5475 else
5476 if test -z "$FGREP"; then
5477 ac_path_FGREP_found=false
5478 # Loop through the user's path and test for each of PROGNAME-LIST
5479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5480 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5482 IFS=$as_save_IFS
5483 test -z "$as_dir" && as_dir=.
5484 for ac_prog in fgrep; do
5485 for ac_exec_ext in '' $ac_executable_extensions; do
5486 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5487 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5488 # Check for GNU ac_path_FGREP and select it if it is found.
5489 # Check for GNU $ac_path_FGREP
5490 case `"$ac_path_FGREP" --version 2>&1` in
5491 *GNU*)
5492 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5494 ac_count=0
5495 $as_echo_n 0123456789 >"conftest.in"
5496 while :
5498 cat "conftest.in" "conftest.in" >"conftest.tmp"
5499 mv "conftest.tmp" "conftest.in"
5500 cp "conftest.in" "conftest.nl"
5501 $as_echo 'FGREP' >> "conftest.nl"
5502 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5503 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5504 as_fn_arith $ac_count + 1 && ac_count=$as_val
5505 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5506 # Best one so far, save it but keep looking for a better one
5507 ac_cv_path_FGREP="$ac_path_FGREP"
5508 ac_path_FGREP_max=$ac_count
5510 # 10*(2^10) chars as input seems more than enough
5511 test $ac_count -gt 10 && break
5512 done
5513 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5514 esac
5516 $ac_path_FGREP_found && break 3
5517 done
5518 done
5519 done
5520 IFS=$as_save_IFS
5521 if test -z "$ac_cv_path_FGREP"; then
5522 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5524 else
5525 ac_cv_path_FGREP=$FGREP
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5531 $as_echo "$ac_cv_path_FGREP" >&6; }
5532 FGREP="$ac_cv_path_FGREP"
5535 test -z "$GREP" && GREP=grep
5555 # Check whether --with-gnu-ld was given.
5556 if test "${with_gnu_ld+set}" = set; then :
5557 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5558 else
5559 with_gnu_ld=no
5562 ac_prog=ld
5563 if test "$GCC" = yes; then
5564 # Check if gcc -print-prog-name=ld gives a path.
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5566 $as_echo_n "checking for ld used by $CC... " >&6; }
5567 case $host in
5568 *-*-mingw*)
5569 # gcc leaves a trailing carriage return which upsets mingw
5570 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5572 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5573 esac
5574 case $ac_prog in
5575 # Accept absolute paths.
5576 [\\/]* | ?:[\\/]*)
5577 re_direlt='/[^/][^/]*/\.\./'
5578 # Canonicalize the pathname of ld
5579 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5580 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5581 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5582 done
5583 test -z "$LD" && LD="$ac_prog"
5586 # If it fails, then pretend we aren't using GCC.
5587 ac_prog=ld
5590 # If it is relative, then search for the first ld in PATH.
5591 with_gnu_ld=unknown
5593 esac
5594 elif test "$with_gnu_ld" = yes; then
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5596 $as_echo_n "checking for GNU ld... " >&6; }
5597 else
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5599 $as_echo_n "checking for non-GNU ld... " >&6; }
5601 if test "${lt_cv_path_LD+set}" = set; then :
5602 $as_echo_n "(cached) " >&6
5603 else
5604 if test -z "$LD"; then
5605 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5606 for ac_dir in $PATH; do
5607 IFS="$lt_save_ifs"
5608 test -z "$ac_dir" && ac_dir=.
5609 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5610 lt_cv_path_LD="$ac_dir/$ac_prog"
5611 # Check to see if the program is GNU ld. I'd rather use --version,
5612 # but apparently some variants of GNU ld only accept -v.
5613 # Break only if it was the GNU/non-GNU ld that we prefer.
5614 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5615 *GNU* | *'with BFD'*)
5616 test "$with_gnu_ld" != no && break
5619 test "$with_gnu_ld" != yes && break
5621 esac
5623 done
5624 IFS="$lt_save_ifs"
5625 else
5626 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5630 LD="$lt_cv_path_LD"
5631 if test -n "$LD"; then
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5633 $as_echo "$LD" >&6; }
5634 else
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5636 $as_echo "no" >&6; }
5638 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5640 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5641 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5642 $as_echo_n "(cached) " >&6
5643 else
5644 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5645 case `$LD -v 2>&1 </dev/null` in
5646 *GNU* | *'with BFD'*)
5647 lt_cv_prog_gnu_ld=yes
5650 lt_cv_prog_gnu_ld=no
5652 esac
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5655 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5656 with_gnu_ld=$lt_cv_prog_gnu_ld
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5667 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5668 if test "${lt_cv_path_NM+set}" = set; then :
5669 $as_echo_n "(cached) " >&6
5670 else
5671 if test -n "$NM"; then
5672 # Let the user override the test.
5673 lt_cv_path_NM="$NM"
5674 else
5675 lt_nm_to_check="${ac_tool_prefix}nm"
5676 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5677 lt_nm_to_check="$lt_nm_to_check nm"
5679 for lt_tmp_nm in $lt_nm_to_check; do
5680 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5681 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5682 IFS="$lt_save_ifs"
5683 test -z "$ac_dir" && ac_dir=.
5684 tmp_nm="$ac_dir/$lt_tmp_nm"
5685 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5686 # Check to see if the nm accepts a BSD-compat flag.
5687 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5688 # nm: unknown option "B" ignored
5689 # Tru64's nm complains that /dev/null is an invalid object file
5690 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5691 */dev/null* | *'Invalid file or object type'*)
5692 lt_cv_path_NM="$tmp_nm -B"
5693 break
5696 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5697 */dev/null*)
5698 lt_cv_path_NM="$tmp_nm -p"
5699 break
5702 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5703 continue # so that we can try to find one that supports BSD flags
5705 esac
5707 esac
5709 done
5710 IFS="$lt_save_ifs"
5711 done
5712 : ${lt_cv_path_NM=no}
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5716 $as_echo "$lt_cv_path_NM" >&6; }
5717 if test "$lt_cv_path_NM" != "no"; then
5718 NM="$lt_cv_path_NM"
5719 else
5720 # Didn't find any BSD compatible name lister, look for dumpbin.
5721 if test -n "$DUMPBIN"; then :
5722 # Let the user override the test.
5723 else
5724 if test -n "$ac_tool_prefix"; then
5725 for ac_prog in dumpbin "link -dump"
5727 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5728 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5730 $as_echo_n "checking for $ac_word... " >&6; }
5731 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5732 $as_echo_n "(cached) " >&6
5733 else
5734 if test -n "$DUMPBIN"; then
5735 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5736 else
5737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5738 for as_dir in $PATH
5740 IFS=$as_save_IFS
5741 test -z "$as_dir" && as_dir=.
5742 for ac_exec_ext in '' $ac_executable_extensions; do
5743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5744 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5746 break 2
5748 done
5749 done
5750 IFS=$as_save_IFS
5754 DUMPBIN=$ac_cv_prog_DUMPBIN
5755 if test -n "$DUMPBIN"; then
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5757 $as_echo "$DUMPBIN" >&6; }
5758 else
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5760 $as_echo "no" >&6; }
5764 test -n "$DUMPBIN" && break
5765 done
5767 if test -z "$DUMPBIN"; then
5768 ac_ct_DUMPBIN=$DUMPBIN
5769 for ac_prog in dumpbin "link -dump"
5771 # Extract the first word of "$ac_prog", so it can be a program name with args.
5772 set dummy $ac_prog; ac_word=$2
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5774 $as_echo_n "checking for $ac_word... " >&6; }
5775 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5776 $as_echo_n "(cached) " >&6
5777 else
5778 if test -n "$ac_ct_DUMPBIN"; then
5779 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5780 else
5781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5782 for as_dir in $PATH
5784 IFS=$as_save_IFS
5785 test -z "$as_dir" && as_dir=.
5786 for ac_exec_ext in '' $ac_executable_extensions; do
5787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5788 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5790 break 2
5792 done
5793 done
5794 IFS=$as_save_IFS
5798 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5799 if test -n "$ac_ct_DUMPBIN"; then
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5801 $as_echo "$ac_ct_DUMPBIN" >&6; }
5802 else
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5804 $as_echo "no" >&6; }
5808 test -n "$ac_ct_DUMPBIN" && break
5809 done
5811 if test "x$ac_ct_DUMPBIN" = x; then
5812 DUMPBIN=":"
5813 else
5814 case $cross_compiling:$ac_tool_warned in
5815 yes:)
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5817 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5818 ac_tool_warned=yes ;;
5819 esac
5820 DUMPBIN=$ac_ct_DUMPBIN
5824 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5825 *COFF*)
5826 DUMPBIN="$DUMPBIN -symbols"
5829 DUMPBIN=:
5831 esac
5834 if test "$DUMPBIN" != ":"; then
5835 NM="$DUMPBIN"
5838 test -z "$NM" && NM=nm
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5846 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5847 if test "${lt_cv_nm_interface+set}" = set; then :
5848 $as_echo_n "(cached) " >&6
5849 else
5850 lt_cv_nm_interface="BSD nm"
5851 echo "int some_variable = 0;" > conftest.$ac_ext
5852 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5853 (eval "$ac_compile" 2>conftest.err)
5854 cat conftest.err >&5
5855 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5856 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5857 cat conftest.err >&5
5858 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5859 cat conftest.out >&5
5860 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5861 lt_cv_nm_interface="MS dumpbin"
5863 rm -f conftest*
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5866 $as_echo "$lt_cv_nm_interface" >&6; }
5868 # find the maximum length of command line arguments
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5870 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5871 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5872 $as_echo_n "(cached) " >&6
5873 else
5875 teststring="ABCD"
5877 case $build_os in
5878 msdosdjgpp*)
5879 # On DJGPP, this test can blow up pretty badly due to problems in libc
5880 # (any single argument exceeding 2000 bytes causes a buffer overrun
5881 # during glob expansion). Even if it were fixed, the result of this
5882 # check would be larger than it should be.
5883 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5886 gnu*)
5887 # Under GNU Hurd, this test is not required because there is
5888 # no limit to the length of command line arguments.
5889 # Libtool will interpret -1 as no limit whatsoever
5890 lt_cv_sys_max_cmd_len=-1;
5893 cygwin* | mingw* | cegcc*)
5894 # On Win9x/ME, this test blows up -- it succeeds, but takes
5895 # about 5 minutes as the teststring grows exponentially.
5896 # Worse, since 9x/ME are not pre-emptively multitasking,
5897 # you end up with a "frozen" computer, even though with patience
5898 # the test eventually succeeds (with a max line length of 256k).
5899 # Instead, let's just punt: use the minimum linelength reported by
5900 # all of the supported platforms: 8192 (on NT/2K/XP).
5901 lt_cv_sys_max_cmd_len=8192;
5904 mint*)
5905 # On MiNT this can take a long time and run out of memory.
5906 lt_cv_sys_max_cmd_len=8192;
5909 amigaos*)
5910 # On AmigaOS with pdksh, this test takes hours, literally.
5911 # So we just punt and use a minimum line length of 8192.
5912 lt_cv_sys_max_cmd_len=8192;
5915 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5916 # This has been around since 386BSD, at least. Likely further.
5917 if test -x /sbin/sysctl; then
5918 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5919 elif test -x /usr/sbin/sysctl; then
5920 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5921 else
5922 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5924 # And add a safety zone
5925 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5926 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5929 interix*)
5930 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5931 lt_cv_sys_max_cmd_len=196608
5934 osf*)
5935 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5936 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5937 # nice to cause kernel panics so lets avoid the loop below.
5938 # First set a reasonable default.
5939 lt_cv_sys_max_cmd_len=16384
5941 if test -x /sbin/sysconfig; then
5942 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5943 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5944 esac
5947 sco3.2v5*)
5948 lt_cv_sys_max_cmd_len=102400
5950 sysv5* | sco5v6* | sysv4.2uw2*)
5951 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5952 if test -n "$kargmax"; then
5953 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5954 else
5955 lt_cv_sys_max_cmd_len=32768
5959 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5960 if test -n "$lt_cv_sys_max_cmd_len"; then
5961 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5962 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5963 else
5964 # Make teststring a little bigger before we do anything with it.
5965 # a 1K string should be a reasonable start.
5966 for i in 1 2 3 4 5 6 7 8 ; do
5967 teststring=$teststring$teststring
5968 done
5969 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5970 # If test is not a shell built-in, we'll probably end up computing a
5971 # maximum length that is only half of the actual maximum length, but
5972 # we can't tell.
5973 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5974 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5975 test $i != 17 # 1/2 MB should be enough
5977 i=`expr $i + 1`
5978 teststring=$teststring$teststring
5979 done
5980 # Only check the string length outside the loop.
5981 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5982 teststring=
5983 # Add a significant safety factor because C++ compilers can tack on
5984 # massive amounts of additional arguments before passing them to the
5985 # linker. It appears as though 1/2 is a usable value.
5986 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5989 esac
5993 if test -n $lt_cv_sys_max_cmd_len ; then
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5995 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5996 else
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5998 $as_echo "none" >&6; }
6000 max_cmd_len=$lt_cv_sys_max_cmd_len
6007 : ${CP="cp -f"}
6008 : ${MV="mv -f"}
6009 : ${RM="rm -f"}
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6012 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6013 # Try some XSI features
6014 xsi_shell=no
6015 ( _lt_dummy="a/b/c"
6016 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6017 = c,a/b,, \
6018 && eval 'test $(( 1 + 1 )) -eq 2 \
6019 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6020 && xsi_shell=yes
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6022 $as_echo "$xsi_shell" >&6; }
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6026 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6027 lt_shell_append=no
6028 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6029 >/dev/null 2>&1 \
6030 && lt_shell_append=yes
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6032 $as_echo "$lt_shell_append" >&6; }
6035 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6036 lt_unset=unset
6037 else
6038 lt_unset=false
6045 # test EBCDIC or ASCII
6046 case `echo X|tr X '\101'` in
6047 A) # ASCII based system
6048 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6049 lt_SP2NL='tr \040 \012'
6050 lt_NL2SP='tr \015\012 \040\040'
6052 *) # EBCDIC based system
6053 lt_SP2NL='tr \100 \n'
6054 lt_NL2SP='tr \r\n \100\100'
6056 esac
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6067 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6068 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6069 $as_echo_n "(cached) " >&6
6070 else
6071 lt_cv_ld_reload_flag='-r'
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6074 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6075 reload_flag=$lt_cv_ld_reload_flag
6076 case $reload_flag in
6077 "" | " "*) ;;
6078 *) reload_flag=" $reload_flag" ;;
6079 esac
6080 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6081 case $host_os in
6082 darwin*)
6083 if test "$GCC" = yes; then
6084 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6085 else
6086 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6089 esac
6099 if test -n "$ac_tool_prefix"; then
6100 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6101 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6103 $as_echo_n "checking for $ac_word... " >&6; }
6104 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6105 $as_echo_n "(cached) " >&6
6106 else
6107 if test -n "$OBJDUMP"; then
6108 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6109 else
6110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6111 for as_dir in $PATH
6113 IFS=$as_save_IFS
6114 test -z "$as_dir" && as_dir=.
6115 for ac_exec_ext in '' $ac_executable_extensions; do
6116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6117 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6119 break 2
6121 done
6122 done
6123 IFS=$as_save_IFS
6127 OBJDUMP=$ac_cv_prog_OBJDUMP
6128 if test -n "$OBJDUMP"; then
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6130 $as_echo "$OBJDUMP" >&6; }
6131 else
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6133 $as_echo "no" >&6; }
6138 if test -z "$ac_cv_prog_OBJDUMP"; then
6139 ac_ct_OBJDUMP=$OBJDUMP
6140 # Extract the first word of "objdump", so it can be a program name with args.
6141 set dummy objdump; ac_word=$2
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6143 $as_echo_n "checking for $ac_word... " >&6; }
6144 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6145 $as_echo_n "(cached) " >&6
6146 else
6147 if test -n "$ac_ct_OBJDUMP"; then
6148 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6149 else
6150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6151 for as_dir in $PATH
6153 IFS=$as_save_IFS
6154 test -z "$as_dir" && as_dir=.
6155 for ac_exec_ext in '' $ac_executable_extensions; do
6156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6157 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6159 break 2
6161 done
6162 done
6163 IFS=$as_save_IFS
6167 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6168 if test -n "$ac_ct_OBJDUMP"; then
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6170 $as_echo "$ac_ct_OBJDUMP" >&6; }
6171 else
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6173 $as_echo "no" >&6; }
6176 if test "x$ac_ct_OBJDUMP" = x; then
6177 OBJDUMP="false"
6178 else
6179 case $cross_compiling:$ac_tool_warned in
6180 yes:)
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6182 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6183 ac_tool_warned=yes ;;
6184 esac
6185 OBJDUMP=$ac_ct_OBJDUMP
6187 else
6188 OBJDUMP="$ac_cv_prog_OBJDUMP"
6191 test -z "$OBJDUMP" && OBJDUMP=objdump
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6202 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6203 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6204 $as_echo_n "(cached) " >&6
6205 else
6206 lt_cv_file_magic_cmd='$MAGIC_CMD'
6207 lt_cv_file_magic_test_file=
6208 lt_cv_deplibs_check_method='unknown'
6209 # Need to set the preceding variable on all platforms that support
6210 # interlibrary dependencies.
6211 # 'none' -- dependencies not supported.
6212 # `unknown' -- same as none, but documents that we really don't know.
6213 # 'pass_all' -- all dependencies passed with no checks.
6214 # 'test_compile' -- check by making test program.
6215 # 'file_magic [[regex]]' -- check by looking for files in library path
6216 # which responds to the $file_magic_cmd with a given extended regex.
6217 # If you have `file' or equivalent on your system and you're not sure
6218 # whether `pass_all' will *always* work, you probably want this one.
6220 case $host_os in
6221 aix[4-9]*)
6222 lt_cv_deplibs_check_method=pass_all
6225 beos*)
6226 lt_cv_deplibs_check_method=pass_all
6229 bsdi[45]*)
6230 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6231 lt_cv_file_magic_cmd='/usr/bin/file -L'
6232 lt_cv_file_magic_test_file=/shlib/libc.so
6235 cygwin*)
6236 # func_win32_libid is a shell function defined in ltmain.sh
6237 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6238 lt_cv_file_magic_cmd='func_win32_libid'
6241 mingw* | pw32*)
6242 # Base MSYS/MinGW do not provide the 'file' command needed by
6243 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6244 # unless we find 'file', for example because we are cross-compiling.
6245 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6246 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6247 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6248 lt_cv_file_magic_cmd='func_win32_libid'
6249 else
6250 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6251 lt_cv_file_magic_cmd='$OBJDUMP -f'
6255 cegcc*)
6256 # use the weaker test based on 'objdump'. See mingw*.
6257 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6258 lt_cv_file_magic_cmd='$OBJDUMP -f'
6261 darwin* | rhapsody*)
6262 lt_cv_deplibs_check_method=pass_all
6265 freebsd* | dragonfly*)
6266 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6267 case $host_cpu in
6268 i*86 )
6269 # Not sure whether the presence of OpenBSD here was a mistake.
6270 # Let's accept both of them until this is cleared up.
6271 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6272 lt_cv_file_magic_cmd=/usr/bin/file
6273 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6275 esac
6276 else
6277 lt_cv_deplibs_check_method=pass_all
6281 gnu*)
6282 lt_cv_deplibs_check_method=pass_all
6285 haiku*)
6286 lt_cv_deplibs_check_method=pass_all
6289 hpux10.20* | hpux11*)
6290 lt_cv_file_magic_cmd=/usr/bin/file
6291 case $host_cpu in
6292 ia64*)
6293 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6294 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6296 hppa*64*)
6297 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]'
6298 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6301 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6302 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6304 esac
6307 interix[3-9]*)
6308 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6309 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6312 irix5* | irix6* | nonstopux*)
6313 case $LD in
6314 *-32|*"-32 ") libmagic=32-bit;;
6315 *-n32|*"-n32 ") libmagic=N32;;
6316 *-64|*"-64 ") libmagic=64-bit;;
6317 *) libmagic=never-match;;
6318 esac
6319 lt_cv_deplibs_check_method=pass_all
6322 # This must be Linux ELF.
6323 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6324 lt_cv_deplibs_check_method=pass_all
6327 netbsd*)
6328 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6329 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6330 else
6331 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6335 newos6*)
6336 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6337 lt_cv_file_magic_cmd=/usr/bin/file
6338 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6341 *nto* | *qnx*)
6342 lt_cv_deplibs_check_method=pass_all
6345 openbsd*)
6346 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6347 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6348 else
6349 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6353 osf3* | osf4* | osf5*)
6354 lt_cv_deplibs_check_method=pass_all
6357 rdos*)
6358 lt_cv_deplibs_check_method=pass_all
6361 solaris*)
6362 lt_cv_deplibs_check_method=pass_all
6365 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6366 lt_cv_deplibs_check_method=pass_all
6369 sysv4 | sysv4.3*)
6370 case $host_vendor in
6371 motorola)
6372 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]'
6373 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6375 ncr)
6376 lt_cv_deplibs_check_method=pass_all
6378 sequent)
6379 lt_cv_file_magic_cmd='/bin/file'
6380 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6382 sni)
6383 lt_cv_file_magic_cmd='/bin/file'
6384 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6385 lt_cv_file_magic_test_file=/lib/libc.so
6387 siemens)
6388 lt_cv_deplibs_check_method=pass_all
6391 lt_cv_deplibs_check_method=pass_all
6393 esac
6396 tpf*)
6397 lt_cv_deplibs_check_method=pass_all
6399 esac
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6403 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6404 file_magic_cmd=$lt_cv_file_magic_cmd
6405 deplibs_check_method=$lt_cv_deplibs_check_method
6406 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6419 if test -n "$ac_tool_prefix"; then
6420 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6421 set dummy ${ac_tool_prefix}ar; ac_word=$2
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6423 $as_echo_n "checking for $ac_word... " >&6; }
6424 if test "${ac_cv_prog_AR+set}" = set; then :
6425 $as_echo_n "(cached) " >&6
6426 else
6427 if test -n "$AR"; then
6428 ac_cv_prog_AR="$AR" # Let the user override the test.
6429 else
6430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6431 for as_dir in $PATH
6433 IFS=$as_save_IFS
6434 test -z "$as_dir" && as_dir=.
6435 for ac_exec_ext in '' $ac_executable_extensions; do
6436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6437 ac_cv_prog_AR="${ac_tool_prefix}ar"
6438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6439 break 2
6441 done
6442 done
6443 IFS=$as_save_IFS
6447 AR=$ac_cv_prog_AR
6448 if test -n "$AR"; then
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6450 $as_echo "$AR" >&6; }
6451 else
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6453 $as_echo "no" >&6; }
6458 if test -z "$ac_cv_prog_AR"; then
6459 ac_ct_AR=$AR
6460 # Extract the first word of "ar", so it can be a program name with args.
6461 set dummy ar; ac_word=$2
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6463 $as_echo_n "checking for $ac_word... " >&6; }
6464 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6465 $as_echo_n "(cached) " >&6
6466 else
6467 if test -n "$ac_ct_AR"; then
6468 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6469 else
6470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6471 for as_dir in $PATH
6473 IFS=$as_save_IFS
6474 test -z "$as_dir" && as_dir=.
6475 for ac_exec_ext in '' $ac_executable_extensions; do
6476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6477 ac_cv_prog_ac_ct_AR="ar"
6478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6479 break 2
6481 done
6482 done
6483 IFS=$as_save_IFS
6487 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6488 if test -n "$ac_ct_AR"; then
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6490 $as_echo "$ac_ct_AR" >&6; }
6491 else
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6493 $as_echo "no" >&6; }
6496 if test "x$ac_ct_AR" = x; then
6497 AR="false"
6498 else
6499 case $cross_compiling:$ac_tool_warned in
6500 yes:)
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6502 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6503 ac_tool_warned=yes ;;
6504 esac
6505 AR=$ac_ct_AR
6507 else
6508 AR="$ac_cv_prog_AR"
6511 test -z "$AR" && AR=ar
6512 test -z "$AR_FLAGS" && AR_FLAGS=cru
6524 if test -n "$ac_tool_prefix"; then
6525 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6526 set dummy ${ac_tool_prefix}strip; ac_word=$2
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6528 $as_echo_n "checking for $ac_word... " >&6; }
6529 if test "${ac_cv_prog_STRIP+set}" = set; then :
6530 $as_echo_n "(cached) " >&6
6531 else
6532 if test -n "$STRIP"; then
6533 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6534 else
6535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6536 for as_dir in $PATH
6538 IFS=$as_save_IFS
6539 test -z "$as_dir" && as_dir=.
6540 for ac_exec_ext in '' $ac_executable_extensions; do
6541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6542 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6544 break 2
6546 done
6547 done
6548 IFS=$as_save_IFS
6552 STRIP=$ac_cv_prog_STRIP
6553 if test -n "$STRIP"; then
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6555 $as_echo "$STRIP" >&6; }
6556 else
6557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6558 $as_echo "no" >&6; }
6563 if test -z "$ac_cv_prog_STRIP"; then
6564 ac_ct_STRIP=$STRIP
6565 # Extract the first word of "strip", so it can be a program name with args.
6566 set dummy strip; ac_word=$2
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6568 $as_echo_n "checking for $ac_word... " >&6; }
6569 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6570 $as_echo_n "(cached) " >&6
6571 else
6572 if test -n "$ac_ct_STRIP"; then
6573 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6574 else
6575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6576 for as_dir in $PATH
6578 IFS=$as_save_IFS
6579 test -z "$as_dir" && as_dir=.
6580 for ac_exec_ext in '' $ac_executable_extensions; do
6581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6582 ac_cv_prog_ac_ct_STRIP="strip"
6583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6584 break 2
6586 done
6587 done
6588 IFS=$as_save_IFS
6592 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6593 if test -n "$ac_ct_STRIP"; then
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6595 $as_echo "$ac_ct_STRIP" >&6; }
6596 else
6597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6598 $as_echo "no" >&6; }
6601 if test "x$ac_ct_STRIP" = x; then
6602 STRIP=":"
6603 else
6604 case $cross_compiling:$ac_tool_warned in
6605 yes:)
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6607 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6608 ac_tool_warned=yes ;;
6609 esac
6610 STRIP=$ac_ct_STRIP
6612 else
6613 STRIP="$ac_cv_prog_STRIP"
6616 test -z "$STRIP" && STRIP=:
6623 if test -n "$ac_tool_prefix"; then
6624 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6625 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6627 $as_echo_n "checking for $ac_word... " >&6; }
6628 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6629 $as_echo_n "(cached) " >&6
6630 else
6631 if test -n "$RANLIB"; then
6632 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6633 else
6634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6635 for as_dir in $PATH
6637 IFS=$as_save_IFS
6638 test -z "$as_dir" && as_dir=.
6639 for ac_exec_ext in '' $ac_executable_extensions; do
6640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6641 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6643 break 2
6645 done
6646 done
6647 IFS=$as_save_IFS
6651 RANLIB=$ac_cv_prog_RANLIB
6652 if test -n "$RANLIB"; then
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6654 $as_echo "$RANLIB" >&6; }
6655 else
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6657 $as_echo "no" >&6; }
6662 if test -z "$ac_cv_prog_RANLIB"; then
6663 ac_ct_RANLIB=$RANLIB
6664 # Extract the first word of "ranlib", so it can be a program name with args.
6665 set dummy ranlib; ac_word=$2
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6667 $as_echo_n "checking for $ac_word... " >&6; }
6668 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6669 $as_echo_n "(cached) " >&6
6670 else
6671 if test -n "$ac_ct_RANLIB"; then
6672 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6673 else
6674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6675 for as_dir in $PATH
6677 IFS=$as_save_IFS
6678 test -z "$as_dir" && as_dir=.
6679 for ac_exec_ext in '' $ac_executable_extensions; do
6680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6681 ac_cv_prog_ac_ct_RANLIB="ranlib"
6682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6683 break 2
6685 done
6686 done
6687 IFS=$as_save_IFS
6691 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6692 if test -n "$ac_ct_RANLIB"; then
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6694 $as_echo "$ac_ct_RANLIB" >&6; }
6695 else
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6697 $as_echo "no" >&6; }
6700 if test "x$ac_ct_RANLIB" = x; then
6701 RANLIB=":"
6702 else
6703 case $cross_compiling:$ac_tool_warned in
6704 yes:)
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6706 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6707 ac_tool_warned=yes ;;
6708 esac
6709 RANLIB=$ac_ct_RANLIB
6711 else
6712 RANLIB="$ac_cv_prog_RANLIB"
6715 test -z "$RANLIB" && RANLIB=:
6722 # Determine commands to create old-style static archives.
6723 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6724 old_postinstall_cmds='chmod 644 $oldlib'
6725 old_postuninstall_cmds=
6727 if test -n "$RANLIB"; then
6728 case $host_os in
6729 openbsd*)
6730 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6733 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6735 esac
6736 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6739 case $host_os in
6740 darwin*)
6741 lock_old_archive_extraction=yes ;;
6743 lock_old_archive_extraction=no ;;
6744 esac
6784 # If no C compiler was specified, use CC.
6785 LTCC=${LTCC-"$CC"}
6787 # If no C compiler flags were specified, use CFLAGS.
6788 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6790 # Allow CC to be a program name with arguments.
6791 compiler=$CC
6794 # Check for command to grab the raw symbol name followed by C symbol from nm.
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6796 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6797 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6798 $as_echo_n "(cached) " >&6
6799 else
6801 # These are sane defaults that work on at least a few old systems.
6802 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6804 # Character class describing NM global symbol codes.
6805 symcode='[BCDEGRST]'
6807 # Regexp to match symbols that can be accessed directly from C.
6808 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6810 # Define system-specific variables.
6811 case $host_os in
6812 aix*)
6813 symcode='[BCDT]'
6815 cygwin* | mingw* | pw32* | cegcc*)
6816 symcode='[ABCDGISTW]'
6818 hpux*)
6819 if test "$host_cpu" = ia64; then
6820 symcode='[ABCDEGRST]'
6823 irix* | nonstopux*)
6824 symcode='[BCDEGRST]'
6826 osf*)
6827 symcode='[BCDEGQRST]'
6829 solaris*)
6830 symcode='[BDRT]'
6832 sco3.2v5*)
6833 symcode='[DT]'
6835 sysv4.2uw2*)
6836 symcode='[DT]'
6838 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6839 symcode='[ABDT]'
6841 sysv4)
6842 symcode='[DFNSTU]'
6844 esac
6846 # If we're using GNU nm, then use its standard symbol codes.
6847 case `$NM -V 2>&1` in
6848 *GNU* | *'with BFD'*)
6849 symcode='[ABCDGIRSTW]' ;;
6850 esac
6852 # Transform an extracted symbol line into a proper C declaration.
6853 # Some systems (esp. on ia64) link data and code symbols differently,
6854 # so use this general approach.
6855 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6857 # Transform an extracted symbol line into symbol name and symbol address
6858 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6859 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'"
6861 # Handle CRLF in mingw tool chain
6862 opt_cr=
6863 case $build_os in
6864 mingw*)
6865 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6867 esac
6869 # Try without a prefix underscore, then with it.
6870 for ac_symprfx in "" "_"; do
6872 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6873 symxfrm="\\1 $ac_symprfx\\2 \\2"
6875 # Write the raw and C identifiers.
6876 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6877 # Fake it for dumpbin and say T for any non-static function
6878 # and D for any global variable.
6879 # Also find C++ and __fastcall symbols from MSVC++,
6880 # which start with @ or ?.
6881 lt_cv_sys_global_symbol_pipe="$AWK '"\
6882 " {last_section=section; section=\$ 3};"\
6883 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6884 " \$ 0!~/External *\|/{next};"\
6885 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6886 " {if(hide[section]) next};"\
6887 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6888 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6889 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6890 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6891 " ' prfx=^$ac_symprfx"
6892 else
6893 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6896 # Check to see that the pipe works correctly.
6897 pipe_works=no
6899 rm -f conftest*
6900 cat > conftest.$ac_ext <<_LT_EOF
6901 #ifdef __cplusplus
6902 extern "C" {
6903 #endif
6904 char nm_test_var;
6905 void nm_test_func(void);
6906 void nm_test_func(void){}
6907 #ifdef __cplusplus
6909 #endif
6910 int main(){nm_test_var='a';nm_test_func();return(0);}
6911 _LT_EOF
6913 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6914 (eval $ac_compile) 2>&5
6915 ac_status=$?
6916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6917 test $ac_status = 0; }; then
6918 # Now try to grab the symbols.
6919 nlist=conftest.nm
6920 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6921 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6922 ac_status=$?
6923 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6924 test $ac_status = 0; } && test -s "$nlist"; then
6925 # Try sorting and uniquifying the output.
6926 if sort "$nlist" | uniq > "$nlist"T; then
6927 mv -f "$nlist"T "$nlist"
6928 else
6929 rm -f "$nlist"T
6932 # Make sure that we snagged all the symbols we need.
6933 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6934 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6935 cat <<_LT_EOF > conftest.$ac_ext
6936 #ifdef __cplusplus
6937 extern "C" {
6938 #endif
6940 _LT_EOF
6941 # Now generate the symbol file.
6942 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6944 cat <<_LT_EOF >> conftest.$ac_ext
6946 /* The mapping between symbol names and symbols. */
6947 const struct {
6948 const char *name;
6949 void *address;
6951 lt__PROGRAM__LTX_preloaded_symbols[] =
6953 { "@PROGRAM@", (void *) 0 },
6954 _LT_EOF
6955 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6956 cat <<\_LT_EOF >> conftest.$ac_ext
6957 {0, (void *) 0}
6960 /* This works around a problem in FreeBSD linker */
6961 #ifdef FREEBSD_WORKAROUND
6962 static const void *lt_preloaded_setup() {
6963 return lt__PROGRAM__LTX_preloaded_symbols;
6965 #endif
6967 #ifdef __cplusplus
6969 #endif
6970 _LT_EOF
6971 # Now try linking the two files.
6972 mv conftest.$ac_objext conftstm.$ac_objext
6973 lt_save_LIBS="$LIBS"
6974 lt_save_CFLAGS="$CFLAGS"
6975 LIBS="conftstm.$ac_objext"
6976 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6977 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6978 (eval $ac_link) 2>&5
6979 ac_status=$?
6980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6981 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6982 pipe_works=yes
6984 LIBS="$lt_save_LIBS"
6985 CFLAGS="$lt_save_CFLAGS"
6986 else
6987 echo "cannot find nm_test_func in $nlist" >&5
6989 else
6990 echo "cannot find nm_test_var in $nlist" >&5
6992 else
6993 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6995 else
6996 echo "$progname: failed program was:" >&5
6997 cat conftest.$ac_ext >&5
6999 rm -rf conftest* conftst*
7001 # Do not use the global_symbol_pipe unless it works.
7002 if test "$pipe_works" = yes; then
7003 break
7004 else
7005 lt_cv_sys_global_symbol_pipe=
7007 done
7011 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7012 lt_cv_sys_global_symbol_to_cdecl=
7014 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7016 $as_echo "failed" >&6; }
7017 else
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7019 $as_echo "ok" >&6; }
7043 # Check whether --enable-libtool-lock was given.
7044 if test "${enable_libtool_lock+set}" = set; then :
7045 enableval=$enable_libtool_lock;
7048 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7050 # Some flags need to be propagated to the compiler or linker for good
7051 # libtool support.
7052 case $host in
7053 ia64-*-hpux*)
7054 # Find out which ABI we are using.
7055 echo 'int i;' > conftest.$ac_ext
7056 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7057 (eval $ac_compile) 2>&5
7058 ac_status=$?
7059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7060 test $ac_status = 0; }; then
7061 case `/usr/bin/file conftest.$ac_objext` in
7062 *ELF-32*)
7063 HPUX_IA64_MODE="32"
7065 *ELF-64*)
7066 HPUX_IA64_MODE="64"
7068 esac
7070 rm -rf conftest*
7072 *-*-irix6*)
7073 # Find out which ABI we are using.
7074 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7075 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7076 (eval $ac_compile) 2>&5
7077 ac_status=$?
7078 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7079 test $ac_status = 0; }; then
7080 if test "$lt_cv_prog_gnu_ld" = yes; then
7081 case `/usr/bin/file conftest.$ac_objext` in
7082 *32-bit*)
7083 LD="${LD-ld} -melf32bsmip"
7085 *N32*)
7086 LD="${LD-ld} -melf32bmipn32"
7088 *64-bit*)
7089 LD="${LD-ld} -melf64bmip"
7091 esac
7092 else
7093 case `/usr/bin/file conftest.$ac_objext` in
7094 *32-bit*)
7095 LD="${LD-ld} -32"
7097 *N32*)
7098 LD="${LD-ld} -n32"
7100 *64-bit*)
7101 LD="${LD-ld} -64"
7103 esac
7106 rm -rf conftest*
7109 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7110 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7111 # Find out which ABI we are using.
7112 echo 'int i;' > conftest.$ac_ext
7113 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7114 (eval $ac_compile) 2>&5
7115 ac_status=$?
7116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7117 test $ac_status = 0; }; then
7118 case `/usr/bin/file conftest.o` in
7119 *32-bit*)
7120 case $host in
7121 x86_64-*kfreebsd*-gnu)
7122 LD="${LD-ld} -m elf_i386_fbsd"
7124 x86_64-*linux*)
7125 case `/usr/bin/file conftest.o` in
7126 *x86-64*)
7127 LD="${LD-ld} -m elf32_x86_64"
7130 LD="${LD-ld} -m elf_i386"
7132 esac
7134 ppc64-*linux*|powerpc64-*linux*)
7135 LD="${LD-ld} -m elf32ppclinux"
7137 s390x-*linux*)
7138 LD="${LD-ld} -m elf_s390"
7140 sparc64-*linux*)
7141 LD="${LD-ld} -m elf32_sparc"
7143 esac
7145 *64-bit*)
7146 case $host in
7147 x86_64-*kfreebsd*-gnu)
7148 LD="${LD-ld} -m elf_x86_64_fbsd"
7150 x86_64-*linux*)
7151 LD="${LD-ld} -m elf_x86_64"
7153 ppc*-*linux*|powerpc*-*linux*)
7154 LD="${LD-ld} -m elf64ppc"
7156 s390*-*linux*|s390*-*tpf*)
7157 LD="${LD-ld} -m elf64_s390"
7159 sparc*-*linux*)
7160 LD="${LD-ld} -m elf64_sparc"
7162 esac
7164 esac
7166 rm -rf conftest*
7169 *-*-sco3.2v5*)
7170 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7171 SAVE_CFLAGS="$CFLAGS"
7172 CFLAGS="$CFLAGS -belf"
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7174 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7175 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7176 $as_echo_n "(cached) " >&6
7177 else
7178 ac_ext=c
7179 ac_cpp='$CPP $CPPFLAGS'
7180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7184 if test x$gcc_no_link = xyes; then
7185 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7188 /* end confdefs.h. */
7191 main ()
7195 return 0;
7197 _ACEOF
7198 if ac_fn_c_try_link "$LINENO"; then :
7199 lt_cv_cc_needs_belf=yes
7200 else
7201 lt_cv_cc_needs_belf=no
7203 rm -f core conftest.err conftest.$ac_objext \
7204 conftest$ac_exeext conftest.$ac_ext
7205 ac_ext=c
7206 ac_cpp='$CPP $CPPFLAGS'
7207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7213 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7214 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7215 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7216 CFLAGS="$SAVE_CFLAGS"
7219 sparc*-*solaris*)
7220 # Find out which ABI we are using.
7221 echo 'int i;' > conftest.$ac_ext
7222 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7223 (eval $ac_compile) 2>&5
7224 ac_status=$?
7225 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7226 test $ac_status = 0; }; then
7227 case `/usr/bin/file conftest.o` in
7228 *64-bit*)
7229 case $lt_cv_prog_gnu_ld in
7230 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7232 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7233 LD="${LD-ld} -64"
7236 esac
7238 esac
7240 rm -rf conftest*
7242 esac
7244 need_locks="$enable_libtool_lock"
7247 case $host_os in
7248 rhapsody* | darwin*)
7249 if test -n "$ac_tool_prefix"; then
7250 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7251 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7253 $as_echo_n "checking for $ac_word... " >&6; }
7254 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7255 $as_echo_n "(cached) " >&6
7256 else
7257 if test -n "$DSYMUTIL"; then
7258 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7259 else
7260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7261 for as_dir in $PATH
7263 IFS=$as_save_IFS
7264 test -z "$as_dir" && as_dir=.
7265 for ac_exec_ext in '' $ac_executable_extensions; do
7266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7267 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7269 break 2
7271 done
7272 done
7273 IFS=$as_save_IFS
7277 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7278 if test -n "$DSYMUTIL"; then
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7280 $as_echo "$DSYMUTIL" >&6; }
7281 else
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7283 $as_echo "no" >&6; }
7288 if test -z "$ac_cv_prog_DSYMUTIL"; then
7289 ac_ct_DSYMUTIL=$DSYMUTIL
7290 # Extract the first word of "dsymutil", so it can be a program name with args.
7291 set dummy dsymutil; ac_word=$2
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7293 $as_echo_n "checking for $ac_word... " >&6; }
7294 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7295 $as_echo_n "(cached) " >&6
7296 else
7297 if test -n "$ac_ct_DSYMUTIL"; then
7298 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7299 else
7300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7301 for as_dir in $PATH
7303 IFS=$as_save_IFS
7304 test -z "$as_dir" && as_dir=.
7305 for ac_exec_ext in '' $ac_executable_extensions; do
7306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7307 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7309 break 2
7311 done
7312 done
7313 IFS=$as_save_IFS
7317 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7318 if test -n "$ac_ct_DSYMUTIL"; then
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7320 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7321 else
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7323 $as_echo "no" >&6; }
7326 if test "x$ac_ct_DSYMUTIL" = x; then
7327 DSYMUTIL=":"
7328 else
7329 case $cross_compiling:$ac_tool_warned in
7330 yes:)
7331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7332 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7333 ac_tool_warned=yes ;;
7334 esac
7335 DSYMUTIL=$ac_ct_DSYMUTIL
7337 else
7338 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7341 if test -n "$ac_tool_prefix"; then
7342 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7343 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7345 $as_echo_n "checking for $ac_word... " >&6; }
7346 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7347 $as_echo_n "(cached) " >&6
7348 else
7349 if test -n "$NMEDIT"; then
7350 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7351 else
7352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7353 for as_dir in $PATH
7355 IFS=$as_save_IFS
7356 test -z "$as_dir" && as_dir=.
7357 for ac_exec_ext in '' $ac_executable_extensions; do
7358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7359 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7361 break 2
7363 done
7364 done
7365 IFS=$as_save_IFS
7369 NMEDIT=$ac_cv_prog_NMEDIT
7370 if test -n "$NMEDIT"; then
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7372 $as_echo "$NMEDIT" >&6; }
7373 else
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7375 $as_echo "no" >&6; }
7380 if test -z "$ac_cv_prog_NMEDIT"; then
7381 ac_ct_NMEDIT=$NMEDIT
7382 # Extract the first word of "nmedit", so it can be a program name with args.
7383 set dummy nmedit; ac_word=$2
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7385 $as_echo_n "checking for $ac_word... " >&6; }
7386 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7387 $as_echo_n "(cached) " >&6
7388 else
7389 if test -n "$ac_ct_NMEDIT"; then
7390 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7391 else
7392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7393 for as_dir in $PATH
7395 IFS=$as_save_IFS
7396 test -z "$as_dir" && as_dir=.
7397 for ac_exec_ext in '' $ac_executable_extensions; do
7398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7399 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7401 break 2
7403 done
7404 done
7405 IFS=$as_save_IFS
7409 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7410 if test -n "$ac_ct_NMEDIT"; then
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7412 $as_echo "$ac_ct_NMEDIT" >&6; }
7413 else
7414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7415 $as_echo "no" >&6; }
7418 if test "x$ac_ct_NMEDIT" = x; then
7419 NMEDIT=":"
7420 else
7421 case $cross_compiling:$ac_tool_warned in
7422 yes:)
7423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7424 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7425 ac_tool_warned=yes ;;
7426 esac
7427 NMEDIT=$ac_ct_NMEDIT
7429 else
7430 NMEDIT="$ac_cv_prog_NMEDIT"
7433 if test -n "$ac_tool_prefix"; then
7434 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7435 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7437 $as_echo_n "checking for $ac_word... " >&6; }
7438 if test "${ac_cv_prog_LIPO+set}" = set; then :
7439 $as_echo_n "(cached) " >&6
7440 else
7441 if test -n "$LIPO"; then
7442 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7443 else
7444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7445 for as_dir in $PATH
7447 IFS=$as_save_IFS
7448 test -z "$as_dir" && as_dir=.
7449 for ac_exec_ext in '' $ac_executable_extensions; do
7450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7451 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7453 break 2
7455 done
7456 done
7457 IFS=$as_save_IFS
7461 LIPO=$ac_cv_prog_LIPO
7462 if test -n "$LIPO"; then
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7464 $as_echo "$LIPO" >&6; }
7465 else
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7467 $as_echo "no" >&6; }
7472 if test -z "$ac_cv_prog_LIPO"; then
7473 ac_ct_LIPO=$LIPO
7474 # Extract the first word of "lipo", so it can be a program name with args.
7475 set dummy lipo; ac_word=$2
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7477 $as_echo_n "checking for $ac_word... " >&6; }
7478 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7479 $as_echo_n "(cached) " >&6
7480 else
7481 if test -n "$ac_ct_LIPO"; then
7482 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7483 else
7484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7485 for as_dir in $PATH
7487 IFS=$as_save_IFS
7488 test -z "$as_dir" && as_dir=.
7489 for ac_exec_ext in '' $ac_executable_extensions; do
7490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7491 ac_cv_prog_ac_ct_LIPO="lipo"
7492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7493 break 2
7495 done
7496 done
7497 IFS=$as_save_IFS
7501 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7502 if test -n "$ac_ct_LIPO"; then
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7504 $as_echo "$ac_ct_LIPO" >&6; }
7505 else
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7507 $as_echo "no" >&6; }
7510 if test "x$ac_ct_LIPO" = x; then
7511 LIPO=":"
7512 else
7513 case $cross_compiling:$ac_tool_warned in
7514 yes:)
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7516 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7517 ac_tool_warned=yes ;;
7518 esac
7519 LIPO=$ac_ct_LIPO
7521 else
7522 LIPO="$ac_cv_prog_LIPO"
7525 if test -n "$ac_tool_prefix"; then
7526 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7527 set dummy ${ac_tool_prefix}otool; ac_word=$2
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7529 $as_echo_n "checking for $ac_word... " >&6; }
7530 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7531 $as_echo_n "(cached) " >&6
7532 else
7533 if test -n "$OTOOL"; then
7534 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7535 else
7536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7537 for as_dir in $PATH
7539 IFS=$as_save_IFS
7540 test -z "$as_dir" && as_dir=.
7541 for ac_exec_ext in '' $ac_executable_extensions; do
7542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7543 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7545 break 2
7547 done
7548 done
7549 IFS=$as_save_IFS
7553 OTOOL=$ac_cv_prog_OTOOL
7554 if test -n "$OTOOL"; then
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7556 $as_echo "$OTOOL" >&6; }
7557 else
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7559 $as_echo "no" >&6; }
7564 if test -z "$ac_cv_prog_OTOOL"; then
7565 ac_ct_OTOOL=$OTOOL
7566 # Extract the first word of "otool", so it can be a program name with args.
7567 set dummy otool; ac_word=$2
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7569 $as_echo_n "checking for $ac_word... " >&6; }
7570 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7571 $as_echo_n "(cached) " >&6
7572 else
7573 if test -n "$ac_ct_OTOOL"; then
7574 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7575 else
7576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7577 for as_dir in $PATH
7579 IFS=$as_save_IFS
7580 test -z "$as_dir" && as_dir=.
7581 for ac_exec_ext in '' $ac_executable_extensions; do
7582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7583 ac_cv_prog_ac_ct_OTOOL="otool"
7584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7585 break 2
7587 done
7588 done
7589 IFS=$as_save_IFS
7593 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7594 if test -n "$ac_ct_OTOOL"; then
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7596 $as_echo "$ac_ct_OTOOL" >&6; }
7597 else
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7599 $as_echo "no" >&6; }
7602 if test "x$ac_ct_OTOOL" = x; then
7603 OTOOL=":"
7604 else
7605 case $cross_compiling:$ac_tool_warned in
7606 yes:)
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7608 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7609 ac_tool_warned=yes ;;
7610 esac
7611 OTOOL=$ac_ct_OTOOL
7613 else
7614 OTOOL="$ac_cv_prog_OTOOL"
7617 if test -n "$ac_tool_prefix"; then
7618 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7619 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7621 $as_echo_n "checking for $ac_word... " >&6; }
7622 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7623 $as_echo_n "(cached) " >&6
7624 else
7625 if test -n "$OTOOL64"; then
7626 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7627 else
7628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7629 for as_dir in $PATH
7631 IFS=$as_save_IFS
7632 test -z "$as_dir" && as_dir=.
7633 for ac_exec_ext in '' $ac_executable_extensions; do
7634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7635 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7637 break 2
7639 done
7640 done
7641 IFS=$as_save_IFS
7645 OTOOL64=$ac_cv_prog_OTOOL64
7646 if test -n "$OTOOL64"; then
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7648 $as_echo "$OTOOL64" >&6; }
7649 else
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7651 $as_echo "no" >&6; }
7656 if test -z "$ac_cv_prog_OTOOL64"; then
7657 ac_ct_OTOOL64=$OTOOL64
7658 # Extract the first word of "otool64", so it can be a program name with args.
7659 set dummy otool64; ac_word=$2
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7661 $as_echo_n "checking for $ac_word... " >&6; }
7662 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7663 $as_echo_n "(cached) " >&6
7664 else
7665 if test -n "$ac_ct_OTOOL64"; then
7666 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7667 else
7668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7669 for as_dir in $PATH
7671 IFS=$as_save_IFS
7672 test -z "$as_dir" && as_dir=.
7673 for ac_exec_ext in '' $ac_executable_extensions; do
7674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7675 ac_cv_prog_ac_ct_OTOOL64="otool64"
7676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7677 break 2
7679 done
7680 done
7681 IFS=$as_save_IFS
7685 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7686 if test -n "$ac_ct_OTOOL64"; then
7687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7688 $as_echo "$ac_ct_OTOOL64" >&6; }
7689 else
7690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7691 $as_echo "no" >&6; }
7694 if test "x$ac_ct_OTOOL64" = x; then
7695 OTOOL64=":"
7696 else
7697 case $cross_compiling:$ac_tool_warned in
7698 yes:)
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7700 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7701 ac_tool_warned=yes ;;
7702 esac
7703 OTOOL64=$ac_ct_OTOOL64
7705 else
7706 OTOOL64="$ac_cv_prog_OTOOL64"
7735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7736 $as_echo_n "checking for -single_module linker flag... " >&6; }
7737 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7738 $as_echo_n "(cached) " >&6
7739 else
7740 lt_cv_apple_cc_single_mod=no
7741 if test -z "${LT_MULTI_MODULE}"; then
7742 # By default we will add the -single_module flag. You can override
7743 # by either setting the environment variable LT_MULTI_MODULE
7744 # non-empty at configure time, or by adding -multi_module to the
7745 # link flags.
7746 rm -rf libconftest.dylib*
7747 echo "int foo(void){return 1;}" > conftest.c
7748 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7749 -dynamiclib -Wl,-single_module conftest.c" >&5
7750 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7751 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7752 _lt_result=$?
7753 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7754 lt_cv_apple_cc_single_mod=yes
7755 else
7756 cat conftest.err >&5
7758 rm -rf libconftest.dylib*
7759 rm -f conftest.*
7762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7763 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7765 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7766 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7767 $as_echo_n "(cached) " >&6
7768 else
7769 lt_cv_ld_exported_symbols_list=no
7770 save_LDFLAGS=$LDFLAGS
7771 echo "_main" > conftest.sym
7772 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7773 if test x$gcc_no_link = xyes; then
7774 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7777 /* end confdefs.h. */
7780 main ()
7784 return 0;
7786 _ACEOF
7787 if ac_fn_c_try_link "$LINENO"; then :
7788 lt_cv_ld_exported_symbols_list=yes
7789 else
7790 lt_cv_ld_exported_symbols_list=no
7792 rm -f core conftest.err conftest.$ac_objext \
7793 conftest$ac_exeext conftest.$ac_ext
7794 LDFLAGS="$save_LDFLAGS"
7797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7798 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7800 $as_echo_n "checking for -force_load linker flag... " >&6; }
7801 if test "${lt_cv_ld_force_load+set}" = set; then :
7802 $as_echo_n "(cached) " >&6
7803 else
7804 lt_cv_ld_force_load=no
7805 cat > conftest.c << _LT_EOF
7806 int forced_loaded() { return 2;}
7807 _LT_EOF
7808 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7809 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7810 echo "$AR cru libconftest.a conftest.o" >&5
7811 $AR cru libconftest.a conftest.o 2>&5
7812 cat > conftest.c << _LT_EOF
7813 int main() { return 0;}
7814 _LT_EOF
7815 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7816 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7817 _lt_result=$?
7818 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7819 lt_cv_ld_force_load=yes
7820 else
7821 cat conftest.err >&5
7823 rm -f conftest.err libconftest.a conftest conftest.c
7824 rm -rf conftest.dSYM
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7828 $as_echo "$lt_cv_ld_force_load" >&6; }
7829 case $host_os in
7830 rhapsody* | darwin1.[012])
7831 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7832 darwin1.*)
7833 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7834 darwin*) # darwin 5.x on
7835 # if running on 10.5 or later, the deployment target defaults
7836 # to the OS version, if on x86, and 10.4, the deployment
7837 # target defaults to 10.4. Don't you love it?
7838 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7839 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7840 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7841 10.[012]*)
7842 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7843 10.*)
7844 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7845 esac
7847 esac
7848 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7849 _lt_dar_single_mod='$single_module'
7851 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7852 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7853 else
7854 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7856 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7857 _lt_dsymutil='~$DSYMUTIL $lib || :'
7858 else
7859 _lt_dsymutil=
7862 esac
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7865 $as_echo_n "checking for ANSI C header files... " >&6; }
7866 if test "${ac_cv_header_stdc+set}" = set; then :
7867 $as_echo_n "(cached) " >&6
7868 else
7869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7870 /* end confdefs.h. */
7871 #include <stdlib.h>
7872 #include <stdarg.h>
7873 #include <string.h>
7874 #include <float.h>
7877 main ()
7881 return 0;
7883 _ACEOF
7884 if ac_fn_c_try_compile "$LINENO"; then :
7885 ac_cv_header_stdc=yes
7886 else
7887 ac_cv_header_stdc=no
7889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7891 if test $ac_cv_header_stdc = yes; then
7892 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7894 /* end confdefs.h. */
7895 #include <string.h>
7897 _ACEOF
7898 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7899 $EGREP "memchr" >/dev/null 2>&1; then :
7901 else
7902 ac_cv_header_stdc=no
7904 rm -f conftest*
7908 if test $ac_cv_header_stdc = yes; then
7909 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7911 /* end confdefs.h. */
7912 #include <stdlib.h>
7914 _ACEOF
7915 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7916 $EGREP "free" >/dev/null 2>&1; then :
7918 else
7919 ac_cv_header_stdc=no
7921 rm -f conftest*
7925 if test $ac_cv_header_stdc = yes; then
7926 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7927 if test "$cross_compiling" = yes; then :
7929 else
7930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7931 /* end confdefs.h. */
7932 #include <ctype.h>
7933 #include <stdlib.h>
7934 #if ((' ' & 0x0FF) == 0x020)
7935 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7936 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7937 #else
7938 # define ISLOWER(c) \
7939 (('a' <= (c) && (c) <= 'i') \
7940 || ('j' <= (c) && (c) <= 'r') \
7941 || ('s' <= (c) && (c) <= 'z'))
7942 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7943 #endif
7945 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7947 main ()
7949 int i;
7950 for (i = 0; i < 256; i++)
7951 if (XOR (islower (i), ISLOWER (i))
7952 || toupper (i) != TOUPPER (i))
7953 return 2;
7954 return 0;
7956 _ACEOF
7957 if ac_fn_c_try_run "$LINENO"; then :
7959 else
7960 ac_cv_header_stdc=no
7962 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7963 conftest.$ac_objext conftest.beam conftest.$ac_ext
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7969 $as_echo "$ac_cv_header_stdc" >&6; }
7970 if test $ac_cv_header_stdc = yes; then
7972 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7976 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7977 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7978 inttypes.h stdint.h unistd.h
7979 do :
7980 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7981 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7983 eval as_val=\$$as_ac_Header
7984 if test "x$as_val" = x""yes; then :
7985 cat >>confdefs.h <<_ACEOF
7986 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7987 _ACEOF
7991 done
7994 for ac_header in dlfcn.h
7995 do :
7996 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7998 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7999 cat >>confdefs.h <<_ACEOF
8000 #define HAVE_DLFCN_H 1
8001 _ACEOF
8005 done
8012 # Set options
8017 enable_win32_dll=no
8020 # Check whether --enable-shared was given.
8021 if test "${enable_shared+set}" = set; then :
8022 enableval=$enable_shared; p=${PACKAGE-default}
8023 case $enableval in
8024 yes) enable_shared=yes ;;
8025 no) enable_shared=no ;;
8027 enable_shared=no
8028 # Look at the argument we got. We use all the common list separators.
8029 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8030 for pkg in $enableval; do
8031 IFS="$lt_save_ifs"
8032 if test "X$pkg" = "X$p"; then
8033 enable_shared=yes
8035 done
8036 IFS="$lt_save_ifs"
8038 esac
8039 else
8040 enable_shared=yes
8051 # Check whether --enable-static was given.
8052 if test "${enable_static+set}" = set; then :
8053 enableval=$enable_static; p=${PACKAGE-default}
8054 case $enableval in
8055 yes) enable_static=yes ;;
8056 no) enable_static=no ;;
8058 enable_static=no
8059 # Look at the argument we got. We use all the common list separators.
8060 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8061 for pkg in $enableval; do
8062 IFS="$lt_save_ifs"
8063 if test "X$pkg" = "X$p"; then
8064 enable_static=yes
8066 done
8067 IFS="$lt_save_ifs"
8069 esac
8070 else
8071 enable_static=yes
8083 # Check whether --with-pic was given.
8084 if test "${with_pic+set}" = set; then :
8085 withval=$with_pic; pic_mode="$withval"
8086 else
8087 pic_mode=default
8091 test -z "$pic_mode" && pic_mode=default
8099 # Check whether --enable-fast-install was given.
8100 if test "${enable_fast_install+set}" = set; then :
8101 enableval=$enable_fast_install; p=${PACKAGE-default}
8102 case $enableval in
8103 yes) enable_fast_install=yes ;;
8104 no) enable_fast_install=no ;;
8106 enable_fast_install=no
8107 # Look at the argument we got. We use all the common list separators.
8108 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8109 for pkg in $enableval; do
8110 IFS="$lt_save_ifs"
8111 if test "X$pkg" = "X$p"; then
8112 enable_fast_install=yes
8114 done
8115 IFS="$lt_save_ifs"
8117 esac
8118 else
8119 enable_fast_install=yes
8132 # This can be used to rebuild libtool when needed
8133 LIBTOOL_DEPS="$ltmain"
8135 # Always use our own libtool.
8136 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8163 test -z "$LN_S" && LN_S="ln -s"
8178 if test -n "${ZSH_VERSION+set}" ; then
8179 setopt NO_GLOB_SUBST
8182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8183 $as_echo_n "checking for objdir... " >&6; }
8184 if test "${lt_cv_objdir+set}" = set; then :
8185 $as_echo_n "(cached) " >&6
8186 else
8187 rm -f .libs 2>/dev/null
8188 mkdir .libs 2>/dev/null
8189 if test -d .libs; then
8190 lt_cv_objdir=.libs
8191 else
8192 # MS-DOS does not allow filenames that begin with a dot.
8193 lt_cv_objdir=_libs
8195 rmdir .libs 2>/dev/null
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8198 $as_echo "$lt_cv_objdir" >&6; }
8199 objdir=$lt_cv_objdir
8205 cat >>confdefs.h <<_ACEOF
8206 #define LT_OBJDIR "$lt_cv_objdir/"
8207 _ACEOF
8212 case $host_os in
8213 aix3*)
8214 # AIX sometimes has problems with the GCC collect2 program. For some
8215 # reason, if we set the COLLECT_NAMES environment variable, the problems
8216 # vanish in a puff of smoke.
8217 if test "X${COLLECT_NAMES+set}" != Xset; then
8218 COLLECT_NAMES=
8219 export COLLECT_NAMES
8222 esac
8224 # Global variables:
8225 ofile=libtool
8226 can_build_shared=yes
8228 # All known linkers require a `.a' archive for static linking (except MSVC,
8229 # which needs '.lib').
8230 libext=a
8232 with_gnu_ld="$lt_cv_prog_gnu_ld"
8234 old_CC="$CC"
8235 old_CFLAGS="$CFLAGS"
8237 # Set sane defaults for various variables
8238 test -z "$CC" && CC=cc
8239 test -z "$LTCC" && LTCC=$CC
8240 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8241 test -z "$LD" && LD=ld
8242 test -z "$ac_objext" && ac_objext=o
8244 for cc_temp in $compiler""; do
8245 case $cc_temp in
8246 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8247 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8248 \-*) ;;
8249 *) break;;
8250 esac
8251 done
8252 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8255 # Only perform the check for file, if the check method requires it
8256 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8257 case $deplibs_check_method in
8258 file_magic*)
8259 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8261 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8262 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8263 $as_echo_n "(cached) " >&6
8264 else
8265 case $MAGIC_CMD in
8266 [\\/*] | ?:[\\/]*)
8267 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8270 lt_save_MAGIC_CMD="$MAGIC_CMD"
8271 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8272 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8273 for ac_dir in $ac_dummy; do
8274 IFS="$lt_save_ifs"
8275 test -z "$ac_dir" && ac_dir=.
8276 if test -f $ac_dir/${ac_tool_prefix}file; then
8277 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8278 if test -n "$file_magic_test_file"; then
8279 case $deplibs_check_method in
8280 "file_magic "*)
8281 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8282 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8283 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8284 $EGREP "$file_magic_regex" > /dev/null; then
8286 else
8287 cat <<_LT_EOF 1>&2
8289 *** Warning: the command libtool uses to detect shared libraries,
8290 *** $file_magic_cmd, produces output that libtool cannot recognize.
8291 *** The result is that libtool may fail to recognize shared libraries
8292 *** as such. This will affect the creation of libtool libraries that
8293 *** depend on shared libraries, but programs linked with such libtool
8294 *** libraries will work regardless of this problem. Nevertheless, you
8295 *** may want to report the problem to your system manager and/or to
8296 *** bug-libtool@gnu.org
8298 _LT_EOF
8299 fi ;;
8300 esac
8302 break
8304 done
8305 IFS="$lt_save_ifs"
8306 MAGIC_CMD="$lt_save_MAGIC_CMD"
8308 esac
8311 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8312 if test -n "$MAGIC_CMD"; then
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8314 $as_echo "$MAGIC_CMD" >&6; }
8315 else
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8317 $as_echo "no" >&6; }
8324 if test -z "$lt_cv_path_MAGIC_CMD"; then
8325 if test -n "$ac_tool_prefix"; then
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8327 $as_echo_n "checking for file... " >&6; }
8328 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8329 $as_echo_n "(cached) " >&6
8330 else
8331 case $MAGIC_CMD in
8332 [\\/*] | ?:[\\/]*)
8333 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8336 lt_save_MAGIC_CMD="$MAGIC_CMD"
8337 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8338 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8339 for ac_dir in $ac_dummy; do
8340 IFS="$lt_save_ifs"
8341 test -z "$ac_dir" && ac_dir=.
8342 if test -f $ac_dir/file; then
8343 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8344 if test -n "$file_magic_test_file"; then
8345 case $deplibs_check_method in
8346 "file_magic "*)
8347 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8348 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8349 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8350 $EGREP "$file_magic_regex" > /dev/null; then
8352 else
8353 cat <<_LT_EOF 1>&2
8355 *** Warning: the command libtool uses to detect shared libraries,
8356 *** $file_magic_cmd, produces output that libtool cannot recognize.
8357 *** The result is that libtool may fail to recognize shared libraries
8358 *** as such. This will affect the creation of libtool libraries that
8359 *** depend on shared libraries, but programs linked with such libtool
8360 *** libraries will work regardless of this problem. Nevertheless, you
8361 *** may want to report the problem to your system manager and/or to
8362 *** bug-libtool@gnu.org
8364 _LT_EOF
8365 fi ;;
8366 esac
8368 break
8370 done
8371 IFS="$lt_save_ifs"
8372 MAGIC_CMD="$lt_save_MAGIC_CMD"
8374 esac
8377 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8378 if test -n "$MAGIC_CMD"; then
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8380 $as_echo "$MAGIC_CMD" >&6; }
8381 else
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8383 $as_echo "no" >&6; }
8387 else
8388 MAGIC_CMD=:
8394 esac
8396 # Use C for the default configuration in the libtool script
8398 lt_save_CC="$CC"
8399 ac_ext=c
8400 ac_cpp='$CPP $CPPFLAGS'
8401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8406 # Source file extension for C test sources.
8407 ac_ext=c
8409 # Object file extension for compiled C test sources.
8410 objext=o
8411 objext=$objext
8413 # Code to be used in simple compile tests
8414 lt_simple_compile_test_code="int some_variable = 0;"
8416 # Code to be used in simple link tests
8417 lt_simple_link_test_code='int main(){return(0);}'
8425 # If no C compiler was specified, use CC.
8426 LTCC=${LTCC-"$CC"}
8428 # If no C compiler flags were specified, use CFLAGS.
8429 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8431 # Allow CC to be a program name with arguments.
8432 compiler=$CC
8434 # Save the default compiler, since it gets overwritten when the other
8435 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8436 compiler_DEFAULT=$CC
8438 # save warnings/boilerplate of simple test code
8439 ac_outfile=conftest.$ac_objext
8440 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8441 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8442 _lt_compiler_boilerplate=`cat conftest.err`
8443 $RM conftest*
8445 ac_outfile=conftest.$ac_objext
8446 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8447 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8448 _lt_linker_boilerplate=`cat conftest.err`
8449 $RM -r conftest*
8452 ## CAVEAT EMPTOR:
8453 ## There is no encapsulation within the following macros, do not change
8454 ## the running order or otherwise move them around unless you know exactly
8455 ## what you are doing...
8456 if test -n "$compiler"; then
8458 lt_prog_compiler_no_builtin_flag=
8460 if test "$GCC" = yes; then
8461 case $cc_basename in
8462 nvcc*)
8463 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8465 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8466 esac
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8469 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8470 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8471 $as_echo_n "(cached) " >&6
8472 else
8473 lt_cv_prog_compiler_rtti_exceptions=no
8474 ac_outfile=conftest.$ac_objext
8475 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8476 lt_compiler_flag="-fno-rtti -fno-exceptions"
8477 # Insert the option either (1) after the last *FLAGS variable, or
8478 # (2) before a word containing "conftest.", or (3) at the end.
8479 # Note that $ac_compile itself does not contain backslashes and begins
8480 # with a dollar sign (not a hyphen), so the echo should work correctly.
8481 # The option is referenced via a variable to avoid confusing sed.
8482 lt_compile=`echo "$ac_compile" | $SED \
8483 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8484 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8485 -e 's:$: $lt_compiler_flag:'`
8486 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8487 (eval "$lt_compile" 2>conftest.err)
8488 ac_status=$?
8489 cat conftest.err >&5
8490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8491 if (exit $ac_status) && test -s "$ac_outfile"; then
8492 # The compiler can only warn and ignore the option if not recognized
8493 # So say no if there are warnings other than the usual output.
8494 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8495 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8496 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8497 lt_cv_prog_compiler_rtti_exceptions=yes
8500 $RM conftest*
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8504 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8506 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8507 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8508 else
8519 lt_prog_compiler_wl=
8520 lt_prog_compiler_pic=
8521 lt_prog_compiler_static=
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8524 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8526 if test "$GCC" = yes; then
8527 lt_prog_compiler_wl='-Wl,'
8528 lt_prog_compiler_static='-static'
8530 case $host_os in
8531 aix*)
8532 # All AIX code is PIC.
8533 if test "$host_cpu" = ia64; then
8534 # AIX 5 now supports IA64 processor
8535 lt_prog_compiler_static='-Bstatic'
8539 amigaos*)
8540 case $host_cpu in
8541 powerpc)
8542 # see comment about AmigaOS4 .so support
8543 lt_prog_compiler_pic='-fPIC'
8545 m68k)
8546 # FIXME: we need at least 68020 code to build shared libraries, but
8547 # adding the `-m68020' flag to GCC prevents building anything better,
8548 # like `-m68040'.
8549 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8551 esac
8554 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8555 # PIC is the default for these OSes.
8558 mingw* | cygwin* | pw32* | os2* | cegcc*)
8559 # This hack is so that the source file can tell whether it is being
8560 # built for inclusion in a dll (and should export symbols for example).
8561 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8562 # (--disable-auto-import) libraries
8563 lt_prog_compiler_pic='-DDLL_EXPORT'
8566 darwin* | rhapsody*)
8567 # PIC is the default on this platform
8568 # Common symbols not allowed in MH_DYLIB files
8569 lt_prog_compiler_pic='-fno-common'
8572 haiku*)
8573 # PIC is the default for Haiku.
8574 # The "-static" flag exists, but is broken.
8575 lt_prog_compiler_static=
8578 hpux*)
8579 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8580 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8581 # sets the default TLS model and affects inlining.
8582 case $host_cpu in
8583 hppa*64*)
8584 # +Z the default
8587 lt_prog_compiler_pic='-fPIC'
8589 esac
8592 interix[3-9]*)
8593 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8594 # Instead, we relocate shared libraries at runtime.
8597 msdosdjgpp*)
8598 # Just because we use GCC doesn't mean we suddenly get shared libraries
8599 # on systems that don't support them.
8600 lt_prog_compiler_can_build_shared=no
8601 enable_shared=no
8604 *nto* | *qnx*)
8605 # QNX uses GNU C++, but need to define -shared option too, otherwise
8606 # it will coredump.
8607 lt_prog_compiler_pic='-fPIC -shared'
8610 sysv4*MP*)
8611 if test -d /usr/nec; then
8612 lt_prog_compiler_pic=-Kconform_pic
8617 lt_prog_compiler_pic='-fPIC'
8619 esac
8621 case $cc_basename in
8622 nvcc*) # Cuda Compiler Driver 2.2
8623 lt_prog_compiler_wl='-Xlinker '
8624 lt_prog_compiler_pic='-Xcompiler -fPIC'
8626 esac
8627 else
8628 # PORTME Check for flag to pass linker flags through the system compiler.
8629 case $host_os in
8630 aix*)
8631 lt_prog_compiler_wl='-Wl,'
8632 if test "$host_cpu" = ia64; then
8633 # AIX 5 now supports IA64 processor
8634 lt_prog_compiler_static='-Bstatic'
8635 else
8636 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8640 mingw* | cygwin* | pw32* | os2* | cegcc*)
8641 # This hack is so that the source file can tell whether it is being
8642 # built for inclusion in a dll (and should export symbols for example).
8643 lt_prog_compiler_pic='-DDLL_EXPORT'
8646 hpux9* | hpux10* | hpux11*)
8647 lt_prog_compiler_wl='-Wl,'
8648 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8649 # not for PA HP-UX.
8650 case $host_cpu in
8651 hppa*64*|ia64*)
8652 # +Z the default
8655 lt_prog_compiler_pic='+Z'
8657 esac
8658 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8659 lt_prog_compiler_static='${wl}-a ${wl}archive'
8662 irix5* | irix6* | nonstopux*)
8663 lt_prog_compiler_wl='-Wl,'
8664 # PIC (with -KPIC) is the default.
8665 lt_prog_compiler_static='-non_shared'
8668 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8669 case $cc_basename in
8670 # old Intel for x86_64 which still supported -KPIC.
8671 ecc*)
8672 lt_prog_compiler_wl='-Wl,'
8673 lt_prog_compiler_pic='-KPIC'
8674 lt_prog_compiler_static='-static'
8676 # icc used to be incompatible with GCC.
8677 # ICC 10 doesn't accept -KPIC any more.
8678 icc* | ifort*)
8679 lt_prog_compiler_wl='-Wl,'
8680 lt_prog_compiler_pic='-fPIC'
8681 lt_prog_compiler_static='-static'
8683 # Lahey Fortran 8.1.
8684 lf95*)
8685 lt_prog_compiler_wl='-Wl,'
8686 lt_prog_compiler_pic='--shared'
8687 lt_prog_compiler_static='--static'
8689 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8690 # Portland Group compilers (*not* the Pentium gcc compiler,
8691 # which looks to be a dead project)
8692 lt_prog_compiler_wl='-Wl,'
8693 lt_prog_compiler_pic='-fpic'
8694 lt_prog_compiler_static='-Bstatic'
8696 ccc*)
8697 lt_prog_compiler_wl='-Wl,'
8698 # All Alpha code is PIC.
8699 lt_prog_compiler_static='-non_shared'
8701 xl* | bgxl* | bgf* | mpixl*)
8702 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8703 lt_prog_compiler_wl='-Wl,'
8704 lt_prog_compiler_pic='-qpic'
8705 lt_prog_compiler_static='-qstaticlink'
8708 case `$CC -V 2>&1 | sed 5q` in
8709 *Sun\ F* | *Sun*Fortran*)
8710 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8711 lt_prog_compiler_pic='-KPIC'
8712 lt_prog_compiler_static='-Bstatic'
8713 lt_prog_compiler_wl=''
8715 *Sun\ C*)
8716 # Sun C 5.9
8717 lt_prog_compiler_pic='-KPIC'
8718 lt_prog_compiler_static='-Bstatic'
8719 lt_prog_compiler_wl='-Wl,'
8721 esac
8723 esac
8726 newsos6)
8727 lt_prog_compiler_pic='-KPIC'
8728 lt_prog_compiler_static='-Bstatic'
8731 *nto* | *qnx*)
8732 # QNX uses GNU C++, but need to define -shared option too, otherwise
8733 # it will coredump.
8734 lt_prog_compiler_pic='-fPIC -shared'
8737 osf3* | osf4* | osf5*)
8738 lt_prog_compiler_wl='-Wl,'
8739 # All OSF/1 code is PIC.
8740 lt_prog_compiler_static='-non_shared'
8743 rdos*)
8744 lt_prog_compiler_static='-non_shared'
8747 solaris*)
8748 lt_prog_compiler_pic='-KPIC'
8749 lt_prog_compiler_static='-Bstatic'
8750 case $cc_basename in
8751 f77* | f90* | f95*)
8752 lt_prog_compiler_wl='-Qoption ld ';;
8754 lt_prog_compiler_wl='-Wl,';;
8755 esac
8758 sunos4*)
8759 lt_prog_compiler_wl='-Qoption ld '
8760 lt_prog_compiler_pic='-PIC'
8761 lt_prog_compiler_static='-Bstatic'
8764 sysv4 | sysv4.2uw2* | sysv4.3*)
8765 lt_prog_compiler_wl='-Wl,'
8766 lt_prog_compiler_pic='-KPIC'
8767 lt_prog_compiler_static='-Bstatic'
8770 sysv4*MP*)
8771 if test -d /usr/nec ;then
8772 lt_prog_compiler_pic='-Kconform_pic'
8773 lt_prog_compiler_static='-Bstatic'
8777 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8778 lt_prog_compiler_wl='-Wl,'
8779 lt_prog_compiler_pic='-KPIC'
8780 lt_prog_compiler_static='-Bstatic'
8783 unicos*)
8784 lt_prog_compiler_wl='-Wl,'
8785 lt_prog_compiler_can_build_shared=no
8788 uts4*)
8789 lt_prog_compiler_pic='-pic'
8790 lt_prog_compiler_static='-Bstatic'
8794 lt_prog_compiler_can_build_shared=no
8796 esac
8799 case $host_os in
8800 # For platforms which do not support PIC, -DPIC is meaningless:
8801 *djgpp*)
8802 lt_prog_compiler_pic=
8805 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8807 esac
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8809 $as_echo "$lt_prog_compiler_pic" >&6; }
8817 # Check to make sure the PIC flag actually works.
8819 if test -n "$lt_prog_compiler_pic"; then
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8821 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8822 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8823 $as_echo_n "(cached) " >&6
8824 else
8825 lt_cv_prog_compiler_pic_works=no
8826 ac_outfile=conftest.$ac_objext
8827 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8828 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8829 # Insert the option either (1) after the last *FLAGS variable, or
8830 # (2) before a word containing "conftest.", or (3) at the end.
8831 # Note that $ac_compile itself does not contain backslashes and begins
8832 # with a dollar sign (not a hyphen), so the echo should work correctly.
8833 # The option is referenced via a variable to avoid confusing sed.
8834 lt_compile=`echo "$ac_compile" | $SED \
8835 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8836 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8837 -e 's:$: $lt_compiler_flag:'`
8838 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8839 (eval "$lt_compile" 2>conftest.err)
8840 ac_status=$?
8841 cat conftest.err >&5
8842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8843 if (exit $ac_status) && test -s "$ac_outfile"; then
8844 # The compiler can only warn and ignore the option if not recognized
8845 # So say no if there are warnings other than the usual output.
8846 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8847 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8848 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8849 lt_cv_prog_compiler_pic_works=yes
8852 $RM conftest*
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8856 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8858 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8859 case $lt_prog_compiler_pic in
8860 "" | " "*) ;;
8861 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8862 esac
8863 else
8864 lt_prog_compiler_pic=
8865 lt_prog_compiler_can_build_shared=no
8876 # Check to make sure the static flag actually works.
8878 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8880 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8881 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8882 $as_echo_n "(cached) " >&6
8883 else
8884 lt_cv_prog_compiler_static_works=no
8885 save_LDFLAGS="$LDFLAGS"
8886 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8887 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8888 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8889 # The linker can only warn and ignore the option if not recognized
8890 # So say no if there are warnings
8891 if test -s conftest.err; then
8892 # Append any errors to the config.log.
8893 cat conftest.err 1>&5
8894 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8895 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8896 if diff conftest.exp conftest.er2 >/dev/null; then
8897 lt_cv_prog_compiler_static_works=yes
8899 else
8900 lt_cv_prog_compiler_static_works=yes
8903 $RM -r conftest*
8904 LDFLAGS="$save_LDFLAGS"
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8908 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8910 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8912 else
8913 lt_prog_compiler_static=
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8923 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8924 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8925 $as_echo_n "(cached) " >&6
8926 else
8927 lt_cv_prog_compiler_c_o=no
8928 $RM -r conftest 2>/dev/null
8929 mkdir conftest
8930 cd conftest
8931 mkdir out
8932 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8934 lt_compiler_flag="-o out/conftest2.$ac_objext"
8935 # Insert the option either (1) after the last *FLAGS variable, or
8936 # (2) before a word containing "conftest.", or (3) at the end.
8937 # Note that $ac_compile itself does not contain backslashes and begins
8938 # with a dollar sign (not a hyphen), so the echo should work correctly.
8939 lt_compile=`echo "$ac_compile" | $SED \
8940 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8941 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8942 -e 's:$: $lt_compiler_flag:'`
8943 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8944 (eval "$lt_compile" 2>out/conftest.err)
8945 ac_status=$?
8946 cat out/conftest.err >&5
8947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8948 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8949 then
8950 # The compiler can only warn and ignore the option if not recognized
8951 # So say no if there are warnings
8952 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8953 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8954 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8955 lt_cv_prog_compiler_c_o=yes
8958 chmod u+w . 2>&5
8959 $RM conftest*
8960 # SGI C++ compiler will create directory out/ii_files/ for
8961 # template instantiation
8962 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8963 $RM out/* && rmdir out
8964 cd ..
8965 $RM -r conftest
8966 $RM conftest*
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8970 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8978 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8979 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8980 $as_echo_n "(cached) " >&6
8981 else
8982 lt_cv_prog_compiler_c_o=no
8983 $RM -r conftest 2>/dev/null
8984 mkdir conftest
8985 cd conftest
8986 mkdir out
8987 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8989 lt_compiler_flag="-o out/conftest2.$ac_objext"
8990 # Insert the option either (1) after the last *FLAGS variable, or
8991 # (2) before a word containing "conftest.", or (3) at the end.
8992 # Note that $ac_compile itself does not contain backslashes and begins
8993 # with a dollar sign (not a hyphen), so the echo should work correctly.
8994 lt_compile=`echo "$ac_compile" | $SED \
8995 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8996 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8997 -e 's:$: $lt_compiler_flag:'`
8998 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8999 (eval "$lt_compile" 2>out/conftest.err)
9000 ac_status=$?
9001 cat out/conftest.err >&5
9002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9003 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9004 then
9005 # The compiler can only warn and ignore the option if not recognized
9006 # So say no if there are warnings
9007 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9008 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9009 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9010 lt_cv_prog_compiler_c_o=yes
9013 chmod u+w . 2>&5
9014 $RM conftest*
9015 # SGI C++ compiler will create directory out/ii_files/ for
9016 # template instantiation
9017 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9018 $RM out/* && rmdir out
9019 cd ..
9020 $RM -r conftest
9021 $RM conftest*
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9025 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9030 hard_links="nottested"
9031 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9032 # do not overwrite the value of need_locks provided by the user
9033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9034 $as_echo_n "checking if we can lock with hard links... " >&6; }
9035 hard_links=yes
9036 $RM conftest*
9037 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9038 touch conftest.a
9039 ln conftest.a conftest.b 2>&5 || hard_links=no
9040 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9042 $as_echo "$hard_links" >&6; }
9043 if test "$hard_links" = no; then
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9045 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9046 need_locks=warn
9048 else
9049 need_locks=no
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9058 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9060 runpath_var=
9061 allow_undefined_flag=
9062 always_export_symbols=no
9063 archive_cmds=
9064 archive_expsym_cmds=
9065 compiler_needs_object=no
9066 enable_shared_with_static_runtimes=no
9067 export_dynamic_flag_spec=
9068 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9069 hardcode_automatic=no
9070 hardcode_direct=no
9071 hardcode_direct_absolute=no
9072 hardcode_libdir_flag_spec=
9073 hardcode_libdir_flag_spec_ld=
9074 hardcode_libdir_separator=
9075 hardcode_minus_L=no
9076 hardcode_shlibpath_var=unsupported
9077 inherit_rpath=no
9078 link_all_deplibs=unknown
9079 module_cmds=
9080 module_expsym_cmds=
9081 old_archive_from_new_cmds=
9082 old_archive_from_expsyms_cmds=
9083 thread_safe_flag_spec=
9084 whole_archive_flag_spec=
9085 # include_expsyms should be a list of space-separated symbols to be *always*
9086 # included in the symbol list
9087 include_expsyms=
9088 # exclude_expsyms can be an extended regexp of symbols to exclude
9089 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9090 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9091 # as well as any symbol that contains `d'.
9092 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9093 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9094 # platforms (ab)use it in PIC code, but their linkers get confused if
9095 # the symbol is explicitly referenced. Since portable code cannot
9096 # rely on this symbol name, it's probably fine to never include it in
9097 # preloaded symbol tables.
9098 # Exclude shared library initialization/finalization symbols.
9099 extract_expsyms_cmds=
9101 case $host_os in
9102 cygwin* | mingw* | pw32* | cegcc*)
9103 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9104 # When not using gcc, we currently assume that we are using
9105 # Microsoft Visual C++.
9106 if test "$GCC" != yes; then
9107 with_gnu_ld=no
9110 interix*)
9111 # we just hope/assume this is gcc and not c89 (= MSVC++)
9112 with_gnu_ld=yes
9114 openbsd*)
9115 with_gnu_ld=no
9117 esac
9119 ld_shlibs=yes
9121 # On some targets, GNU ld is compatible enough with the native linker
9122 # that we're better off using the native interface for both.
9123 lt_use_gnu_ld_interface=no
9124 if test "$with_gnu_ld" = yes; then
9125 case $host_os in
9126 aix*)
9127 # The AIX port of GNU ld has always aspired to compatibility
9128 # with the native linker. However, as the warning in the GNU ld
9129 # block says, versions before 2.19.5* couldn't really create working
9130 # shared libraries, regardless of the interface used.
9131 case `$LD -v 2>&1` in
9132 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9133 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9134 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9136 lt_use_gnu_ld_interface=yes
9138 esac
9141 lt_use_gnu_ld_interface=yes
9143 esac
9146 if test "$lt_use_gnu_ld_interface" = yes; then
9147 # If archive_cmds runs LD, not CC, wlarc should be empty
9148 wlarc='${wl}'
9150 # Set some defaults for GNU ld with shared library support. These
9151 # are reset later if shared libraries are not supported. Putting them
9152 # here allows them to be overridden if necessary.
9153 runpath_var=LD_RUN_PATH
9154 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9155 export_dynamic_flag_spec='${wl}--export-dynamic'
9156 # ancient GNU ld didn't support --whole-archive et. al.
9157 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9158 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9159 else
9160 whole_archive_flag_spec=
9162 supports_anon_versioning=no
9163 case `$LD -v 2>&1` in
9164 *GNU\ gold*) supports_anon_versioning=yes ;;
9165 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9166 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9167 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9168 *\ 2.11.*) ;; # other 2.11 versions
9169 *) supports_anon_versioning=yes ;;
9170 esac
9172 # See if GNU ld supports shared libraries.
9173 case $host_os in
9174 aix[3-9]*)
9175 # On AIX/PPC, the GNU linker is very broken
9176 if test "$host_cpu" != ia64; then
9177 ld_shlibs=no
9178 cat <<_LT_EOF 1>&2
9180 *** Warning: the GNU linker, at least up to release 2.19, is reported
9181 *** to be unable to reliably create shared libraries on AIX.
9182 *** Therefore, libtool is disabling shared libraries support. If you
9183 *** really care for shared libraries, you may want to install binutils
9184 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9185 *** You will then need to restart the configuration process.
9187 _LT_EOF
9191 amigaos*)
9192 case $host_cpu in
9193 powerpc)
9194 # see comment about AmigaOS4 .so support
9195 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9196 archive_expsym_cmds=''
9198 m68k)
9199 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)'
9200 hardcode_libdir_flag_spec='-L$libdir'
9201 hardcode_minus_L=yes
9203 esac
9206 beos*)
9207 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9208 allow_undefined_flag=unsupported
9209 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9210 # support --undefined. This deserves some investigation. FIXME
9211 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9212 else
9213 ld_shlibs=no
9217 cygwin* | mingw* | pw32* | cegcc*)
9218 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9219 # as there is no search path for DLLs.
9220 hardcode_libdir_flag_spec='-L$libdir'
9221 export_dynamic_flag_spec='${wl}--export-all-symbols'
9222 allow_undefined_flag=unsupported
9223 always_export_symbols=no
9224 enable_shared_with_static_runtimes=yes
9225 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9227 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9228 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9229 # If the export-symbols file already is a .def file (1st line
9230 # is EXPORTS), use it as is; otherwise, prepend...
9231 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9232 cp $export_symbols $output_objdir/$soname.def;
9233 else
9234 echo EXPORTS > $output_objdir/$soname.def;
9235 cat $export_symbols >> $output_objdir/$soname.def;
9237 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9238 else
9239 ld_shlibs=no
9243 haiku*)
9244 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9245 link_all_deplibs=yes
9248 interix[3-9]*)
9249 hardcode_direct=no
9250 hardcode_shlibpath_var=no
9251 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9252 export_dynamic_flag_spec='${wl}-E'
9253 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9254 # Instead, shared libraries are loaded at an image base (0x10000000 by
9255 # default) and relocated if they conflict, which is a slow very memory
9256 # consuming and fragmenting process. To avoid this, we pick a random,
9257 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9258 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9259 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9260 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'
9263 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9264 tmp_diet=no
9265 if test "$host_os" = linux-dietlibc; then
9266 case $cc_basename in
9267 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9268 esac
9270 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9271 && test "$tmp_diet" = no
9272 then
9273 tmp_addflag=
9274 tmp_sharedflag='-shared'
9275 case $cc_basename,$host_cpu in
9276 pgcc*) # Portland Group C compiler
9277 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'
9278 tmp_addflag=' $pic_flag'
9280 pgf77* | pgf90* | pgf95* | pgfortran*)
9281 # Portland Group f77 and f90 compilers
9282 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'
9283 tmp_addflag=' $pic_flag -Mnomain' ;;
9284 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9285 tmp_addflag=' -i_dynamic' ;;
9286 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9287 tmp_addflag=' -i_dynamic -nofor_main' ;;
9288 ifc* | ifort*) # Intel Fortran compiler
9289 tmp_addflag=' -nofor_main' ;;
9290 lf95*) # Lahey Fortran 8.1
9291 whole_archive_flag_spec=
9292 tmp_sharedflag='--shared' ;;
9293 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9294 tmp_sharedflag='-qmkshrobj'
9295 tmp_addflag= ;;
9296 nvcc*) # Cuda Compiler Driver 2.2
9297 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'
9298 compiler_needs_object=yes
9300 esac
9301 case `$CC -V 2>&1 | sed 5q` in
9302 *Sun\ C*) # Sun C 5.9
9303 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'
9304 compiler_needs_object=yes
9305 tmp_sharedflag='-G' ;;
9306 *Sun\ F*) # Sun Fortran 8.3
9307 tmp_sharedflag='-G' ;;
9308 esac
9309 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9311 if test "x$supports_anon_versioning" = xyes; then
9312 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9313 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9314 echo "local: *; };" >> $output_objdir/$libname.ver~
9315 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9318 case $cc_basename in
9319 xlf* | bgf* | bgxlf* | mpixlf*)
9320 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9321 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9322 hardcode_libdir_flag_spec=
9323 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9324 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9325 if test "x$supports_anon_versioning" = xyes; then
9326 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9327 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9328 echo "local: *; };" >> $output_objdir/$libname.ver~
9329 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9332 esac
9333 else
9334 ld_shlibs=no
9338 netbsd*)
9339 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9340 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9341 wlarc=
9342 else
9343 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9344 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9348 solaris*)
9349 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9350 ld_shlibs=no
9351 cat <<_LT_EOF 1>&2
9353 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9354 *** create shared libraries on Solaris systems. Therefore, libtool
9355 *** is disabling shared libraries support. We urge you to upgrade GNU
9356 *** binutils to release 2.9.1 or newer. Another option is to modify
9357 *** your PATH or compiler configuration so that the native linker is
9358 *** used, and then restart.
9360 _LT_EOF
9361 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9362 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9363 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9364 else
9365 ld_shlibs=no
9369 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9370 case `$LD -v 2>&1` in
9371 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9372 ld_shlibs=no
9373 cat <<_LT_EOF 1>&2
9375 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9376 *** reliably create shared libraries on SCO systems. Therefore, libtool
9377 *** is disabling shared libraries support. We urge you to upgrade GNU
9378 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9379 *** your PATH or compiler configuration so that the native linker is
9380 *** used, and then restart.
9382 _LT_EOF
9385 # For security reasons, it is highly recommended that you always
9386 # use absolute paths for naming shared libraries, and exclude the
9387 # DT_RUNPATH tag from executables and libraries. But doing so
9388 # requires that you compile everything twice, which is a pain.
9389 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9390 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9391 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9392 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9393 else
9394 ld_shlibs=no
9397 esac
9400 sunos4*)
9401 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9402 wlarc=
9403 hardcode_direct=yes
9404 hardcode_shlibpath_var=no
9408 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9409 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9410 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9411 else
9412 ld_shlibs=no
9415 esac
9417 if test "$ld_shlibs" = no; then
9418 runpath_var=
9419 hardcode_libdir_flag_spec=
9420 export_dynamic_flag_spec=
9421 whole_archive_flag_spec=
9423 else
9424 # PORTME fill in a description of your system's linker (not GNU ld)
9425 case $host_os in
9426 aix3*)
9427 allow_undefined_flag=unsupported
9428 always_export_symbols=yes
9429 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'
9430 # Note: this linker hardcodes the directories in LIBPATH if there
9431 # are no directories specified by -L.
9432 hardcode_minus_L=yes
9433 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9434 # Neither direct hardcoding nor static linking is supported with a
9435 # broken collect2.
9436 hardcode_direct=unsupported
9440 aix[4-9]*)
9441 if test "$host_cpu" = ia64; then
9442 # On IA64, the linker does run time linking by default, so we don't
9443 # have to do anything special.
9444 aix_use_runtimelinking=no
9445 exp_sym_flag='-Bexport'
9446 no_entry_flag=""
9447 else
9448 # If we're using GNU nm, then we don't want the "-C" option.
9449 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9450 # Also, AIX nm treats weak defined symbols like other global
9451 # defined symbols, whereas GNU nm marks them as "W".
9452 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9453 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'
9454 else
9455 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'
9457 aix_use_runtimelinking=no
9459 # Test if we are trying to use run time linking or normal
9460 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9461 # need to do runtime linking.
9462 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9463 for ld_flag in $LDFLAGS; do
9464 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9465 aix_use_runtimelinking=yes
9466 break
9468 done
9470 esac
9472 exp_sym_flag='-bexport'
9473 no_entry_flag='-bnoentry'
9476 # When large executables or shared objects are built, AIX ld can
9477 # have problems creating the table of contents. If linking a library
9478 # or program results in "error TOC overflow" add -mminimal-toc to
9479 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9480 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9482 archive_cmds=''
9483 hardcode_direct=yes
9484 hardcode_direct_absolute=yes
9485 hardcode_libdir_separator=':'
9486 link_all_deplibs=yes
9487 file_list_spec='${wl}-f,'
9489 if test "$GCC" = yes; then
9490 case $host_os in aix4.[012]|aix4.[012].*)
9491 # We only want to do this on AIX 4.2 and lower, the check
9492 # below for broken collect2 doesn't work under 4.3+
9493 collect2name=`${CC} -print-prog-name=collect2`
9494 if test -f "$collect2name" &&
9495 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9496 then
9497 # We have reworked collect2
9499 else
9500 # We have old collect2
9501 hardcode_direct=unsupported
9502 # It fails to find uninstalled libraries when the uninstalled
9503 # path is not listed in the libpath. Setting hardcode_minus_L
9504 # to unsupported forces relinking
9505 hardcode_minus_L=yes
9506 hardcode_libdir_flag_spec='-L$libdir'
9507 hardcode_libdir_separator=
9510 esac
9511 shared_flag='-shared'
9512 if test "$aix_use_runtimelinking" = yes; then
9513 shared_flag="$shared_flag "'${wl}-G'
9515 else
9516 # not using gcc
9517 if test "$host_cpu" = ia64; then
9518 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9519 # chokes on -Wl,-G. The following line is correct:
9520 shared_flag='-G'
9521 else
9522 if test "$aix_use_runtimelinking" = yes; then
9523 shared_flag='${wl}-G'
9524 else
9525 shared_flag='${wl}-bM:SRE'
9530 export_dynamic_flag_spec='${wl}-bexpall'
9531 # It seems that -bexpall does not export symbols beginning with
9532 # underscore (_), so it is better to generate a list of symbols to export.
9533 always_export_symbols=yes
9534 if test "$aix_use_runtimelinking" = yes; then
9535 # Warning - without using the other runtime loading flags (-brtl),
9536 # -berok will link without error, but may produce a broken library.
9537 allow_undefined_flag='-berok'
9538 # Determine the default libpath from the value encoded in an
9539 # empty executable.
9540 if test x$gcc_no_link = xyes; then
9541 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9544 /* end confdefs.h. */
9547 main ()
9551 return 0;
9553 _ACEOF
9554 if ac_fn_c_try_link "$LINENO"; then :
9556 lt_aix_libpath_sed='
9557 /Import File Strings/,/^$/ {
9558 /^0/ {
9559 s/^0 *\(.*\)$/\1/
9563 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9564 # Check for a 64-bit object if we didn't find anything.
9565 if test -z "$aix_libpath"; then
9566 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9569 rm -f core conftest.err conftest.$ac_objext \
9570 conftest$ac_exeext conftest.$ac_ext
9571 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9573 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9574 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"
9575 else
9576 if test "$host_cpu" = ia64; then
9577 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9578 allow_undefined_flag="-z nodefs"
9579 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"
9580 else
9581 # Determine the default libpath from the value encoded in an
9582 # empty executable.
9583 if test x$gcc_no_link = xyes; then
9584 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9587 /* end confdefs.h. */
9590 main ()
9594 return 0;
9596 _ACEOF
9597 if ac_fn_c_try_link "$LINENO"; then :
9599 lt_aix_libpath_sed='
9600 /Import File Strings/,/^$/ {
9601 /^0/ {
9602 s/^0 *\(.*\)$/\1/
9606 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9607 # Check for a 64-bit object if we didn't find anything.
9608 if test -z "$aix_libpath"; then
9609 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9612 rm -f core conftest.err conftest.$ac_objext \
9613 conftest$ac_exeext conftest.$ac_ext
9614 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9616 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9617 # Warning - without using the other run time loading flags,
9618 # -berok will link without error, but may produce a broken library.
9619 no_undefined_flag=' ${wl}-bernotok'
9620 allow_undefined_flag=' ${wl}-berok'
9621 if test "$with_gnu_ld" = yes; then
9622 # We only use this code for GNU lds that support --whole-archive.
9623 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9624 else
9625 # Exported symbols can be pulled into shared objects from archives
9626 whole_archive_flag_spec='$convenience'
9628 archive_cmds_need_lc=yes
9629 # This is similar to how AIX traditionally builds its shared libraries.
9630 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'
9635 amigaos*)
9636 case $host_cpu in
9637 powerpc)
9638 # see comment about AmigaOS4 .so support
9639 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9640 archive_expsym_cmds=''
9642 m68k)
9643 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)'
9644 hardcode_libdir_flag_spec='-L$libdir'
9645 hardcode_minus_L=yes
9647 esac
9650 bsdi[45]*)
9651 export_dynamic_flag_spec=-rdynamic
9654 cygwin* | mingw* | pw32* | cegcc*)
9655 # When not using gcc, we currently assume that we are using
9656 # Microsoft Visual C++.
9657 # hardcode_libdir_flag_spec is actually meaningless, as there is
9658 # no search path for DLLs.
9659 hardcode_libdir_flag_spec=' '
9660 allow_undefined_flag=unsupported
9661 # Tell ltmain to make .lib files, not .a files.
9662 libext=lib
9663 # Tell ltmain to make .dll files, not .so files.
9664 shrext_cmds=".dll"
9665 # FIXME: Setting linknames here is a bad hack.
9666 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9667 # The linker will automatically build a .lib file if we build a DLL.
9668 old_archive_from_new_cmds='true'
9669 # FIXME: Should let the user specify the lib program.
9670 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9671 fix_srcfile_path='`cygpath -w "$srcfile"`'
9672 enable_shared_with_static_runtimes=yes
9675 darwin* | rhapsody*)
9678 archive_cmds_need_lc=no
9679 hardcode_direct=no
9680 hardcode_automatic=yes
9681 hardcode_shlibpath_var=unsupported
9682 if test "$lt_cv_ld_force_load" = "yes"; then
9683 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\"`'
9684 else
9685 whole_archive_flag_spec=''
9687 link_all_deplibs=yes
9688 allow_undefined_flag="$_lt_dar_allow_undefined"
9689 case $cc_basename in
9690 ifort*) _lt_dar_can_shared=yes ;;
9691 *) _lt_dar_can_shared=$GCC ;;
9692 esac
9693 if test "$_lt_dar_can_shared" = "yes"; then
9694 output_verbose_link_cmd=func_echo_all
9695 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9696 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9697 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}"
9698 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}"
9700 else
9701 ld_shlibs=no
9706 dgux*)
9707 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9708 hardcode_libdir_flag_spec='-L$libdir'
9709 hardcode_shlibpath_var=no
9712 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9713 # support. Future versions do this automatically, but an explicit c++rt0.o
9714 # does not break anything, and helps significantly (at the cost of a little
9715 # extra space).
9716 freebsd2.2*)
9717 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9718 hardcode_libdir_flag_spec='-R$libdir'
9719 hardcode_direct=yes
9720 hardcode_shlibpath_var=no
9723 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9724 freebsd2.*)
9725 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9726 hardcode_direct=yes
9727 hardcode_minus_L=yes
9728 hardcode_shlibpath_var=no
9731 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9732 freebsd* | dragonfly*)
9733 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9734 hardcode_libdir_flag_spec='-R$libdir'
9735 hardcode_direct=yes
9736 hardcode_shlibpath_var=no
9739 hpux9*)
9740 if test "$GCC" = yes; then
9741 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'
9742 else
9743 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'
9745 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9746 hardcode_libdir_separator=:
9747 hardcode_direct=yes
9749 # hardcode_minus_L: Not really in the search PATH,
9750 # but as the default location of the library.
9751 hardcode_minus_L=yes
9752 export_dynamic_flag_spec='${wl}-E'
9755 hpux10*)
9756 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9757 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9758 else
9759 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9761 if test "$with_gnu_ld" = no; then
9762 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9763 hardcode_libdir_flag_spec_ld='+b $libdir'
9764 hardcode_libdir_separator=:
9765 hardcode_direct=yes
9766 hardcode_direct_absolute=yes
9767 export_dynamic_flag_spec='${wl}-E'
9768 # hardcode_minus_L: Not really in the search PATH,
9769 # but as the default location of the library.
9770 hardcode_minus_L=yes
9774 hpux11*)
9775 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9776 case $host_cpu in
9777 hppa*64*)
9778 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9780 ia64*)
9781 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9784 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9786 esac
9787 else
9788 case $host_cpu in
9789 hppa*64*)
9790 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9792 ia64*)
9793 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9797 # Older versions of the 11.00 compiler do not understand -b yet
9798 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9800 $as_echo_n "checking if $CC understands -b... " >&6; }
9801 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9802 $as_echo_n "(cached) " >&6
9803 else
9804 lt_cv_prog_compiler__b=no
9805 save_LDFLAGS="$LDFLAGS"
9806 LDFLAGS="$LDFLAGS -b"
9807 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9808 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9809 # The linker can only warn and ignore the option if not recognized
9810 # So say no if there are warnings
9811 if test -s conftest.err; then
9812 # Append any errors to the config.log.
9813 cat conftest.err 1>&5
9814 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9815 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9816 if diff conftest.exp conftest.er2 >/dev/null; then
9817 lt_cv_prog_compiler__b=yes
9819 else
9820 lt_cv_prog_compiler__b=yes
9823 $RM -r conftest*
9824 LDFLAGS="$save_LDFLAGS"
9827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9828 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9830 if test x"$lt_cv_prog_compiler__b" = xyes; then
9831 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9832 else
9833 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9837 esac
9839 if test "$with_gnu_ld" = no; then
9840 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9841 hardcode_libdir_separator=:
9843 case $host_cpu in
9844 hppa*64*|ia64*)
9845 hardcode_direct=no
9846 hardcode_shlibpath_var=no
9849 hardcode_direct=yes
9850 hardcode_direct_absolute=yes
9851 export_dynamic_flag_spec='${wl}-E'
9853 # hardcode_minus_L: Not really in the search PATH,
9854 # but as the default location of the library.
9855 hardcode_minus_L=yes
9857 esac
9861 irix5* | irix6* | nonstopux*)
9862 if test "$GCC" = yes; then
9863 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'
9864 # Try to use the -exported_symbol ld option, if it does not
9865 # work, assume that -exports_file does not work either and
9866 # implicitly export all symbols.
9867 save_LDFLAGS="$LDFLAGS"
9868 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9869 if test x$gcc_no_link = xyes; then
9870 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9873 /* end confdefs.h. */
9874 int foo(void) {}
9875 _ACEOF
9876 if ac_fn_c_try_link "$LINENO"; then :
9877 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'
9880 rm -f core conftest.err conftest.$ac_objext \
9881 conftest$ac_exeext conftest.$ac_ext
9882 LDFLAGS="$save_LDFLAGS"
9883 else
9884 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'
9885 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'
9887 archive_cmds_need_lc='no'
9888 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9889 hardcode_libdir_separator=:
9890 inherit_rpath=yes
9891 link_all_deplibs=yes
9894 netbsd*)
9895 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9896 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9897 else
9898 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9900 hardcode_libdir_flag_spec='-R$libdir'
9901 hardcode_direct=yes
9902 hardcode_shlibpath_var=no
9905 newsos6)
9906 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9907 hardcode_direct=yes
9908 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9909 hardcode_libdir_separator=:
9910 hardcode_shlibpath_var=no
9913 *nto* | *qnx*)
9916 openbsd*)
9917 if test -f /usr/libexec/ld.so; then
9918 hardcode_direct=yes
9919 hardcode_shlibpath_var=no
9920 hardcode_direct_absolute=yes
9921 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9922 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9923 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9924 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9925 export_dynamic_flag_spec='${wl}-E'
9926 else
9927 case $host_os in
9928 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9929 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9930 hardcode_libdir_flag_spec='-R$libdir'
9933 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9934 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9936 esac
9938 else
9939 ld_shlibs=no
9943 os2*)
9944 hardcode_libdir_flag_spec='-L$libdir'
9945 hardcode_minus_L=yes
9946 allow_undefined_flag=unsupported
9947 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'
9948 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9951 osf3*)
9952 if test "$GCC" = yes; then
9953 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9954 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'
9955 else
9956 allow_undefined_flag=' -expect_unresolved \*'
9957 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'
9959 archive_cmds_need_lc='no'
9960 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9961 hardcode_libdir_separator=:
9964 osf4* | osf5*) # as osf3* with the addition of -msym flag
9965 if test "$GCC" = yes; then
9966 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9967 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'
9968 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9969 else
9970 allow_undefined_flag=' -expect_unresolved \*'
9971 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'
9972 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~
9973 $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'
9975 # Both c and cxx compiler support -rpath directly
9976 hardcode_libdir_flag_spec='-rpath $libdir'
9978 archive_cmds_need_lc='no'
9979 hardcode_libdir_separator=:
9982 solaris*)
9983 no_undefined_flag=' -z defs'
9984 if test "$GCC" = yes; then
9985 wlarc='${wl}'
9986 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9987 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9988 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9989 else
9990 case `$CC -V 2>&1` in
9991 *"Compilers 5.0"*)
9992 wlarc=''
9993 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9994 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9995 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9998 wlarc='${wl}'
9999 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10000 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10001 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10003 esac
10005 hardcode_libdir_flag_spec='-R$libdir'
10006 hardcode_shlibpath_var=no
10007 case $host_os in
10008 solaris2.[0-5] | solaris2.[0-5].*) ;;
10010 # The compiler driver will combine and reorder linker options,
10011 # but understands `-z linker_flag'. GCC discards it without `$wl',
10012 # but is careful enough not to reorder.
10013 # Supported since Solaris 2.6 (maybe 2.5.1?)
10014 if test "$GCC" = yes; then
10015 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10016 else
10017 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10020 esac
10021 link_all_deplibs=yes
10024 sunos4*)
10025 if test "x$host_vendor" = xsequent; then
10026 # Use $CC to link under sequent, because it throws in some extra .o
10027 # files that make .init and .fini sections work.
10028 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10029 else
10030 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10032 hardcode_libdir_flag_spec='-L$libdir'
10033 hardcode_direct=yes
10034 hardcode_minus_L=yes
10035 hardcode_shlibpath_var=no
10038 sysv4)
10039 case $host_vendor in
10040 sni)
10041 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10042 hardcode_direct=yes # is this really true???
10044 siemens)
10045 ## LD is ld it makes a PLAMLIB
10046 ## CC just makes a GrossModule.
10047 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10048 reload_cmds='$CC -r -o $output$reload_objs'
10049 hardcode_direct=no
10051 motorola)
10052 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10053 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10055 esac
10056 runpath_var='LD_RUN_PATH'
10057 hardcode_shlibpath_var=no
10060 sysv4.3*)
10061 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10062 hardcode_shlibpath_var=no
10063 export_dynamic_flag_spec='-Bexport'
10066 sysv4*MP*)
10067 if test -d /usr/nec; then
10068 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10069 hardcode_shlibpath_var=no
10070 runpath_var=LD_RUN_PATH
10071 hardcode_runpath_var=yes
10072 ld_shlibs=yes
10076 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10077 no_undefined_flag='${wl}-z,text'
10078 archive_cmds_need_lc=no
10079 hardcode_shlibpath_var=no
10080 runpath_var='LD_RUN_PATH'
10082 if test "$GCC" = yes; then
10083 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10084 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10085 else
10086 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10087 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10091 sysv5* | sco3.2v5* | sco5v6*)
10092 # Note: We can NOT use -z defs as we might desire, because we do not
10093 # link with -lc, and that would cause any symbols used from libc to
10094 # always be unresolved, which means just about no library would
10095 # ever link correctly. If we're not using GNU ld we use -z text
10096 # though, which does catch some bad symbols but isn't as heavy-handed
10097 # as -z defs.
10098 no_undefined_flag='${wl}-z,text'
10099 allow_undefined_flag='${wl}-z,nodefs'
10100 archive_cmds_need_lc=no
10101 hardcode_shlibpath_var=no
10102 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10103 hardcode_libdir_separator=':'
10104 link_all_deplibs=yes
10105 export_dynamic_flag_spec='${wl}-Bexport'
10106 runpath_var='LD_RUN_PATH'
10108 if test "$GCC" = yes; then
10109 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10110 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10111 else
10112 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10113 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10117 uts4*)
10118 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10119 hardcode_libdir_flag_spec='-L$libdir'
10120 hardcode_shlibpath_var=no
10124 ld_shlibs=no
10126 esac
10128 if test x$host_vendor = xsni; then
10129 case $host in
10130 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10131 export_dynamic_flag_spec='${wl}-Blargedynsym'
10133 esac
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10138 $as_echo "$ld_shlibs" >&6; }
10139 test "$ld_shlibs" = no && can_build_shared=no
10141 with_gnu_ld=$with_gnu_ld
10158 # Do we need to explicitly link libc?
10160 case "x$archive_cmds_need_lc" in
10161 x|xyes)
10162 # Assume -lc should be added
10163 archive_cmds_need_lc=yes
10165 if test "$enable_shared" = yes && test "$GCC" = yes; then
10166 case $archive_cmds in
10167 *'~'*)
10168 # FIXME: we may have to deal with multi-command sequences.
10170 '$CC '*)
10171 # Test whether the compiler implicitly links with -lc since on some
10172 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10173 # to ld, don't add -lc before -lgcc.
10174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10175 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10176 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10177 $as_echo_n "(cached) " >&6
10178 else
10179 $RM conftest*
10180 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10182 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10183 (eval $ac_compile) 2>&5
10184 ac_status=$?
10185 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10186 test $ac_status = 0; } 2>conftest.err; then
10187 soname=conftest
10188 lib=conftest
10189 libobjs=conftest.$ac_objext
10190 deplibs=
10191 wl=$lt_prog_compiler_wl
10192 pic_flag=$lt_prog_compiler_pic
10193 compiler_flags=-v
10194 linker_flags=-v
10195 verstring=
10196 output_objdir=.
10197 libname=conftest
10198 lt_save_allow_undefined_flag=$allow_undefined_flag
10199 allow_undefined_flag=
10200 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10201 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10202 ac_status=$?
10203 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10204 test $ac_status = 0; }
10205 then
10206 lt_cv_archive_cmds_need_lc=no
10207 else
10208 lt_cv_archive_cmds_need_lc=yes
10210 allow_undefined_flag=$lt_save_allow_undefined_flag
10211 else
10212 cat conftest.err 1>&5
10214 $RM conftest*
10217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10218 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10219 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10221 esac
10224 esac
10382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10383 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10385 if test "$GCC" = yes; then
10386 case $host_os in
10387 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10388 *) lt_awk_arg="/^libraries:/" ;;
10389 esac
10390 case $host_os in
10391 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10392 *) lt_sed_strip_eq="s,=/,/,g" ;;
10393 esac
10394 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10395 case $lt_search_path_spec in
10396 *\;*)
10397 # if the path contains ";" then we assume it to be the separator
10398 # otherwise default to the standard path separator (i.e. ":") - it is
10399 # assumed that no part of a normal pathname contains ";" but that should
10400 # okay in the real world where ";" in dirpaths is itself problematic.
10401 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10404 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10406 esac
10407 # Ok, now we have the path, separated by spaces, we can step through it
10408 # and add multilib dir if necessary.
10409 lt_tmp_lt_search_path_spec=
10410 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10411 for lt_sys_path in $lt_search_path_spec; do
10412 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10413 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10414 else
10415 test -d "$lt_sys_path" && \
10416 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10418 done
10419 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10420 BEGIN {RS=" "; FS="/|\n";} {
10421 lt_foo="";
10422 lt_count=0;
10423 for (lt_i = NF; lt_i > 0; lt_i--) {
10424 if ($lt_i != "" && $lt_i != ".") {
10425 if ($lt_i == "..") {
10426 lt_count++;
10427 } else {
10428 if (lt_count == 0) {
10429 lt_foo="/" $lt_i lt_foo;
10430 } else {
10431 lt_count--;
10436 if (lt_foo != "") { lt_freq[lt_foo]++; }
10437 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10439 # AWK program above erroneously prepends '/' to C:/dos/paths
10440 # for these hosts.
10441 case $host_os in
10442 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10443 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10444 esac
10445 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10446 else
10447 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10449 library_names_spec=
10450 libname_spec='lib$name'
10451 soname_spec=
10452 shrext_cmds=".so"
10453 postinstall_cmds=
10454 postuninstall_cmds=
10455 finish_cmds=
10456 finish_eval=
10457 shlibpath_var=
10458 shlibpath_overrides_runpath=unknown
10459 version_type=none
10460 dynamic_linker="$host_os ld.so"
10461 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10462 need_lib_prefix=unknown
10463 hardcode_into_libs=no
10465 # when you set need_version to no, make sure it does not cause -set_version
10466 # flags to be left without arguments
10467 need_version=unknown
10469 case $host_os in
10470 aix3*)
10471 version_type=linux
10472 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10473 shlibpath_var=LIBPATH
10475 # AIX 3 has no versioning support, so we append a major version to the name.
10476 soname_spec='${libname}${release}${shared_ext}$major'
10479 aix[4-9]*)
10480 version_type=linux
10481 need_lib_prefix=no
10482 need_version=no
10483 hardcode_into_libs=yes
10484 if test "$host_cpu" = ia64; then
10485 # AIX 5 supports IA64
10486 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10487 shlibpath_var=LD_LIBRARY_PATH
10488 else
10489 # With GCC up to 2.95.x, collect2 would create an import file
10490 # for dependence libraries. The import file would start with
10491 # the line `#! .'. This would cause the generated library to
10492 # depend on `.', always an invalid library. This was fixed in
10493 # development snapshots of GCC prior to 3.0.
10494 case $host_os in
10495 aix4 | aix4.[01] | aix4.[01].*)
10496 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10497 echo ' yes '
10498 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10500 else
10501 can_build_shared=no
10504 esac
10505 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10506 # soname into executable. Probably we can add versioning support to
10507 # collect2, so additional links can be useful in future.
10508 if test "$aix_use_runtimelinking" = yes; then
10509 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10510 # instead of lib<name>.a to let people know that these are not
10511 # typical AIX shared libraries.
10512 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10513 else
10514 # We preserve .a as extension for shared libraries through AIX4.2
10515 # and later when we are not doing run time linking.
10516 library_names_spec='${libname}${release}.a $libname.a'
10517 soname_spec='${libname}${release}${shared_ext}$major'
10519 shlibpath_var=LIBPATH
10523 amigaos*)
10524 case $host_cpu in
10525 powerpc)
10526 # Since July 2007 AmigaOS4 officially supports .so libraries.
10527 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10528 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10530 m68k)
10531 library_names_spec='$libname.ixlibrary $libname.a'
10532 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10533 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'
10535 esac
10538 beos*)
10539 library_names_spec='${libname}${shared_ext}'
10540 dynamic_linker="$host_os ld.so"
10541 shlibpath_var=LIBRARY_PATH
10544 bsdi[45]*)
10545 version_type=linux
10546 need_version=no
10547 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10548 soname_spec='${libname}${release}${shared_ext}$major'
10549 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10550 shlibpath_var=LD_LIBRARY_PATH
10551 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10552 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10553 # the default ld.so.conf also contains /usr/contrib/lib and
10554 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10555 # libtool to hard-code these into programs
10558 cygwin* | mingw* | pw32* | cegcc*)
10559 version_type=windows
10560 shrext_cmds=".dll"
10561 need_version=no
10562 need_lib_prefix=no
10564 case $GCC,$host_os in
10565 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10566 library_names_spec='$libname.dll.a'
10567 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10568 postinstall_cmds='base_file=`basename \${file}`~
10569 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10570 dldir=$destdir/`dirname \$dlpath`~
10571 test -d \$dldir || mkdir -p \$dldir~
10572 $install_prog $dir/$dlname \$dldir/$dlname~
10573 chmod a+x \$dldir/$dlname~
10574 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10575 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10577 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10578 dlpath=$dir/\$dldll~
10579 $RM \$dlpath'
10580 shlibpath_overrides_runpath=yes
10582 case $host_os in
10583 cygwin*)
10584 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10585 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10587 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10589 mingw* | cegcc*)
10590 # MinGW DLLs use traditional 'lib' prefix
10591 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10593 pw32*)
10594 # pw32 DLLs use 'pw' prefix rather than 'lib'
10595 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10597 esac
10601 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10603 esac
10604 dynamic_linker='Win32 ld.exe'
10605 # FIXME: first we should search . and the directory the executable is in
10606 shlibpath_var=PATH
10609 darwin* | rhapsody*)
10610 dynamic_linker="$host_os dyld"
10611 version_type=darwin
10612 need_lib_prefix=no
10613 need_version=no
10614 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10615 soname_spec='${libname}${release}${major}$shared_ext'
10616 shlibpath_overrides_runpath=yes
10617 shlibpath_var=DYLD_LIBRARY_PATH
10618 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10620 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10621 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10624 dgux*)
10625 version_type=linux
10626 need_lib_prefix=no
10627 need_version=no
10628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10629 soname_spec='${libname}${release}${shared_ext}$major'
10630 shlibpath_var=LD_LIBRARY_PATH
10633 freebsd* | dragonfly*)
10634 # DragonFly does not have aout. When/if they implement a new
10635 # versioning mechanism, adjust this.
10636 if test -x /usr/bin/objformat; then
10637 objformat=`/usr/bin/objformat`
10638 else
10639 case $host_os in
10640 freebsd[23].*) objformat=aout ;;
10641 *) objformat=elf ;;
10642 esac
10644 version_type=freebsd-$objformat
10645 case $version_type in
10646 freebsd-elf*)
10647 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10648 need_version=no
10649 need_lib_prefix=no
10651 freebsd-*)
10652 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10653 need_version=yes
10655 esac
10656 shlibpath_var=LD_LIBRARY_PATH
10657 case $host_os in
10658 freebsd2.*)
10659 shlibpath_overrides_runpath=yes
10661 freebsd3.[01]* | freebsdelf3.[01]*)
10662 shlibpath_overrides_runpath=yes
10663 hardcode_into_libs=yes
10665 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10666 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10667 shlibpath_overrides_runpath=no
10668 hardcode_into_libs=yes
10670 *) # from 4.6 on, and DragonFly
10671 shlibpath_overrides_runpath=yes
10672 hardcode_into_libs=yes
10674 esac
10677 gnu*)
10678 version_type=linux
10679 need_lib_prefix=no
10680 need_version=no
10681 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10682 soname_spec='${libname}${release}${shared_ext}$major'
10683 shlibpath_var=LD_LIBRARY_PATH
10684 hardcode_into_libs=yes
10687 haiku*)
10688 version_type=linux
10689 need_lib_prefix=no
10690 need_version=no
10691 dynamic_linker="$host_os runtime_loader"
10692 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10693 soname_spec='${libname}${release}${shared_ext}$major'
10694 shlibpath_var=LIBRARY_PATH
10695 shlibpath_overrides_runpath=yes
10696 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10697 hardcode_into_libs=yes
10700 hpux9* | hpux10* | hpux11*)
10701 # Give a soname corresponding to the major version so that dld.sl refuses to
10702 # link against other versions.
10703 version_type=sunos
10704 need_lib_prefix=no
10705 need_version=no
10706 case $host_cpu in
10707 ia64*)
10708 shrext_cmds='.so'
10709 hardcode_into_libs=yes
10710 dynamic_linker="$host_os dld.so"
10711 shlibpath_var=LD_LIBRARY_PATH
10712 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10713 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10714 soname_spec='${libname}${release}${shared_ext}$major'
10715 if test "X$HPUX_IA64_MODE" = X32; then
10716 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10717 else
10718 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10720 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10722 hppa*64*)
10723 shrext_cmds='.sl'
10724 hardcode_into_libs=yes
10725 dynamic_linker="$host_os dld.sl"
10726 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10727 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10728 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10729 soname_spec='${libname}${release}${shared_ext}$major'
10730 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10731 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10734 shrext_cmds='.sl'
10735 dynamic_linker="$host_os dld.sl"
10736 shlibpath_var=SHLIB_PATH
10737 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10738 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10739 soname_spec='${libname}${release}${shared_ext}$major'
10741 esac
10742 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10743 postinstall_cmds='chmod 555 $lib'
10744 # or fails outright, so override atomically:
10745 install_override_mode=555
10748 interix[3-9]*)
10749 version_type=linux
10750 need_lib_prefix=no
10751 need_version=no
10752 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10753 soname_spec='${libname}${release}${shared_ext}$major'
10754 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10755 shlibpath_var=LD_LIBRARY_PATH
10756 shlibpath_overrides_runpath=no
10757 hardcode_into_libs=yes
10760 irix5* | irix6* | nonstopux*)
10761 case $host_os in
10762 nonstopux*) version_type=nonstopux ;;
10764 if test "$lt_cv_prog_gnu_ld" = yes; then
10765 version_type=linux
10766 else
10767 version_type=irix
10768 fi ;;
10769 esac
10770 need_lib_prefix=no
10771 need_version=no
10772 soname_spec='${libname}${release}${shared_ext}$major'
10773 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10774 case $host_os in
10775 irix5* | nonstopux*)
10776 libsuff= shlibsuff=
10779 case $LD in # libtool.m4 will add one of these switches to LD
10780 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10781 libsuff= shlibsuff= libmagic=32-bit;;
10782 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10783 libsuff=32 shlibsuff=N32 libmagic=N32;;
10784 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10785 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10786 *) libsuff= shlibsuff= libmagic=never-match;;
10787 esac
10789 esac
10790 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10791 shlibpath_overrides_runpath=no
10792 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10793 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10794 hardcode_into_libs=yes
10797 # No shared lib support for Linux oldld, aout, or coff.
10798 linux*oldld* | linux*aout* | linux*coff*)
10799 dynamic_linker=no
10802 # This must be Linux ELF.
10803 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10804 version_type=linux
10805 need_lib_prefix=no
10806 need_version=no
10807 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10808 soname_spec='${libname}${release}${shared_ext}$major'
10809 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10810 shlibpath_var=LD_LIBRARY_PATH
10811 shlibpath_overrides_runpath=no
10813 # Some binutils ld are patched to set DT_RUNPATH
10814 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10815 $as_echo_n "(cached) " >&6
10816 else
10817 lt_cv_shlibpath_overrides_runpath=no
10818 save_LDFLAGS=$LDFLAGS
10819 save_libdir=$libdir
10820 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10821 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10822 if test x$gcc_no_link = xyes; then
10823 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10826 /* end confdefs.h. */
10829 main ()
10833 return 0;
10835 _ACEOF
10836 if ac_fn_c_try_link "$LINENO"; then :
10837 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10838 lt_cv_shlibpath_overrides_runpath=yes
10841 rm -f core conftest.err conftest.$ac_objext \
10842 conftest$ac_exeext conftest.$ac_ext
10843 LDFLAGS=$save_LDFLAGS
10844 libdir=$save_libdir
10848 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10850 # This implies no fast_install, which is unacceptable.
10851 # Some rework will be needed to allow for fast_install
10852 # before this can be enabled.
10853 hardcode_into_libs=yes
10855 # Append ld.so.conf contents to the search path
10856 if test -f /etc/ld.so.conf; then
10857 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' ' '`
10858 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10861 # We used to test for /lib/ld.so.1 and disable shared libraries on
10862 # powerpc, because MkLinux only supported shared libraries with the
10863 # GNU dynamic linker. Since this was broken with cross compilers,
10864 # most powerpc-linux boxes support dynamic linking these days and
10865 # people can always --disable-shared, the test was removed, and we
10866 # assume the GNU/Linux dynamic linker is in use.
10867 dynamic_linker='GNU/Linux ld.so'
10870 netbsd*)
10871 version_type=sunos
10872 need_lib_prefix=no
10873 need_version=no
10874 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10875 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10876 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10877 dynamic_linker='NetBSD (a.out) ld.so'
10878 else
10879 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10880 soname_spec='${libname}${release}${shared_ext}$major'
10881 dynamic_linker='NetBSD ld.elf_so'
10883 shlibpath_var=LD_LIBRARY_PATH
10884 shlibpath_overrides_runpath=yes
10885 hardcode_into_libs=yes
10888 newsos6)
10889 version_type=linux
10890 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10891 shlibpath_var=LD_LIBRARY_PATH
10892 shlibpath_overrides_runpath=yes
10895 *nto* | *qnx*)
10896 version_type=qnx
10897 need_lib_prefix=no
10898 need_version=no
10899 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10900 soname_spec='${libname}${release}${shared_ext}$major'
10901 shlibpath_var=LD_LIBRARY_PATH
10902 shlibpath_overrides_runpath=no
10903 hardcode_into_libs=yes
10904 dynamic_linker='ldqnx.so'
10907 openbsd*)
10908 version_type=sunos
10909 sys_lib_dlsearch_path_spec="/usr/lib"
10910 need_lib_prefix=no
10911 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10912 case $host_os in
10913 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10914 *) need_version=no ;;
10915 esac
10916 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10917 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10918 shlibpath_var=LD_LIBRARY_PATH
10919 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10920 case $host_os in
10921 openbsd2.[89] | openbsd2.[89].*)
10922 shlibpath_overrides_runpath=no
10925 shlibpath_overrides_runpath=yes
10927 esac
10928 else
10929 shlibpath_overrides_runpath=yes
10933 os2*)
10934 libname_spec='$name'
10935 shrext_cmds=".dll"
10936 need_lib_prefix=no
10937 library_names_spec='$libname${shared_ext} $libname.a'
10938 dynamic_linker='OS/2 ld.exe'
10939 shlibpath_var=LIBPATH
10942 osf3* | osf4* | osf5*)
10943 version_type=osf
10944 need_lib_prefix=no
10945 need_version=no
10946 soname_spec='${libname}${release}${shared_ext}$major'
10947 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10948 shlibpath_var=LD_LIBRARY_PATH
10949 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10950 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10953 rdos*)
10954 dynamic_linker=no
10957 solaris*)
10958 version_type=linux
10959 need_lib_prefix=no
10960 need_version=no
10961 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10962 soname_spec='${libname}${release}${shared_ext}$major'
10963 shlibpath_var=LD_LIBRARY_PATH
10964 shlibpath_overrides_runpath=yes
10965 hardcode_into_libs=yes
10966 # ldd complains unless libraries are executable
10967 postinstall_cmds='chmod +x $lib'
10970 sunos4*)
10971 version_type=sunos
10972 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10973 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10974 shlibpath_var=LD_LIBRARY_PATH
10975 shlibpath_overrides_runpath=yes
10976 if test "$with_gnu_ld" = yes; then
10977 need_lib_prefix=no
10979 need_version=yes
10982 sysv4 | sysv4.3*)
10983 version_type=linux
10984 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10985 soname_spec='${libname}${release}${shared_ext}$major'
10986 shlibpath_var=LD_LIBRARY_PATH
10987 case $host_vendor in
10988 sni)
10989 shlibpath_overrides_runpath=no
10990 need_lib_prefix=no
10991 runpath_var=LD_RUN_PATH
10993 siemens)
10994 need_lib_prefix=no
10996 motorola)
10997 need_lib_prefix=no
10998 need_version=no
10999 shlibpath_overrides_runpath=no
11000 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11002 esac
11005 sysv4*MP*)
11006 if test -d /usr/nec ;then
11007 version_type=linux
11008 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11009 soname_spec='$libname${shared_ext}.$major'
11010 shlibpath_var=LD_LIBRARY_PATH
11014 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11015 version_type=freebsd-elf
11016 need_lib_prefix=no
11017 need_version=no
11018 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11019 soname_spec='${libname}${release}${shared_ext}$major'
11020 shlibpath_var=LD_LIBRARY_PATH
11021 shlibpath_overrides_runpath=yes
11022 hardcode_into_libs=yes
11023 if test "$with_gnu_ld" = yes; then
11024 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11025 else
11026 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11027 case $host_os in
11028 sco3.2v5*)
11029 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11031 esac
11033 sys_lib_dlsearch_path_spec='/usr/lib'
11036 tpf*)
11037 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11038 version_type=linux
11039 need_lib_prefix=no
11040 need_version=no
11041 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11042 shlibpath_var=LD_LIBRARY_PATH
11043 shlibpath_overrides_runpath=no
11044 hardcode_into_libs=yes
11047 uts4*)
11048 version_type=linux
11049 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11050 soname_spec='${libname}${release}${shared_ext}$major'
11051 shlibpath_var=LD_LIBRARY_PATH
11055 dynamic_linker=no
11057 esac
11058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11059 $as_echo "$dynamic_linker" >&6; }
11060 test "$dynamic_linker" = no && can_build_shared=no
11062 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11063 if test "$GCC" = yes; then
11064 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11067 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11068 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11070 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11071 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11166 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11167 hardcode_action=
11168 if test -n "$hardcode_libdir_flag_spec" ||
11169 test -n "$runpath_var" ||
11170 test "X$hardcode_automatic" = "Xyes" ; then
11172 # We can hardcode non-existent directories.
11173 if test "$hardcode_direct" != no &&
11174 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11175 # have to relink, otherwise we might link with an installed library
11176 # when we should be linking with a yet-to-be-installed one
11177 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11178 test "$hardcode_minus_L" != no; then
11179 # Linking always hardcodes the temporary library directory.
11180 hardcode_action=relink
11181 else
11182 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11183 hardcode_action=immediate
11185 else
11186 # We cannot hardcode anything, or else we can only hardcode existing
11187 # directories.
11188 hardcode_action=unsupported
11190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11191 $as_echo "$hardcode_action" >&6; }
11193 if test "$hardcode_action" = relink ||
11194 test "$inherit_rpath" = yes; then
11195 # Fast installation is not supported
11196 enable_fast_install=no
11197 elif test "$shlibpath_overrides_runpath" = yes ||
11198 test "$enable_shared" = no; then
11199 # Fast installation is not necessary
11200 enable_fast_install=needless
11208 if test "x$enable_dlopen" != xyes; then
11209 enable_dlopen=unknown
11210 enable_dlopen_self=unknown
11211 enable_dlopen_self_static=unknown
11212 else
11213 lt_cv_dlopen=no
11214 lt_cv_dlopen_libs=
11216 case $host_os in
11217 beos*)
11218 lt_cv_dlopen="load_add_on"
11219 lt_cv_dlopen_libs=
11220 lt_cv_dlopen_self=yes
11223 mingw* | pw32* | cegcc*)
11224 lt_cv_dlopen="LoadLibrary"
11225 lt_cv_dlopen_libs=
11228 cygwin*)
11229 lt_cv_dlopen="dlopen"
11230 lt_cv_dlopen_libs=
11233 darwin*)
11234 # if libdl is installed we need to link against it
11235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11236 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11237 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11238 $as_echo_n "(cached) " >&6
11239 else
11240 ac_check_lib_save_LIBS=$LIBS
11241 LIBS="-ldl $LIBS"
11242 if test x$gcc_no_link = xyes; then
11243 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11246 /* end confdefs.h. */
11248 /* Override any GCC internal prototype to avoid an error.
11249 Use char because int might match the return type of a GCC
11250 builtin and then its argument prototype would still apply. */
11251 #ifdef __cplusplus
11252 extern "C"
11253 #endif
11254 char dlopen ();
11256 main ()
11258 return dlopen ();
11260 return 0;
11262 _ACEOF
11263 if ac_fn_c_try_link "$LINENO"; then :
11264 ac_cv_lib_dl_dlopen=yes
11265 else
11266 ac_cv_lib_dl_dlopen=no
11268 rm -f core conftest.err conftest.$ac_objext \
11269 conftest$ac_exeext conftest.$ac_ext
11270 LIBS=$ac_check_lib_save_LIBS
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11273 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11274 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11275 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11276 else
11278 lt_cv_dlopen="dyld"
11279 lt_cv_dlopen_libs=
11280 lt_cv_dlopen_self=yes
11287 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11288 if test "x$ac_cv_func_shl_load" = x""yes; then :
11289 lt_cv_dlopen="shl_load"
11290 else
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11292 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11293 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11294 $as_echo_n "(cached) " >&6
11295 else
11296 ac_check_lib_save_LIBS=$LIBS
11297 LIBS="-ldld $LIBS"
11298 if test x$gcc_no_link = xyes; then
11299 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11302 /* end confdefs.h. */
11304 /* Override any GCC internal prototype to avoid an error.
11305 Use char because int might match the return type of a GCC
11306 builtin and then its argument prototype would still apply. */
11307 #ifdef __cplusplus
11308 extern "C"
11309 #endif
11310 char shl_load ();
11312 main ()
11314 return shl_load ();
11316 return 0;
11318 _ACEOF
11319 if ac_fn_c_try_link "$LINENO"; then :
11320 ac_cv_lib_dld_shl_load=yes
11321 else
11322 ac_cv_lib_dld_shl_load=no
11324 rm -f core conftest.err conftest.$ac_objext \
11325 conftest$ac_exeext conftest.$ac_ext
11326 LIBS=$ac_check_lib_save_LIBS
11328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11329 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11330 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11331 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11332 else
11333 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11334 if test "x$ac_cv_func_dlopen" = x""yes; then :
11335 lt_cv_dlopen="dlopen"
11336 else
11337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11338 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11339 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11340 $as_echo_n "(cached) " >&6
11341 else
11342 ac_check_lib_save_LIBS=$LIBS
11343 LIBS="-ldl $LIBS"
11344 if test x$gcc_no_link = xyes; then
11345 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11348 /* end confdefs.h. */
11350 /* Override any GCC internal prototype to avoid an error.
11351 Use char because int might match the return type of a GCC
11352 builtin and then its argument prototype would still apply. */
11353 #ifdef __cplusplus
11354 extern "C"
11355 #endif
11356 char dlopen ();
11358 main ()
11360 return dlopen ();
11362 return 0;
11364 _ACEOF
11365 if ac_fn_c_try_link "$LINENO"; then :
11366 ac_cv_lib_dl_dlopen=yes
11367 else
11368 ac_cv_lib_dl_dlopen=no
11370 rm -f core conftest.err conftest.$ac_objext \
11371 conftest$ac_exeext conftest.$ac_ext
11372 LIBS=$ac_check_lib_save_LIBS
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11375 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11376 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11377 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11378 else
11379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11380 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11381 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11382 $as_echo_n "(cached) " >&6
11383 else
11384 ac_check_lib_save_LIBS=$LIBS
11385 LIBS="-lsvld $LIBS"
11386 if test x$gcc_no_link = xyes; then
11387 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11390 /* end confdefs.h. */
11392 /* Override any GCC internal prototype to avoid an error.
11393 Use char because int might match the return type of a GCC
11394 builtin and then its argument prototype would still apply. */
11395 #ifdef __cplusplus
11396 extern "C"
11397 #endif
11398 char dlopen ();
11400 main ()
11402 return dlopen ();
11404 return 0;
11406 _ACEOF
11407 if ac_fn_c_try_link "$LINENO"; then :
11408 ac_cv_lib_svld_dlopen=yes
11409 else
11410 ac_cv_lib_svld_dlopen=no
11412 rm -f core conftest.err conftest.$ac_objext \
11413 conftest$ac_exeext conftest.$ac_ext
11414 LIBS=$ac_check_lib_save_LIBS
11416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11417 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11418 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11419 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11420 else
11421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11422 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11423 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11424 $as_echo_n "(cached) " >&6
11425 else
11426 ac_check_lib_save_LIBS=$LIBS
11427 LIBS="-ldld $LIBS"
11428 if test x$gcc_no_link = xyes; then
11429 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11432 /* end confdefs.h. */
11434 /* Override any GCC internal prototype to avoid an error.
11435 Use char because int might match the return type of a GCC
11436 builtin and then its argument prototype would still apply. */
11437 #ifdef __cplusplus
11438 extern "C"
11439 #endif
11440 char dld_link ();
11442 main ()
11444 return dld_link ();
11446 return 0;
11448 _ACEOF
11449 if ac_fn_c_try_link "$LINENO"; then :
11450 ac_cv_lib_dld_dld_link=yes
11451 else
11452 ac_cv_lib_dld_dld_link=no
11454 rm -f core conftest.err conftest.$ac_objext \
11455 conftest$ac_exeext conftest.$ac_ext
11456 LIBS=$ac_check_lib_save_LIBS
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11459 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11460 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11461 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11480 esac
11482 if test "x$lt_cv_dlopen" != xno; then
11483 enable_dlopen=yes
11484 else
11485 enable_dlopen=no
11488 case $lt_cv_dlopen in
11489 dlopen)
11490 save_CPPFLAGS="$CPPFLAGS"
11491 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11493 save_LDFLAGS="$LDFLAGS"
11494 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11496 save_LIBS="$LIBS"
11497 LIBS="$lt_cv_dlopen_libs $LIBS"
11499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11500 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11501 if test "${lt_cv_dlopen_self+set}" = set; then :
11502 $as_echo_n "(cached) " >&6
11503 else
11504 if test "$cross_compiling" = yes; then :
11505 lt_cv_dlopen_self=cross
11506 else
11507 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11508 lt_status=$lt_dlunknown
11509 cat > conftest.$ac_ext <<_LT_EOF
11510 #line 11510 "configure"
11511 #include "confdefs.h"
11513 #if HAVE_DLFCN_H
11514 #include <dlfcn.h>
11515 #endif
11517 #include <stdio.h>
11519 #ifdef RTLD_GLOBAL
11520 # define LT_DLGLOBAL RTLD_GLOBAL
11521 #else
11522 # ifdef DL_GLOBAL
11523 # define LT_DLGLOBAL DL_GLOBAL
11524 # else
11525 # define LT_DLGLOBAL 0
11526 # endif
11527 #endif
11529 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11530 find out it does not work in some platform. */
11531 #ifndef LT_DLLAZY_OR_NOW
11532 # ifdef RTLD_LAZY
11533 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11534 # else
11535 # ifdef DL_LAZY
11536 # define LT_DLLAZY_OR_NOW DL_LAZY
11537 # else
11538 # ifdef RTLD_NOW
11539 # define LT_DLLAZY_OR_NOW RTLD_NOW
11540 # else
11541 # ifdef DL_NOW
11542 # define LT_DLLAZY_OR_NOW DL_NOW
11543 # else
11544 # define LT_DLLAZY_OR_NOW 0
11545 # endif
11546 # endif
11547 # endif
11548 # endif
11549 #endif
11551 /* When -fvisbility=hidden is used, assume the code has been annotated
11552 correspondingly for the symbols needed. */
11553 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11554 void fnord () __attribute__((visibility("default")));
11555 #endif
11557 void fnord () { int i=42; }
11558 int main ()
11560 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11561 int status = $lt_dlunknown;
11563 if (self)
11565 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11566 else
11568 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11569 else puts (dlerror ());
11571 /* dlclose (self); */
11573 else
11574 puts (dlerror ());
11576 return status;
11578 _LT_EOF
11579 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11580 (eval $ac_link) 2>&5
11581 ac_status=$?
11582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11583 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11584 (./conftest; exit; ) >&5 2>/dev/null
11585 lt_status=$?
11586 case x$lt_status in
11587 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11588 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11589 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11590 esac
11591 else :
11592 # compilation failed
11593 lt_cv_dlopen_self=no
11596 rm -fr conftest*
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11601 $as_echo "$lt_cv_dlopen_self" >&6; }
11603 if test "x$lt_cv_dlopen_self" = xyes; then
11604 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11606 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11607 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11608 $as_echo_n "(cached) " >&6
11609 else
11610 if test "$cross_compiling" = yes; then :
11611 lt_cv_dlopen_self_static=cross
11612 else
11613 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11614 lt_status=$lt_dlunknown
11615 cat > conftest.$ac_ext <<_LT_EOF
11616 #line 11616 "configure"
11617 #include "confdefs.h"
11619 #if HAVE_DLFCN_H
11620 #include <dlfcn.h>
11621 #endif
11623 #include <stdio.h>
11625 #ifdef RTLD_GLOBAL
11626 # define LT_DLGLOBAL RTLD_GLOBAL
11627 #else
11628 # ifdef DL_GLOBAL
11629 # define LT_DLGLOBAL DL_GLOBAL
11630 # else
11631 # define LT_DLGLOBAL 0
11632 # endif
11633 #endif
11635 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11636 find out it does not work in some platform. */
11637 #ifndef LT_DLLAZY_OR_NOW
11638 # ifdef RTLD_LAZY
11639 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11640 # else
11641 # ifdef DL_LAZY
11642 # define LT_DLLAZY_OR_NOW DL_LAZY
11643 # else
11644 # ifdef RTLD_NOW
11645 # define LT_DLLAZY_OR_NOW RTLD_NOW
11646 # else
11647 # ifdef DL_NOW
11648 # define LT_DLLAZY_OR_NOW DL_NOW
11649 # else
11650 # define LT_DLLAZY_OR_NOW 0
11651 # endif
11652 # endif
11653 # endif
11654 # endif
11655 #endif
11657 /* When -fvisbility=hidden is used, assume the code has been annotated
11658 correspondingly for the symbols needed. */
11659 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11660 void fnord () __attribute__((visibility("default")));
11661 #endif
11663 void fnord () { int i=42; }
11664 int main ()
11666 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11667 int status = $lt_dlunknown;
11669 if (self)
11671 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11672 else
11674 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11675 else puts (dlerror ());
11677 /* dlclose (self); */
11679 else
11680 puts (dlerror ());
11682 return status;
11684 _LT_EOF
11685 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11686 (eval $ac_link) 2>&5
11687 ac_status=$?
11688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11689 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11690 (./conftest; exit; ) >&5 2>/dev/null
11691 lt_status=$?
11692 case x$lt_status in
11693 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11694 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11695 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11696 esac
11697 else :
11698 # compilation failed
11699 lt_cv_dlopen_self_static=no
11702 rm -fr conftest*
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11707 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11710 CPPFLAGS="$save_CPPFLAGS"
11711 LDFLAGS="$save_LDFLAGS"
11712 LIBS="$save_LIBS"
11714 esac
11716 case $lt_cv_dlopen_self in
11717 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11718 *) enable_dlopen_self=unknown ;;
11719 esac
11721 case $lt_cv_dlopen_self_static in
11722 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11723 *) enable_dlopen_self_static=unknown ;;
11724 esac
11743 striplib=
11744 old_striplib=
11745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11746 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11747 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11748 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11749 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11751 $as_echo "yes" >&6; }
11752 else
11753 # FIXME - insert some real tests, host_os isn't really good enough
11754 case $host_os in
11755 darwin*)
11756 if test -n "$STRIP" ; then
11757 striplib="$STRIP -x"
11758 old_striplib="$STRIP -S"
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11760 $as_echo "yes" >&6; }
11761 else
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11763 $as_echo "no" >&6; }
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11768 $as_echo "no" >&6; }
11770 esac
11784 # Report which library types will actually be built
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11786 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11788 $as_echo "$can_build_shared" >&6; }
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11791 $as_echo_n "checking whether to build shared libraries... " >&6; }
11792 test "$can_build_shared" = "no" && enable_shared=no
11794 # On AIX, shared libraries and static libraries use the same namespace, and
11795 # are all built from PIC.
11796 case $host_os in
11797 aix3*)
11798 test "$enable_shared" = yes && enable_static=no
11799 if test -n "$RANLIB"; then
11800 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11801 postinstall_cmds='$RANLIB $lib'
11805 aix[4-9]*)
11806 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11807 test "$enable_shared" = yes && enable_static=no
11810 esac
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11812 $as_echo "$enable_shared" >&6; }
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11815 $as_echo_n "checking whether to build static libraries... " >&6; }
11816 # Make sure either enable_shared or enable_static is yes.
11817 test "$enable_shared" = yes || enable_static=yes
11818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11819 $as_echo "$enable_static" >&6; }
11825 ac_ext=c
11826 ac_cpp='$CPP $CPPFLAGS'
11827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11831 CC="$lt_save_CC"
11833 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11834 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11835 (test "X$CXX" != "Xg++"))) ; then
11836 ac_ext=cpp
11837 ac_cpp='$CXXCPP $CPPFLAGS'
11838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11842 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11843 if test -z "$CXXCPP"; then
11844 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11845 $as_echo_n "(cached) " >&6
11846 else
11847 # Double quotes because CXXCPP needs to be expanded
11848 for CXXCPP in "$CXX -E" "/lib/cpp"
11850 ac_preproc_ok=false
11851 for ac_cxx_preproc_warn_flag in '' yes
11853 # Use a header file that comes with gcc, so configuring glibc
11854 # with a fresh cross-compiler works.
11855 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11856 # <limits.h> exists even on freestanding compilers.
11857 # On the NeXT, cc -E runs the code through the compiler's parser,
11858 # not just through cpp. "Syntax error" is here to catch this case.
11859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11860 /* end confdefs.h. */
11861 #ifdef __STDC__
11862 # include <limits.h>
11863 #else
11864 # include <assert.h>
11865 #endif
11866 Syntax error
11867 _ACEOF
11868 if ac_fn_cxx_try_cpp "$LINENO"; then :
11870 else
11871 # Broken: fails on valid input.
11872 continue
11874 rm -f conftest.err conftest.$ac_ext
11876 # OK, works on sane cases. Now check whether nonexistent headers
11877 # can be detected and how.
11878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11879 /* end confdefs.h. */
11880 #include <ac_nonexistent.h>
11881 _ACEOF
11882 if ac_fn_cxx_try_cpp "$LINENO"; then :
11883 # Broken: success on invalid input.
11884 continue
11885 else
11886 # Passes both tests.
11887 ac_preproc_ok=:
11888 break
11890 rm -f conftest.err conftest.$ac_ext
11892 done
11893 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11894 rm -f conftest.err conftest.$ac_ext
11895 if $ac_preproc_ok; then :
11896 break
11899 done
11900 ac_cv_prog_CXXCPP=$CXXCPP
11903 CXXCPP=$ac_cv_prog_CXXCPP
11904 else
11905 ac_cv_prog_CXXCPP=$CXXCPP
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11908 $as_echo "$CXXCPP" >&6; }
11909 ac_preproc_ok=false
11910 for ac_cxx_preproc_warn_flag in '' yes
11912 # Use a header file that comes with gcc, so configuring glibc
11913 # with a fresh cross-compiler works.
11914 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11915 # <limits.h> exists even on freestanding compilers.
11916 # On the NeXT, cc -E runs the code through the compiler's parser,
11917 # not just through cpp. "Syntax error" is here to catch this case.
11918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11919 /* end confdefs.h. */
11920 #ifdef __STDC__
11921 # include <limits.h>
11922 #else
11923 # include <assert.h>
11924 #endif
11925 Syntax error
11926 _ACEOF
11927 if ac_fn_cxx_try_cpp "$LINENO"; then :
11929 else
11930 # Broken: fails on valid input.
11931 continue
11933 rm -f conftest.err conftest.$ac_ext
11935 # OK, works on sane cases. Now check whether nonexistent headers
11936 # can be detected and how.
11937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11938 /* end confdefs.h. */
11939 #include <ac_nonexistent.h>
11940 _ACEOF
11941 if ac_fn_cxx_try_cpp "$LINENO"; then :
11942 # Broken: success on invalid input.
11943 continue
11944 else
11945 # Passes both tests.
11946 ac_preproc_ok=:
11947 break
11949 rm -f conftest.err conftest.$ac_ext
11951 done
11952 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11953 rm -f conftest.err conftest.$ac_ext
11954 if $ac_preproc_ok; then :
11956 else
11957 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11958 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11959 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11960 See \`config.log' for more details." "$LINENO" 5; }
11963 ac_ext=c
11964 ac_cpp='$CPP $CPPFLAGS'
11965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11969 else
11970 _lt_caught_CXX_error=yes
11973 ac_ext=cpp
11974 ac_cpp='$CXXCPP $CPPFLAGS'
11975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11979 archive_cmds_need_lc_CXX=no
11980 allow_undefined_flag_CXX=
11981 always_export_symbols_CXX=no
11982 archive_expsym_cmds_CXX=
11983 compiler_needs_object_CXX=no
11984 export_dynamic_flag_spec_CXX=
11985 hardcode_direct_CXX=no
11986 hardcode_direct_absolute_CXX=no
11987 hardcode_libdir_flag_spec_CXX=
11988 hardcode_libdir_flag_spec_ld_CXX=
11989 hardcode_libdir_separator_CXX=
11990 hardcode_minus_L_CXX=no
11991 hardcode_shlibpath_var_CXX=unsupported
11992 hardcode_automatic_CXX=no
11993 inherit_rpath_CXX=no
11994 module_cmds_CXX=
11995 module_expsym_cmds_CXX=
11996 link_all_deplibs_CXX=unknown
11997 old_archive_cmds_CXX=$old_archive_cmds
11998 reload_flag_CXX=$reload_flag
11999 reload_cmds_CXX=$reload_cmds
12000 no_undefined_flag_CXX=
12001 whole_archive_flag_spec_CXX=
12002 enable_shared_with_static_runtimes_CXX=no
12004 # Source file extension for C++ test sources.
12005 ac_ext=cpp
12007 # Object file extension for compiled C++ test sources.
12008 objext=o
12009 objext_CXX=$objext
12011 # No sense in running all these tests if we already determined that
12012 # the CXX compiler isn't working. Some variables (like enable_shared)
12013 # are currently assumed to apply to all compilers on this platform,
12014 # and will be corrupted by setting them based on a non-working compiler.
12015 if test "$_lt_caught_CXX_error" != yes; then
12016 # Code to be used in simple compile tests
12017 lt_simple_compile_test_code="int some_variable = 0;"
12019 # Code to be used in simple link tests
12020 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12022 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12029 # If no C compiler was specified, use CC.
12030 LTCC=${LTCC-"$CC"}
12032 # If no C compiler flags were specified, use CFLAGS.
12033 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12035 # Allow CC to be a program name with arguments.
12036 compiler=$CC
12039 # save warnings/boilerplate of simple test code
12040 ac_outfile=conftest.$ac_objext
12041 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12042 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12043 _lt_compiler_boilerplate=`cat conftest.err`
12044 $RM conftest*
12046 ac_outfile=conftest.$ac_objext
12047 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12048 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12049 _lt_linker_boilerplate=`cat conftest.err`
12050 $RM -r conftest*
12053 # Allow CC to be a program name with arguments.
12054 lt_save_CC=$CC
12055 lt_save_LD=$LD
12056 lt_save_GCC=$GCC
12057 GCC=$GXX
12058 lt_save_with_gnu_ld=$with_gnu_ld
12059 lt_save_path_LD=$lt_cv_path_LD
12060 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12061 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12062 else
12063 $as_unset lt_cv_prog_gnu_ld
12065 if test -n "${lt_cv_path_LDCXX+set}"; then
12066 lt_cv_path_LD=$lt_cv_path_LDCXX
12067 else
12068 $as_unset lt_cv_path_LD
12070 test -z "${LDCXX+set}" || LD=$LDCXX
12071 CC=${CXX-"c++"}
12072 compiler=$CC
12073 compiler_CXX=$CC
12074 for cc_temp in $compiler""; do
12075 case $cc_temp in
12076 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12077 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12078 \-*) ;;
12079 *) break;;
12080 esac
12081 done
12082 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12085 if test -n "$compiler"; then
12086 # We don't want -fno-exception when compiling C++ code, so set the
12087 # no_builtin_flag separately
12088 if test "$GXX" = yes; then
12089 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12090 else
12091 lt_prog_compiler_no_builtin_flag_CXX=
12094 if test "$GXX" = yes; then
12095 # Set up default GNU C++ configuration
12099 # Check whether --with-gnu-ld was given.
12100 if test "${with_gnu_ld+set}" = set; then :
12101 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12102 else
12103 with_gnu_ld=no
12106 ac_prog=ld
12107 if test "$GCC" = yes; then
12108 # Check if gcc -print-prog-name=ld gives a path.
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12110 $as_echo_n "checking for ld used by $CC... " >&6; }
12111 case $host in
12112 *-*-mingw*)
12113 # gcc leaves a trailing carriage return which upsets mingw
12114 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12116 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12117 esac
12118 case $ac_prog in
12119 # Accept absolute paths.
12120 [\\/]* | ?:[\\/]*)
12121 re_direlt='/[^/][^/]*/\.\./'
12122 # Canonicalize the pathname of ld
12123 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12124 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12125 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12126 done
12127 test -z "$LD" && LD="$ac_prog"
12130 # If it fails, then pretend we aren't using GCC.
12131 ac_prog=ld
12134 # If it is relative, then search for the first ld in PATH.
12135 with_gnu_ld=unknown
12137 esac
12138 elif test "$with_gnu_ld" = yes; then
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12140 $as_echo_n "checking for GNU ld... " >&6; }
12141 else
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12143 $as_echo_n "checking for non-GNU ld... " >&6; }
12145 if test "${lt_cv_path_LD+set}" = set; then :
12146 $as_echo_n "(cached) " >&6
12147 else
12148 if test -z "$LD"; then
12149 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12150 for ac_dir in $PATH; do
12151 IFS="$lt_save_ifs"
12152 test -z "$ac_dir" && ac_dir=.
12153 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12154 lt_cv_path_LD="$ac_dir/$ac_prog"
12155 # Check to see if the program is GNU ld. I'd rather use --version,
12156 # but apparently some variants of GNU ld only accept -v.
12157 # Break only if it was the GNU/non-GNU ld that we prefer.
12158 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12159 *GNU* | *'with BFD'*)
12160 test "$with_gnu_ld" != no && break
12163 test "$with_gnu_ld" != yes && break
12165 esac
12167 done
12168 IFS="$lt_save_ifs"
12169 else
12170 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12174 LD="$lt_cv_path_LD"
12175 if test -n "$LD"; then
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12177 $as_echo "$LD" >&6; }
12178 else
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12180 $as_echo "no" >&6; }
12182 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12184 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12185 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12186 $as_echo_n "(cached) " >&6
12187 else
12188 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12189 case `$LD -v 2>&1 </dev/null` in
12190 *GNU* | *'with BFD'*)
12191 lt_cv_prog_gnu_ld=yes
12194 lt_cv_prog_gnu_ld=no
12196 esac
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12199 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12200 with_gnu_ld=$lt_cv_prog_gnu_ld
12208 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12209 # archiving commands below assume that GNU ld is being used.
12210 if test "$with_gnu_ld" = yes; then
12211 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12212 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'
12214 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12215 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12217 # If archive_cmds runs LD, not CC, wlarc should be empty
12218 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12219 # investigate it a little bit more. (MM)
12220 wlarc='${wl}'
12222 # ancient GNU ld didn't support --whole-archive et. al.
12223 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12224 $GREP 'no-whole-archive' > /dev/null; then
12225 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12226 else
12227 whole_archive_flag_spec_CXX=
12229 else
12230 with_gnu_ld=no
12231 wlarc=
12233 # A generic and very simple default shared library creation
12234 # command for GNU C++ for the case where it uses the native
12235 # linker, instead of GNU ld. If possible, this setting should
12236 # overridden to take advantage of the native linker features on
12237 # the platform it is being used on.
12238 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12241 # Commands to make compiler produce verbose output that lists
12242 # what "hidden" libraries, object files and flags are used when
12243 # linking a shared library.
12244 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12246 else
12247 GXX=no
12248 with_gnu_ld=no
12249 wlarc=
12252 # PORTME: fill in a description of your system's C++ link characteristics
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12254 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12255 ld_shlibs_CXX=yes
12256 case $host_os in
12257 aix3*)
12258 # FIXME: insert proper C++ library support
12259 ld_shlibs_CXX=no
12261 aix[4-9]*)
12262 if test "$host_cpu" = ia64; then
12263 # On IA64, the linker does run time linking by default, so we don't
12264 # have to do anything special.
12265 aix_use_runtimelinking=no
12266 exp_sym_flag='-Bexport'
12267 no_entry_flag=""
12268 else
12269 aix_use_runtimelinking=no
12271 # Test if we are trying to use run time linking or normal
12272 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12273 # need to do runtime linking.
12274 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12275 for ld_flag in $LDFLAGS; do
12276 case $ld_flag in
12277 *-brtl*)
12278 aix_use_runtimelinking=yes
12279 break
12281 esac
12282 done
12284 esac
12286 exp_sym_flag='-bexport'
12287 no_entry_flag='-bnoentry'
12290 # When large executables or shared objects are built, AIX ld can
12291 # have problems creating the table of contents. If linking a library
12292 # or program results in "error TOC overflow" add -mminimal-toc to
12293 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12294 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12296 archive_cmds_CXX=''
12297 hardcode_direct_CXX=yes
12298 hardcode_direct_absolute_CXX=yes
12299 hardcode_libdir_separator_CXX=':'
12300 link_all_deplibs_CXX=yes
12301 file_list_spec_CXX='${wl}-f,'
12303 if test "$GXX" = yes; then
12304 case $host_os in aix4.[012]|aix4.[012].*)
12305 # We only want to do this on AIX 4.2 and lower, the check
12306 # below for broken collect2 doesn't work under 4.3+
12307 collect2name=`${CC} -print-prog-name=collect2`
12308 if test -f "$collect2name" &&
12309 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12310 then
12311 # We have reworked collect2
12313 else
12314 # We have old collect2
12315 hardcode_direct_CXX=unsupported
12316 # It fails to find uninstalled libraries when the uninstalled
12317 # path is not listed in the libpath. Setting hardcode_minus_L
12318 # to unsupported forces relinking
12319 hardcode_minus_L_CXX=yes
12320 hardcode_libdir_flag_spec_CXX='-L$libdir'
12321 hardcode_libdir_separator_CXX=
12323 esac
12324 shared_flag='-shared'
12325 if test "$aix_use_runtimelinking" = yes; then
12326 shared_flag="$shared_flag "'${wl}-G'
12328 else
12329 # not using gcc
12330 if test "$host_cpu" = ia64; then
12331 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12332 # chokes on -Wl,-G. The following line is correct:
12333 shared_flag='-G'
12334 else
12335 if test "$aix_use_runtimelinking" = yes; then
12336 shared_flag='${wl}-G'
12337 else
12338 shared_flag='${wl}-bM:SRE'
12343 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12344 # It seems that -bexpall does not export symbols beginning with
12345 # underscore (_), so it is better to generate a list of symbols to
12346 # export.
12347 always_export_symbols_CXX=yes
12348 if test "$aix_use_runtimelinking" = yes; then
12349 # Warning - without using the other runtime loading flags (-brtl),
12350 # -berok will link without error, but may produce a broken library.
12351 allow_undefined_flag_CXX='-berok'
12352 # Determine the default libpath from the value encoded in an empty
12353 # executable.
12354 if test x$gcc_no_link = xyes; then
12355 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12358 /* end confdefs.h. */
12361 main ()
12365 return 0;
12367 _ACEOF
12368 if ac_fn_cxx_try_link "$LINENO"; then :
12370 lt_aix_libpath_sed='
12371 /Import File Strings/,/^$/ {
12372 /^0/ {
12373 s/^0 *\(.*\)$/\1/
12377 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12378 # Check for a 64-bit object if we didn't find anything.
12379 if test -z "$aix_libpath"; then
12380 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12383 rm -f core conftest.err conftest.$ac_objext \
12384 conftest$ac_exeext conftest.$ac_ext
12385 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12387 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12389 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"
12390 else
12391 if test "$host_cpu" = ia64; then
12392 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12393 allow_undefined_flag_CXX="-z nodefs"
12394 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"
12395 else
12396 # Determine the default libpath from the value encoded in an
12397 # empty executable.
12398 if test x$gcc_no_link = xyes; then
12399 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12402 /* end confdefs.h. */
12405 main ()
12409 return 0;
12411 _ACEOF
12412 if ac_fn_cxx_try_link "$LINENO"; then :
12414 lt_aix_libpath_sed='
12415 /Import File Strings/,/^$/ {
12416 /^0/ {
12417 s/^0 *\(.*\)$/\1/
12421 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12422 # Check for a 64-bit object if we didn't find anything.
12423 if test -z "$aix_libpath"; then
12424 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12427 rm -f core conftest.err conftest.$ac_objext \
12428 conftest$ac_exeext conftest.$ac_ext
12429 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12431 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12432 # Warning - without using the other run time loading flags,
12433 # -berok will link without error, but may produce a broken library.
12434 no_undefined_flag_CXX=' ${wl}-bernotok'
12435 allow_undefined_flag_CXX=' ${wl}-berok'
12436 if test "$with_gnu_ld" = yes; then
12437 # We only use this code for GNU lds that support --whole-archive.
12438 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12439 else
12440 # Exported symbols can be pulled into shared objects from archives
12441 whole_archive_flag_spec_CXX='$convenience'
12443 archive_cmds_need_lc_CXX=yes
12444 # This is similar to how AIX traditionally builds its shared
12445 # libraries.
12446 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'
12451 beos*)
12452 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12453 allow_undefined_flag_CXX=unsupported
12454 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12455 # support --undefined. This deserves some investigation. FIXME
12456 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12457 else
12458 ld_shlibs_CXX=no
12462 chorus*)
12463 case $cc_basename in
12465 # FIXME: insert proper C++ library support
12466 ld_shlibs_CXX=no
12468 esac
12471 cygwin* | mingw* | pw32* | cegcc*)
12472 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12473 # as there is no search path for DLLs.
12474 hardcode_libdir_flag_spec_CXX='-L$libdir'
12475 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12476 allow_undefined_flag_CXX=unsupported
12477 always_export_symbols_CXX=no
12478 enable_shared_with_static_runtimes_CXX=yes
12480 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12481 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'
12482 # If the export-symbols file already is a .def file (1st line
12483 # is EXPORTS), use it as is; otherwise, prepend...
12484 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12485 cp $export_symbols $output_objdir/$soname.def;
12486 else
12487 echo EXPORTS > $output_objdir/$soname.def;
12488 cat $export_symbols >> $output_objdir/$soname.def;
12490 $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'
12491 else
12492 ld_shlibs_CXX=no
12495 darwin* | rhapsody*)
12498 archive_cmds_need_lc_CXX=no
12499 hardcode_direct_CXX=no
12500 hardcode_automatic_CXX=yes
12501 hardcode_shlibpath_var_CXX=unsupported
12502 if test "$lt_cv_ld_force_load" = "yes"; then
12503 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\"`'
12504 else
12505 whole_archive_flag_spec_CXX=''
12507 link_all_deplibs_CXX=yes
12508 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12509 case $cc_basename in
12510 ifort*) _lt_dar_can_shared=yes ;;
12511 *) _lt_dar_can_shared=$GCC ;;
12512 esac
12513 if test "$_lt_dar_can_shared" = "yes"; then
12514 output_verbose_link_cmd=func_echo_all
12515 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}"
12516 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12517 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}"
12518 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}"
12519 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12520 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}"
12521 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}"
12524 else
12525 ld_shlibs_CXX=no
12530 dgux*)
12531 case $cc_basename in
12532 ec++*)
12533 # FIXME: insert proper C++ library support
12534 ld_shlibs_CXX=no
12536 ghcx*)
12537 # Green Hills C++ Compiler
12538 # FIXME: insert proper C++ library support
12539 ld_shlibs_CXX=no
12542 # FIXME: insert proper C++ library support
12543 ld_shlibs_CXX=no
12545 esac
12548 freebsd2.*)
12549 # C++ shared libraries reported to be fairly broken before
12550 # switch to ELF
12551 ld_shlibs_CXX=no
12554 freebsd-elf*)
12555 archive_cmds_need_lc_CXX=no
12558 freebsd* | dragonfly*)
12559 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12560 # conventions
12561 ld_shlibs_CXX=yes
12564 gnu*)
12567 haiku*)
12568 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12569 link_all_deplibs_CXX=yes
12572 hpux9*)
12573 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12574 hardcode_libdir_separator_CXX=:
12575 export_dynamic_flag_spec_CXX='${wl}-E'
12576 hardcode_direct_CXX=yes
12577 hardcode_minus_L_CXX=yes # Not in the search PATH,
12578 # but as the default
12579 # location of the library.
12581 case $cc_basename in
12582 CC*)
12583 # FIXME: insert proper C++ library support
12584 ld_shlibs_CXX=no
12586 aCC*)
12587 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'
12588 # Commands to make compiler produce verbose output that lists
12589 # what "hidden" libraries, object files and flags are used when
12590 # linking a shared library.
12592 # There doesn't appear to be a way to prevent this compiler from
12593 # explicitly linking system object files so we need to strip them
12594 # from the output so that they don't get included in the library
12595 # dependencies.
12596 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"'
12599 if test "$GXX" = yes; then
12600 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'
12601 else
12602 # FIXME: insert proper C++ library support
12603 ld_shlibs_CXX=no
12606 esac
12609 hpux10*|hpux11*)
12610 if test $with_gnu_ld = no; then
12611 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12612 hardcode_libdir_separator_CXX=:
12614 case $host_cpu in
12615 hppa*64*|ia64*)
12618 export_dynamic_flag_spec_CXX='${wl}-E'
12620 esac
12622 case $host_cpu in
12623 hppa*64*|ia64*)
12624 hardcode_direct_CXX=no
12625 hardcode_shlibpath_var_CXX=no
12628 hardcode_direct_CXX=yes
12629 hardcode_direct_absolute_CXX=yes
12630 hardcode_minus_L_CXX=yes # Not in the search PATH,
12631 # but as the default
12632 # location of the library.
12634 esac
12636 case $cc_basename in
12637 CC*)
12638 # FIXME: insert proper C++ library support
12639 ld_shlibs_CXX=no
12641 aCC*)
12642 case $host_cpu in
12643 hppa*64*)
12644 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12646 ia64*)
12647 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12650 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12652 esac
12653 # Commands to make compiler produce verbose output that lists
12654 # what "hidden" libraries, object files and flags are used when
12655 # linking a shared library.
12657 # There doesn't appear to be a way to prevent this compiler from
12658 # explicitly linking system object files so we need to strip them
12659 # from the output so that they don't get included in the library
12660 # dependencies.
12661 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"'
12664 if test "$GXX" = yes; then
12665 if test $with_gnu_ld = no; then
12666 case $host_cpu in
12667 hppa*64*)
12668 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12670 ia64*)
12671 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12674 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'
12676 esac
12678 else
12679 # FIXME: insert proper C++ library support
12680 ld_shlibs_CXX=no
12683 esac
12686 interix[3-9]*)
12687 hardcode_direct_CXX=no
12688 hardcode_shlibpath_var_CXX=no
12689 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12690 export_dynamic_flag_spec_CXX='${wl}-E'
12691 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12692 # Instead, shared libraries are loaded at an image base (0x10000000 by
12693 # default) and relocated if they conflict, which is a slow very memory
12694 # consuming and fragmenting process. To avoid this, we pick a random,
12695 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12696 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12697 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'
12698 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'
12700 irix5* | irix6*)
12701 case $cc_basename in
12702 CC*)
12703 # SGI C++
12704 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'
12706 # Archives containing C++ object files must be created using
12707 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12708 # necessary to make sure instantiated templates are included
12709 # in the archive.
12710 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12713 if test "$GXX" = yes; then
12714 if test "$with_gnu_ld" = no; then
12715 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'
12716 else
12717 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'
12720 link_all_deplibs_CXX=yes
12722 esac
12723 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12724 hardcode_libdir_separator_CXX=:
12725 inherit_rpath_CXX=yes
12728 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12729 case $cc_basename in
12730 KCC*)
12731 # Kuck and Associates, Inc. (KAI) C++ Compiler
12733 # KCC will only create a shared library if the output file
12734 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12735 # to its proper name (with version) after linking.
12736 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'
12737 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'
12738 # Commands to make compiler produce verbose output that lists
12739 # what "hidden" libraries, object files and flags are used when
12740 # linking a shared library.
12742 # There doesn't appear to be a way to prevent this compiler from
12743 # explicitly linking system object files so we need to strip them
12744 # from the output so that they don't get included in the library
12745 # dependencies.
12746 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"'
12748 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12749 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12751 # Archives containing C++ object files must be created using
12752 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12753 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12755 icpc* | ecpc* )
12756 # Intel C++
12757 with_gnu_ld=yes
12758 # version 8.0 and above of icpc choke on multiply defined symbols
12759 # if we add $predep_objects and $postdep_objects, however 7.1 and
12760 # earlier do not add the objects themselves.
12761 case `$CC -V 2>&1` in
12762 *"Version 7."*)
12763 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12764 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'
12766 *) # Version 8.0 or newer
12767 tmp_idyn=
12768 case $host_cpu in
12769 ia64*) tmp_idyn=' -i_dynamic';;
12770 esac
12771 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12772 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'
12774 esac
12775 archive_cmds_need_lc_CXX=no
12776 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12777 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12778 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12780 pgCC* | pgcpp*)
12781 # Portland Group C++ compiler
12782 case `$CC -V` in
12783 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12784 prelink_cmds_CXX='tpldir=Template.dir~
12785 rm -rf $tpldir~
12786 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12787 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12788 old_archive_cmds_CXX='tpldir=Template.dir~
12789 rm -rf $tpldir~
12790 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12791 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12792 $RANLIB $oldlib'
12793 archive_cmds_CXX='tpldir=Template.dir~
12794 rm -rf $tpldir~
12795 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12796 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12797 archive_expsym_cmds_CXX='tpldir=Template.dir~
12798 rm -rf $tpldir~
12799 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12800 $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'
12802 *) # Version 6 and above use weak symbols
12803 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12804 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'
12806 esac
12808 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12809 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12810 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'
12812 cxx*)
12813 # Compaq C++
12814 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12815 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'
12817 runpath_var=LD_RUN_PATH
12818 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12819 hardcode_libdir_separator_CXX=:
12821 # Commands to make compiler produce verbose output that lists
12822 # what "hidden" libraries, object files and flags are used when
12823 # linking a shared library.
12825 # There doesn't appear to be a way to prevent this compiler from
12826 # explicitly linking system object files so we need to strip them
12827 # from the output so that they don't get included in the library
12828 # dependencies.
12829 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'
12831 xl* | mpixl* | bgxl*)
12832 # IBM XL 8.0 on PPC, with GNU ld
12833 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12834 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12835 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12836 if test "x$supports_anon_versioning" = xyes; then
12837 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12838 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12839 echo "local: *; };" >> $output_objdir/$libname.ver~
12840 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12844 case `$CC -V 2>&1 | sed 5q` in
12845 *Sun\ C*)
12846 # Sun C++ 5.9
12847 no_undefined_flag_CXX=' -zdefs'
12848 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12849 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'
12850 hardcode_libdir_flag_spec_CXX='-R$libdir'
12851 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'
12852 compiler_needs_object_CXX=yes
12854 # Not sure whether something based on
12855 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12856 # would be better.
12857 output_verbose_link_cmd='func_echo_all'
12859 # Archives containing C++ object files must be created using
12860 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12861 # necessary to make sure instantiated templates are included
12862 # in the archive.
12863 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12865 esac
12867 esac
12870 lynxos*)
12871 # FIXME: insert proper C++ library support
12872 ld_shlibs_CXX=no
12875 m88k*)
12876 # FIXME: insert proper C++ library support
12877 ld_shlibs_CXX=no
12880 mvs*)
12881 case $cc_basename in
12882 cxx*)
12883 # FIXME: insert proper C++ library support
12884 ld_shlibs_CXX=no
12887 # FIXME: insert proper C++ library support
12888 ld_shlibs_CXX=no
12890 esac
12893 netbsd*)
12894 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12895 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12896 wlarc=
12897 hardcode_libdir_flag_spec_CXX='-R$libdir'
12898 hardcode_direct_CXX=yes
12899 hardcode_shlibpath_var_CXX=no
12901 # Workaround some broken pre-1.5 toolchains
12902 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12905 *nto* | *qnx*)
12906 ld_shlibs_CXX=yes
12909 openbsd2*)
12910 # C++ shared libraries are fairly broken
12911 ld_shlibs_CXX=no
12914 openbsd*)
12915 if test -f /usr/libexec/ld.so; then
12916 hardcode_direct_CXX=yes
12917 hardcode_shlibpath_var_CXX=no
12918 hardcode_direct_absolute_CXX=yes
12919 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12920 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12921 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12922 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12923 export_dynamic_flag_spec_CXX='${wl}-E'
12924 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12926 output_verbose_link_cmd=func_echo_all
12927 else
12928 ld_shlibs_CXX=no
12932 osf3* | osf4* | osf5*)
12933 case $cc_basename in
12934 KCC*)
12935 # Kuck and Associates, Inc. (KAI) C++ Compiler
12937 # KCC will only create a shared library if the output file
12938 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12939 # to its proper name (with version) after linking.
12940 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'
12942 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12943 hardcode_libdir_separator_CXX=:
12945 # Archives containing C++ object files must be created using
12946 # the KAI C++ compiler.
12947 case $host in
12948 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12949 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12950 esac
12952 RCC*)
12953 # Rational C++ 2.4.1
12954 # FIXME: insert proper C++ library support
12955 ld_shlibs_CXX=no
12957 cxx*)
12958 case $host in
12959 osf3*)
12960 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12961 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'
12962 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12965 allow_undefined_flag_CXX=' -expect_unresolved \*'
12966 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'
12967 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12968 echo "-hidden">> $lib.exp~
12969 $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~
12970 $RM $lib.exp'
12971 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12973 esac
12975 hardcode_libdir_separator_CXX=:
12977 # Commands to make compiler produce verbose output that lists
12978 # what "hidden" libraries, object files and flags are used when
12979 # linking a shared library.
12981 # There doesn't appear to be a way to prevent this compiler from
12982 # explicitly linking system object files so we need to strip them
12983 # from the output so that they don't get included in the library
12984 # dependencies.
12985 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"'
12988 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12989 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12990 case $host in
12991 osf3*)
12992 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'
12995 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'
12997 esac
12999 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13000 hardcode_libdir_separator_CXX=:
13002 # Commands to make compiler produce verbose output that lists
13003 # what "hidden" libraries, object files and flags are used when
13004 # linking a shared library.
13005 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13007 else
13008 # FIXME: insert proper C++ library support
13009 ld_shlibs_CXX=no
13012 esac
13015 psos*)
13016 # FIXME: insert proper C++ library support
13017 ld_shlibs_CXX=no
13020 sunos4*)
13021 case $cc_basename in
13022 CC*)
13023 # Sun C++ 4.x
13024 # FIXME: insert proper C++ library support
13025 ld_shlibs_CXX=no
13027 lcc*)
13028 # Lucid
13029 # FIXME: insert proper C++ library support
13030 ld_shlibs_CXX=no
13033 # FIXME: insert proper C++ library support
13034 ld_shlibs_CXX=no
13036 esac
13039 solaris*)
13040 case $cc_basename in
13041 CC*)
13042 # Sun C++ 4.2, 5.x and Centerline C++
13043 archive_cmds_need_lc_CXX=yes
13044 no_undefined_flag_CXX=' -zdefs'
13045 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13046 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13047 $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'
13049 hardcode_libdir_flag_spec_CXX='-R$libdir'
13050 hardcode_shlibpath_var_CXX=no
13051 case $host_os in
13052 solaris2.[0-5] | solaris2.[0-5].*) ;;
13054 # The compiler driver will combine and reorder linker options,
13055 # but understands `-z linker_flag'.
13056 # Supported since Solaris 2.6 (maybe 2.5.1?)
13057 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13059 esac
13060 link_all_deplibs_CXX=yes
13062 output_verbose_link_cmd='func_echo_all'
13064 # Archives containing C++ object files must be created using
13065 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13066 # necessary to make sure instantiated templates are included
13067 # in the archive.
13068 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13070 gcx*)
13071 # Green Hills C++ Compiler
13072 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13074 # The C++ compiler must be used to create the archive.
13075 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13078 # GNU C++ compiler with Solaris linker
13079 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13080 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13081 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13082 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13083 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13084 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13086 # Commands to make compiler produce verbose output that lists
13087 # what "hidden" libraries, object files and flags are used when
13088 # linking a shared library.
13089 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13090 else
13091 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13092 # platform.
13093 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13094 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13095 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13097 # Commands to make compiler produce verbose output that lists
13098 # what "hidden" libraries, object files and flags are used when
13099 # linking a shared library.
13100 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13103 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13104 case $host_os in
13105 solaris2.[0-5] | solaris2.[0-5].*) ;;
13107 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13109 esac
13112 esac
13115 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13116 no_undefined_flag_CXX='${wl}-z,text'
13117 archive_cmds_need_lc_CXX=no
13118 hardcode_shlibpath_var_CXX=no
13119 runpath_var='LD_RUN_PATH'
13121 case $cc_basename in
13122 CC*)
13123 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13124 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13127 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13128 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13130 esac
13133 sysv5* | sco3.2v5* | sco5v6*)
13134 # Note: We can NOT use -z defs as we might desire, because we do not
13135 # link with -lc, and that would cause any symbols used from libc to
13136 # always be unresolved, which means just about no library would
13137 # ever link correctly. If we're not using GNU ld we use -z text
13138 # though, which does catch some bad symbols but isn't as heavy-handed
13139 # as -z defs.
13140 no_undefined_flag_CXX='${wl}-z,text'
13141 allow_undefined_flag_CXX='${wl}-z,nodefs'
13142 archive_cmds_need_lc_CXX=no
13143 hardcode_shlibpath_var_CXX=no
13144 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13145 hardcode_libdir_separator_CXX=':'
13146 link_all_deplibs_CXX=yes
13147 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13148 runpath_var='LD_RUN_PATH'
13150 case $cc_basename in
13151 CC*)
13152 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13153 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13154 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13155 '"$old_archive_cmds_CXX"
13156 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13157 '"$reload_cmds_CXX"
13160 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13161 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13163 esac
13166 tandem*)
13167 case $cc_basename in
13168 NCC*)
13169 # NonStop-UX NCC 3.20
13170 # FIXME: insert proper C++ library support
13171 ld_shlibs_CXX=no
13174 # FIXME: insert proper C++ library support
13175 ld_shlibs_CXX=no
13177 esac
13180 vxworks*)
13181 # FIXME: insert proper C++ library support
13182 ld_shlibs_CXX=no
13186 # FIXME: insert proper C++ library support
13187 ld_shlibs_CXX=no
13189 esac
13191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13192 $as_echo "$ld_shlibs_CXX" >&6; }
13193 test "$ld_shlibs_CXX" = no && can_build_shared=no
13195 GCC_CXX="$GXX"
13196 LD_CXX="$LD"
13198 ## CAVEAT EMPTOR:
13199 ## There is no encapsulation within the following macros, do not change
13200 ## the running order or otherwise move them around unless you know exactly
13201 ## what you are doing...
13202 # Dependencies to place before and after the object being linked:
13203 predep_objects_CXX=
13204 postdep_objects_CXX=
13205 predeps_CXX=
13206 postdeps_CXX=
13207 compiler_lib_search_path_CXX=
13209 cat > conftest.$ac_ext <<_LT_EOF
13210 class Foo
13212 public:
13213 Foo (void) { a = 0; }
13214 private:
13215 int a;
13217 _LT_EOF
13219 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13220 (eval $ac_compile) 2>&5
13221 ac_status=$?
13222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13223 test $ac_status = 0; }; then
13224 # Parse the compiler output and extract the necessary
13225 # objects, libraries and library flags.
13227 # Sentinel used to keep track of whether or not we are before
13228 # the conftest object file.
13229 pre_test_object_deps_done=no
13231 for p in `eval "$output_verbose_link_cmd"`; do
13232 case $p in
13234 -L* | -R* | -l*)
13235 # Some compilers place space between "-{L,R}" and the path.
13236 # Remove the space.
13237 if test $p = "-L" ||
13238 test $p = "-R"; then
13239 prev=$p
13240 continue
13241 else
13242 prev=
13245 if test "$pre_test_object_deps_done" = no; then
13246 case $p in
13247 -L* | -R*)
13248 # Internal compiler library paths should come after those
13249 # provided the user. The postdeps already come after the
13250 # user supplied libs so there is no need to process them.
13251 if test -z "$compiler_lib_search_path_CXX"; then
13252 compiler_lib_search_path_CXX="${prev}${p}"
13253 else
13254 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13257 # The "-l" case would never come before the object being
13258 # linked, so don't bother handling this case.
13259 esac
13260 else
13261 if test -z "$postdeps_CXX"; then
13262 postdeps_CXX="${prev}${p}"
13263 else
13264 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13269 *.$objext)
13270 # This assumes that the test object file only shows up
13271 # once in the compiler output.
13272 if test "$p" = "conftest.$objext"; then
13273 pre_test_object_deps_done=yes
13274 continue
13277 if test "$pre_test_object_deps_done" = no; then
13278 if test -z "$predep_objects_CXX"; then
13279 predep_objects_CXX="$p"
13280 else
13281 predep_objects_CXX="$predep_objects_CXX $p"
13283 else
13284 if test -z "$postdep_objects_CXX"; then
13285 postdep_objects_CXX="$p"
13286 else
13287 postdep_objects_CXX="$postdep_objects_CXX $p"
13292 *) ;; # Ignore the rest.
13294 esac
13295 done
13297 # Clean up.
13298 rm -f a.out a.exe
13299 else
13300 echo "libtool.m4: error: problem compiling CXX test program"
13303 $RM -f confest.$objext
13305 # PORTME: override above test on systems where it is broken
13306 case $host_os in
13307 interix[3-9]*)
13308 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13309 # hack all around it, let's just trust "g++" to DTRT.
13310 predep_objects_CXX=
13311 postdep_objects_CXX=
13312 postdeps_CXX=
13315 linux*)
13316 case `$CC -V 2>&1 | sed 5q` in
13317 *Sun\ C*)
13318 # Sun C++ 5.9
13320 # The more standards-conforming stlport4 library is
13321 # incompatible with the Cstd library. Avoid specifying
13322 # it if it's in CXXFLAGS. Ignore libCrun as
13323 # -library=stlport4 depends on it.
13324 case " $CXX $CXXFLAGS " in
13325 *" -library=stlport4 "*)
13326 solaris_use_stlport4=yes
13328 esac
13330 if test "$solaris_use_stlport4" != yes; then
13331 postdeps_CXX='-library=Cstd -library=Crun'
13334 esac
13337 solaris*)
13338 case $cc_basename in
13339 CC*)
13340 # The more standards-conforming stlport4 library is
13341 # incompatible with the Cstd library. Avoid specifying
13342 # it if it's in CXXFLAGS. Ignore libCrun as
13343 # -library=stlport4 depends on it.
13344 case " $CXX $CXXFLAGS " in
13345 *" -library=stlport4 "*)
13346 solaris_use_stlport4=yes
13348 esac
13350 # Adding this requires a known-good setup of shared libraries for
13351 # Sun compiler versions before 5.6, else PIC objects from an old
13352 # archive will be linked into the output, leading to subtle bugs.
13353 if test "$solaris_use_stlport4" != yes; then
13354 postdeps_CXX='-library=Cstd -library=Crun'
13357 esac
13359 esac
13362 case " $postdeps_CXX " in
13363 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13364 esac
13365 compiler_lib_search_dirs_CXX=
13366 if test -n "${compiler_lib_search_path_CXX}"; then
13367 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13400 lt_prog_compiler_wl_CXX=
13401 lt_prog_compiler_pic_CXX=
13402 lt_prog_compiler_static_CXX=
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13405 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13407 # C++ specific cases for pic, static, wl, etc.
13408 if test "$GXX" = yes; then
13409 lt_prog_compiler_wl_CXX='-Wl,'
13410 lt_prog_compiler_static_CXX='-static'
13412 case $host_os in
13413 aix*)
13414 # All AIX code is PIC.
13415 if test "$host_cpu" = ia64; then
13416 # AIX 5 now supports IA64 processor
13417 lt_prog_compiler_static_CXX='-Bstatic'
13421 amigaos*)
13422 case $host_cpu in
13423 powerpc)
13424 # see comment about AmigaOS4 .so support
13425 lt_prog_compiler_pic_CXX='-fPIC'
13427 m68k)
13428 # FIXME: we need at least 68020 code to build shared libraries, but
13429 # adding the `-m68020' flag to GCC prevents building anything better,
13430 # like `-m68040'.
13431 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13433 esac
13436 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13437 # PIC is the default for these OSes.
13439 mingw* | cygwin* | os2* | pw32* | cegcc*)
13440 # This hack is so that the source file can tell whether it is being
13441 # built for inclusion in a dll (and should export symbols for example).
13442 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13443 # (--disable-auto-import) libraries
13444 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13446 darwin* | rhapsody*)
13447 # PIC is the default on this platform
13448 # Common symbols not allowed in MH_DYLIB files
13449 lt_prog_compiler_pic_CXX='-fno-common'
13451 *djgpp*)
13452 # DJGPP does not support shared libraries at all
13453 lt_prog_compiler_pic_CXX=
13455 haiku*)
13456 # PIC is the default for Haiku.
13457 # The "-static" flag exists, but is broken.
13458 lt_prog_compiler_static_CXX=
13460 interix[3-9]*)
13461 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13462 # Instead, we relocate shared libraries at runtime.
13464 sysv4*MP*)
13465 if test -d /usr/nec; then
13466 lt_prog_compiler_pic_CXX=-Kconform_pic
13469 hpux*)
13470 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13471 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13472 # sets the default TLS model and affects inlining.
13473 case $host_cpu in
13474 hppa*64*)
13477 lt_prog_compiler_pic_CXX='-fPIC'
13479 esac
13481 *qnx* | *nto*)
13482 # QNX uses GNU C++, but need to define -shared option too, otherwise
13483 # it will coredump.
13484 lt_prog_compiler_pic_CXX='-fPIC -shared'
13487 lt_prog_compiler_pic_CXX='-fPIC'
13489 esac
13490 else
13491 case $host_os in
13492 aix[4-9]*)
13493 # All AIX code is PIC.
13494 if test "$host_cpu" = ia64; then
13495 # AIX 5 now supports IA64 processor
13496 lt_prog_compiler_static_CXX='-Bstatic'
13497 else
13498 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13501 chorus*)
13502 case $cc_basename in
13503 cxch68*)
13504 # Green Hills C++ Compiler
13505 # _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"
13507 esac
13509 dgux*)
13510 case $cc_basename in
13511 ec++*)
13512 lt_prog_compiler_pic_CXX='-KPIC'
13514 ghcx*)
13515 # Green Hills C++ Compiler
13516 lt_prog_compiler_pic_CXX='-pic'
13520 esac
13522 freebsd* | dragonfly*)
13523 # FreeBSD uses GNU C++
13525 hpux9* | hpux10* | hpux11*)
13526 case $cc_basename in
13527 CC*)
13528 lt_prog_compiler_wl_CXX='-Wl,'
13529 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13530 if test "$host_cpu" != ia64; then
13531 lt_prog_compiler_pic_CXX='+Z'
13534 aCC*)
13535 lt_prog_compiler_wl_CXX='-Wl,'
13536 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13537 case $host_cpu in
13538 hppa*64*|ia64*)
13539 # +Z the default
13542 lt_prog_compiler_pic_CXX='+Z'
13544 esac
13548 esac
13550 interix*)
13551 # This is c89, which is MS Visual C++ (no shared libs)
13552 # Anyone wants to do a port?
13554 irix5* | irix6* | nonstopux*)
13555 case $cc_basename in
13556 CC*)
13557 lt_prog_compiler_wl_CXX='-Wl,'
13558 lt_prog_compiler_static_CXX='-non_shared'
13559 # CC pic flag -KPIC is the default.
13563 esac
13565 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13566 case $cc_basename in
13567 KCC*)
13568 # KAI C++ Compiler
13569 lt_prog_compiler_wl_CXX='--backend -Wl,'
13570 lt_prog_compiler_pic_CXX='-fPIC'
13572 ecpc* )
13573 # old Intel C++ for x86_64 which still supported -KPIC.
13574 lt_prog_compiler_wl_CXX='-Wl,'
13575 lt_prog_compiler_pic_CXX='-KPIC'
13576 lt_prog_compiler_static_CXX='-static'
13578 icpc* )
13579 # Intel C++, used to be incompatible with GCC.
13580 # ICC 10 doesn't accept -KPIC any more.
13581 lt_prog_compiler_wl_CXX='-Wl,'
13582 lt_prog_compiler_pic_CXX='-fPIC'
13583 lt_prog_compiler_static_CXX='-static'
13585 pgCC* | pgcpp*)
13586 # Portland Group C++ compiler
13587 lt_prog_compiler_wl_CXX='-Wl,'
13588 lt_prog_compiler_pic_CXX='-fpic'
13589 lt_prog_compiler_static_CXX='-Bstatic'
13591 cxx*)
13592 # Compaq C++
13593 # Make sure the PIC flag is empty. It appears that all Alpha
13594 # Linux and Compaq Tru64 Unix objects are PIC.
13595 lt_prog_compiler_pic_CXX=
13596 lt_prog_compiler_static_CXX='-non_shared'
13598 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13599 # IBM XL 8.0, 9.0 on PPC and BlueGene
13600 lt_prog_compiler_wl_CXX='-Wl,'
13601 lt_prog_compiler_pic_CXX='-qpic'
13602 lt_prog_compiler_static_CXX='-qstaticlink'
13605 case `$CC -V 2>&1 | sed 5q` in
13606 *Sun\ C*)
13607 # Sun C++ 5.9
13608 lt_prog_compiler_pic_CXX='-KPIC'
13609 lt_prog_compiler_static_CXX='-Bstatic'
13610 lt_prog_compiler_wl_CXX='-Qoption ld '
13612 esac
13614 esac
13616 lynxos*)
13618 m88k*)
13620 mvs*)
13621 case $cc_basename in
13622 cxx*)
13623 lt_prog_compiler_pic_CXX='-W c,exportall'
13627 esac
13629 netbsd*)
13631 *qnx* | *nto*)
13632 # QNX uses GNU C++, but need to define -shared option too, otherwise
13633 # it will coredump.
13634 lt_prog_compiler_pic_CXX='-fPIC -shared'
13636 osf3* | osf4* | osf5*)
13637 case $cc_basename in
13638 KCC*)
13639 lt_prog_compiler_wl_CXX='--backend -Wl,'
13641 RCC*)
13642 # Rational C++ 2.4.1
13643 lt_prog_compiler_pic_CXX='-pic'
13645 cxx*)
13646 # Digital/Compaq C++
13647 lt_prog_compiler_wl_CXX='-Wl,'
13648 # Make sure the PIC flag is empty. It appears that all Alpha
13649 # Linux and Compaq Tru64 Unix objects are PIC.
13650 lt_prog_compiler_pic_CXX=
13651 lt_prog_compiler_static_CXX='-non_shared'
13655 esac
13657 psos*)
13659 solaris*)
13660 case $cc_basename in
13661 CC*)
13662 # Sun C++ 4.2, 5.x and Centerline C++
13663 lt_prog_compiler_pic_CXX='-KPIC'
13664 lt_prog_compiler_static_CXX='-Bstatic'
13665 lt_prog_compiler_wl_CXX='-Qoption ld '
13667 gcx*)
13668 # Green Hills C++ Compiler
13669 lt_prog_compiler_pic_CXX='-PIC'
13673 esac
13675 sunos4*)
13676 case $cc_basename in
13677 CC*)
13678 # Sun C++ 4.x
13679 lt_prog_compiler_pic_CXX='-pic'
13680 lt_prog_compiler_static_CXX='-Bstatic'
13682 lcc*)
13683 # Lucid
13684 lt_prog_compiler_pic_CXX='-pic'
13688 esac
13690 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13691 case $cc_basename in
13692 CC*)
13693 lt_prog_compiler_wl_CXX='-Wl,'
13694 lt_prog_compiler_pic_CXX='-KPIC'
13695 lt_prog_compiler_static_CXX='-Bstatic'
13697 esac
13699 tandem*)
13700 case $cc_basename in
13701 NCC*)
13702 # NonStop-UX NCC 3.20
13703 lt_prog_compiler_pic_CXX='-KPIC'
13707 esac
13709 vxworks*)
13712 lt_prog_compiler_can_build_shared_CXX=no
13714 esac
13717 case $host_os in
13718 # For platforms which do not support PIC, -DPIC is meaningless:
13719 *djgpp*)
13720 lt_prog_compiler_pic_CXX=
13723 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13725 esac
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13727 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13732 # Check to make sure the PIC flag actually works.
13734 if test -n "$lt_prog_compiler_pic_CXX"; then
13735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13736 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13737 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13738 $as_echo_n "(cached) " >&6
13739 else
13740 lt_cv_prog_compiler_pic_works_CXX=no
13741 ac_outfile=conftest.$ac_objext
13742 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13743 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13744 # Insert the option either (1) after the last *FLAGS variable, or
13745 # (2) before a word containing "conftest.", or (3) at the end.
13746 # Note that $ac_compile itself does not contain backslashes and begins
13747 # with a dollar sign (not a hyphen), so the echo should work correctly.
13748 # The option is referenced via a variable to avoid confusing sed.
13749 lt_compile=`echo "$ac_compile" | $SED \
13750 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13751 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13752 -e 's:$: $lt_compiler_flag:'`
13753 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13754 (eval "$lt_compile" 2>conftest.err)
13755 ac_status=$?
13756 cat conftest.err >&5
13757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13758 if (exit $ac_status) && test -s "$ac_outfile"; then
13759 # The compiler can only warn and ignore the option if not recognized
13760 # So say no if there are warnings other than the usual output.
13761 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13762 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13763 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13764 lt_cv_prog_compiler_pic_works_CXX=yes
13767 $RM conftest*
13770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13771 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13773 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13774 case $lt_prog_compiler_pic_CXX in
13775 "" | " "*) ;;
13776 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13777 esac
13778 else
13779 lt_prog_compiler_pic_CXX=
13780 lt_prog_compiler_can_build_shared_CXX=no
13788 # Check to make sure the static flag actually works.
13790 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13792 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13793 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13794 $as_echo_n "(cached) " >&6
13795 else
13796 lt_cv_prog_compiler_static_works_CXX=no
13797 save_LDFLAGS="$LDFLAGS"
13798 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13799 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13800 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13801 # The linker can only warn and ignore the option if not recognized
13802 # So say no if there are warnings
13803 if test -s conftest.err; then
13804 # Append any errors to the config.log.
13805 cat conftest.err 1>&5
13806 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13807 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13808 if diff conftest.exp conftest.er2 >/dev/null; then
13809 lt_cv_prog_compiler_static_works_CXX=yes
13811 else
13812 lt_cv_prog_compiler_static_works_CXX=yes
13815 $RM -r conftest*
13816 LDFLAGS="$save_LDFLAGS"
13819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13820 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13822 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13824 else
13825 lt_prog_compiler_static_CXX=
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13832 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13833 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13834 $as_echo_n "(cached) " >&6
13835 else
13836 lt_cv_prog_compiler_c_o_CXX=no
13837 $RM -r conftest 2>/dev/null
13838 mkdir conftest
13839 cd conftest
13840 mkdir out
13841 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13843 lt_compiler_flag="-o out/conftest2.$ac_objext"
13844 # Insert the option either (1) after the last *FLAGS variable, or
13845 # (2) before a word containing "conftest.", or (3) at the end.
13846 # Note that $ac_compile itself does not contain backslashes and begins
13847 # with a dollar sign (not a hyphen), so the echo should work correctly.
13848 lt_compile=`echo "$ac_compile" | $SED \
13849 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13850 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13851 -e 's:$: $lt_compiler_flag:'`
13852 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13853 (eval "$lt_compile" 2>out/conftest.err)
13854 ac_status=$?
13855 cat out/conftest.err >&5
13856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13857 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13858 then
13859 # The compiler can only warn and ignore the option if not recognized
13860 # So say no if there are warnings
13861 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13862 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13863 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13864 lt_cv_prog_compiler_c_o_CXX=yes
13867 chmod u+w . 2>&5
13868 $RM conftest*
13869 # SGI C++ compiler will create directory out/ii_files/ for
13870 # template instantiation
13871 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13872 $RM out/* && rmdir out
13873 cd ..
13874 $RM -r conftest
13875 $RM conftest*
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13879 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13884 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13885 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13886 $as_echo_n "(cached) " >&6
13887 else
13888 lt_cv_prog_compiler_c_o_CXX=no
13889 $RM -r conftest 2>/dev/null
13890 mkdir conftest
13891 cd conftest
13892 mkdir out
13893 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13895 lt_compiler_flag="-o out/conftest2.$ac_objext"
13896 # Insert the option either (1) after the last *FLAGS variable, or
13897 # (2) before a word containing "conftest.", or (3) at the end.
13898 # Note that $ac_compile itself does not contain backslashes and begins
13899 # with a dollar sign (not a hyphen), so the echo should work correctly.
13900 lt_compile=`echo "$ac_compile" | $SED \
13901 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13902 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13903 -e 's:$: $lt_compiler_flag:'`
13904 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13905 (eval "$lt_compile" 2>out/conftest.err)
13906 ac_status=$?
13907 cat out/conftest.err >&5
13908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13909 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13910 then
13911 # The compiler can only warn and ignore the option if not recognized
13912 # So say no if there are warnings
13913 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13914 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13915 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13916 lt_cv_prog_compiler_c_o_CXX=yes
13919 chmod u+w . 2>&5
13920 $RM conftest*
13921 # SGI C++ compiler will create directory out/ii_files/ for
13922 # template instantiation
13923 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13924 $RM out/* && rmdir out
13925 cd ..
13926 $RM -r conftest
13927 $RM conftest*
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13931 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13936 hard_links="nottested"
13937 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13938 # do not overwrite the value of need_locks provided by the user
13939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13940 $as_echo_n "checking if we can lock with hard links... " >&6; }
13941 hard_links=yes
13942 $RM conftest*
13943 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13944 touch conftest.a
13945 ln conftest.a conftest.b 2>&5 || hard_links=no
13946 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13948 $as_echo "$hard_links" >&6; }
13949 if test "$hard_links" = no; then
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13951 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13952 need_locks=warn
13954 else
13955 need_locks=no
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13961 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13963 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13964 case $host_os in
13965 aix[4-9]*)
13966 # If we're using GNU nm, then we don't want the "-C" option.
13967 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13968 # Also, AIX nm treats weak defined symbols like other global defined
13969 # symbols, whereas GNU nm marks them as "W".
13970 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13971 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'
13972 else
13973 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'
13976 pw32*)
13977 export_symbols_cmds_CXX="$ltdll_cmds"
13979 cygwin* | mingw* | cegcc*)
13980 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'
13983 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13985 esac
13986 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13989 $as_echo "$ld_shlibs_CXX" >&6; }
13990 test "$ld_shlibs_CXX" = no && can_build_shared=no
13992 with_gnu_ld_CXX=$with_gnu_ld
14000 # Do we need to explicitly link libc?
14002 case "x$archive_cmds_need_lc_CXX" in
14003 x|xyes)
14004 # Assume -lc should be added
14005 archive_cmds_need_lc_CXX=yes
14007 if test "$enable_shared" = yes && test "$GCC" = yes; then
14008 case $archive_cmds_CXX in
14009 *'~'*)
14010 # FIXME: we may have to deal with multi-command sequences.
14012 '$CC '*)
14013 # Test whether the compiler implicitly links with -lc since on some
14014 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14015 # to ld, don't add -lc before -lgcc.
14016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14017 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14018 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14019 $as_echo_n "(cached) " >&6
14020 else
14021 $RM conftest*
14022 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14024 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14025 (eval $ac_compile) 2>&5
14026 ac_status=$?
14027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14028 test $ac_status = 0; } 2>conftest.err; then
14029 soname=conftest
14030 lib=conftest
14031 libobjs=conftest.$ac_objext
14032 deplibs=
14033 wl=$lt_prog_compiler_wl_CXX
14034 pic_flag=$lt_prog_compiler_pic_CXX
14035 compiler_flags=-v
14036 linker_flags=-v
14037 verstring=
14038 output_objdir=.
14039 libname=conftest
14040 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14041 allow_undefined_flag_CXX=
14042 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14043 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14044 ac_status=$?
14045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14046 test $ac_status = 0; }
14047 then
14048 lt_cv_archive_cmds_need_lc_CXX=no
14049 else
14050 lt_cv_archive_cmds_need_lc_CXX=yes
14052 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14053 else
14054 cat conftest.err 1>&5
14056 $RM conftest*
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14060 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14061 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14063 esac
14066 esac
14131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14132 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14134 library_names_spec=
14135 libname_spec='lib$name'
14136 soname_spec=
14137 shrext_cmds=".so"
14138 postinstall_cmds=
14139 postuninstall_cmds=
14140 finish_cmds=
14141 finish_eval=
14142 shlibpath_var=
14143 shlibpath_overrides_runpath=unknown
14144 version_type=none
14145 dynamic_linker="$host_os ld.so"
14146 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14147 need_lib_prefix=unknown
14148 hardcode_into_libs=no
14150 # when you set need_version to no, make sure it does not cause -set_version
14151 # flags to be left without arguments
14152 need_version=unknown
14154 case $host_os in
14155 aix3*)
14156 version_type=linux
14157 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14158 shlibpath_var=LIBPATH
14160 # AIX 3 has no versioning support, so we append a major version to the name.
14161 soname_spec='${libname}${release}${shared_ext}$major'
14164 aix[4-9]*)
14165 version_type=linux
14166 need_lib_prefix=no
14167 need_version=no
14168 hardcode_into_libs=yes
14169 if test "$host_cpu" = ia64; then
14170 # AIX 5 supports IA64
14171 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14172 shlibpath_var=LD_LIBRARY_PATH
14173 else
14174 # With GCC up to 2.95.x, collect2 would create an import file
14175 # for dependence libraries. The import file would start with
14176 # the line `#! .'. This would cause the generated library to
14177 # depend on `.', always an invalid library. This was fixed in
14178 # development snapshots of GCC prior to 3.0.
14179 case $host_os in
14180 aix4 | aix4.[01] | aix4.[01].*)
14181 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14182 echo ' yes '
14183 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14185 else
14186 can_build_shared=no
14189 esac
14190 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14191 # soname into executable. Probably we can add versioning support to
14192 # collect2, so additional links can be useful in future.
14193 if test "$aix_use_runtimelinking" = yes; then
14194 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14195 # instead of lib<name>.a to let people know that these are not
14196 # typical AIX shared libraries.
14197 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14198 else
14199 # We preserve .a as extension for shared libraries through AIX4.2
14200 # and later when we are not doing run time linking.
14201 library_names_spec='${libname}${release}.a $libname.a'
14202 soname_spec='${libname}${release}${shared_ext}$major'
14204 shlibpath_var=LIBPATH
14208 amigaos*)
14209 case $host_cpu in
14210 powerpc)
14211 # Since July 2007 AmigaOS4 officially supports .so libraries.
14212 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14213 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14215 m68k)
14216 library_names_spec='$libname.ixlibrary $libname.a'
14217 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14218 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'
14220 esac
14223 beos*)
14224 library_names_spec='${libname}${shared_ext}'
14225 dynamic_linker="$host_os ld.so"
14226 shlibpath_var=LIBRARY_PATH
14229 bsdi[45]*)
14230 version_type=linux
14231 need_version=no
14232 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14233 soname_spec='${libname}${release}${shared_ext}$major'
14234 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14235 shlibpath_var=LD_LIBRARY_PATH
14236 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14237 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14238 # the default ld.so.conf also contains /usr/contrib/lib and
14239 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14240 # libtool to hard-code these into programs
14243 cygwin* | mingw* | pw32* | cegcc*)
14244 version_type=windows
14245 shrext_cmds=".dll"
14246 need_version=no
14247 need_lib_prefix=no
14249 case $GCC,$host_os in
14250 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14251 library_names_spec='$libname.dll.a'
14252 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14253 postinstall_cmds='base_file=`basename \${file}`~
14254 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14255 dldir=$destdir/`dirname \$dlpath`~
14256 test -d \$dldir || mkdir -p \$dldir~
14257 $install_prog $dir/$dlname \$dldir/$dlname~
14258 chmod a+x \$dldir/$dlname~
14259 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14260 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14262 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14263 dlpath=$dir/\$dldll~
14264 $RM \$dlpath'
14265 shlibpath_overrides_runpath=yes
14267 case $host_os in
14268 cygwin*)
14269 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14270 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14273 mingw* | cegcc*)
14274 # MinGW DLLs use traditional 'lib' prefix
14275 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14277 pw32*)
14278 # pw32 DLLs use 'pw' prefix rather than 'lib'
14279 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14281 esac
14285 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14287 esac
14288 dynamic_linker='Win32 ld.exe'
14289 # FIXME: first we should search . and the directory the executable is in
14290 shlibpath_var=PATH
14293 darwin* | rhapsody*)
14294 dynamic_linker="$host_os dyld"
14295 version_type=darwin
14296 need_lib_prefix=no
14297 need_version=no
14298 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14299 soname_spec='${libname}${release}${major}$shared_ext'
14300 shlibpath_overrides_runpath=yes
14301 shlibpath_var=DYLD_LIBRARY_PATH
14302 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14304 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14307 dgux*)
14308 version_type=linux
14309 need_lib_prefix=no
14310 need_version=no
14311 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14312 soname_spec='${libname}${release}${shared_ext}$major'
14313 shlibpath_var=LD_LIBRARY_PATH
14316 freebsd* | dragonfly*)
14317 # DragonFly does not have aout. When/if they implement a new
14318 # versioning mechanism, adjust this.
14319 if test -x /usr/bin/objformat; then
14320 objformat=`/usr/bin/objformat`
14321 else
14322 case $host_os in
14323 freebsd[23].*) objformat=aout ;;
14324 *) objformat=elf ;;
14325 esac
14327 version_type=freebsd-$objformat
14328 case $version_type in
14329 freebsd-elf*)
14330 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14331 need_version=no
14332 need_lib_prefix=no
14334 freebsd-*)
14335 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14336 need_version=yes
14338 esac
14339 shlibpath_var=LD_LIBRARY_PATH
14340 case $host_os in
14341 freebsd2.*)
14342 shlibpath_overrides_runpath=yes
14344 freebsd3.[01]* | freebsdelf3.[01]*)
14345 shlibpath_overrides_runpath=yes
14346 hardcode_into_libs=yes
14348 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14349 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14350 shlibpath_overrides_runpath=no
14351 hardcode_into_libs=yes
14353 *) # from 4.6 on, and DragonFly
14354 shlibpath_overrides_runpath=yes
14355 hardcode_into_libs=yes
14357 esac
14360 gnu*)
14361 version_type=linux
14362 need_lib_prefix=no
14363 need_version=no
14364 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14365 soname_spec='${libname}${release}${shared_ext}$major'
14366 shlibpath_var=LD_LIBRARY_PATH
14367 hardcode_into_libs=yes
14370 haiku*)
14371 version_type=linux
14372 need_lib_prefix=no
14373 need_version=no
14374 dynamic_linker="$host_os runtime_loader"
14375 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14376 soname_spec='${libname}${release}${shared_ext}$major'
14377 shlibpath_var=LIBRARY_PATH
14378 shlibpath_overrides_runpath=yes
14379 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14380 hardcode_into_libs=yes
14383 hpux9* | hpux10* | hpux11*)
14384 # Give a soname corresponding to the major version so that dld.sl refuses to
14385 # link against other versions.
14386 version_type=sunos
14387 need_lib_prefix=no
14388 need_version=no
14389 case $host_cpu in
14390 ia64*)
14391 shrext_cmds='.so'
14392 hardcode_into_libs=yes
14393 dynamic_linker="$host_os dld.so"
14394 shlibpath_var=LD_LIBRARY_PATH
14395 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14396 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14397 soname_spec='${libname}${release}${shared_ext}$major'
14398 if test "X$HPUX_IA64_MODE" = X32; then
14399 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14400 else
14401 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14403 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14405 hppa*64*)
14406 shrext_cmds='.sl'
14407 hardcode_into_libs=yes
14408 dynamic_linker="$host_os dld.sl"
14409 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14410 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14411 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14412 soname_spec='${libname}${release}${shared_ext}$major'
14413 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14414 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14417 shrext_cmds='.sl'
14418 dynamic_linker="$host_os dld.sl"
14419 shlibpath_var=SHLIB_PATH
14420 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14421 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14422 soname_spec='${libname}${release}${shared_ext}$major'
14424 esac
14425 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14426 postinstall_cmds='chmod 555 $lib'
14427 # or fails outright, so override atomically:
14428 install_override_mode=555
14431 interix[3-9]*)
14432 version_type=linux
14433 need_lib_prefix=no
14434 need_version=no
14435 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14436 soname_spec='${libname}${release}${shared_ext}$major'
14437 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14438 shlibpath_var=LD_LIBRARY_PATH
14439 shlibpath_overrides_runpath=no
14440 hardcode_into_libs=yes
14443 irix5* | irix6* | nonstopux*)
14444 case $host_os in
14445 nonstopux*) version_type=nonstopux ;;
14447 if test "$lt_cv_prog_gnu_ld" = yes; then
14448 version_type=linux
14449 else
14450 version_type=irix
14451 fi ;;
14452 esac
14453 need_lib_prefix=no
14454 need_version=no
14455 soname_spec='${libname}${release}${shared_ext}$major'
14456 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14457 case $host_os in
14458 irix5* | nonstopux*)
14459 libsuff= shlibsuff=
14462 case $LD in # libtool.m4 will add one of these switches to LD
14463 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14464 libsuff= shlibsuff= libmagic=32-bit;;
14465 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14466 libsuff=32 shlibsuff=N32 libmagic=N32;;
14467 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14468 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14469 *) libsuff= shlibsuff= libmagic=never-match;;
14470 esac
14472 esac
14473 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14474 shlibpath_overrides_runpath=no
14475 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14476 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14477 hardcode_into_libs=yes
14480 # No shared lib support for Linux oldld, aout, or coff.
14481 linux*oldld* | linux*aout* | linux*coff*)
14482 dynamic_linker=no
14485 # This must be Linux ELF.
14486 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14487 version_type=linux
14488 need_lib_prefix=no
14489 need_version=no
14490 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14491 soname_spec='${libname}${release}${shared_ext}$major'
14492 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14493 shlibpath_var=LD_LIBRARY_PATH
14494 shlibpath_overrides_runpath=no
14496 # Some binutils ld are patched to set DT_RUNPATH
14497 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14498 $as_echo_n "(cached) " >&6
14499 else
14500 lt_cv_shlibpath_overrides_runpath=no
14501 save_LDFLAGS=$LDFLAGS
14502 save_libdir=$libdir
14503 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14504 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14505 if test x$gcc_no_link = xyes; then
14506 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14509 /* end confdefs.h. */
14512 main ()
14516 return 0;
14518 _ACEOF
14519 if ac_fn_cxx_try_link "$LINENO"; then :
14520 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14521 lt_cv_shlibpath_overrides_runpath=yes
14524 rm -f core conftest.err conftest.$ac_objext \
14525 conftest$ac_exeext conftest.$ac_ext
14526 LDFLAGS=$save_LDFLAGS
14527 libdir=$save_libdir
14531 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14533 # This implies no fast_install, which is unacceptable.
14534 # Some rework will be needed to allow for fast_install
14535 # before this can be enabled.
14536 hardcode_into_libs=yes
14538 # Append ld.so.conf contents to the search path
14539 if test -f /etc/ld.so.conf; then
14540 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' ' '`
14541 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14544 # We used to test for /lib/ld.so.1 and disable shared libraries on
14545 # powerpc, because MkLinux only supported shared libraries with the
14546 # GNU dynamic linker. Since this was broken with cross compilers,
14547 # most powerpc-linux boxes support dynamic linking these days and
14548 # people can always --disable-shared, the test was removed, and we
14549 # assume the GNU/Linux dynamic linker is in use.
14550 dynamic_linker='GNU/Linux ld.so'
14553 netbsd*)
14554 version_type=sunos
14555 need_lib_prefix=no
14556 need_version=no
14557 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14558 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14559 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14560 dynamic_linker='NetBSD (a.out) ld.so'
14561 else
14562 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14563 soname_spec='${libname}${release}${shared_ext}$major'
14564 dynamic_linker='NetBSD ld.elf_so'
14566 shlibpath_var=LD_LIBRARY_PATH
14567 shlibpath_overrides_runpath=yes
14568 hardcode_into_libs=yes
14571 newsos6)
14572 version_type=linux
14573 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14574 shlibpath_var=LD_LIBRARY_PATH
14575 shlibpath_overrides_runpath=yes
14578 *nto* | *qnx*)
14579 version_type=qnx
14580 need_lib_prefix=no
14581 need_version=no
14582 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14583 soname_spec='${libname}${release}${shared_ext}$major'
14584 shlibpath_var=LD_LIBRARY_PATH
14585 shlibpath_overrides_runpath=no
14586 hardcode_into_libs=yes
14587 dynamic_linker='ldqnx.so'
14590 openbsd*)
14591 version_type=sunos
14592 sys_lib_dlsearch_path_spec="/usr/lib"
14593 need_lib_prefix=no
14594 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14595 case $host_os in
14596 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14597 *) need_version=no ;;
14598 esac
14599 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14600 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14601 shlibpath_var=LD_LIBRARY_PATH
14602 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14603 case $host_os in
14604 openbsd2.[89] | openbsd2.[89].*)
14605 shlibpath_overrides_runpath=no
14608 shlibpath_overrides_runpath=yes
14610 esac
14611 else
14612 shlibpath_overrides_runpath=yes
14616 os2*)
14617 libname_spec='$name'
14618 shrext_cmds=".dll"
14619 need_lib_prefix=no
14620 library_names_spec='$libname${shared_ext} $libname.a'
14621 dynamic_linker='OS/2 ld.exe'
14622 shlibpath_var=LIBPATH
14625 osf3* | osf4* | osf5*)
14626 version_type=osf
14627 need_lib_prefix=no
14628 need_version=no
14629 soname_spec='${libname}${release}${shared_ext}$major'
14630 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14631 shlibpath_var=LD_LIBRARY_PATH
14632 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14633 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14636 rdos*)
14637 dynamic_linker=no
14640 solaris*)
14641 version_type=linux
14642 need_lib_prefix=no
14643 need_version=no
14644 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14645 soname_spec='${libname}${release}${shared_ext}$major'
14646 shlibpath_var=LD_LIBRARY_PATH
14647 shlibpath_overrides_runpath=yes
14648 hardcode_into_libs=yes
14649 # ldd complains unless libraries are executable
14650 postinstall_cmds='chmod +x $lib'
14653 sunos4*)
14654 version_type=sunos
14655 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14656 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14657 shlibpath_var=LD_LIBRARY_PATH
14658 shlibpath_overrides_runpath=yes
14659 if test "$with_gnu_ld" = yes; then
14660 need_lib_prefix=no
14662 need_version=yes
14665 sysv4 | sysv4.3*)
14666 version_type=linux
14667 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14668 soname_spec='${libname}${release}${shared_ext}$major'
14669 shlibpath_var=LD_LIBRARY_PATH
14670 case $host_vendor in
14671 sni)
14672 shlibpath_overrides_runpath=no
14673 need_lib_prefix=no
14674 runpath_var=LD_RUN_PATH
14676 siemens)
14677 need_lib_prefix=no
14679 motorola)
14680 need_lib_prefix=no
14681 need_version=no
14682 shlibpath_overrides_runpath=no
14683 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14685 esac
14688 sysv4*MP*)
14689 if test -d /usr/nec ;then
14690 version_type=linux
14691 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14692 soname_spec='$libname${shared_ext}.$major'
14693 shlibpath_var=LD_LIBRARY_PATH
14697 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14698 version_type=freebsd-elf
14699 need_lib_prefix=no
14700 need_version=no
14701 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14702 soname_spec='${libname}${release}${shared_ext}$major'
14703 shlibpath_var=LD_LIBRARY_PATH
14704 shlibpath_overrides_runpath=yes
14705 hardcode_into_libs=yes
14706 if test "$with_gnu_ld" = yes; then
14707 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14708 else
14709 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14710 case $host_os in
14711 sco3.2v5*)
14712 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14714 esac
14716 sys_lib_dlsearch_path_spec='/usr/lib'
14719 tpf*)
14720 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14721 version_type=linux
14722 need_lib_prefix=no
14723 need_version=no
14724 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14725 shlibpath_var=LD_LIBRARY_PATH
14726 shlibpath_overrides_runpath=no
14727 hardcode_into_libs=yes
14730 uts4*)
14731 version_type=linux
14732 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14733 soname_spec='${libname}${release}${shared_ext}$major'
14734 shlibpath_var=LD_LIBRARY_PATH
14738 dynamic_linker=no
14740 esac
14741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14742 $as_echo "$dynamic_linker" >&6; }
14743 test "$dynamic_linker" = no && can_build_shared=no
14745 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14746 if test "$GCC" = yes; then
14747 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14750 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14751 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14753 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14754 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14795 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14796 hardcode_action_CXX=
14797 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14798 test -n "$runpath_var_CXX" ||
14799 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14801 # We can hardcode non-existent directories.
14802 if test "$hardcode_direct_CXX" != no &&
14803 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14804 # have to relink, otherwise we might link with an installed library
14805 # when we should be linking with a yet-to-be-installed one
14806 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14807 test "$hardcode_minus_L_CXX" != no; then
14808 # Linking always hardcodes the temporary library directory.
14809 hardcode_action_CXX=relink
14810 else
14811 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14812 hardcode_action_CXX=immediate
14814 else
14815 # We cannot hardcode anything, or else we can only hardcode existing
14816 # directories.
14817 hardcode_action_CXX=unsupported
14819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14820 $as_echo "$hardcode_action_CXX" >&6; }
14822 if test "$hardcode_action_CXX" = relink ||
14823 test "$inherit_rpath_CXX" = yes; then
14824 # Fast installation is not supported
14825 enable_fast_install=no
14826 elif test "$shlibpath_overrides_runpath" = yes ||
14827 test "$enable_shared" = no; then
14828 # Fast installation is not necessary
14829 enable_fast_install=needless
14838 fi # test -n "$compiler"
14840 CC=$lt_save_CC
14841 LDCXX=$LD
14842 LD=$lt_save_LD
14843 GCC=$lt_save_GCC
14844 with_gnu_ld=$lt_save_with_gnu_ld
14845 lt_cv_path_LDCXX=$lt_cv_path_LD
14846 lt_cv_path_LD=$lt_save_path_LD
14847 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14848 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14849 fi # test "$_lt_caught_CXX_error" != yes
14851 ac_ext=c
14852 ac_cpp='$CPP $CPPFLAGS'
14853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14869 ac_config_commands="$ac_config_commands libtool"
14874 # Only expand once:
14880 case $host in
14881 *-cygwin* | *-mingw*)
14882 # 'host' will be top-level target in the case of a target lib,
14883 # we must compare to with_cross_host to decide if this is a native
14884 # or cross-compiler and select where to install dlls appropriately.
14885 if test -n "$with_cross_host" &&
14886 test x"$with_cross_host" != x"no"; then
14887 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14888 else
14889 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14893 lt_host_flags=
14895 esac
14902 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14903 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14905 # Possibly disable most of the library.
14906 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14907 ## than just ignoring the results. Faster /and/ more correct, win win.
14909 # Check whether --enable-hosted-libstdcxx was given.
14910 if test "${enable_hosted_libstdcxx+set}" = set; then :
14911 enableval=$enable_hosted_libstdcxx;
14912 else
14913 case "$host" in
14914 arm*-*-symbianelf*)
14915 enable_hosted_libstdcxx=no
14918 enable_hosted_libstdcxx=yes
14920 esac
14923 if test "$enable_hosted_libstdcxx" = no; then
14924 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14925 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14926 is_hosted=no
14927 hosted_define=0
14928 enable_abi_check=no
14929 enable_libstdcxx_pch=no
14930 else
14931 is_hosted=yes
14932 hosted_define=1
14936 cat >>confdefs.h <<_ACEOF
14937 #define _GLIBCXX_HOSTED $hosted_define
14938 _ACEOF
14942 # Enable descriptive messages to standard output on termination.
14944 # Check whether --enable-libstdcxx-verbose was given.
14945 if test "${enable_libstdcxx_verbose+set}" = set; then :
14946 enableval=$enable_libstdcxx_verbose;
14947 else
14948 enable_libstdcxx_verbose=yes
14951 if test x"$enable_libstdcxx_verbose" = xyes; then
14952 verbose_define=1
14953 else
14954 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
14955 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
14956 verbose_define=0
14959 cat >>confdefs.h <<_ACEOF
14960 #define _GLIBCXX_VERBOSE $verbose_define
14961 _ACEOF
14965 # Enable compiler support that doesn't require linking.
14967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14968 $as_echo_n "checking for exception model to use... " >&6; }
14970 ac_ext=cpp
14971 ac_cpp='$CXXCPP $CPPFLAGS'
14972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14976 # Check whether --enable-sjlj-exceptions was given.
14977 if test "${enable_sjlj_exceptions+set}" = set; then :
14978 enableval=$enable_sjlj_exceptions;
14979 case "$enableval" in
14980 yes|no|auto) ;;
14981 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
14982 esac
14984 else
14985 enable_sjlj_exceptions=auto
14990 if test $enable_sjlj_exceptions = auto; then
14991 # Botheration. Now we've got to detect the exception model. Link tests
14992 # against libgcc.a are problematic since we've not been given proper -L
14993 # bits for single-tree newlib and libgloss.
14995 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
14996 cat > conftest.$ac_ext << EOF
14997 #line 14997 "configure"
14998 struct S { ~S(); };
14999 void bar();
15000 void foo()
15002 S s;
15003 bar();
15006 old_CXXFLAGS="$CXXFLAGS"
15007 CXXFLAGS=-S
15008 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15009 (eval $ac_compile) 2>&5
15010 ac_status=$?
15011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15012 test $ac_status = 0; }; then
15013 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
15014 enable_sjlj_exceptions=yes
15015 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
15016 enable_sjlj_exceptions=no
15017 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
15018 enable_sjlj_exceptions=no
15021 CXXFLAGS="$old_CXXFLAGS"
15022 rm -f conftest*
15025 # This is a tad weird, for hysterical raisins. We have to map
15026 # enable/disable to two different models.
15027 case $enable_sjlj_exceptions in
15028 yes)
15030 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15032 ac_exception_model_name=sjlj
15035 ac_exception_model_name="call frame"
15038 as_fn_error "unable to detect exception model" "$LINENO" 5
15040 esac
15041 ac_ext=c
15042 ac_cpp='$CPP $CPPFLAGS'
15043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15048 $as_echo "$ac_exception_model_name" >&6; }
15051 # Check whether --enable-libstdcxx-pch was given.
15052 if test "${enable_libstdcxx_pch+set}" = set; then :
15053 enableval=$enable_libstdcxx_pch;
15054 case "$enableval" in
15055 yes|no) ;;
15056 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15057 esac
15059 else
15060 enable_libstdcxx_pch=$is_hosted
15064 if test $enable_libstdcxx_pch = yes; then
15065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15066 $as_echo_n "checking for compiler with PCH support... " >&6; }
15067 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15068 $as_echo_n "(cached) " >&6
15069 else
15070 ac_save_CXXFLAGS="$CXXFLAGS"
15071 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15073 ac_ext=cpp
15074 ac_cpp='$CXXCPP $CPPFLAGS'
15075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15079 echo '#include <math.h>' > conftest.h
15080 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15081 -o conftest.h.gch 1>&5 2>&1 &&
15082 echo '#error "pch failed"' > conftest.h &&
15083 echo '#include "conftest.h"' > conftest.cc &&
15084 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15085 then
15086 glibcxx_cv_prog_CXX_pch=yes
15087 else
15088 glibcxx_cv_prog_CXX_pch=no
15090 rm -f conftest*
15091 CXXFLAGS=$ac_save_CXXFLAGS
15092 ac_ext=c
15093 ac_cpp='$CPP $CPPFLAGS'
15094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15101 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15102 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15106 $as_echo_n "checking for enabled PCH... " >&6; }
15107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15108 $as_echo "$enable_libstdcxx_pch" >&6; }
15111 if test $enable_libstdcxx_pch = yes; then
15112 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15113 else
15114 glibcxx_PCHFLAGS=""
15119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15120 $as_echo_n "checking for thread model used by GCC... " >&6; }
15121 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15123 $as_echo "$target_thread_file" >&6; }
15127 ac_ext=cpp
15128 ac_cpp='$CXXCPP $CPPFLAGS'
15129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15133 old_CXXFLAGS="$CXXFLAGS"
15135 # Do link tests if possible, instead asm tests, limited to some platforms
15136 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15137 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15138 atomic_builtins_link_tests=no
15139 if test x$gcc_no_link != xyes; then
15140 # Can do link tests. Limit to some tested platforms
15141 case "$host" in
15142 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15143 atomic_builtins_link_tests=yes
15145 esac
15148 if test x$atomic_builtins_link_tests = xyes; then
15150 # Do link tests.
15152 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15155 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15156 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15157 $as_echo_n "(cached) " >&6
15158 else
15160 if test x$gcc_no_link = xyes; then
15161 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15164 /* end confdefs.h. */
15167 main ()
15169 typedef bool atomic_type;
15170 atomic_type c1;
15171 atomic_type c2;
15172 atomic_type c3(0);
15173 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15174 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15175 __ATOMIC_RELAXED);
15176 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15177 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15180 return 0;
15182 _ACEOF
15183 if ac_fn_cxx_try_link "$LINENO"; then :
15184 glibcxx_cv_atomic_bool=yes
15185 else
15186 glibcxx_cv_atomic_bool=no
15188 rm -f core conftest.err conftest.$ac_objext \
15189 conftest$ac_exeext conftest.$ac_ext
15193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15194 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15197 $as_echo_n "checking for atomic builtins for short... " >&6; }
15198 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15199 $as_echo_n "(cached) " >&6
15200 else
15202 if test x$gcc_no_link = xyes; then
15203 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15206 /* end confdefs.h. */
15209 main ()
15211 typedef short atomic_type;
15212 atomic_type c1;
15213 atomic_type c2;
15214 atomic_type c3(0);
15215 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15216 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15217 __ATOMIC_RELAXED);
15218 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15219 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15222 return 0;
15224 _ACEOF
15225 if ac_fn_cxx_try_link "$LINENO"; then :
15226 glibcxx_cv_atomic_short=yes
15227 else
15228 glibcxx_cv_atomic_short=no
15230 rm -f core conftest.err conftest.$ac_objext \
15231 conftest$ac_exeext conftest.$ac_ext
15235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15236 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15239 $as_echo_n "checking for atomic builtins for int... " >&6; }
15240 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15241 $as_echo_n "(cached) " >&6
15242 else
15244 if test x$gcc_no_link = xyes; then
15245 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15248 /* end confdefs.h. */
15251 main ()
15253 typedef int atomic_type;
15254 atomic_type c1;
15255 atomic_type c2;
15256 atomic_type c3(0);
15257 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15258 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15259 __ATOMIC_RELAXED);
15260 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15261 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15264 return 0;
15266 _ACEOF
15267 if ac_fn_cxx_try_link "$LINENO"; then :
15268 glibcxx_cv_atomic_int=yes
15269 else
15270 glibcxx_cv_atomic_int=no
15272 rm -f core conftest.err conftest.$ac_objext \
15273 conftest$ac_exeext conftest.$ac_ext
15277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15278 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15281 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15282 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15283 $as_echo_n "(cached) " >&6
15284 else
15286 if test x$gcc_no_link = xyes; then
15287 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15290 /* end confdefs.h. */
15293 main ()
15295 typedef long long atomic_type;
15296 atomic_type c1;
15297 atomic_type c2;
15298 atomic_type c3(0);
15299 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15300 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15301 __ATOMIC_RELAXED);
15302 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15303 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15306 return 0;
15308 _ACEOF
15309 if ac_fn_cxx_try_link "$LINENO"; then :
15310 glibcxx_cv_atomic_long_long=yes
15311 else
15312 glibcxx_cv_atomic_long_long=no
15314 rm -f core conftest.err conftest.$ac_objext \
15315 conftest$ac_exeext conftest.$ac_ext
15319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15320 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15322 else
15324 # Do asm tests.
15326 # Compile unoptimized.
15327 CXXFLAGS='-O0 -S'
15329 # Fake what AC_TRY_COMPILE does.
15331 cat > conftest.$ac_ext << EOF
15332 #line 15332 "configure"
15333 int main()
15335 typedef bool atomic_type;
15336 atomic_type c1;
15337 atomic_type c2;
15338 atomic_type c3(0);
15339 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15340 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15341 __ATOMIC_RELAXED);
15342 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15343 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15345 return 0;
15349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15350 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15351 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15352 (eval $ac_compile) 2>&5
15353 ac_status=$?
15354 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15355 test $ac_status = 0; }; then
15356 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15357 glibcxx_cv_atomic_bool=no
15358 else
15359 glibcxx_cv_atomic_bool=yes
15362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15363 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15364 rm -f conftest*
15366 cat > conftest.$ac_ext << EOF
15367 #line 15367 "configure"
15368 int main()
15370 typedef short atomic_type;
15371 atomic_type c1;
15372 atomic_type c2;
15373 atomic_type c3(0);
15374 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15375 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15376 __ATOMIC_RELAXED);
15377 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15378 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15380 return 0;
15384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15385 $as_echo_n "checking for atomic builtins for short... " >&6; }
15386 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15387 (eval $ac_compile) 2>&5
15388 ac_status=$?
15389 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15390 test $ac_status = 0; }; then
15391 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15392 glibcxx_cv_atomic_short=no
15393 else
15394 glibcxx_cv_atomic_short=yes
15397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15398 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15399 rm -f conftest*
15401 cat > conftest.$ac_ext << EOF
15402 #line 15402 "configure"
15403 int main()
15405 // NB: _Atomic_word not necessarily int.
15406 typedef int atomic_type;
15407 atomic_type c1;
15408 atomic_type c2;
15409 atomic_type c3(0);
15410 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15411 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15412 __ATOMIC_RELAXED);
15413 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15414 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15416 return 0;
15420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15421 $as_echo_n "checking for atomic builtins for int... " >&6; }
15422 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15423 (eval $ac_compile) 2>&5
15424 ac_status=$?
15425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15426 test $ac_status = 0; }; then
15427 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15428 glibcxx_cv_atomic_int=no
15429 else
15430 glibcxx_cv_atomic_int=yes
15433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15434 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15435 rm -f conftest*
15437 cat > conftest.$ac_ext << EOF
15438 #line 15438 "configure"
15439 int main()
15441 typedef long long atomic_type;
15442 atomic_type c1;
15443 atomic_type c2;
15444 atomic_type c3(0);
15445 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15446 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15447 __ATOMIC_RELAXED);
15448 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15449 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15451 return 0;
15455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15456 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15457 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15458 (eval $ac_compile) 2>&5
15459 ac_status=$?
15460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15461 test $ac_status = 0; }; then
15462 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15463 glibcxx_cv_atomic_long_long=no
15464 else
15465 glibcxx_cv_atomic_long_long=yes
15468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15469 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15470 rm -f conftest*
15474 CXXFLAGS="$old_CXXFLAGS"
15475 ac_ext=c
15476 ac_cpp='$CPP $CPPFLAGS'
15477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15482 # Set atomicity_dir to builtins if all but the long long test above passes.
15483 if test $glibcxx_cv_atomic_bool = yes \
15484 && test $glibcxx_cv_atomic_short = yes \
15485 && test $glibcxx_cv_atomic_int = yes; then
15487 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15489 atomicity_dir=cpu/generic/atomicity_builtins
15492 # If still generic, set to mutex.
15493 if test $atomicity_dir = "cpu/generic" ; then
15494 atomicity_dir=cpu/generic/atomicity_mutex
15495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15496 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15497 if test "x$target_thread_file" = xsingle; then
15498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15499 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15501 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15502 else
15503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15504 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15506 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15513 # Fake what AC_TRY_COMPILE does, without linking as this is
15514 # unnecessary for this test.
15516 cat > conftest.$ac_ext << EOF
15517 #line 15517 "configure"
15518 int main()
15520 _Decimal32 d1;
15521 _Decimal64 d2;
15522 _Decimal128 d3;
15523 return 0;
15527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15528 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15529 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15530 (eval $ac_compile) 2>&5
15531 ac_status=$?
15532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15533 test $ac_status = 0; }; then
15535 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15537 enable_dfp=yes
15538 else
15539 enable_dfp=no
15541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15542 $as_echo "$enable_dfp" >&6; }
15543 rm -f conftest*
15548 ac_ext=cpp
15549 ac_cpp='$CXXCPP $CPPFLAGS'
15550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15555 # Fake what AC_TRY_COMPILE does, without linking as this is
15556 # unnecessary for this test.
15558 cat > conftest.$ac_ext << EOF
15559 #line 15559 "configure"
15560 template<typename T1, typename T2>
15561 struct same
15562 { typedef T2 type; };
15564 template<typename T>
15565 struct same<T, T>;
15567 int main()
15569 typename same<long, __int128>::type i1;
15570 typename same<long long, __int128>::type i2;
15574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15575 $as_echo_n "checking for __int128... " >&6; }
15576 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15577 (eval $ac_compile) 2>&5
15578 ac_status=$?
15579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15580 test $ac_status = 0; }; then
15582 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15584 enable_int128=yes
15585 else
15586 enable_int128=no
15588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15589 $as_echo "$enable_int128" >&6; }
15590 rm -f conftest*
15592 cat > conftest.$ac_ext << EOF
15593 #line 15593 "configure"
15594 template<typename T1, typename T2>
15595 struct same
15596 { typedef T2 type; };
15598 template<typename T>
15599 struct same<T, T>;
15601 int main()
15603 typename same<double, __float128>::type f1;
15604 typename same<long double, __float128>::type f2;
15608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15609 $as_echo_n "checking for __float128... " >&6; }
15610 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15611 (eval $ac_compile) 2>&5
15612 ac_status=$?
15613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15614 test $ac_status = 0; }; then
15616 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15618 enable_float128=yes
15619 else
15620 enable_float128=no
15622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15623 $as_echo "$enable_float128" >&6; }
15624 rm -f conftest*
15626 ac_ext=c
15627 ac_cpp='$CPP $CPPFLAGS'
15628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15634 # Checks for compiler support that doesn't require linking.
15636 # All these tests are for C++; save the language and the compiler flags.
15637 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15638 # found in GLIBCXX_CONFIGURE.
15640 ac_ext=cpp
15641 ac_cpp='$CXXCPP $CPPFLAGS'
15642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15646 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15647 ac_save_CXXFLAGS="$CXXFLAGS"
15649 # Check for maintainer-mode bits.
15650 if test x"$USE_MAINTAINER_MODE" = xno; then
15651 WERROR=''
15652 else
15653 WERROR='-Werror'
15656 # Check for -ffunction-sections -fdata-sections
15657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15658 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15659 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15661 /* end confdefs.h. */
15662 int foo; void bar() { };
15664 main ()
15668 return 0;
15670 _ACEOF
15671 if ac_fn_cxx_try_compile "$LINENO"; then :
15672 ac_fdsections=yes
15673 else
15674 ac_fdsections=no
15676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15677 if test "$ac_test_CXXFLAGS" = set; then
15678 CXXFLAGS="$ac_save_CXXFLAGS"
15679 else
15680 # this is the suspicious part
15681 CXXFLAGS=''
15683 if test x"$ac_fdsections" = x"yes"; then
15684 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15687 $as_echo "$ac_fdsections" >&6; }
15689 ac_ext=c
15690 ac_cpp='$CPP $CPPFLAGS'
15691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15699 # Enable all the variable C++ runtime options that don't require linking.
15701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15702 $as_echo_n "checking for underlying I/O to use... " >&6; }
15703 # Check whether --enable-cstdio was given.
15704 if test "${enable_cstdio+set}" = set; then :
15705 enableval=$enable_cstdio;
15706 case "$enableval" in
15707 stdio) ;;
15708 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15709 esac
15711 else
15712 enable_cstdio=stdio
15717 # Now that libio has been removed, you can have any color you want as long
15718 # as it's black. This is one big no-op until other packages are added, but
15719 # showing the framework never hurts.
15720 case ${enable_cstdio} in
15721 stdio)
15722 CSTDIO_H=config/io/c_io_stdio.h
15723 BASIC_FILE_H=config/io/basic_file_stdio.h
15724 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15726 $as_echo "stdio" >&6; }
15728 esac
15735 # Check whether --enable-clocale was given.
15736 if test "${enable_clocale+set}" = set; then :
15737 enableval=$enable_clocale;
15738 case "$enableval" in
15739 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15740 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15741 esac
15743 else
15744 enable_clocale=auto
15749 # Deal with gettext issues. Default to not using it (=no) until we detect
15750 # support for it later. Let the user turn it off via --e/d, but let that
15751 # default to on for easier handling.
15752 USE_NLS=no
15753 # Check whether --enable-nls was given.
15754 if test "${enable_nls+set}" = set; then :
15755 enableval=$enable_nls;
15756 else
15757 enable_nls=yes
15761 # Either a known package, or "auto"
15762 if test $enable_clocale = no || test $enable_clocale = yes; then
15763 enable_clocale=auto
15765 enable_clocale_flag=$enable_clocale
15767 # Probe for locale model to use if none specified.
15768 # Default to "generic".
15769 if test $enable_clocale_flag = auto; then
15770 case ${target_os} in
15771 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15772 enable_clocale_flag=gnu
15774 darwin* | freebsd*)
15775 enable_clocale_flag=darwin
15778 if test x"$with_newlib" = x"yes"; then
15779 enable_clocale_flag=newlib
15780 else
15781 enable_clocale_flag=generic
15784 esac
15787 # Sanity check model, and test for special functionality.
15788 if test $enable_clocale_flag = gnu; then
15789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15790 /* end confdefs.h. */
15792 #include <features.h>
15793 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15794 _GLIBCXX_ok
15795 #endif
15797 _ACEOF
15798 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15799 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15800 enable_clocale_flag=gnu
15801 else
15802 enable_clocale_flag=generic
15804 rm -f conftest*
15807 # Set it to scream when it hurts.
15808 ac_save_CFLAGS="$CFLAGS"
15809 CFLAGS="-Wimplicit-function-declaration -Werror"
15811 # Use strxfrm_l if available.
15812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15813 /* end confdefs.h. */
15814 #define _GNU_SOURCE 1
15815 #include <string.h>
15816 #include <locale.h>
15818 main ()
15820 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15822 return 0;
15824 _ACEOF
15825 if ac_fn_c_try_compile "$LINENO"; then :
15827 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15832 # Use strerror_l if available.
15833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15834 /* end confdefs.h. */
15835 #define _GNU_SOURCE 1
15836 #include <string.h>
15837 #include <locale.h>
15839 main ()
15841 __locale_t loc; strerror_l(5, loc);
15843 return 0;
15845 _ACEOF
15846 if ac_fn_c_try_compile "$LINENO"; then :
15848 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15853 CFLAGS="$ac_save_CFLAGS"
15856 # Perhaps use strerror_r if available, and strerror_l isn't.
15857 ac_save_CFLAGS="$CFLAGS"
15858 CFLAGS="-Wimplicit-function-declaration -Werror"
15859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15860 /* end confdefs.h. */
15861 #define _GNU_SOURCE 1
15862 #include <string.h>
15863 #include <locale.h>
15865 main ()
15867 char s[128]; strerror_r(5, s, 128);
15869 return 0;
15871 _ACEOF
15872 if ac_fn_c_try_compile "$LINENO"; then :
15874 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15878 CFLAGS="$ac_save_CFLAGS"
15880 # Set configure bits for specified locale package
15881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15882 $as_echo_n "checking for C locale to use... " >&6; }
15883 case ${enable_clocale_flag} in
15884 generic)
15885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15886 $as_echo "generic" >&6; }
15888 CLOCALE_H=config/locale/generic/c_locale.h
15889 CLOCALE_CC=config/locale/generic/c_locale.cc
15890 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15891 CCOLLATE_CC=config/locale/generic/collate_members.cc
15892 CCTYPE_CC=config/locale/generic/ctype_members.cc
15893 CMESSAGES_H=config/locale/generic/messages_members.h
15894 CMESSAGES_CC=config/locale/generic/messages_members.cc
15895 CMONEY_CC=config/locale/generic/monetary_members.cc
15896 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15897 CTIME_H=config/locale/generic/time_members.h
15898 CTIME_CC=config/locale/generic/time_members.cc
15899 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15901 darwin)
15902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15903 $as_echo "darwin or freebsd" >&6; }
15905 CLOCALE_H=config/locale/generic/c_locale.h
15906 CLOCALE_CC=config/locale/generic/c_locale.cc
15907 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15908 CCOLLATE_CC=config/locale/generic/collate_members.cc
15909 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15910 CMESSAGES_H=config/locale/generic/messages_members.h
15911 CMESSAGES_CC=config/locale/generic/messages_members.cc
15912 CMONEY_CC=config/locale/generic/monetary_members.cc
15913 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15914 CTIME_H=config/locale/generic/time_members.h
15915 CTIME_CC=config/locale/generic/time_members.cc
15916 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15919 gnu)
15920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15921 $as_echo "gnu" >&6; }
15923 # Declare intention to use gettext, and add support for specific
15924 # languages.
15925 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15926 ALL_LINGUAS="de fr"
15928 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15929 # Extract the first word of "msgfmt", so it can be a program name with args.
15930 set dummy msgfmt; ac_word=$2
15931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15932 $as_echo_n "checking for $ac_word... " >&6; }
15933 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15934 $as_echo_n "(cached) " >&6
15935 else
15936 if test -n "$check_msgfmt"; then
15937 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15938 else
15939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15940 for as_dir in $PATH
15942 IFS=$as_save_IFS
15943 test -z "$as_dir" && as_dir=.
15944 for ac_exec_ext in '' $ac_executable_extensions; do
15945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15946 ac_cv_prog_check_msgfmt="yes"
15947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15948 break 2
15950 done
15951 done
15952 IFS=$as_save_IFS
15954 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15957 check_msgfmt=$ac_cv_prog_check_msgfmt
15958 if test -n "$check_msgfmt"; then
15959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15960 $as_echo "$check_msgfmt" >&6; }
15961 else
15962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15963 $as_echo "no" >&6; }
15967 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15968 USE_NLS=yes
15970 # Export the build objects.
15971 for ling in $ALL_LINGUAS; do \
15972 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15973 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15974 done
15978 CLOCALE_H=config/locale/gnu/c_locale.h
15979 CLOCALE_CC=config/locale/gnu/c_locale.cc
15980 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15981 CCOLLATE_CC=config/locale/gnu/collate_members.cc
15982 CCTYPE_CC=config/locale/gnu/ctype_members.cc
15983 CMESSAGES_H=config/locale/gnu/messages_members.h
15984 CMESSAGES_CC=config/locale/gnu/messages_members.cc
15985 CMONEY_CC=config/locale/gnu/monetary_members.cc
15986 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15987 CTIME_H=config/locale/gnu/time_members.h
15988 CTIME_CC=config/locale/gnu/time_members.cc
15989 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15991 ieee_1003.1-2001)
15992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15993 $as_echo "IEEE 1003.1" >&6; }
15995 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15996 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15997 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15998 CCOLLATE_CC=config/locale/generic/collate_members.cc
15999 CCTYPE_CC=config/locale/generic/ctype_members.cc
16000 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16001 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16002 CMONEY_CC=config/locale/generic/monetary_members.cc
16003 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16004 CTIME_H=config/locale/generic/time_members.h
16005 CTIME_CC=config/locale/generic/time_members.cc
16006 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16008 newlib)
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16010 $as_echo "newlib" >&6; }
16012 CLOCALE_H=config/locale/generic/c_locale.h
16013 CLOCALE_CC=config/locale/generic/c_locale.cc
16014 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16015 CCOLLATE_CC=config/locale/generic/collate_members.cc
16016 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16017 CMESSAGES_H=config/locale/generic/messages_members.h
16018 CMESSAGES_CC=config/locale/generic/messages_members.cc
16019 CMONEY_CC=config/locale/generic/monetary_members.cc
16020 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16021 CTIME_H=config/locale/generic/time_members.h
16022 CTIME_CC=config/locale/generic/time_members.cc
16023 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16025 esac
16027 # This is where the testsuite looks for locale catalogs, using the
16028 # -DLOCALEDIR define during testsuite compilation.
16029 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16032 # A standalone libintl (e.g., GNU libintl) may be in use.
16033 if test $USE_NLS = yes; then
16034 for ac_header in libintl.h
16035 do :
16036 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16037 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16038 cat >>confdefs.h <<_ACEOF
16039 #define HAVE_LIBINTL_H 1
16040 _ACEOF
16042 else
16043 USE_NLS=no
16046 done
16048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16049 $as_echo_n "checking for library containing gettext... " >&6; }
16050 if test "${ac_cv_search_gettext+set}" = set; then :
16051 $as_echo_n "(cached) " >&6
16052 else
16053 ac_func_search_save_LIBS=$LIBS
16054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16055 /* end confdefs.h. */
16057 /* Override any GCC internal prototype to avoid an error.
16058 Use char because int might match the return type of a GCC
16059 builtin and then its argument prototype would still apply. */
16060 #ifdef __cplusplus
16061 extern "C"
16062 #endif
16063 char gettext ();
16065 main ()
16067 return gettext ();
16069 return 0;
16071 _ACEOF
16072 for ac_lib in '' intl; do
16073 if test -z "$ac_lib"; then
16074 ac_res="none required"
16075 else
16076 ac_res=-l$ac_lib
16077 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16079 if test x$gcc_no_link = xyes; then
16080 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16082 if ac_fn_c_try_link "$LINENO"; then :
16083 ac_cv_search_gettext=$ac_res
16085 rm -f core conftest.err conftest.$ac_objext \
16086 conftest$ac_exeext
16087 if test "${ac_cv_search_gettext+set}" = set; then :
16088 break
16090 done
16091 if test "${ac_cv_search_gettext+set}" = set; then :
16093 else
16094 ac_cv_search_gettext=no
16096 rm conftest.$ac_ext
16097 LIBS=$ac_func_search_save_LIBS
16099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16100 $as_echo "$ac_cv_search_gettext" >&6; }
16101 ac_res=$ac_cv_search_gettext
16102 if test "$ac_res" != no; then :
16103 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16105 else
16106 USE_NLS=no
16110 if test $USE_NLS = yes; then
16112 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16132 $as_echo_n "checking for std::allocator base class... " >&6; }
16133 # Check whether --enable-libstdcxx-allocator was given.
16134 if test "${enable_libstdcxx_allocator+set}" = set; then :
16135 enableval=$enable_libstdcxx_allocator;
16136 case "$enableval" in
16137 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16138 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16139 esac
16141 else
16142 enable_libstdcxx_allocator=auto
16147 # If they didn't use this option switch, or if they specified --enable
16148 # with no specific model, we'll have to look for one. If they
16149 # specified --disable (???), do likewise.
16150 if test $enable_libstdcxx_allocator = no ||
16151 test $enable_libstdcxx_allocator = yes;
16152 then
16153 enable_libstdcxx_allocator=auto
16156 # Either a known package, or "auto". Auto implies the default choice
16157 # for a particular platform.
16158 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16160 # Probe for host-specific support if no specific model is specified.
16161 # Default to "new".
16162 if test $enable_libstdcxx_allocator_flag = auto; then
16163 case ${target_os} in
16164 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16165 enable_libstdcxx_allocator_flag=new
16168 enable_libstdcxx_allocator_flag=new
16170 esac
16172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16173 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16176 # Set configure bits for specified locale package
16177 case ${enable_libstdcxx_allocator_flag} in
16178 bitmap)
16179 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16180 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16182 malloc)
16183 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16184 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16187 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16188 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16190 new)
16191 ALLOCATOR_H=config/allocator/new_allocator_base.h
16192 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16194 pool)
16195 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16196 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16198 esac
16204 # Check whether --enable-cheaders was given.
16205 if test "${enable_cheaders+set}" = set; then :
16206 enableval=$enable_cheaders;
16207 case "$enableval" in
16208 c|c_std|c_global) ;;
16209 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16210 esac
16212 else
16213 enable_cheaders=$c_model
16217 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16218 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16220 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16222 # Allow overrides to configure.host here.
16223 if test $enable_cheaders = c_global; then
16224 c_compatibility=yes
16233 # Check whether --enable-long-long was given.
16234 if test "${enable_long_long+set}" = set; then :
16235 enableval=$enable_long_long;
16236 case "$enableval" in
16237 yes|no) ;;
16238 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16239 esac
16241 else
16242 enable_long_long=yes
16246 if test $enable_long_long = yes; then
16248 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16252 $as_echo_n "checking for enabled long long specializations... " >&6; }
16253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16254 $as_echo "$enable_long_long" >&6; }
16257 # Check whether --enable-wchar_t was given.
16258 if test "${enable_wchar_t+set}" = set; then :
16259 enableval=$enable_wchar_t;
16260 case "$enableval" in
16261 yes|no) ;;
16262 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16263 esac
16265 else
16266 enable_wchar_t=yes
16271 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16272 for ac_header in wchar.h
16273 do :
16274 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16275 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16276 cat >>confdefs.h <<_ACEOF
16277 #define HAVE_WCHAR_H 1
16278 _ACEOF
16279 ac_has_wchar_h=yes
16280 else
16281 ac_has_wchar_h=no
16284 done
16286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16287 $as_echo_n "checking for mbstate_t... " >&6; }
16288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16289 /* end confdefs.h. */
16290 #include <wchar.h>
16292 main ()
16294 mbstate_t teststate;
16296 return 0;
16298 _ACEOF
16299 if ac_fn_c_try_compile "$LINENO"; then :
16300 have_mbstate_t=yes
16301 else
16302 have_mbstate_t=no
16304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16306 $as_echo "$have_mbstate_t" >&6; }
16307 if test x"$have_mbstate_t" = xyes; then
16309 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16313 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16314 # ac_has_wchar_h.
16315 for ac_header in wctype.h
16316 do :
16317 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16318 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16319 cat >>confdefs.h <<_ACEOF
16320 #define HAVE_WCTYPE_H 1
16321 _ACEOF
16322 ac_has_wctype_h=yes
16323 else
16324 ac_has_wctype_h=no
16327 done
16330 if test x"$enable_wchar_t" = x"yes"; then
16333 ac_ext=cpp
16334 ac_cpp='$CXXCPP $CPPFLAGS'
16335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16340 if test x"$ac_has_wchar_h" = xyes &&
16341 test x"$ac_has_wctype_h" = xyes; then
16342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16343 /* end confdefs.h. */
16344 #include <wchar.h>
16345 #include <stddef.h>
16346 wint_t i;
16347 long l = WEOF;
16348 long j = WCHAR_MIN;
16349 long k = WCHAR_MAX;
16350 namespace test
16352 using ::btowc;
16353 using ::fgetwc;
16354 using ::fgetws;
16355 using ::fputwc;
16356 using ::fputws;
16357 using ::fwide;
16358 using ::fwprintf;
16359 using ::fwscanf;
16360 using ::getwc;
16361 using ::getwchar;
16362 using ::mbrlen;
16363 using ::mbrtowc;
16364 using ::mbsinit;
16365 using ::mbsrtowcs;
16366 using ::putwc;
16367 using ::putwchar;
16368 using ::swprintf;
16369 using ::swscanf;
16370 using ::ungetwc;
16371 using ::vfwprintf;
16372 using ::vswprintf;
16373 using ::vwprintf;
16374 using ::wcrtomb;
16375 using ::wcscat;
16376 using ::wcschr;
16377 using ::wcscmp;
16378 using ::wcscoll;
16379 using ::wcscpy;
16380 using ::wcscspn;
16381 using ::wcsftime;
16382 using ::wcslen;
16383 using ::wcsncat;
16384 using ::wcsncmp;
16385 using ::wcsncpy;
16386 using ::wcspbrk;
16387 using ::wcsrchr;
16388 using ::wcsrtombs;
16389 using ::wcsspn;
16390 using ::wcsstr;
16391 using ::wcstod;
16392 using ::wcstok;
16393 using ::wcstol;
16394 using ::wcstoul;
16395 using ::wcsxfrm;
16396 using ::wctob;
16397 using ::wmemchr;
16398 using ::wmemcmp;
16399 using ::wmemcpy;
16400 using ::wmemmove;
16401 using ::wmemset;
16402 using ::wprintf;
16403 using ::wscanf;
16407 main ()
16411 return 0;
16413 _ACEOF
16414 if ac_fn_cxx_try_compile "$LINENO"; then :
16416 else
16417 enable_wchar_t=no
16419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16420 else
16421 enable_wchar_t=no
16424 ac_ext=c
16425 ac_cpp='$CPP $CPPFLAGS'
16426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16432 if test x"$enable_wchar_t" = x"yes"; then
16434 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16439 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16441 $as_echo "$enable_wchar_t" >&6; }
16445 # Check whether --enable-c99 was given.
16446 if test "${enable_c99+set}" = set; then :
16447 enableval=$enable_c99;
16448 case "$enableval" in
16449 yes|no) ;;
16450 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16451 esac
16453 else
16454 enable_c99=yes
16459 if test x"$enable_c99" = x"yes"; then
16462 ac_ext=cpp
16463 ac_cpp='$CXXCPP $CPPFLAGS'
16464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16469 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16470 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16471 # spuriously enabled.
16472 # Long term, -std=c++0x could be even better, could manage to explicitely
16473 # request C99 facilities to the underlying C headers.
16474 ac_save_CXXFLAGS="$CXXFLAGS"
16475 CXXFLAGS="$CXXFLAGS -std=c++98"
16476 ac_save_LIBS="$LIBS"
16477 ac_save_gcc_no_link="$gcc_no_link"
16479 if test x$gcc_no_link != xyes; then
16480 # Use -fno-exceptions to that the C driver can link these tests without
16481 # hitting undefined references to personality routines.
16482 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16484 $as_echo_n "checking for sin in -lm... " >&6; }
16485 if test "${ac_cv_lib_m_sin+set}" = set; then :
16486 $as_echo_n "(cached) " >&6
16487 else
16488 ac_check_lib_save_LIBS=$LIBS
16489 LIBS="-lm $LIBS"
16490 if test x$gcc_no_link = xyes; then
16491 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16494 /* end confdefs.h. */
16496 /* Override any GCC internal prototype to avoid an error.
16497 Use char because int might match the return type of a GCC
16498 builtin and then its argument prototype would still apply. */
16499 #ifdef __cplusplus
16500 extern "C"
16501 #endif
16502 char sin ();
16504 main ()
16506 return sin ();
16508 return 0;
16510 _ACEOF
16511 if ac_fn_cxx_try_link "$LINENO"; then :
16512 ac_cv_lib_m_sin=yes
16513 else
16514 ac_cv_lib_m_sin=no
16516 rm -f core conftest.err conftest.$ac_objext \
16517 conftest$ac_exeext conftest.$ac_ext
16518 LIBS=$ac_check_lib_save_LIBS
16520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16521 $as_echo "$ac_cv_lib_m_sin" >&6; }
16522 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16524 LIBS="$LIBS -lm"
16526 else
16528 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16529 gcc_no_link=yes
16535 # Check for the existence of <math.h> functions used if C99 is enabled.
16536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16537 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16538 if test "${glibcxx_cv_c99_math+set}" = set; then :
16539 $as_echo_n "(cached) " >&6
16540 else
16542 if test x$gcc_no_link = xyes; then
16543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16544 /* end confdefs.h. */
16545 #include <math.h>
16546 volatile double d1, d2;
16547 volatile int i;
16549 main ()
16551 i = fpclassify(d1);
16552 i = isfinite(d1);
16553 i = isinf(d1);
16554 i = isnan(d1);
16555 i = isnormal(d1);
16556 i = signbit(d1);
16557 i = isgreater(d1, d2);
16558 i = isgreaterequal(d1, d2);
16559 i = isless(d1, d2);
16560 i = islessequal(d1, d2);
16561 i = islessgreater(d1, d2);
16562 i = islessgreater(d1, d2);
16563 i = isunordered(d1, d2);
16566 return 0;
16568 _ACEOF
16569 if ac_fn_cxx_try_compile "$LINENO"; then :
16570 glibcxx_cv_c99_math=yes
16571 else
16572 glibcxx_cv_c99_math=no
16574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16575 else
16576 if test x$gcc_no_link = xyes; then
16577 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16580 /* end confdefs.h. */
16581 #include <math.h>
16582 volatile double d1, d2;
16583 volatile int i;
16585 main ()
16587 i = fpclassify(d1);
16588 i = isfinite(d1);
16589 i = isinf(d1);
16590 i = isnan(d1);
16591 i = isnormal(d1);
16592 i = signbit(d1);
16593 i = isgreater(d1, d2);
16594 i = isgreaterequal(d1, d2);
16595 i = isless(d1, d2);
16596 i = islessequal(d1, d2);
16597 i = islessgreater(d1, d2);
16598 i = islessgreater(d1, d2);
16599 i = isunordered(d1, d2);
16602 return 0;
16604 _ACEOF
16605 if ac_fn_cxx_try_link "$LINENO"; then :
16606 glibcxx_cv_c99_math=yes
16607 else
16608 glibcxx_cv_c99_math=no
16610 rm -f core conftest.err conftest.$ac_objext \
16611 conftest$ac_exeext conftest.$ac_ext
16616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16617 $as_echo "$glibcxx_cv_c99_math" >&6; }
16618 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16620 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16624 # Check for the existence of <complex.h> complex math functions.
16625 # This is necessary even though libstdc++ uses the builtin versions
16626 # of these functions, because if the builtin cannot be used, a reference
16627 # to the library function is emitted.
16628 for ac_header in tgmath.h
16629 do :
16630 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16631 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16632 cat >>confdefs.h <<_ACEOF
16633 #define HAVE_TGMATH_H 1
16634 _ACEOF
16635 ac_has_tgmath_h=yes
16636 else
16637 ac_has_tgmath_h=no
16640 done
16642 for ac_header in complex.h
16643 do :
16644 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16645 if test "x$ac_cv_header_complex_h" = x""yes; then :
16646 cat >>confdefs.h <<_ACEOF
16647 #define HAVE_COMPLEX_H 1
16648 _ACEOF
16649 ac_has_complex_h=yes
16650 else
16651 ac_has_complex_h=no
16654 done
16656 glibcxx_cv_c99_complex=no;
16657 if test x"$ac_has_complex_h" = x"yes"; then
16658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16659 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16660 if test x$gcc_no_link = xyes; then
16661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16662 /* end confdefs.h. */
16663 #include <complex.h>
16664 typedef __complex__ float float_type;
16665 typedef __complex__ double double_type;
16666 typedef __complex__ long double ld_type;
16667 volatile float_type tmpf;
16668 volatile double_type tmpd;
16669 volatile ld_type tmpld;
16670 volatile float f;
16671 volatile double d;
16672 volatile long double ld;
16674 main ()
16676 f = cabsf(tmpf);
16677 f = cargf(tmpf);
16678 tmpf = ccosf(tmpf);
16679 tmpf = ccoshf(tmpf);
16680 tmpf = cexpf(tmpf);
16681 tmpf = clogf(tmpf);
16682 tmpf = csinf(tmpf);
16683 tmpf = csinhf(tmpf);
16684 tmpf = csqrtf(tmpf);
16685 tmpf = ctanf(tmpf);
16686 tmpf = ctanhf(tmpf);
16687 tmpf = cpowf(tmpf, tmpf);
16688 tmpf = cprojf(tmpf);
16689 d = cabs(tmpd);
16690 d = carg(tmpd);
16691 tmpd = ccos(tmpd);
16692 tmpd = ccosh(tmpd);
16693 tmpd = cexp(tmpd);
16694 tmpd = clog(tmpd);
16695 tmpd = csin(tmpd);
16696 tmpd = csinh(tmpd);
16697 tmpd = csqrt(tmpd);
16698 tmpd = ctan(tmpd);
16699 tmpd = ctanh(tmpd);
16700 tmpd = cpow(tmpd, tmpd);
16701 tmpd = cproj(tmpd);
16702 ld = cabsl(tmpld);
16703 ld = cargl(tmpld);
16704 tmpld = ccosl(tmpld);
16705 tmpld = ccoshl(tmpld);
16706 tmpld = cexpl(tmpld);
16707 tmpld = clogl(tmpld);
16708 tmpld = csinl(tmpld);
16709 tmpld = csinhl(tmpld);
16710 tmpld = csqrtl(tmpld);
16711 tmpld = ctanl(tmpld);
16712 tmpld = ctanhl(tmpld);
16713 tmpld = cpowl(tmpld, tmpld);
16714 tmpld = cprojl(tmpld);
16717 return 0;
16719 _ACEOF
16720 if ac_fn_cxx_try_compile "$LINENO"; then :
16721 glibcxx_cv_c99_complex=yes
16722 else
16723 glibcxx_cv_c99_complex=no
16725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16726 else
16727 if test x$gcc_no_link = xyes; then
16728 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16731 /* end confdefs.h. */
16732 #include <complex.h>
16733 typedef __complex__ float float_type;
16734 typedef __complex__ double double_type;
16735 typedef __complex__ long double ld_type;
16736 volatile float_type tmpf;
16737 volatile double_type tmpd;
16738 volatile ld_type tmpld;
16739 volatile float f;
16740 volatile double d;
16741 volatile long double ld;
16743 main ()
16745 f = cabsf(tmpf);
16746 f = cargf(tmpf);
16747 tmpf = ccosf(tmpf);
16748 tmpf = ccoshf(tmpf);
16749 tmpf = cexpf(tmpf);
16750 tmpf = clogf(tmpf);
16751 tmpf = csinf(tmpf);
16752 tmpf = csinhf(tmpf);
16753 tmpf = csqrtf(tmpf);
16754 tmpf = ctanf(tmpf);
16755 tmpf = ctanhf(tmpf);
16756 tmpf = cpowf(tmpf, tmpf);
16757 tmpf = cprojf(tmpf);
16758 d = cabs(tmpd);
16759 d = carg(tmpd);
16760 tmpd = ccos(tmpd);
16761 tmpd = ccosh(tmpd);
16762 tmpd = cexp(tmpd);
16763 tmpd = clog(tmpd);
16764 tmpd = csin(tmpd);
16765 tmpd = csinh(tmpd);
16766 tmpd = csqrt(tmpd);
16767 tmpd = ctan(tmpd);
16768 tmpd = ctanh(tmpd);
16769 tmpd = cpow(tmpd, tmpd);
16770 tmpd = cproj(tmpd);
16771 ld = cabsl(tmpld);
16772 ld = cargl(tmpld);
16773 tmpld = ccosl(tmpld);
16774 tmpld = ccoshl(tmpld);
16775 tmpld = cexpl(tmpld);
16776 tmpld = clogl(tmpld);
16777 tmpld = csinl(tmpld);
16778 tmpld = csinhl(tmpld);
16779 tmpld = csqrtl(tmpld);
16780 tmpld = ctanl(tmpld);
16781 tmpld = ctanhl(tmpld);
16782 tmpld = cpowl(tmpld, tmpld);
16783 tmpld = cprojl(tmpld);
16786 return 0;
16788 _ACEOF
16789 if ac_fn_cxx_try_link "$LINENO"; then :
16790 glibcxx_cv_c99_complex=yes
16791 else
16792 glibcxx_cv_c99_complex=no
16794 rm -f core conftest.err conftest.$ac_objext \
16795 conftest$ac_exeext conftest.$ac_ext
16798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16799 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16800 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16802 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16806 # Check for the existence in <stdio.h> of vscanf, et. al.
16807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16808 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16809 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16810 $as_echo_n "(cached) " >&6
16811 else
16813 if test x$gcc_no_link = xyes; then
16814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16815 /* end confdefs.h. */
16816 #include <stdio.h>
16817 #include <stdarg.h>
16818 void foo(char* fmt, ...)
16820 va_list args; va_start(args, fmt);
16821 vfscanf(stderr, "%i", args);
16822 vscanf("%i", args);
16823 vsnprintf(fmt, 0, "%i", args);
16824 vsscanf(fmt, "%i", args);
16827 main ()
16829 snprintf("12", 0, "%i");
16831 return 0;
16833 _ACEOF
16834 if ac_fn_cxx_try_compile "$LINENO"; then :
16835 glibcxx_cv_c99_stdio=yes
16836 else
16837 glibcxx_cv_c99_stdio=no
16839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16840 else
16841 if test x$gcc_no_link = xyes; then
16842 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16845 /* end confdefs.h. */
16846 #include <stdio.h>
16847 #include <stdarg.h>
16848 void foo(char* fmt, ...)
16850 va_list args; va_start(args, fmt);
16851 vfscanf(stderr, "%i", args);
16852 vscanf("%i", args);
16853 vsnprintf(fmt, 0, "%i", args);
16854 vsscanf(fmt, "%i", args);
16857 main ()
16859 snprintf("12", 0, "%i");
16861 return 0;
16863 _ACEOF
16864 if ac_fn_cxx_try_link "$LINENO"; then :
16865 glibcxx_cv_c99_stdio=yes
16866 else
16867 glibcxx_cv_c99_stdio=no
16869 rm -f core conftest.err conftest.$ac_objext \
16870 conftest$ac_exeext conftest.$ac_ext
16875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16876 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16878 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16880 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16881 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16882 $as_echo_n "(cached) " >&6
16883 else
16885 if test x$gcc_no_link = xyes; then
16886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16887 /* end confdefs.h. */
16888 #include <stdlib.h>
16889 volatile float f;
16890 volatile long double ld;
16891 volatile unsigned long long ll;
16892 lldiv_t mydivt;
16894 main ()
16896 char* tmp;
16897 f = strtof("gnu", &tmp);
16898 ld = strtold("gnu", &tmp);
16899 ll = strtoll("gnu", &tmp, 10);
16900 ll = strtoull("gnu", &tmp, 10);
16901 ll = llabs(10);
16902 mydivt = lldiv(10,1);
16903 ll = mydivt.quot;
16904 ll = mydivt.rem;
16905 ll = atoll("10");
16906 _Exit(0);
16909 return 0;
16911 _ACEOF
16912 if ac_fn_cxx_try_compile "$LINENO"; then :
16913 glibcxx_cv_c99_stdlib=yes
16914 else
16915 glibcxx_cv_c99_stdlib=no
16917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16918 else
16919 if test x$gcc_no_link = xyes; then
16920 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16923 /* end confdefs.h. */
16924 #include <stdlib.h>
16925 volatile float f;
16926 volatile long double ld;
16927 volatile unsigned long long ll;
16928 lldiv_t mydivt;
16930 main ()
16932 char* tmp;
16933 f = strtof("gnu", &tmp);
16934 ld = strtold("gnu", &tmp);
16935 ll = strtoll("gnu", &tmp, 10);
16936 ll = strtoull("gnu", &tmp, 10);
16937 ll = llabs(10);
16938 mydivt = lldiv(10,1);
16939 ll = mydivt.quot;
16940 ll = mydivt.rem;
16941 ll = atoll("10");
16942 _Exit(0);
16945 return 0;
16947 _ACEOF
16948 if ac_fn_cxx_try_link "$LINENO"; then :
16949 glibcxx_cv_c99_stdlib=yes
16950 else
16951 glibcxx_cv_c99_stdlib=no
16953 rm -f core conftest.err conftest.$ac_objext \
16954 conftest$ac_exeext conftest.$ac_ext
16959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16960 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16962 # Check for the existence in <wchar.h> of wcstold, etc.
16963 glibcxx_cv_c99_wchar=no;
16964 if test x"$ac_has_wchar_h" = xyes &&
16965 test x"$ac_has_wctype_h" = xyes; then
16966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16967 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16969 /* end confdefs.h. */
16970 #include <wchar.h>
16971 namespace test
16973 using ::wcstold;
16974 using ::wcstoll;
16975 using ::wcstoull;
16979 main ()
16983 return 0;
16985 _ACEOF
16986 if ac_fn_cxx_try_compile "$LINENO"; then :
16987 glibcxx_cv_c99_wchar=yes
16988 else
16989 glibcxx_cv_c99_wchar=no
16991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16993 # Checks for wide character functions that may not be present.
16994 # Injection of these is wrapped with guard macros.
16995 # NB: only put functions here, instead of immediately above, if
16996 # absolutely necessary.
16997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16998 /* end confdefs.h. */
16999 #include <wchar.h>
17000 namespace test { using ::vfwscanf; }
17002 main ()
17006 return 0;
17008 _ACEOF
17009 if ac_fn_cxx_try_compile "$LINENO"; then :
17011 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17017 /* end confdefs.h. */
17018 #include <wchar.h>
17019 namespace test { using ::vswscanf; }
17021 main ()
17025 return 0;
17027 _ACEOF
17028 if ac_fn_cxx_try_compile "$LINENO"; then :
17030 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17036 /* end confdefs.h. */
17037 #include <wchar.h>
17038 namespace test { using ::vwscanf; }
17040 main ()
17044 return 0;
17046 _ACEOF
17047 if ac_fn_cxx_try_compile "$LINENO"; then :
17049 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17055 /* end confdefs.h. */
17056 #include <wchar.h>
17057 namespace test { using ::wcstof; }
17059 main ()
17063 return 0;
17065 _ACEOF
17066 if ac_fn_cxx_try_compile "$LINENO"; then :
17068 $as_echo "#define HAVE_WCSTOF 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 <wctype.h>
17077 main ()
17079 wint_t t; int i = iswblank(t);
17081 return 0;
17083 _ACEOF
17084 if ac_fn_cxx_try_compile "$LINENO"; then :
17086 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17092 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17095 # Option parsed, now set things appropriately.
17096 if test x"$glibcxx_cv_c99_math" = x"no" ||
17097 test x"$glibcxx_cv_c99_complex" = x"no" ||
17098 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17099 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17100 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17101 enable_c99=no;
17102 else
17104 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17108 gcc_no_link="$ac_save_gcc_no_link"
17109 LIBS="$ac_save_LIBS"
17110 CXXFLAGS="$ac_save_CXXFLAGS"
17111 ac_ext=c
17112 ac_cpp='$CPP $CPPFLAGS'
17113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17120 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17122 $as_echo "$enable_c99" >&6; }
17125 # Check whether --enable-concept-checks was given.
17126 if test "${enable_concept_checks+set}" = set; then :
17127 enableval=$enable_concept_checks;
17128 case "$enableval" in
17129 yes|no) ;;
17130 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17131 esac
17133 else
17134 enable_concept_checks=no
17138 if test $enable_concept_checks = yes; then
17140 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17145 # Check whether --enable-libstdcxx-debug-flags was given.
17146 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17147 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17148 xno | x) enable_libstdcxx_debug_flags= ;;
17149 x-*) ;;
17150 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17151 esac
17152 else
17153 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17158 # Option parsed, now set things appropriately
17159 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17162 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17163 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17167 $as_echo_n "checking for additional debug build... " >&6; }
17168 # Check whether --enable-libstdcxx-debug was given.
17169 if test "${enable_libstdcxx_debug+set}" = set; then :
17170 enableval=$enable_libstdcxx_debug;
17171 case "$enableval" in
17172 yes|no) ;;
17173 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17174 esac
17176 else
17177 enable_libstdcxx_debug=no
17181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17182 $as_echo "$enable_libstdcxx_debug" >&6; }
17187 enable_parallel=no;
17189 # See if configured libgomp/omp.h exists. (libgomp may be in
17190 # noconfigdirs but not explicitly disabled.)
17191 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17192 enable_parallel=yes;
17193 else
17194 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17195 $as_echo "$as_me: target-libgomp not built" >&6;}
17198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17199 $as_echo_n "checking for parallel mode support... " >&6; }
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17201 $as_echo "$enable_parallel" >&6; }
17204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17205 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17206 # Check whether --enable-cxx-flags was given.
17207 if test "${enable_cxx_flags+set}" = set; then :
17208 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17209 xno | x) enable_cxx_flags= ;;
17210 x-*) ;;
17211 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17212 esac
17213 else
17214 enable_cxx_flags=
17219 # Run through flags (either default or command-line) and set anything
17220 # extra (e.g., #defines) that must accompany particular g++ options.
17221 if test -n "$enable_cxx_flags"; then
17222 for f in $enable_cxx_flags; do
17223 case "$f" in
17224 -fhonor-std) ;;
17225 -*) ;;
17226 *) # and we're trying to pass /what/ exactly?
17227 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17228 esac
17229 done
17232 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17234 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17238 # Check whether --enable-fully-dynamic-string was given.
17239 if test "${enable_fully_dynamic_string+set}" = set; then :
17240 enableval=$enable_fully_dynamic_string;
17241 case "$enableval" in
17242 yes|no) ;;
17243 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17244 esac
17246 else
17247 enable_fully_dynamic_string=no
17251 if test $enable_fully_dynamic_string = yes; then
17252 enable_fully_dynamic_string_def=1
17253 else
17254 enable_fully_dynamic_string_def=0
17257 cat >>confdefs.h <<_ACEOF
17258 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17259 _ACEOF
17264 # Check whether --enable-extern-template was given.
17265 if test "${enable_extern_template+set}" = set; then :
17266 enableval=$enable_extern_template;
17267 case "$enableval" in
17268 yes|no) ;;
17269 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17270 esac
17272 else
17273 enable_extern_template=yes
17278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17279 $as_echo_n "checking for extern template support... " >&6; }
17280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17281 $as_echo "$enable_extern_template" >&6; }
17287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17288 $as_echo_n "checking for custom python install directory... " >&6; }
17290 # Check whether --with-python-dir was given.
17291 if test "${with_python_dir+set}" = set; then :
17292 withval=$with_python_dir; with_python_dir=$withval
17293 else
17294 with_python_dir="no"
17297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17298 $as_echo "${with_python_dir}" >&6; }
17300 # Needed for installing Python modules during make install.
17301 python_mod_dir="${with_python_dir}"
17306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17307 $as_echo_n "checking for -Werror... " >&6; }
17308 # Check whether --enable-werror was given.
17309 if test "${enable_werror+set}" = set; then :
17310 enableval=$enable_werror;
17311 case "$enableval" in
17312 yes|no) ;;
17313 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17314 esac
17316 else
17317 enable_werror=yes
17321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17322 $as_echo "$enable_werror" >&6; }
17326 # Checks for operating systems support that doesn't require linking.
17330 ac_ext=cpp
17331 ac_cpp='$CXXCPP $CPPFLAGS'
17332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17338 $as_echo_n "checking for gets declaration... " >&6; }
17339 if test "${glibcxx_cv_gets+set}" = set; then :
17340 $as_echo_n "(cached) " >&6
17341 else
17343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17344 /* end confdefs.h. */
17345 #include <stdio.h>
17346 namespace test
17348 using ::gets;
17351 _ACEOF
17352 if ac_fn_cxx_try_compile "$LINENO"; then :
17353 glibcxx_cv_gets=yes
17354 else
17355 glibcxx_cv_gets=no
17358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17362 if test $glibcxx_cv_gets = yes; then
17364 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17368 $as_echo "$glibcxx_cv_gets" >&6; }
17370 ac_ext=c
17371 ac_cpp='$CPP $CPPFLAGS'
17372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17380 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17381 if test "${glibcxx_cv_system_error1+set}" = set; then :
17382 $as_echo_n "(cached) " >&6
17383 else
17385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17386 /* end confdefs.h. */
17387 #include <errno.h>
17389 main ()
17391 int i = EOWNERDEAD;
17393 return 0;
17395 _ACEOF
17396 if ac_fn_c_try_compile "$LINENO"; then :
17397 glibcxx_cv_system_error1=yes
17398 else
17399 glibcxx_cv_system_error1=no
17401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17406 $as_echo "$glibcxx_cv_system_error1" >&6; }
17407 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17409 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17413 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17414 if test "${glibcxx_cv_system_error2+set}" = set; then :
17415 $as_echo_n "(cached) " >&6
17416 else
17418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17419 /* end confdefs.h. */
17420 #include <errno.h>
17422 main ()
17424 int i = ENOTRECOVERABLE;
17426 return 0;
17428 _ACEOF
17429 if ac_fn_c_try_compile "$LINENO"; then :
17430 glibcxx_cv_system_error2=yes
17431 else
17432 glibcxx_cv_system_error2=no
17434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17439 $as_echo "$glibcxx_cv_system_error2" >&6; }
17440 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17442 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17446 $as_echo_n "checking for ENOLINK... " >&6; }
17447 if test "${glibcxx_cv_system_error3+set}" = set; then :
17448 $as_echo_n "(cached) " >&6
17449 else
17451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17452 /* end confdefs.h. */
17453 #include <errno.h>
17455 main ()
17457 int i = ENOLINK;
17459 return 0;
17461 _ACEOF
17462 if ac_fn_c_try_compile "$LINENO"; then :
17463 glibcxx_cv_system_error3=yes
17464 else
17465 glibcxx_cv_system_error3=no
17467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17472 $as_echo "$glibcxx_cv_system_error3" >&6; }
17473 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17475 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17479 $as_echo_n "checking for EPROTO... " >&6; }
17480 if test "${glibcxx_cv_system_error4+set}" = set; then :
17481 $as_echo_n "(cached) " >&6
17482 else
17484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17485 /* end confdefs.h. */
17486 #include <errno.h>
17488 main ()
17490 int i = EPROTO;
17492 return 0;
17494 _ACEOF
17495 if ac_fn_c_try_compile "$LINENO"; then :
17496 glibcxx_cv_system_error4=yes
17497 else
17498 glibcxx_cv_system_error4=no
17500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17505 $as_echo "$glibcxx_cv_system_error4" >&6; }
17506 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17508 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17512 $as_echo_n "checking for ENODATA... " >&6; }
17513 if test "${glibcxx_cv_system_error5+set}" = set; then :
17514 $as_echo_n "(cached) " >&6
17515 else
17517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17518 /* end confdefs.h. */
17519 #include <errno.h>
17521 main ()
17523 int i = ENODATA;
17525 return 0;
17527 _ACEOF
17528 if ac_fn_c_try_compile "$LINENO"; then :
17529 glibcxx_cv_system_error5=yes
17530 else
17531 glibcxx_cv_system_error5=no
17533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17538 $as_echo "$glibcxx_cv_system_error5" >&6; }
17539 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17541 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17545 $as_echo_n "checking for ENOSR... " >&6; }
17546 if test "${glibcxx_cv_system_error6+set}" = set; then :
17547 $as_echo_n "(cached) " >&6
17548 else
17550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17551 /* end confdefs.h. */
17552 #include <errno.h>
17554 main ()
17556 int i = ENOSR;
17558 return 0;
17560 _ACEOF
17561 if ac_fn_c_try_compile "$LINENO"; then :
17562 glibcxx_cv_system_error6=yes
17563 else
17564 glibcxx_cv_system_error6=no
17566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17571 $as_echo "$glibcxx_cv_system_error6" >&6; }
17572 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17574 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17578 $as_echo_n "checking for ENOSTR... " >&6; }
17579 if test "${glibcxx_cv_system_error7+set}" = set; then :
17580 $as_echo_n "(cached) " >&6
17581 else
17583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17584 /* end confdefs.h. */
17585 #include <errno.h>
17587 main ()
17589 int i = ENOSTR;
17591 return 0;
17593 _ACEOF
17594 if ac_fn_c_try_compile "$LINENO"; then :
17595 glibcxx_cv_system_error7=yes
17596 else
17597 glibcxx_cv_system_error7=no
17599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17604 $as_echo "$glibcxx_cv_system_error7" >&6; }
17605 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17607 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17611 $as_echo_n "checking for ETIME... " >&6; }
17612 if test "${glibcxx_cv_system_error8+set}" = set; then :
17613 $as_echo_n "(cached) " >&6
17614 else
17616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17617 /* end confdefs.h. */
17618 #include <errno.h>
17620 main ()
17622 int i = ETIME;
17624 return 0;
17626 _ACEOF
17627 if ac_fn_c_try_compile "$LINENO"; then :
17628 glibcxx_cv_system_error8=yes
17629 else
17630 glibcxx_cv_system_error8=no
17632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17637 $as_echo "$glibcxx_cv_system_error8" >&6; }
17638 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17640 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17644 $as_echo_n "checking for EBADMSG... " >&6; }
17645 if test "${glibcxx_cv_system_error9+set}" = set; then :
17646 $as_echo_n "(cached) " >&6
17647 else
17649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17650 /* end confdefs.h. */
17651 #include <errno.h>
17653 main ()
17655 int i = EBADMSG;
17657 return 0;
17659 _ACEOF
17660 if ac_fn_c_try_compile "$LINENO"; then :
17661 glibcxx_cv_system_error9=yes
17662 else
17663 glibcxx_cv_system_error9=no
17665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17670 $as_echo "$glibcxx_cv_system_error9" >&6; }
17671 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17673 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17677 $as_echo_n "checking for ECANCELED... " >&6; }
17678 if test "${glibcxx_cv_system_error10+set}" = set; then :
17679 $as_echo_n "(cached) " >&6
17680 else
17682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17683 /* end confdefs.h. */
17684 #include <errno.h>
17686 main ()
17688 int i = ECANCELED;
17690 return 0;
17692 _ACEOF
17693 if ac_fn_c_try_compile "$LINENO"; then :
17694 glibcxx_cv_system_error10=yes
17695 else
17696 glibcxx_cv_system_error10=no
17698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17703 $as_echo "$glibcxx_cv_system_error10" >&6; }
17704 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17706 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17710 $as_echo_n "checking for EOVERFLOW... " >&6; }
17711 if test "${glibcxx_cv_system_error11+set}" = set; then :
17712 $as_echo_n "(cached) " >&6
17713 else
17715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17716 /* end confdefs.h. */
17717 #include <errno.h>
17719 main ()
17721 int i = EOVERFLOW;
17723 return 0;
17725 _ACEOF
17726 if ac_fn_c_try_compile "$LINENO"; then :
17727 glibcxx_cv_system_error11=yes
17728 else
17729 glibcxx_cv_system_error11=no
17731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17736 $as_echo "$glibcxx_cv_system_error11" >&6; }
17737 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17739 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17743 $as_echo_n "checking for ENOTSUP... " >&6; }
17744 if test "${glibcxx_cv_system_error12+set}" = set; then :
17745 $as_echo_n "(cached) " >&6
17746 else
17748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17749 /* end confdefs.h. */
17750 #include <errno.h>
17752 main ()
17754 int i = ENOTSUP;
17756 return 0;
17758 _ACEOF
17759 if ac_fn_c_try_compile "$LINENO"; then :
17760 glibcxx_cv_system_error12=yes
17761 else
17762 glibcxx_cv_system_error12=no
17764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17769 $as_echo "$glibcxx_cv_system_error12" >&6; }
17770 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17772 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17776 $as_echo_n "checking for EIDRM... " >&6; }
17777 if test "${glibcxx_cv_system_error13+set}" = set; then :
17778 $as_echo_n "(cached) " >&6
17779 else
17781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17782 /* end confdefs.h. */
17783 #include <errno.h>
17785 main ()
17787 int i = EIDRM;
17789 return 0;
17791 _ACEOF
17792 if ac_fn_c_try_compile "$LINENO"; then :
17793 glibcxx_cv_system_error13=yes
17794 else
17795 glibcxx_cv_system_error13=no
17797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17802 $as_echo "$glibcxx_cv_system_error13" >&6; }
17803 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17805 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17809 $as_echo_n "checking for ETXTBSY... " >&6; }
17810 if test "${glibcxx_cv_system_error14+set}" = set; then :
17811 $as_echo_n "(cached) " >&6
17812 else
17814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17815 /* end confdefs.h. */
17816 #include <errno.h>
17818 main ()
17820 int i = ETXTBSY;
17822 return 0;
17824 _ACEOF
17825 if ac_fn_c_try_compile "$LINENO"; then :
17826 glibcxx_cv_system_error14=yes
17827 else
17828 glibcxx_cv_system_error14=no
17830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17835 $as_echo "$glibcxx_cv_system_error14" >&6; }
17836 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17838 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17842 $as_echo_n "checking for ECHILD... " >&6; }
17843 if test "${glibcxx_cv_system_error15+set}" = set; then :
17844 $as_echo_n "(cached) " >&6
17845 else
17847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17848 /* end confdefs.h. */
17849 #include <errno.h>
17851 main ()
17853 int i = ECHILD;
17855 return 0;
17857 _ACEOF
17858 if ac_fn_c_try_compile "$LINENO"; then :
17859 glibcxx_cv_system_error15=yes
17860 else
17861 glibcxx_cv_system_error15=no
17863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17868 $as_echo "$glibcxx_cv_system_error15" >&6; }
17869 if test x"$glibcxx_cv_system_error15" = x"yes"; then
17871 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
17874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
17875 $as_echo_n "checking for ENOSPC... " >&6; }
17876 if test "${glibcxx_cv_system_error16+set}" = set; then :
17877 $as_echo_n "(cached) " >&6
17878 else
17880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17881 /* end confdefs.h. */
17882 #include <errno.h>
17884 main ()
17886 int i = ENOSPC;
17888 return 0;
17890 _ACEOF
17891 if ac_fn_c_try_compile "$LINENO"; then :
17892 glibcxx_cv_system_error16=yes
17893 else
17894 glibcxx_cv_system_error16=no
17896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
17901 $as_echo "$glibcxx_cv_system_error16" >&6; }
17902 if test x"$glibcxx_cv_system_error16" = x"yes"; then
17904 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
17907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
17908 $as_echo_n "checking for EPERM... " >&6; }
17909 if test "${glibcxx_cv_system_error17+set}" = set; then :
17910 $as_echo_n "(cached) " >&6
17911 else
17913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17914 /* end confdefs.h. */
17915 #include <errno.h>
17917 main ()
17919 int i = EPERM;
17921 return 0;
17923 _ACEOF
17924 if ac_fn_c_try_compile "$LINENO"; then :
17925 glibcxx_cv_system_error17=yes
17926 else
17927 glibcxx_cv_system_error17=no
17929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
17934 $as_echo "$glibcxx_cv_system_error17" >&6; }
17935 if test x"$glibcxx_cv_system_error17" = x"yes"; then
17937 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
17940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
17941 $as_echo_n "checking for ETIMEDOUT... " >&6; }
17942 if test "${glibcxx_cv_system_error18+set}" = set; then :
17943 $as_echo_n "(cached) " >&6
17944 else
17946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17947 /* end confdefs.h. */
17948 #include <errno.h>
17950 main ()
17952 int i = ETIMEDOUT;
17954 return 0;
17956 _ACEOF
17957 if ac_fn_c_try_compile "$LINENO"; then :
17958 glibcxx_cv_system_error18=yes
17959 else
17960 glibcxx_cv_system_error18=no
17962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
17967 $as_echo "$glibcxx_cv_system_error18" >&6; }
17968 if test x"$glibcxx_cv_system_error18" = x"yes"; then
17970 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
17973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
17974 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
17975 if test "${glibcxx_cv_system_error19+set}" = set; then :
17976 $as_echo_n "(cached) " >&6
17977 else
17979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17980 /* end confdefs.h. */
17981 #include <errno.h>
17983 main ()
17985 int i = EWOULDBLOCK;
17987 return 0;
17989 _ACEOF
17990 if ac_fn_c_try_compile "$LINENO"; then :
17991 glibcxx_cv_system_error19=yes
17992 else
17993 glibcxx_cv_system_error19=no
17995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18000 $as_echo "$glibcxx_cv_system_error19" >&6; }
18001 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18003 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18009 # For the streamoff typedef.
18013 ac_ext=cpp
18014 ac_cpp='$CXXCPP $CPPFLAGS'
18015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18021 $as_echo_n "checking for int64_t... " >&6; }
18022 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18023 $as_echo_n "(cached) " >&6
18024 else
18026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18027 /* end confdefs.h. */
18028 #include <stdint.h>
18030 main ()
18032 int64_t var;
18034 return 0;
18036 _ACEOF
18037 if ac_fn_cxx_try_compile "$LINENO"; then :
18038 glibcxx_cv_INT64_T=yes
18039 else
18040 glibcxx_cv_INT64_T=no
18042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18047 if test $glibcxx_cv_INT64_T = yes; then
18049 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18052 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18055 $as_echo_n "checking for int64_t as long... " >&6; }
18056 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18057 $as_echo_n "(cached) " >&6
18058 else
18060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18061 /* end confdefs.h. */
18062 #include <stdint.h>
18063 template<typename, typename> struct same { enum { value = -1 }; };
18064 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18065 int array[same<int64_t, long>::value];
18067 main ()
18071 return 0;
18073 _ACEOF
18074 if ac_fn_cxx_try_compile "$LINENO"; then :
18075 glibcxx_cv_int64_t_long=yes
18076 else
18077 glibcxx_cv_int64_t_long=no
18079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18084 if test $glibcxx_cv_int64_t_long = yes; then
18086 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18089 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18093 $as_echo_n "checking for int64_t as long long... " >&6; }
18094 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18095 $as_echo_n "(cached) " >&6
18096 else
18098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18099 /* end confdefs.h. */
18100 #include <stdint.h>
18101 template<typename, typename> struct same { enum { value = -1 }; };
18102 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18103 int array[same<int64_t, long long>::value];
18105 main ()
18109 return 0;
18111 _ACEOF
18112 if ac_fn_cxx_try_compile "$LINENO"; then :
18113 glibcxx_cv_int64_t_long_long=yes
18114 else
18115 glibcxx_cv_int64_t_long_long=no
18117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18122 if test $glibcxx_cv_int64_t_long_long = yes; then
18124 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18127 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18131 ac_ext=c
18132 ac_cpp='$CPP $CPPFLAGS'
18133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18139 # For LFS support.
18142 ac_ext=cpp
18143 ac_cpp='$CXXCPP $CPPFLAGS'
18144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18148 ac_save_CXXFLAGS="$CXXFLAGS"
18149 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18151 $as_echo_n "checking for LFS support... " >&6; }
18152 if test "${glibcxx_cv_LFS+set}" = set; then :
18153 $as_echo_n "(cached) " >&6
18154 else
18156 if test x$gcc_no_link = xyes; then
18157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18158 /* end confdefs.h. */
18159 #include <unistd.h>
18160 #include <stdio.h>
18161 #include <sys/stat.h>
18164 main ()
18166 FILE* fp;
18167 fopen64("t", "w");
18168 fseeko64(fp, 0, SEEK_CUR);
18169 ftello64(fp);
18170 lseek64(1, 0, SEEK_CUR);
18171 struct stat64 buf;
18172 fstat64(1, &buf);
18174 return 0;
18176 _ACEOF
18177 if ac_fn_cxx_try_compile "$LINENO"; then :
18178 glibcxx_cv_LFS=yes
18179 else
18180 glibcxx_cv_LFS=no
18182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18183 else
18184 if test x$gcc_no_link = xyes; then
18185 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18188 /* end confdefs.h. */
18189 #include <unistd.h>
18190 #include <stdio.h>
18191 #include <sys/stat.h>
18194 main ()
18196 FILE* fp;
18197 fopen64("t", "w");
18198 fseeko64(fp, 0, SEEK_CUR);
18199 ftello64(fp);
18200 lseek64(1, 0, SEEK_CUR);
18201 struct stat64 buf;
18202 fstat64(1, &buf);
18204 return 0;
18206 _ACEOF
18207 if ac_fn_cxx_try_link "$LINENO"; then :
18208 glibcxx_cv_LFS=yes
18209 else
18210 glibcxx_cv_LFS=no
18212 rm -f core conftest.err conftest.$ac_objext \
18213 conftest$ac_exeext conftest.$ac_ext
18218 if test $glibcxx_cv_LFS = yes; then
18220 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18224 $as_echo "$glibcxx_cv_LFS" >&6; }
18225 CXXFLAGS="$ac_save_CXXFLAGS"
18226 ac_ext=c
18227 ac_cpp='$CPP $CPPFLAGS'
18228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18234 # For showmanyc_helper().
18235 for ac_header in sys/ioctl.h sys/filio.h
18236 do :
18237 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18238 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18239 eval as_val=\$$as_ac_Header
18240 if test "x$as_val" = x""yes; then :
18241 cat >>confdefs.h <<_ACEOF
18242 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18243 _ACEOF
18247 done
18252 ac_ext=cpp
18253 ac_cpp='$CXXCPP $CPPFLAGS'
18254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18258 ac_save_CXXFLAGS="$CXXFLAGS"
18259 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18262 $as_echo_n "checking for poll... " >&6; }
18263 if test "${glibcxx_cv_POLL+set}" = set; then :
18264 $as_echo_n "(cached) " >&6
18265 else
18267 if test x$gcc_no_link = xyes; then
18268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18269 /* end confdefs.h. */
18270 #include <poll.h>
18272 main ()
18274 struct pollfd pfd[1];
18275 pfd[0].events = POLLIN;
18276 poll(pfd, 1, 0);
18278 return 0;
18280 _ACEOF
18281 if ac_fn_cxx_try_compile "$LINENO"; then :
18282 glibcxx_cv_POLL=yes
18283 else
18284 glibcxx_cv_POLL=no
18286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18287 else
18288 if test x$gcc_no_link = xyes; then
18289 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18292 /* end confdefs.h. */
18293 #include <poll.h>
18295 main ()
18297 struct pollfd pfd[1];
18298 pfd[0].events = POLLIN;
18299 poll(pfd, 1, 0);
18301 return 0;
18303 _ACEOF
18304 if ac_fn_cxx_try_link "$LINENO"; then :
18305 glibcxx_cv_POLL=yes
18306 else
18307 glibcxx_cv_POLL=no
18309 rm -f core conftest.err conftest.$ac_objext \
18310 conftest$ac_exeext conftest.$ac_ext
18315 if test $glibcxx_cv_POLL = yes; then
18317 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18321 $as_echo "$glibcxx_cv_POLL" >&6; }
18323 CXXFLAGS="$ac_save_CXXFLAGS"
18324 ac_ext=c
18325 ac_cpp='$CPP $CPPFLAGS'
18326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18334 ac_ext=cpp
18335 ac_cpp='$CXXCPP $CPPFLAGS'
18336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18340 ac_save_CXXFLAGS="$CXXFLAGS"
18341 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18344 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18345 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18346 $as_echo_n "(cached) " >&6
18347 else
18349 if test x$gcc_no_link = xyes; then
18350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18351 /* end confdefs.h. */
18352 #include <sys/stat.h>
18354 main ()
18356 struct stat buffer;
18357 fstat(0, &buffer);
18358 S_ISREG(buffer.st_mode);
18360 return 0;
18362 _ACEOF
18363 if ac_fn_cxx_try_compile "$LINENO"; then :
18364 glibcxx_cv_S_ISREG=yes
18365 else
18366 glibcxx_cv_S_ISREG=no
18368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18369 else
18370 if test x$gcc_no_link = xyes; then
18371 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18374 /* end confdefs.h. */
18375 #include <sys/stat.h>
18377 main ()
18379 struct stat buffer;
18380 fstat(0, &buffer);
18381 S_ISREG(buffer.st_mode);
18383 return 0;
18385 _ACEOF
18386 if ac_fn_cxx_try_link "$LINENO"; then :
18387 glibcxx_cv_S_ISREG=yes
18388 else
18389 glibcxx_cv_S_ISREG=no
18391 rm -f core conftest.err conftest.$ac_objext \
18392 conftest$ac_exeext conftest.$ac_ext
18397 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18398 $as_echo_n "(cached) " >&6
18399 else
18401 if test x$gcc_no_link = xyes; then
18402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18403 /* end confdefs.h. */
18404 #include <sys/stat.h>
18406 main ()
18408 struct stat buffer;
18409 fstat(0, &buffer);
18410 S_IFREG & buffer.st_mode;
18412 return 0;
18414 _ACEOF
18415 if ac_fn_cxx_try_compile "$LINENO"; then :
18416 glibcxx_cv_S_IFREG=yes
18417 else
18418 glibcxx_cv_S_IFREG=no
18420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18421 else
18422 if test x$gcc_no_link = xyes; then
18423 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18426 /* end confdefs.h. */
18427 #include <sys/stat.h>
18429 main ()
18431 struct stat buffer;
18432 fstat(0, &buffer);
18433 S_IFREG & buffer.st_mode;
18435 return 0;
18437 _ACEOF
18438 if ac_fn_cxx_try_link "$LINENO"; then :
18439 glibcxx_cv_S_IFREG=yes
18440 else
18441 glibcxx_cv_S_IFREG=no
18443 rm -f core conftest.err conftest.$ac_objext \
18444 conftest$ac_exeext conftest.$ac_ext
18449 res=no
18450 if test $glibcxx_cv_S_ISREG = yes; then
18452 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18454 res=S_ISREG
18455 elif test $glibcxx_cv_S_IFREG = yes; then
18457 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18459 res=S_IFREG
18461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18462 $as_echo "$res" >&6; }
18464 CXXFLAGS="$ac_save_CXXFLAGS"
18465 ac_ext=c
18466 ac_cpp='$CPP $CPPFLAGS'
18467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18473 # For xsputn_2().
18474 for ac_header in sys/uio.h
18475 do :
18476 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18477 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18478 cat >>confdefs.h <<_ACEOF
18479 #define HAVE_SYS_UIO_H 1
18480 _ACEOF
18484 done
18489 ac_ext=cpp
18490 ac_cpp='$CXXCPP $CPPFLAGS'
18491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18495 ac_save_CXXFLAGS="$CXXFLAGS"
18496 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18499 $as_echo_n "checking for writev... " >&6; }
18500 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18501 $as_echo_n "(cached) " >&6
18502 else
18504 if test x$gcc_no_link = xyes; then
18505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18506 /* end confdefs.h. */
18507 #include <sys/uio.h>
18509 main ()
18511 struct iovec iov[2];
18512 writev(0, iov, 0);
18514 return 0;
18516 _ACEOF
18517 if ac_fn_cxx_try_compile "$LINENO"; then :
18518 glibcxx_cv_WRITEV=yes
18519 else
18520 glibcxx_cv_WRITEV=no
18522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18523 else
18524 if test x$gcc_no_link = xyes; then
18525 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18528 /* end confdefs.h. */
18529 #include <sys/uio.h>
18531 main ()
18533 struct iovec iov[2];
18534 writev(0, iov, 0);
18536 return 0;
18538 _ACEOF
18539 if ac_fn_cxx_try_link "$LINENO"; then :
18540 glibcxx_cv_WRITEV=yes
18541 else
18542 glibcxx_cv_WRITEV=no
18544 rm -f core conftest.err conftest.$ac_objext \
18545 conftest$ac_exeext conftest.$ac_ext
18550 if test $glibcxx_cv_WRITEV = yes; then
18552 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18556 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18558 CXXFLAGS="$ac_save_CXXFLAGS"
18559 ac_ext=c
18560 ac_cpp='$CPP $CPPFLAGS'
18561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18567 # For C99 support to TR1.
18571 ac_ext=cpp
18572 ac_cpp='$CXXCPP $CPPFLAGS'
18573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18578 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18579 # undefined and fake C99 facilities may be spuriously enabled.
18580 ac_save_CXXFLAGS="$CXXFLAGS"
18581 CXXFLAGS="$CXXFLAGS -std=c++98"
18583 # Check for the existence of <complex.h> complex math functions used
18584 # by tr1/complex.
18585 for ac_header in complex.h
18586 do :
18587 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18588 if test "x$ac_cv_header_complex_h" = x""yes; then :
18589 cat >>confdefs.h <<_ACEOF
18590 #define HAVE_COMPLEX_H 1
18591 _ACEOF
18592 ac_has_complex_h=yes
18593 else
18594 ac_has_complex_h=no
18597 done
18599 ac_c99_complex_tr1=no;
18600 if test x"$ac_has_complex_h" = x"yes"; then
18601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18602 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18604 /* end confdefs.h. */
18605 #include <complex.h>
18607 main ()
18609 typedef __complex__ float float_type; float_type tmpf;
18610 cacosf(tmpf);
18611 casinf(tmpf);
18612 catanf(tmpf);
18613 cacoshf(tmpf);
18614 casinhf(tmpf);
18615 catanhf(tmpf);
18616 typedef __complex__ double double_type; double_type tmpd;
18617 cacos(tmpd);
18618 casin(tmpd);
18619 catan(tmpd);
18620 cacosh(tmpd);
18621 casinh(tmpd);
18622 catanh(tmpd);
18623 typedef __complex__ long double ld_type; ld_type tmpld;
18624 cacosl(tmpld);
18625 casinl(tmpld);
18626 catanl(tmpld);
18627 cacoshl(tmpld);
18628 casinhl(tmpld);
18629 catanhl(tmpld);
18632 return 0;
18634 _ACEOF
18635 if ac_fn_cxx_try_compile "$LINENO"; then :
18636 ac_c99_complex_tr1=yes
18637 else
18638 ac_c99_complex_tr1=no
18640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18643 $as_echo "$ac_c99_complex_tr1" >&6; }
18644 if test x"$ac_c99_complex_tr1" = x"yes"; then
18646 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18650 # Check for the existence of <ctype.h> functions.
18651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18652 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18653 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18654 $as_echo_n "(cached) " >&6
18655 else
18657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18658 /* end confdefs.h. */
18659 #include <ctype.h>
18661 main ()
18663 int ch;
18664 int ret;
18665 ret = isblank(ch);
18668 return 0;
18670 _ACEOF
18671 if ac_fn_cxx_try_compile "$LINENO"; then :
18672 glibcxx_cv_c99_ctype_tr1=yes
18673 else
18674 glibcxx_cv_c99_ctype_tr1=no
18676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18681 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18682 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18684 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18688 # Check for the existence of <fenv.h> functions.
18689 for ac_header in fenv.h
18690 do :
18691 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18692 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18693 cat >>confdefs.h <<_ACEOF
18694 #define HAVE_FENV_H 1
18695 _ACEOF
18696 ac_has_fenv_h=yes
18697 else
18698 ac_has_fenv_h=no
18701 done
18703 ac_c99_fenv_tr1=no;
18704 if test x"$ac_has_fenv_h" = x"yes"; then
18705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18706 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18708 /* end confdefs.h. */
18709 #include <fenv.h>
18711 main ()
18713 int except, mode;
18714 fexcept_t* pflag;
18715 fenv_t* penv;
18716 int ret;
18717 ret = feclearexcept(except);
18718 ret = fegetexceptflag(pflag, except);
18719 ret = feraiseexcept(except);
18720 ret = fesetexceptflag(pflag, except);
18721 ret = fetestexcept(except);
18722 ret = fegetround();
18723 ret = fesetround(mode);
18724 ret = fegetenv(penv);
18725 ret = feholdexcept(penv);
18726 ret = fesetenv(penv);
18727 ret = feupdateenv(penv);
18730 return 0;
18732 _ACEOF
18733 if ac_fn_cxx_try_compile "$LINENO"; then :
18734 ac_c99_fenv_tr1=yes
18735 else
18736 ac_c99_fenv_tr1=no
18738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18741 $as_echo "$ac_c99_fenv_tr1" >&6; }
18742 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18744 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18748 # Check for the existence of <stdint.h> types.
18749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18750 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18751 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18752 $as_echo_n "(cached) " >&6
18753 else
18755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18756 /* end confdefs.h. */
18757 #define __STDC_LIMIT_MACROS
18758 #define __STDC_CONSTANT_MACROS
18759 #include <stdint.h>
18761 main ()
18763 typedef int8_t my_int8_t;
18764 my_int8_t i8 = INT8_MIN;
18765 i8 = INT8_MAX;
18766 typedef int16_t my_int16_t;
18767 my_int16_t i16 = INT16_MIN;
18768 i16 = INT16_MAX;
18769 typedef int32_t my_int32_t;
18770 my_int32_t i32 = INT32_MIN;
18771 i32 = INT32_MAX;
18772 typedef int64_t my_int64_t;
18773 my_int64_t i64 = INT64_MIN;
18774 i64 = INT64_MAX;
18775 typedef int_fast8_t my_int_fast8_t;
18776 my_int_fast8_t if8 = INT_FAST8_MIN;
18777 if8 = INT_FAST8_MAX;
18778 typedef int_fast16_t my_int_fast16_t;
18779 my_int_fast16_t if16 = INT_FAST16_MIN;
18780 if16 = INT_FAST16_MAX;
18781 typedef int_fast32_t my_int_fast32_t;
18782 my_int_fast32_t if32 = INT_FAST32_MIN;
18783 if32 = INT_FAST32_MAX;
18784 typedef int_fast64_t my_int_fast64_t;
18785 my_int_fast64_t if64 = INT_FAST64_MIN;
18786 if64 = INT_FAST64_MAX;
18787 typedef int_least8_t my_int_least8_t;
18788 my_int_least8_t il8 = INT_LEAST8_MIN;
18789 il8 = INT_LEAST8_MAX;
18790 typedef int_least16_t my_int_least16_t;
18791 my_int_least16_t il16 = INT_LEAST16_MIN;
18792 il16 = INT_LEAST16_MAX;
18793 typedef int_least32_t my_int_least32_t;
18794 my_int_least32_t il32 = INT_LEAST32_MIN;
18795 il32 = INT_LEAST32_MAX;
18796 typedef int_least64_t my_int_least64_t;
18797 my_int_least64_t il64 = INT_LEAST64_MIN;
18798 il64 = INT_LEAST64_MAX;
18799 typedef intmax_t my_intmax_t;
18800 my_intmax_t im = INTMAX_MAX;
18801 im = INTMAX_MIN;
18802 typedef intptr_t my_intptr_t;
18803 my_intptr_t ip = INTPTR_MAX;
18804 ip = INTPTR_MIN;
18805 typedef uint8_t my_uint8_t;
18806 my_uint8_t ui8 = UINT8_MAX;
18807 ui8 = UINT8_MAX;
18808 typedef uint16_t my_uint16_t;
18809 my_uint16_t ui16 = UINT16_MAX;
18810 ui16 = UINT16_MAX;
18811 typedef uint32_t my_uint32_t;
18812 my_uint32_t ui32 = UINT32_MAX;
18813 ui32 = UINT32_MAX;
18814 typedef uint64_t my_uint64_t;
18815 my_uint64_t ui64 = UINT64_MAX;
18816 ui64 = UINT64_MAX;
18817 typedef uint_fast8_t my_uint_fast8_t;
18818 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18819 uif8 = UINT_FAST8_MAX;
18820 typedef uint_fast16_t my_uint_fast16_t;
18821 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18822 uif16 = UINT_FAST16_MAX;
18823 typedef uint_fast32_t my_uint_fast32_t;
18824 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18825 uif32 = UINT_FAST32_MAX;
18826 typedef uint_fast64_t my_uint_fast64_t;
18827 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18828 uif64 = UINT_FAST64_MAX;
18829 typedef uint_least8_t my_uint_least8_t;
18830 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18831 uil8 = UINT_LEAST8_MAX;
18832 typedef uint_least16_t my_uint_least16_t;
18833 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18834 uil16 = UINT_LEAST16_MAX;
18835 typedef uint_least32_t my_uint_least32_t;
18836 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18837 uil32 = UINT_LEAST32_MAX;
18838 typedef uint_least64_t my_uint_least64_t;
18839 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18840 uil64 = UINT_LEAST64_MAX;
18841 typedef uintmax_t my_uintmax_t;
18842 my_uintmax_t uim = UINTMAX_MAX;
18843 uim = UINTMAX_MAX;
18844 typedef uintptr_t my_uintptr_t;
18845 my_uintptr_t uip = UINTPTR_MAX;
18846 uip = UINTPTR_MAX;
18849 return 0;
18851 _ACEOF
18852 if ac_fn_cxx_try_compile "$LINENO"; then :
18853 glibcxx_cv_c99_stdint_tr1=yes
18854 else
18855 glibcxx_cv_c99_stdint_tr1=no
18857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18862 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18863 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18865 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18869 # Check for the existence of <math.h> functions.
18870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18871 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18872 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18873 $as_echo_n "(cached) " >&6
18874 else
18876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18877 /* end confdefs.h. */
18878 #include <math.h>
18880 main ()
18882 typedef double_t my_double_t;
18883 typedef float_t my_float_t;
18884 acosh(0.0);
18885 acoshf(0.0f);
18886 acoshl(0.0l);
18887 asinh(0.0);
18888 asinhf(0.0f);
18889 asinhl(0.0l);
18890 atanh(0.0);
18891 atanhf(0.0f);
18892 atanhl(0.0l);
18893 cbrt(0.0);
18894 cbrtf(0.0f);
18895 cbrtl(0.0l);
18896 copysign(0.0, 0.0);
18897 copysignf(0.0f, 0.0f);
18898 copysignl(0.0l, 0.0l);
18899 erf(0.0);
18900 erff(0.0f);
18901 erfl(0.0l);
18902 erfc(0.0);
18903 erfcf(0.0f);
18904 erfcl(0.0l);
18905 exp2(0.0);
18906 exp2f(0.0f);
18907 exp2l(0.0l);
18908 expm1(0.0);
18909 expm1f(0.0f);
18910 expm1l(0.0l);
18911 fdim(0.0, 0.0);
18912 fdimf(0.0f, 0.0f);
18913 fdiml(0.0l, 0.0l);
18914 fma(0.0, 0.0, 0.0);
18915 fmaf(0.0f, 0.0f, 0.0f);
18916 fmal(0.0l, 0.0l, 0.0l);
18917 fmax(0.0, 0.0);
18918 fmaxf(0.0f, 0.0f);
18919 fmaxl(0.0l, 0.0l);
18920 fmin(0.0, 0.0);
18921 fminf(0.0f, 0.0f);
18922 fminl(0.0l, 0.0l);
18923 hypot(0.0, 0.0);
18924 hypotf(0.0f, 0.0f);
18925 hypotl(0.0l, 0.0l);
18926 ilogb(0.0);
18927 ilogbf(0.0f);
18928 ilogbl(0.0l);
18929 lgamma(0.0);
18930 lgammaf(0.0f);
18931 lgammal(0.0l);
18932 llrint(0.0);
18933 llrintf(0.0f);
18934 llrintl(0.0l);
18935 llround(0.0);
18936 llroundf(0.0f);
18937 llroundl(0.0l);
18938 log1p(0.0);
18939 log1pf(0.0f);
18940 log1pl(0.0l);
18941 log2(0.0);
18942 log2f(0.0f);
18943 log2l(0.0l);
18944 logb(0.0);
18945 logbf(0.0f);
18946 logbl(0.0l);
18947 lrint(0.0);
18948 lrintf(0.0f);
18949 lrintl(0.0l);
18950 lround(0.0);
18951 lroundf(0.0f);
18952 lroundl(0.0l);
18953 nan(0);
18954 nanf(0);
18955 nanl(0);
18956 nearbyint(0.0);
18957 nearbyintf(0.0f);
18958 nearbyintl(0.0l);
18959 nextafter(0.0, 0.0);
18960 nextafterf(0.0f, 0.0f);
18961 nextafterl(0.0l, 0.0l);
18962 nexttoward(0.0, 0.0);
18963 nexttowardf(0.0f, 0.0f);
18964 nexttowardl(0.0l, 0.0l);
18965 remainder(0.0, 0.0);
18966 remainderf(0.0f, 0.0f);
18967 remainderl(0.0l, 0.0l);
18968 remquo(0.0, 0.0, 0);
18969 remquof(0.0f, 0.0f, 0);
18970 remquol(0.0l, 0.0l, 0);
18971 rint(0.0);
18972 rintf(0.0f);
18973 rintl(0.0l);
18974 round(0.0);
18975 roundf(0.0f);
18976 roundl(0.0l);
18977 scalbln(0.0, 0l);
18978 scalblnf(0.0f, 0l);
18979 scalblnl(0.0l, 0l);
18980 scalbn(0.0, 0);
18981 scalbnf(0.0f, 0);
18982 scalbnl(0.0l, 0);
18983 tgamma(0.0);
18984 tgammaf(0.0f);
18985 tgammal(0.0l);
18986 trunc(0.0);
18987 truncf(0.0f);
18988 truncl(0.0l);
18991 return 0;
18993 _ACEOF
18994 if ac_fn_cxx_try_compile "$LINENO"; then :
18995 glibcxx_cv_c99_math_tr1=yes
18996 else
18997 glibcxx_cv_c99_math_tr1=no
18999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19004 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19005 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19007 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19011 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19012 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19013 ac_c99_inttypes_tr1=no;
19014 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19016 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19018 /* end confdefs.h. */
19019 #include <inttypes.h>
19021 main ()
19023 intmax_t i, numer, denom, base;
19024 const char* s;
19025 char** endptr;
19026 intmax_t ret = imaxabs(i);
19027 imaxdiv_t dret = imaxdiv(numer, denom);
19028 ret = strtoimax(s, endptr, base);
19029 uintmax_t uret = strtoumax(s, endptr, base);
19032 return 0;
19034 _ACEOF
19035 if ac_fn_cxx_try_compile "$LINENO"; then :
19036 ac_c99_inttypes_tr1=yes
19037 else
19038 ac_c99_inttypes_tr1=no
19040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19043 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19044 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19046 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19050 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19051 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19052 ac_c99_inttypes_wchar_t_tr1=no;
19053 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19055 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19057 /* end confdefs.h. */
19058 #include <inttypes.h>
19060 main ()
19062 intmax_t base;
19063 const wchar_t* s;
19064 wchar_t** endptr;
19065 intmax_t ret = wcstoimax(s, endptr, base);
19066 uintmax_t uret = wcstoumax(s, endptr, base);
19069 return 0;
19071 _ACEOF
19072 if ac_fn_cxx_try_compile "$LINENO"; then :
19073 ac_c99_inttypes_wchar_t_tr1=yes
19074 else
19075 ac_c99_inttypes_wchar_t_tr1=no
19077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19080 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19081 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19083 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19087 # Check for the existence of the <stdbool.h> header.
19088 for ac_header in stdbool.h
19089 do :
19090 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19091 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19092 cat >>confdefs.h <<_ACEOF
19093 #define HAVE_STDBOOL_H 1
19094 _ACEOF
19098 done
19101 # Check for the existence of the <stdalign.h> header.
19102 for ac_header in stdalign.h
19103 do :
19104 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19105 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19106 cat >>confdefs.h <<_ACEOF
19107 #define HAVE_STDALIGN_H 1
19108 _ACEOF
19112 done
19115 CXXFLAGS="$ac_save_CXXFLAGS"
19116 ac_ext=c
19117 ac_cpp='$CPP $CPPFLAGS'
19118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19124 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19128 $as_echo_n "checking for the value of EOF... " >&6; }
19129 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19130 $as_echo_n "(cached) " >&6
19131 else
19133 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19135 else
19136 as_fn_error "computing EOF failed" "$LINENO" 5
19141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19142 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19144 cat >>confdefs.h <<_ACEOF
19145 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19146 _ACEOF
19149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19150 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19151 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19152 $as_echo_n "(cached) " >&6
19153 else
19155 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19157 else
19158 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19164 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19166 cat >>confdefs.h <<_ACEOF
19167 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19168 _ACEOF
19171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19172 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19173 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19174 $as_echo_n "(cached) " >&6
19175 else
19177 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19179 else
19180 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19186 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19188 cat >>confdefs.h <<_ACEOF
19189 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19190 _ACEOF
19194 # For gettimeofday support.
19197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19198 $as_echo_n "checking for gettimeofday... " >&6; }
19201 ac_ext=cpp
19202 ac_cpp='$CXXCPP $CPPFLAGS'
19203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19207 ac_save_CXXFLAGS="$CXXFLAGS"
19208 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19210 ac_has_gettimeofday=no;
19211 for ac_header in sys/time.h
19212 do :
19213 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19214 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19215 cat >>confdefs.h <<_ACEOF
19216 #define HAVE_SYS_TIME_H 1
19217 _ACEOF
19218 ac_has_sys_time_h=yes
19219 else
19220 ac_has_sys_time_h=no
19223 done
19225 if test x"$ac_has_sys_time_h" = x"yes"; then
19226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19227 $as_echo_n "checking for gettimeofday... " >&6; }
19228 if test x$gcc_no_link = xyes; then
19229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19230 /* end confdefs.h. */
19231 #include <sys/time.h>
19233 main ()
19235 timeval tv; gettimeofday(&tv, 0);
19237 return 0;
19239 _ACEOF
19240 if ac_fn_cxx_try_compile "$LINENO"; then :
19241 ac_has_gettimeofday=yes
19242 else
19243 ac_has_gettimeofday=no
19245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19246 else
19247 if test x$gcc_no_link = xyes; then
19248 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19251 /* end confdefs.h. */
19252 #include <sys/time.h>
19254 main ()
19256 timeval tv; gettimeofday(&tv, 0);
19258 return 0;
19260 _ACEOF
19261 if ac_fn_cxx_try_link "$LINENO"; then :
19262 ac_has_gettimeofday=yes
19263 else
19264 ac_has_gettimeofday=no
19266 rm -f core conftest.err conftest.$ac_objext \
19267 conftest$ac_exeext conftest.$ac_ext
19270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19271 $as_echo "$ac_has_gettimeofday" >&6; }
19274 if test x"$ac_has_gettimeofday" = x"yes"; then
19276 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19280 CXXFLAGS="$ac_save_CXXFLAGS"
19281 ac_ext=c
19282 ac_cpp='$CPP $CPPFLAGS'
19283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19289 # For clock_gettime, nanosleep and sched_yield support.
19290 # NB: The default is [no], because otherwise it requires linking.
19293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
19294 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
19295 # Check whether --enable-libstdcxx-time was given.
19296 if test "${enable_libstdcxx_time+set}" = set; then :
19297 enableval=$enable_libstdcxx_time;
19298 case "$enableval" in
19299 yes|no|rt) ;;
19300 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19301 esac
19303 else
19304 enable_libstdcxx_time=no
19310 ac_ext=cpp
19311 ac_cpp='$CXXCPP $CPPFLAGS'
19312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19316 ac_save_CXXFLAGS="$CXXFLAGS"
19317 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19318 ac_save_LIBS="$LIBS"
19320 ac_has_clock_monotonic=no
19321 ac_has_clock_realtime=no
19322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
19323 $as_echo "$enable_libstdcxx_time" >&6; }
19325 if test x"$enable_libstdcxx_time" != x"no"; then
19327 if test x"$enable_libstdcxx_time" = x"rt"; then
19328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19329 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19330 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19331 $as_echo_n "(cached) " >&6
19332 else
19333 ac_func_search_save_LIBS=$LIBS
19334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19335 /* end confdefs.h. */
19337 /* Override any GCC internal prototype to avoid an error.
19338 Use char because int might match the return type of a GCC
19339 builtin and then its argument prototype would still apply. */
19340 #ifdef __cplusplus
19341 extern "C"
19342 #endif
19343 char clock_gettime ();
19345 main ()
19347 return clock_gettime ();
19349 return 0;
19351 _ACEOF
19352 for ac_lib in '' rt posix4; do
19353 if test -z "$ac_lib"; then
19354 ac_res="none required"
19355 else
19356 ac_res=-l$ac_lib
19357 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19359 if test x$gcc_no_link = xyes; then
19360 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19362 if ac_fn_cxx_try_link "$LINENO"; then :
19363 ac_cv_search_clock_gettime=$ac_res
19365 rm -f core conftest.err conftest.$ac_objext \
19366 conftest$ac_exeext
19367 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19368 break
19370 done
19371 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19373 else
19374 ac_cv_search_clock_gettime=no
19376 rm conftest.$ac_ext
19377 LIBS=$ac_func_search_save_LIBS
19379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19380 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19381 ac_res=$ac_cv_search_clock_gettime
19382 if test "$ac_res" != no; then :
19383 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19388 $as_echo_n "checking for library containing nanosleep... " >&6; }
19389 if test "${ac_cv_search_nanosleep+set}" = set; then :
19390 $as_echo_n "(cached) " >&6
19391 else
19392 ac_func_search_save_LIBS=$LIBS
19393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19394 /* end confdefs.h. */
19396 /* Override any GCC internal prototype to avoid an error.
19397 Use char because int might match the return type of a GCC
19398 builtin and then its argument prototype would still apply. */
19399 #ifdef __cplusplus
19400 extern "C"
19401 #endif
19402 char nanosleep ();
19404 main ()
19406 return nanosleep ();
19408 return 0;
19410 _ACEOF
19411 for ac_lib in '' rt posix4; do
19412 if test -z "$ac_lib"; then
19413 ac_res="none required"
19414 else
19415 ac_res=-l$ac_lib
19416 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19418 if test x$gcc_no_link = xyes; then
19419 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19421 if ac_fn_cxx_try_link "$LINENO"; then :
19422 ac_cv_search_nanosleep=$ac_res
19424 rm -f core conftest.err conftest.$ac_objext \
19425 conftest$ac_exeext
19426 if test "${ac_cv_search_nanosleep+set}" = set; then :
19427 break
19429 done
19430 if test "${ac_cv_search_nanosleep+set}" = set; then :
19432 else
19433 ac_cv_search_nanosleep=no
19435 rm conftest.$ac_ext
19436 LIBS=$ac_func_search_save_LIBS
19438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19439 $as_echo "$ac_cv_search_nanosleep" >&6; }
19440 ac_res=$ac_cv_search_nanosleep
19441 if test "$ac_res" != no; then :
19442 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19446 else
19447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19448 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19449 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19450 $as_echo_n "(cached) " >&6
19451 else
19452 ac_func_search_save_LIBS=$LIBS
19453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19454 /* end confdefs.h. */
19456 /* Override any GCC internal prototype to avoid an error.
19457 Use char because int might match the return type of a GCC
19458 builtin and then its argument prototype would still apply. */
19459 #ifdef __cplusplus
19460 extern "C"
19461 #endif
19462 char clock_gettime ();
19464 main ()
19466 return clock_gettime ();
19468 return 0;
19470 _ACEOF
19471 for ac_lib in '' posix4; do
19472 if test -z "$ac_lib"; then
19473 ac_res="none required"
19474 else
19475 ac_res=-l$ac_lib
19476 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19478 if test x$gcc_no_link = xyes; then
19479 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19481 if ac_fn_cxx_try_link "$LINENO"; then :
19482 ac_cv_search_clock_gettime=$ac_res
19484 rm -f core conftest.err conftest.$ac_objext \
19485 conftest$ac_exeext
19486 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19487 break
19489 done
19490 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19492 else
19493 ac_cv_search_clock_gettime=no
19495 rm conftest.$ac_ext
19496 LIBS=$ac_func_search_save_LIBS
19498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19499 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19500 ac_res=$ac_cv_search_clock_gettime
19501 if test "$ac_res" != no; then :
19502 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19507 $as_echo_n "checking for library containing nanosleep... " >&6; }
19508 if test "${ac_cv_search_nanosleep+set}" = set; then :
19509 $as_echo_n "(cached) " >&6
19510 else
19511 ac_func_search_save_LIBS=$LIBS
19512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19513 /* end confdefs.h. */
19515 /* Override any GCC internal prototype to avoid an error.
19516 Use char because int might match the return type of a GCC
19517 builtin and then its argument prototype would still apply. */
19518 #ifdef __cplusplus
19519 extern "C"
19520 #endif
19521 char nanosleep ();
19523 main ()
19525 return nanosleep ();
19527 return 0;
19529 _ACEOF
19530 for ac_lib in '' posix4; do
19531 if test -z "$ac_lib"; then
19532 ac_res="none required"
19533 else
19534 ac_res=-l$ac_lib
19535 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19537 if test x$gcc_no_link = xyes; then
19538 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19540 if ac_fn_cxx_try_link "$LINENO"; then :
19541 ac_cv_search_nanosleep=$ac_res
19543 rm -f core conftest.err conftest.$ac_objext \
19544 conftest$ac_exeext
19545 if test "${ac_cv_search_nanosleep+set}" = set; then :
19546 break
19548 done
19549 if test "${ac_cv_search_nanosleep+set}" = set; then :
19551 else
19552 ac_cv_search_nanosleep=no
19554 rm conftest.$ac_ext
19555 LIBS=$ac_func_search_save_LIBS
19557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19558 $as_echo "$ac_cv_search_nanosleep" >&6; }
19559 ac_res=$ac_cv_search_nanosleep
19560 if test "$ac_res" != no; then :
19561 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19567 case "$ac_cv_search_clock_gettime" in
19568 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19570 esac
19571 case "$ac_cv_search_nanosleep" in
19572 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19574 esac
19576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19577 $as_echo_n "checking for library containing sched_yield... " >&6; }
19578 if test "${ac_cv_search_sched_yield+set}" = set; then :
19579 $as_echo_n "(cached) " >&6
19580 else
19581 ac_func_search_save_LIBS=$LIBS
19582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19583 /* end confdefs.h. */
19585 /* Override any GCC internal prototype to avoid an error.
19586 Use char because int might match the return type of a GCC
19587 builtin and then its argument prototype would still apply. */
19588 #ifdef __cplusplus
19589 extern "C"
19590 #endif
19591 char sched_yield ();
19593 main ()
19595 return sched_yield ();
19597 return 0;
19599 _ACEOF
19600 for ac_lib in '' rt posix4; do
19601 if test -z "$ac_lib"; then
19602 ac_res="none required"
19603 else
19604 ac_res=-l$ac_lib
19605 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19607 if test x$gcc_no_link = xyes; then
19608 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19610 if ac_fn_cxx_try_link "$LINENO"; then :
19611 ac_cv_search_sched_yield=$ac_res
19613 rm -f core conftest.err conftest.$ac_objext \
19614 conftest$ac_exeext
19615 if test "${ac_cv_search_sched_yield+set}" = set; then :
19616 break
19618 done
19619 if test "${ac_cv_search_sched_yield+set}" = set; then :
19621 else
19622 ac_cv_search_sched_yield=no
19624 rm conftest.$ac_ext
19625 LIBS=$ac_func_search_save_LIBS
19627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19628 $as_echo "$ac_cv_search_sched_yield" >&6; }
19629 ac_res=$ac_cv_search_sched_yield
19630 if test "$ac_res" != no; then :
19631 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19636 case "$ac_cv_search_sched_yield" in
19637 -lposix4*)
19638 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19640 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19643 -lrt*)
19644 if test x"$enable_libstdcxx_time" = x"rt"; then
19645 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19647 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19653 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19656 esac
19658 for ac_header in unistd.h
19659 do :
19660 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19661 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19662 cat >>confdefs.h <<_ACEOF
19663 #define HAVE_UNISTD_H 1
19664 _ACEOF
19665 ac_has_unistd_h=yes
19666 else
19667 ac_has_unistd_h=no
19670 done
19673 if test x"$ac_has_unistd_h" = x"yes"; then
19674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19675 $as_echo_n "checking for monotonic clock... " >&6; }
19676 if test x$gcc_no_link = xyes; then
19677 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19680 /* end confdefs.h. */
19681 #include <unistd.h>
19682 #include <time.h>
19685 main ()
19687 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19688 timespec tp;
19689 #endif
19690 clock_gettime(CLOCK_MONOTONIC, &tp);
19693 return 0;
19695 _ACEOF
19696 if ac_fn_cxx_try_link "$LINENO"; then :
19697 ac_has_clock_monotonic=yes
19698 else
19699 ac_has_clock_monotonic=no
19701 rm -f core conftest.err conftest.$ac_objext \
19702 conftest$ac_exeext conftest.$ac_ext
19704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19705 $as_echo "$ac_has_clock_monotonic" >&6; }
19707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19708 $as_echo_n "checking for realtime clock... " >&6; }
19709 if test x$gcc_no_link = xyes; then
19710 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19713 /* end confdefs.h. */
19714 #include <unistd.h>
19715 #include <time.h>
19718 main ()
19720 #if _POSIX_TIMERS > 0
19721 timespec tp;
19722 #endif
19723 clock_gettime(CLOCK_REALTIME, &tp);
19726 return 0;
19728 _ACEOF
19729 if ac_fn_cxx_try_link "$LINENO"; then :
19730 ac_has_clock_realtime=yes
19731 else
19732 ac_has_clock_realtime=no
19734 rm -f core conftest.err conftest.$ac_objext \
19735 conftest$ac_exeext conftest.$ac_ext
19737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19738 $as_echo "$ac_has_clock_realtime" >&6; }
19740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19741 $as_echo_n "checking for nanosleep... " >&6; }
19742 if test x$gcc_no_link = xyes; then
19743 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19746 /* end confdefs.h. */
19747 #include <unistd.h>
19748 #include <time.h>
19751 main ()
19753 #if _POSIX_TIMERS > 0
19754 timespec tp;
19755 #endif
19756 nanosleep(&tp, 0);
19759 return 0;
19761 _ACEOF
19762 if ac_fn_cxx_try_link "$LINENO"; then :
19763 ac_has_nanosleep=yes
19764 else
19765 ac_has_nanosleep=no
19767 rm -f core conftest.err conftest.$ac_objext \
19768 conftest$ac_exeext conftest.$ac_ext
19770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19771 $as_echo "$ac_has_nanosleep" >&6; }
19775 if test x"$ac_has_clock_monotonic" = x"yes"; then
19777 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19781 if test x"$ac_has_clock_realtime" = x"yes"; then
19783 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19787 if test x"$ac_has_nanosleep" = x"yes"; then
19789 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19795 CXXFLAGS="$ac_save_CXXFLAGS"
19796 LIBS="$ac_save_LIBS"
19797 ac_ext=c
19798 ac_cpp='$CPP $CPPFLAGS'
19799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19806 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19807 if test "x$ac_cv_header_locale_h" = x""yes; then :
19809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19810 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19811 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19812 $as_echo_n "(cached) " >&6
19813 else
19814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19815 /* end confdefs.h. */
19816 #include <locale.h>
19818 main ()
19820 return LC_MESSAGES
19822 return 0;
19824 _ACEOF
19825 if ac_fn_c_try_compile "$LINENO"; then :
19826 ac_cv_val_LC_MESSAGES=yes
19827 else
19828 ac_cv_val_LC_MESSAGES=no
19830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19833 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19834 if test $ac_cv_val_LC_MESSAGES = yes; then
19836 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19845 # For hardware_concurrency
19846 for ac_header in sys/sysinfo.h
19847 do :
19848 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
19849 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
19850 cat >>confdefs.h <<_ACEOF
19851 #define HAVE_SYS_SYSINFO_H 1
19852 _ACEOF
19856 done
19861 ac_ext=cpp
19862 ac_cpp='$CXXCPP $CPPFLAGS'
19863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19867 ac_save_CXXFLAGS="$CXXFLAGS"
19868 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
19871 $as_echo_n "checking for get_nprocs... " >&6; }
19872 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
19873 $as_echo_n "(cached) " >&6
19874 else
19876 if test x$gcc_no_link = xyes; then
19877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19878 /* end confdefs.h. */
19879 #include <sys/sysinfo.h>
19881 main ()
19883 int n = get_nprocs();
19885 return 0;
19887 _ACEOF
19888 if ac_fn_cxx_try_compile "$LINENO"; then :
19889 glibcxx_cv_GET_NPROCS=yes
19890 else
19891 glibcxx_cv_GET_NPROCS=no
19893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19894 else
19895 if test x$gcc_no_link = xyes; then
19896 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19899 /* end confdefs.h. */
19900 #include <sys/sysinfo.h>
19902 main ()
19904 int n = get_nprocs();
19906 return 0;
19908 _ACEOF
19909 if ac_fn_cxx_try_link "$LINENO"; then :
19910 glibcxx_cv_GET_NPROCS=yes
19911 else
19912 glibcxx_cv_GET_NPROCS=no
19914 rm -f core conftest.err conftest.$ac_objext \
19915 conftest$ac_exeext conftest.$ac_ext
19920 if test $glibcxx_cv_GET_NPROCS = yes; then
19922 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
19925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
19926 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
19928 CXXFLAGS="$ac_save_CXXFLAGS"
19929 ac_ext=c
19930 ac_cpp='$CPP $CPPFLAGS'
19931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19936 for ac_header in unistd.h
19937 do :
19938 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19939 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19940 cat >>confdefs.h <<_ACEOF
19941 #define HAVE_UNISTD_H 1
19942 _ACEOF
19946 done
19951 ac_ext=cpp
19952 ac_cpp='$CXXCPP $CPPFLAGS'
19953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19957 ac_save_CXXFLAGS="$CXXFLAGS"
19958 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
19961 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
19962 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
19963 $as_echo_n "(cached) " >&6
19964 else
19966 if test x$gcc_no_link = xyes; then
19967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19968 /* end confdefs.h. */
19969 #include <unistd.h>
19971 main ()
19973 int n = sysconf(_SC_NPROCESSORS_ONLN);
19975 return 0;
19977 _ACEOF
19978 if ac_fn_cxx_try_compile "$LINENO"; then :
19979 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
19980 else
19981 glibcxx_cv_SC_NPROCESSORS_ONLN=no
19983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19984 else
19985 if test x$gcc_no_link = xyes; then
19986 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19989 /* end confdefs.h. */
19990 #include <unistd.h>
19992 main ()
19994 int n = sysconf(_SC_NPROCESSORS_ONLN);
19996 return 0;
19998 _ACEOF
19999 if ac_fn_cxx_try_link "$LINENO"; then :
20000 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20001 else
20002 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20004 rm -f core conftest.err conftest.$ac_objext \
20005 conftest$ac_exeext conftest.$ac_ext
20010 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20012 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20016 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20018 CXXFLAGS="$ac_save_CXXFLAGS"
20019 ac_ext=c
20020 ac_cpp='$CPP $CPPFLAGS'
20021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20029 ac_ext=cpp
20030 ac_cpp='$CXXCPP $CPPFLAGS'
20031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20035 ac_save_CXXFLAGS="$CXXFLAGS"
20036 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20039 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20040 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20041 $as_echo_n "(cached) " >&6
20042 else
20044 if test x$gcc_no_link = xyes; then
20045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20046 /* end confdefs.h. */
20047 #include <unistd.h>
20049 main ()
20051 int n = sysconf(_SC_NPROC_ONLN);
20053 return 0;
20055 _ACEOF
20056 if ac_fn_cxx_try_compile "$LINENO"; then :
20057 glibcxx_cv_SC_NPROC_ONLN=yes
20058 else
20059 glibcxx_cv_SC_NPROC_ONLN=no
20061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20062 else
20063 if test x$gcc_no_link = xyes; then
20064 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20067 /* end confdefs.h. */
20068 #include <unistd.h>
20070 main ()
20072 int n = sysconf(_SC_NPROC_ONLN);
20074 return 0;
20076 _ACEOF
20077 if ac_fn_cxx_try_link "$LINENO"; then :
20078 glibcxx_cv_SC_NPROC_ONLN=yes
20079 else
20080 glibcxx_cv_SC_NPROC_ONLN=no
20082 rm -f core conftest.err conftest.$ac_objext \
20083 conftest$ac_exeext conftest.$ac_ext
20088 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20090 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20094 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20096 CXXFLAGS="$ac_save_CXXFLAGS"
20097 ac_ext=c
20098 ac_cpp='$CPP $CPPFLAGS'
20099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20107 ac_ext=cpp
20108 ac_cpp='$CXXCPP $CPPFLAGS'
20109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20113 ac_save_CXXFLAGS="$CXXFLAGS"
20114 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20117 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20118 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20119 $as_echo_n "(cached) " >&6
20120 else
20122 if test x$gcc_no_link = xyes; then
20123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20124 /* end confdefs.h. */
20125 #include <pthread.h>
20127 main ()
20129 int n = pthread_num_processors_np();
20131 return 0;
20133 _ACEOF
20134 if ac_fn_cxx_try_compile "$LINENO"; then :
20135 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20136 else
20137 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20140 else
20141 if test x$gcc_no_link = xyes; then
20142 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20145 /* end confdefs.h. */
20146 #include <pthread.h>
20148 main ()
20150 int n = pthread_num_processors_np();
20152 return 0;
20154 _ACEOF
20155 if ac_fn_cxx_try_link "$LINENO"; then :
20156 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20157 else
20158 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20160 rm -f core conftest.err conftest.$ac_objext \
20161 conftest$ac_exeext conftest.$ac_ext
20166 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20168 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20172 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20174 CXXFLAGS="$ac_save_CXXFLAGS"
20175 ac_ext=c
20176 ac_cpp='$CPP $CPPFLAGS'
20177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20185 ac_ext=cpp
20186 ac_cpp='$CXXCPP $CPPFLAGS'
20187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20191 ac_save_CXXFLAGS="$CXXFLAGS"
20192 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20195 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20196 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20197 $as_echo_n "(cached) " >&6
20198 else
20200 if test x$gcc_no_link = xyes; then
20201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20202 /* end confdefs.h. */
20204 #include <stddef.h>
20205 #include <sys/sysctl.h>
20208 main ()
20211 int count;
20212 size_t size = sizeof(count);
20213 int mib[] = { CTL_HW, HW_NCPU };
20214 sysctl(mib, 2, &count, &size, NULL, 0);
20217 return 0;
20219 _ACEOF
20220 if ac_fn_cxx_try_compile "$LINENO"; then :
20221 glibcxx_cv_SYSCTL_HW_NCPU=yes
20222 else
20223 glibcxx_cv_SYSCTL_HW_NCPU=no
20225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20226 else
20227 if test x$gcc_no_link = xyes; then
20228 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20231 /* end confdefs.h. */
20233 #include <stddef.h>
20234 #include <sys/sysctl.h>
20237 main ()
20240 int count;
20241 size_t size = sizeof(count);
20242 int mib[] = { CTL_HW, HW_NCPU };
20243 sysctl(mib, 2, &count, &size, NULL, 0);
20246 return 0;
20248 _ACEOF
20249 if ac_fn_cxx_try_link "$LINENO"; then :
20250 glibcxx_cv_SYSCTL_HW_NCPU=yes
20251 else
20252 glibcxx_cv_SYSCTL_HW_NCPU=no
20254 rm -f core conftest.err conftest.$ac_objext \
20255 conftest$ac_exeext conftest.$ac_ext
20260 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20262 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20266 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20268 CXXFLAGS="$ac_save_CXXFLAGS"
20269 ac_ext=c
20270 ac_cpp='$CPP $CPPFLAGS'
20271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20277 # Check for available headers.
20278 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20279 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20280 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20281 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20282 wchar.h wctype.h
20283 do :
20284 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20285 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20286 eval as_val=\$$as_ac_Header
20287 if test "x$as_val" = x""yes; then :
20288 cat >>confdefs.h <<_ACEOF
20289 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20290 _ACEOF
20294 done
20297 # Only do link tests if native. Else, hardcode.
20298 if $GLIBCXX_IS_NATIVE; then
20300 # We can do more elaborate tests that assume a working linker.
20301 CANADIAN=no
20305 # Check whether --with-gnu-ld was given.
20306 if test "${with_gnu_ld+set}" = set; then :
20307 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20308 else
20309 with_gnu_ld=no
20312 ac_prog=ld
20313 if test "$GCC" = yes; then
20314 # Check if gcc -print-prog-name=ld gives a path.
20315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20316 $as_echo_n "checking for ld used by $CC... " >&6; }
20317 case $host in
20318 *-*-mingw*)
20319 # gcc leaves a trailing carriage return which upsets mingw
20320 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20322 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20323 esac
20324 case $ac_prog in
20325 # Accept absolute paths.
20326 [\\/]* | ?:[\\/]*)
20327 re_direlt='/[^/][^/]*/\.\./'
20328 # Canonicalize the pathname of ld
20329 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20330 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20331 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20332 done
20333 test -z "$LD" && LD="$ac_prog"
20336 # If it fails, then pretend we aren't using GCC.
20337 ac_prog=ld
20340 # If it is relative, then search for the first ld in PATH.
20341 with_gnu_ld=unknown
20343 esac
20344 elif test "$with_gnu_ld" = yes; then
20345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20346 $as_echo_n "checking for GNU ld... " >&6; }
20347 else
20348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20349 $as_echo_n "checking for non-GNU ld... " >&6; }
20351 if test "${lt_cv_path_LD+set}" = set; then :
20352 $as_echo_n "(cached) " >&6
20353 else
20354 if test -z "$LD"; then
20355 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20356 for ac_dir in $PATH; do
20357 IFS="$lt_save_ifs"
20358 test -z "$ac_dir" && ac_dir=.
20359 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20360 lt_cv_path_LD="$ac_dir/$ac_prog"
20361 # Check to see if the program is GNU ld. I'd rather use --version,
20362 # but apparently some variants of GNU ld only accept -v.
20363 # Break only if it was the GNU/non-GNU ld that we prefer.
20364 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20365 *GNU* | *'with BFD'*)
20366 test "$with_gnu_ld" != no && break
20369 test "$with_gnu_ld" != yes && break
20371 esac
20373 done
20374 IFS="$lt_save_ifs"
20375 else
20376 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20380 LD="$lt_cv_path_LD"
20381 if test -n "$LD"; then
20382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20383 $as_echo "$LD" >&6; }
20384 else
20385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20386 $as_echo "no" >&6; }
20388 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20390 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20391 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20392 $as_echo_n "(cached) " >&6
20393 else
20394 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20395 case `$LD -v 2>&1 </dev/null` in
20396 *GNU* | *'with BFD'*)
20397 lt_cv_prog_gnu_ld=yes
20400 lt_cv_prog_gnu_ld=no
20402 esac
20404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20405 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20406 with_gnu_ld=$lt_cv_prog_gnu_ld
20414 # If we're not using GNU ld, then there's no point in even trying these
20415 # tests. Check for that first. We should have already tested for gld
20416 # by now (in libtool), but require it now just to be safe...
20417 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20418 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20422 # The name set by libtool depends on the version of libtool. Shame on us
20423 # for depending on an impl detail, but c'est la vie. Older versions used
20424 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20425 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20426 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20427 # set (hence we're using an older libtool), then set it.
20428 if test x${with_gnu_ld+set} != xset; then
20429 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20430 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20431 with_gnu_ld=no
20432 else
20433 with_gnu_ld=$ac_cv_prog_gnu_ld
20437 # Start by getting the version number. I think the libtool test already
20438 # does some of this, but throws away the result.
20439 glibcxx_ld_is_gold=no
20440 if test x"$with_gnu_ld" = x"yes"; then
20441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20442 $as_echo_n "checking for ld version... " >&6; }
20444 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20445 glibcxx_ld_is_gold=yes
20447 ldver=`$LD --version 2>/dev/null |
20448 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'`
20450 glibcxx_gnu_ld_version=`echo $ldver | \
20451 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20453 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20456 # Set --gc-sections.
20457 glibcxx_have_gc_sections=no
20458 if test "$glibcxx_ld_is_gold" = "yes"; then
20459 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20460 glibcxx_have_gc_sections=yes
20462 else
20463 glibcxx_gcsections_min_ld=21602
20464 if test x"$with_gnu_ld" = x"yes" &&
20465 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20466 glibcxx_have_gc_sections=yes
20469 if test "$glibcxx_have_gc_sections" = "yes"; then
20470 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20471 # NB: This flag only works reliably after 2.16.1. Configure tests
20472 # for this are difficult, so hard wire a value that should work.
20474 ac_test_CFLAGS="${CFLAGS+set}"
20475 ac_save_CFLAGS="$CFLAGS"
20476 CFLAGS='-Wl,--gc-sections'
20478 # Check for -Wl,--gc-sections
20479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20480 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20481 if test x$gcc_no_link = xyes; then
20482 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20485 /* end confdefs.h. */
20486 int one(void) { return 1; }
20487 int two(void) { return 2; }
20490 main ()
20492 two();
20494 return 0;
20496 _ACEOF
20497 if ac_fn_c_try_link "$LINENO"; then :
20498 ac_gcsections=yes
20499 else
20500 ac_gcsections=no
20502 rm -f core conftest.err conftest.$ac_objext \
20503 conftest$ac_exeext conftest.$ac_ext
20504 if test "$ac_gcsections" = "yes"; then
20505 rm -f conftest.c
20506 touch conftest.c
20507 if $CC -c conftest.c; then
20508 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20509 grep "Warning: gc-sections option ignored" > /dev/null; then
20510 ac_gcsections=no
20513 rm -f conftest.c conftest.o conftest
20515 if test "$ac_gcsections" = "yes"; then
20516 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20519 $as_echo "$ac_gcsections" >&6; }
20521 if test "$ac_test_CFLAGS" = set; then
20522 CFLAGS="$ac_save_CFLAGS"
20523 else
20524 # this is the suspicious part
20525 CFLAGS=''
20529 # Set -z,relro.
20530 # Note this is only for shared objects.
20531 ac_ld_relro=no
20532 if test x"$with_gnu_ld" = x"yes"; then
20533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20534 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20535 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20536 if test -n "$cxx_z_relo"; then
20537 OPT_LDFLAGS="-Wl,-z,relro"
20538 ac_ld_relro=yes
20540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20541 $as_echo "$ac_ld_relro" >&6; }
20544 # Set linker optimization flags.
20545 if test x"$with_gnu_ld" = x"yes"; then
20546 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20553 ac_test_CXXFLAGS="${CXXFLAGS+set}"
20554 ac_save_CXXFLAGS="$CXXFLAGS"
20555 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20558 $as_echo_n "checking for sin in -lm... " >&6; }
20559 if test "${ac_cv_lib_m_sin+set}" = set; then :
20560 $as_echo_n "(cached) " >&6
20561 else
20562 ac_check_lib_save_LIBS=$LIBS
20563 LIBS="-lm $LIBS"
20564 if test x$gcc_no_link = xyes; then
20565 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20568 /* end confdefs.h. */
20570 /* Override any GCC internal prototype to avoid an error.
20571 Use char because int might match the return type of a GCC
20572 builtin and then its argument prototype would still apply. */
20573 #ifdef __cplusplus
20574 extern "C"
20575 #endif
20576 char sin ();
20578 main ()
20580 return sin ();
20582 return 0;
20584 _ACEOF
20585 if ac_fn_c_try_link "$LINENO"; then :
20586 ac_cv_lib_m_sin=yes
20587 else
20588 ac_cv_lib_m_sin=no
20590 rm -f core conftest.err conftest.$ac_objext \
20591 conftest$ac_exeext conftest.$ac_ext
20592 LIBS=$ac_check_lib_save_LIBS
20594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20595 $as_echo "$ac_cv_lib_m_sin" >&6; }
20596 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20597 libm="-lm"
20600 ac_save_LIBS="$LIBS"
20601 LIBS="$LIBS $libm"
20605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20606 $as_echo_n "checking for isinf declaration... " >&6; }
20607 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20608 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20609 $as_echo_n "(cached) " >&6
20610 else
20613 ac_ext=cpp
20614 ac_cpp='$CXXCPP $CPPFLAGS'
20615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20620 /* end confdefs.h. */
20621 #include <math.h>
20622 #ifdef HAVE_IEEEFP_H
20623 #include <ieeefp.h>
20624 #endif
20627 main ()
20629 isinf(0);
20631 return 0;
20633 _ACEOF
20634 if ac_fn_cxx_try_compile "$LINENO"; then :
20635 glibcxx_cv_func_isinf_use=yes
20636 else
20637 glibcxx_cv_func_isinf_use=no
20639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20640 ac_ext=c
20641 ac_cpp='$CPP $CPPFLAGS'
20642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
20651 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
20653 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20654 for ac_func in isinf
20655 do :
20656 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
20657 if test "x$ac_cv_func_isinf" = x""yes; then :
20658 cat >>confdefs.h <<_ACEOF
20659 #define HAVE_ISINF 1
20660 _ACEOF
20663 done
20665 else
20667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
20668 $as_echo_n "checking for _isinf declaration... " >&6; }
20669 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
20670 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
20671 $as_echo_n "(cached) " >&6
20672 else
20675 ac_ext=cpp
20676 ac_cpp='$CXXCPP $CPPFLAGS'
20677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20682 /* end confdefs.h. */
20683 #include <math.h>
20684 #ifdef HAVE_IEEEFP_H
20685 #include <ieeefp.h>
20686 #endif
20689 main ()
20691 _isinf(0);
20693 return 0;
20695 _ACEOF
20696 if ac_fn_cxx_try_compile "$LINENO"; then :
20697 glibcxx_cv_func__isinf_use=yes
20698 else
20699 glibcxx_cv_func__isinf_use=no
20701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20702 ac_ext=c
20703 ac_cpp='$CPP $CPPFLAGS'
20704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
20713 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
20715 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
20716 for ac_func in _isinf
20717 do :
20718 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
20719 if test "x$ac_cv_func__isinf" = x""yes; then :
20720 cat >>confdefs.h <<_ACEOF
20721 #define HAVE__ISINF 1
20722 _ACEOF
20725 done
20734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
20735 $as_echo_n "checking for isnan declaration... " >&6; }
20736 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
20737 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
20738 $as_echo_n "(cached) " >&6
20739 else
20742 ac_ext=cpp
20743 ac_cpp='$CXXCPP $CPPFLAGS'
20744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20749 /* end confdefs.h. */
20750 #include <math.h>
20751 #ifdef HAVE_IEEEFP_H
20752 #include <ieeefp.h>
20753 #endif
20756 main ()
20758 isnan(0);
20760 return 0;
20762 _ACEOF
20763 if ac_fn_cxx_try_compile "$LINENO"; then :
20764 glibcxx_cv_func_isnan_use=yes
20765 else
20766 glibcxx_cv_func_isnan_use=no
20768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20769 ac_ext=c
20770 ac_cpp='$CPP $CPPFLAGS'
20771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
20780 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
20782 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
20783 for ac_func in isnan
20784 do :
20785 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
20786 if test "x$ac_cv_func_isnan" = x""yes; then :
20787 cat >>confdefs.h <<_ACEOF
20788 #define HAVE_ISNAN 1
20789 _ACEOF
20792 done
20794 else
20796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
20797 $as_echo_n "checking for _isnan declaration... " >&6; }
20798 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20799 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
20800 $as_echo_n "(cached) " >&6
20801 else
20804 ac_ext=cpp
20805 ac_cpp='$CXXCPP $CPPFLAGS'
20806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20811 /* end confdefs.h. */
20812 #include <math.h>
20813 #ifdef HAVE_IEEEFP_H
20814 #include <ieeefp.h>
20815 #endif
20818 main ()
20820 _isnan(0);
20822 return 0;
20824 _ACEOF
20825 if ac_fn_cxx_try_compile "$LINENO"; then :
20826 glibcxx_cv_func__isnan_use=yes
20827 else
20828 glibcxx_cv_func__isnan_use=no
20830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20831 ac_ext=c
20832 ac_cpp='$CPP $CPPFLAGS'
20833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20842 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20844 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20845 for ac_func in _isnan
20846 do :
20847 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20848 if test "x$ac_cv_func__isnan" = x""yes; then :
20849 cat >>confdefs.h <<_ACEOF
20850 #define HAVE__ISNAN 1
20851 _ACEOF
20854 done
20863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20864 $as_echo_n "checking for finite declaration... " >&6; }
20865 if test x${glibcxx_cv_func_finite_use+set} != xset; then
20866 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20867 $as_echo_n "(cached) " >&6
20868 else
20871 ac_ext=cpp
20872 ac_cpp='$CXXCPP $CPPFLAGS'
20873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20878 /* end confdefs.h. */
20879 #include <math.h>
20880 #ifdef HAVE_IEEEFP_H
20881 #include <ieeefp.h>
20882 #endif
20885 main ()
20887 finite(0);
20889 return 0;
20891 _ACEOF
20892 if ac_fn_cxx_try_compile "$LINENO"; then :
20893 glibcxx_cv_func_finite_use=yes
20894 else
20895 glibcxx_cv_func_finite_use=no
20897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20898 ac_ext=c
20899 ac_cpp='$CPP $CPPFLAGS'
20900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20909 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20911 if test x$glibcxx_cv_func_finite_use = x"yes"; then
20912 for ac_func in finite
20913 do :
20914 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20915 if test "x$ac_cv_func_finite" = x""yes; then :
20916 cat >>confdefs.h <<_ACEOF
20917 #define HAVE_FINITE 1
20918 _ACEOF
20921 done
20923 else
20925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20926 $as_echo_n "checking for _finite declaration... " >&6; }
20927 if test x${glibcxx_cv_func__finite_use+set} != xset; then
20928 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
20929 $as_echo_n "(cached) " >&6
20930 else
20933 ac_ext=cpp
20934 ac_cpp='$CXXCPP $CPPFLAGS'
20935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20940 /* end confdefs.h. */
20941 #include <math.h>
20942 #ifdef HAVE_IEEEFP_H
20943 #include <ieeefp.h>
20944 #endif
20947 main ()
20949 _finite(0);
20951 return 0;
20953 _ACEOF
20954 if ac_fn_cxx_try_compile "$LINENO"; then :
20955 glibcxx_cv_func__finite_use=yes
20956 else
20957 glibcxx_cv_func__finite_use=no
20959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20960 ac_ext=c
20961 ac_cpp='$CPP $CPPFLAGS'
20962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
20971 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
20973 if test x$glibcxx_cv_func__finite_use = x"yes"; then
20974 for ac_func in _finite
20975 do :
20976 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
20977 if test "x$ac_cv_func__finite" = x""yes; then :
20978 cat >>confdefs.h <<_ACEOF
20979 #define HAVE__FINITE 1
20980 _ACEOF
20983 done
20992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
20993 $as_echo_n "checking for sincos declaration... " >&6; }
20994 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20995 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
20996 $as_echo_n "(cached) " >&6
20997 else
21000 ac_ext=cpp
21001 ac_cpp='$CXXCPP $CPPFLAGS'
21002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21007 /* end confdefs.h. */
21008 #include <math.h>
21010 main ()
21012 sincos(0, 0, 0);
21014 return 0;
21016 _ACEOF
21017 if ac_fn_cxx_try_compile "$LINENO"; then :
21018 glibcxx_cv_func_sincos_use=yes
21019 else
21020 glibcxx_cv_func_sincos_use=no
21022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21023 ac_ext=c
21024 ac_cpp='$CPP $CPPFLAGS'
21025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21034 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21036 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21037 for ac_func in sincos
21038 do :
21039 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21040 if test "x$ac_cv_func_sincos" = x""yes; then :
21041 cat >>confdefs.h <<_ACEOF
21042 #define HAVE_SINCOS 1
21043 _ACEOF
21046 done
21048 else
21050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21051 $as_echo_n "checking for _sincos declaration... " >&6; }
21052 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21053 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21054 $as_echo_n "(cached) " >&6
21055 else
21058 ac_ext=cpp
21059 ac_cpp='$CXXCPP $CPPFLAGS'
21060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21065 /* end confdefs.h. */
21066 #include <math.h>
21068 main ()
21070 _sincos(0, 0, 0);
21072 return 0;
21074 _ACEOF
21075 if ac_fn_cxx_try_compile "$LINENO"; then :
21076 glibcxx_cv_func__sincos_use=yes
21077 else
21078 glibcxx_cv_func__sincos_use=no
21080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21081 ac_ext=c
21082 ac_cpp='$CPP $CPPFLAGS'
21083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21092 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21094 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21095 for ac_func in _sincos
21096 do :
21097 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21098 if test "x$ac_cv_func__sincos" = x""yes; then :
21099 cat >>confdefs.h <<_ACEOF
21100 #define HAVE__SINCOS 1
21101 _ACEOF
21104 done
21113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21114 $as_echo_n "checking for fpclass declaration... " >&6; }
21115 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21116 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21117 $as_echo_n "(cached) " >&6
21118 else
21121 ac_ext=cpp
21122 ac_cpp='$CXXCPP $CPPFLAGS'
21123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21128 /* end confdefs.h. */
21129 #include <math.h>
21130 #ifdef HAVE_IEEEFP_H
21131 #include <ieeefp.h>
21132 #endif
21135 main ()
21137 fpclass(0);
21139 return 0;
21141 _ACEOF
21142 if ac_fn_cxx_try_compile "$LINENO"; then :
21143 glibcxx_cv_func_fpclass_use=yes
21144 else
21145 glibcxx_cv_func_fpclass_use=no
21147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21148 ac_ext=c
21149 ac_cpp='$CPP $CPPFLAGS'
21150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21159 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21161 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21162 for ac_func in fpclass
21163 do :
21164 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21165 if test "x$ac_cv_func_fpclass" = x""yes; then :
21166 cat >>confdefs.h <<_ACEOF
21167 #define HAVE_FPCLASS 1
21168 _ACEOF
21171 done
21173 else
21175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21176 $as_echo_n "checking for _fpclass declaration... " >&6; }
21177 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21178 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21179 $as_echo_n "(cached) " >&6
21180 else
21183 ac_ext=cpp
21184 ac_cpp='$CXXCPP $CPPFLAGS'
21185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21190 /* end confdefs.h. */
21191 #include <math.h>
21192 #ifdef HAVE_IEEEFP_H
21193 #include <ieeefp.h>
21194 #endif
21197 main ()
21199 _fpclass(0);
21201 return 0;
21203 _ACEOF
21204 if ac_fn_cxx_try_compile "$LINENO"; then :
21205 glibcxx_cv_func__fpclass_use=yes
21206 else
21207 glibcxx_cv_func__fpclass_use=no
21209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21210 ac_ext=c
21211 ac_cpp='$CPP $CPPFLAGS'
21212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21221 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21223 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21224 for ac_func in _fpclass
21225 do :
21226 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21227 if test "x$ac_cv_func__fpclass" = x""yes; then :
21228 cat >>confdefs.h <<_ACEOF
21229 #define HAVE__FPCLASS 1
21230 _ACEOF
21233 done
21242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21243 $as_echo_n "checking for qfpclass declaration... " >&6; }
21244 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21245 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21246 $as_echo_n "(cached) " >&6
21247 else
21250 ac_ext=cpp
21251 ac_cpp='$CXXCPP $CPPFLAGS'
21252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21257 /* end confdefs.h. */
21258 #include <math.h>
21259 #ifdef HAVE_IEEEFP_H
21260 #include <ieeefp.h>
21261 #endif
21264 main ()
21266 qfpclass(0);
21268 return 0;
21270 _ACEOF
21271 if ac_fn_cxx_try_compile "$LINENO"; then :
21272 glibcxx_cv_func_qfpclass_use=yes
21273 else
21274 glibcxx_cv_func_qfpclass_use=no
21276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21277 ac_ext=c
21278 ac_cpp='$CPP $CPPFLAGS'
21279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21288 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21290 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21291 for ac_func in qfpclass
21292 do :
21293 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21294 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21295 cat >>confdefs.h <<_ACEOF
21296 #define HAVE_QFPCLASS 1
21297 _ACEOF
21300 done
21302 else
21304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21305 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21306 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21307 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21308 $as_echo_n "(cached) " >&6
21309 else
21312 ac_ext=cpp
21313 ac_cpp='$CXXCPP $CPPFLAGS'
21314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21319 /* end confdefs.h. */
21320 #include <math.h>
21321 #ifdef HAVE_IEEEFP_H
21322 #include <ieeefp.h>
21323 #endif
21326 main ()
21328 _qfpclass(0);
21330 return 0;
21332 _ACEOF
21333 if ac_fn_cxx_try_compile "$LINENO"; then :
21334 glibcxx_cv_func__qfpclass_use=yes
21335 else
21336 glibcxx_cv_func__qfpclass_use=no
21338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21339 ac_ext=c
21340 ac_cpp='$CPP $CPPFLAGS'
21341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21350 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21352 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21353 for ac_func in _qfpclass
21354 do :
21355 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21356 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21357 cat >>confdefs.h <<_ACEOF
21358 #define HAVE__QFPCLASS 1
21359 _ACEOF
21362 done
21371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21372 $as_echo_n "checking for hypot declaration... " >&6; }
21373 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21374 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21375 $as_echo_n "(cached) " >&6
21376 else
21379 ac_ext=cpp
21380 ac_cpp='$CXXCPP $CPPFLAGS'
21381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21386 /* end confdefs.h. */
21387 #include <math.h>
21389 main ()
21391 hypot(0, 0);
21393 return 0;
21395 _ACEOF
21396 if ac_fn_cxx_try_compile "$LINENO"; then :
21397 glibcxx_cv_func_hypot_use=yes
21398 else
21399 glibcxx_cv_func_hypot_use=no
21401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21402 ac_ext=c
21403 ac_cpp='$CPP $CPPFLAGS'
21404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21413 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21415 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21416 for ac_func in hypot
21417 do :
21418 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21419 if test "x$ac_cv_func_hypot" = x""yes; then :
21420 cat >>confdefs.h <<_ACEOF
21421 #define HAVE_HYPOT 1
21422 _ACEOF
21425 done
21427 else
21429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21430 $as_echo_n "checking for _hypot declaration... " >&6; }
21431 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21432 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21433 $as_echo_n "(cached) " >&6
21434 else
21437 ac_ext=cpp
21438 ac_cpp='$CXXCPP $CPPFLAGS'
21439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21444 /* end confdefs.h. */
21445 #include <math.h>
21447 main ()
21449 _hypot(0, 0);
21451 return 0;
21453 _ACEOF
21454 if ac_fn_cxx_try_compile "$LINENO"; then :
21455 glibcxx_cv_func__hypot_use=yes
21456 else
21457 glibcxx_cv_func__hypot_use=no
21459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21460 ac_ext=c
21461 ac_cpp='$CPP $CPPFLAGS'
21462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21471 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21473 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21474 for ac_func in _hypot
21475 do :
21476 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21477 if test "x$ac_cv_func__hypot" = x""yes; then :
21478 cat >>confdefs.h <<_ACEOF
21479 #define HAVE__HYPOT 1
21480 _ACEOF
21483 done
21492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21493 $as_echo_n "checking for float trig functions... " >&6; }
21494 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21495 $as_echo_n "(cached) " >&6
21496 else
21499 ac_ext=cpp
21500 ac_cpp='$CXXCPP $CPPFLAGS'
21501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21506 /* end confdefs.h. */
21507 #include <math.h>
21509 main ()
21511 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21513 return 0;
21515 _ACEOF
21516 if ac_fn_cxx_try_compile "$LINENO"; then :
21517 glibcxx_cv_func_float_trig_use=yes
21518 else
21519 glibcxx_cv_func_float_trig_use=no
21521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21522 ac_ext=c
21523 ac_cpp='$CPP $CPPFLAGS'
21524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21531 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21532 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21533 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21534 do :
21535 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21536 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21537 eval as_val=\$$as_ac_var
21538 if test "x$as_val" = x""yes; then :
21539 cat >>confdefs.h <<_ACEOF
21540 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21541 _ACEOF
21544 done
21546 else
21547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21548 $as_echo_n "checking for _float trig functions... " >&6; }
21549 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21550 $as_echo_n "(cached) " >&6
21551 else
21554 ac_ext=cpp
21555 ac_cpp='$CXXCPP $CPPFLAGS'
21556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21561 /* end confdefs.h. */
21562 #include <math.h>
21564 main ()
21566 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21568 return 0;
21570 _ACEOF
21571 if ac_fn_cxx_try_compile "$LINENO"; then :
21572 glibcxx_cv_func__float_trig_use=yes
21573 else
21574 glibcxx_cv_func__float_trig_use=no
21576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21577 ac_ext=c
21578 ac_cpp='$CPP $CPPFLAGS'
21579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21586 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21587 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21588 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21589 do :
21590 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21591 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21592 eval as_val=\$$as_ac_var
21593 if test "x$as_val" = x""yes; then :
21594 cat >>confdefs.h <<_ACEOF
21595 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21596 _ACEOF
21599 done
21608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21609 $as_echo_n "checking for float round functions... " >&6; }
21610 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21611 $as_echo_n "(cached) " >&6
21612 else
21615 ac_ext=cpp
21616 ac_cpp='$CXXCPP $CPPFLAGS'
21617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21622 /* end confdefs.h. */
21623 #include <math.h>
21625 main ()
21627 ceilf (0); floorf (0);
21629 return 0;
21631 _ACEOF
21632 if ac_fn_cxx_try_compile "$LINENO"; then :
21633 glibcxx_cv_func_float_round_use=yes
21634 else
21635 glibcxx_cv_func_float_round_use=no
21637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21638 ac_ext=c
21639 ac_cpp='$CPP $CPPFLAGS'
21640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21647 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21648 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21649 for ac_func in ceilf floorf
21650 do :
21651 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21652 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21653 eval as_val=\$$as_ac_var
21654 if test "x$as_val" = x""yes; then :
21655 cat >>confdefs.h <<_ACEOF
21656 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21657 _ACEOF
21660 done
21662 else
21663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
21664 $as_echo_n "checking for _float round functions... " >&6; }
21665 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
21666 $as_echo_n "(cached) " >&6
21667 else
21670 ac_ext=cpp
21671 ac_cpp='$CXXCPP $CPPFLAGS'
21672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21677 /* end confdefs.h. */
21678 #include <math.h>
21680 main ()
21682 _ceilf (0); _floorf (0);
21684 return 0;
21686 _ACEOF
21687 if ac_fn_cxx_try_compile "$LINENO"; then :
21688 glibcxx_cv_func__float_round_use=yes
21689 else
21690 glibcxx_cv_func__float_round_use=no
21692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21693 ac_ext=c
21694 ac_cpp='$CPP $CPPFLAGS'
21695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
21702 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
21703 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21704 for ac_func in _ceilf _floorf
21705 do :
21706 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21707 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21708 eval as_val=\$$as_ac_var
21709 if test "x$as_val" = x""yes; then :
21710 cat >>confdefs.h <<_ACEOF
21711 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21712 _ACEOF
21715 done
21725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
21726 $as_echo_n "checking for expf declaration... " >&6; }
21727 if test x${glibcxx_cv_func_expf_use+set} != xset; then
21728 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
21729 $as_echo_n "(cached) " >&6
21730 else
21733 ac_ext=cpp
21734 ac_cpp='$CXXCPP $CPPFLAGS'
21735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21740 /* end confdefs.h. */
21741 #include <math.h>
21742 #ifdef HAVE_IEEEFP_H
21743 #include <ieeefp.h>
21744 #endif
21747 main ()
21749 expf(0);
21751 return 0;
21753 _ACEOF
21754 if ac_fn_cxx_try_compile "$LINENO"; then :
21755 glibcxx_cv_func_expf_use=yes
21756 else
21757 glibcxx_cv_func_expf_use=no
21759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21760 ac_ext=c
21761 ac_cpp='$CPP $CPPFLAGS'
21762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
21771 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
21773 if test x$glibcxx_cv_func_expf_use = x"yes"; then
21774 for ac_func in expf
21775 do :
21776 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
21777 if test "x$ac_cv_func_expf" = x""yes; then :
21778 cat >>confdefs.h <<_ACEOF
21779 #define HAVE_EXPF 1
21780 _ACEOF
21783 done
21785 else
21787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
21788 $as_echo_n "checking for _expf declaration... " >&6; }
21789 if test x${glibcxx_cv_func__expf_use+set} != xset; then
21790 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
21791 $as_echo_n "(cached) " >&6
21792 else
21795 ac_ext=cpp
21796 ac_cpp='$CXXCPP $CPPFLAGS'
21797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21802 /* end confdefs.h. */
21803 #include <math.h>
21804 #ifdef HAVE_IEEEFP_H
21805 #include <ieeefp.h>
21806 #endif
21809 main ()
21811 _expf(0);
21813 return 0;
21815 _ACEOF
21816 if ac_fn_cxx_try_compile "$LINENO"; then :
21817 glibcxx_cv_func__expf_use=yes
21818 else
21819 glibcxx_cv_func__expf_use=no
21821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21822 ac_ext=c
21823 ac_cpp='$CPP $CPPFLAGS'
21824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21833 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21835 if test x$glibcxx_cv_func__expf_use = x"yes"; then
21836 for ac_func in _expf
21837 do :
21838 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21839 if test "x$ac_cv_func__expf" = x""yes; then :
21840 cat >>confdefs.h <<_ACEOF
21841 #define HAVE__EXPF 1
21842 _ACEOF
21845 done
21854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21855 $as_echo_n "checking for isnanf declaration... " >&6; }
21856 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21857 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21858 $as_echo_n "(cached) " >&6
21859 else
21862 ac_ext=cpp
21863 ac_cpp='$CXXCPP $CPPFLAGS'
21864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21869 /* end confdefs.h. */
21870 #include <math.h>
21871 #ifdef HAVE_IEEEFP_H
21872 #include <ieeefp.h>
21873 #endif
21876 main ()
21878 isnanf(0);
21880 return 0;
21882 _ACEOF
21883 if ac_fn_cxx_try_compile "$LINENO"; then :
21884 glibcxx_cv_func_isnanf_use=yes
21885 else
21886 glibcxx_cv_func_isnanf_use=no
21888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21889 ac_ext=c
21890 ac_cpp='$CPP $CPPFLAGS'
21891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21900 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21902 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21903 for ac_func in isnanf
21904 do :
21905 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21906 if test "x$ac_cv_func_isnanf" = x""yes; then :
21907 cat >>confdefs.h <<_ACEOF
21908 #define HAVE_ISNANF 1
21909 _ACEOF
21912 done
21914 else
21916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21917 $as_echo_n "checking for _isnanf declaration... " >&6; }
21918 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21919 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21920 $as_echo_n "(cached) " >&6
21921 else
21924 ac_ext=cpp
21925 ac_cpp='$CXXCPP $CPPFLAGS'
21926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21931 /* end confdefs.h. */
21932 #include <math.h>
21933 #ifdef HAVE_IEEEFP_H
21934 #include <ieeefp.h>
21935 #endif
21938 main ()
21940 _isnanf(0);
21942 return 0;
21944 _ACEOF
21945 if ac_fn_cxx_try_compile "$LINENO"; then :
21946 glibcxx_cv_func__isnanf_use=yes
21947 else
21948 glibcxx_cv_func__isnanf_use=no
21950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21951 ac_ext=c
21952 ac_cpp='$CPP $CPPFLAGS'
21953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
21962 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
21964 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
21965 for ac_func in _isnanf
21966 do :
21967 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
21968 if test "x$ac_cv_func__isnanf" = x""yes; then :
21969 cat >>confdefs.h <<_ACEOF
21970 #define HAVE__ISNANF 1
21971 _ACEOF
21974 done
21983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
21984 $as_echo_n "checking for isinff declaration... " >&6; }
21985 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
21986 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
21987 $as_echo_n "(cached) " >&6
21988 else
21991 ac_ext=cpp
21992 ac_cpp='$CXXCPP $CPPFLAGS'
21993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21998 /* end confdefs.h. */
21999 #include <math.h>
22000 #ifdef HAVE_IEEEFP_H
22001 #include <ieeefp.h>
22002 #endif
22005 main ()
22007 isinff(0);
22009 return 0;
22011 _ACEOF
22012 if ac_fn_cxx_try_compile "$LINENO"; then :
22013 glibcxx_cv_func_isinff_use=yes
22014 else
22015 glibcxx_cv_func_isinff_use=no
22017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22018 ac_ext=c
22019 ac_cpp='$CPP $CPPFLAGS'
22020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22029 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22031 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22032 for ac_func in isinff
22033 do :
22034 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22035 if test "x$ac_cv_func_isinff" = x""yes; then :
22036 cat >>confdefs.h <<_ACEOF
22037 #define HAVE_ISINFF 1
22038 _ACEOF
22041 done
22043 else
22045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22046 $as_echo_n "checking for _isinff declaration... " >&6; }
22047 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22048 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22049 $as_echo_n "(cached) " >&6
22050 else
22053 ac_ext=cpp
22054 ac_cpp='$CXXCPP $CPPFLAGS'
22055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22060 /* end confdefs.h. */
22061 #include <math.h>
22062 #ifdef HAVE_IEEEFP_H
22063 #include <ieeefp.h>
22064 #endif
22067 main ()
22069 _isinff(0);
22071 return 0;
22073 _ACEOF
22074 if ac_fn_cxx_try_compile "$LINENO"; then :
22075 glibcxx_cv_func__isinff_use=yes
22076 else
22077 glibcxx_cv_func__isinff_use=no
22079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22080 ac_ext=c
22081 ac_cpp='$CPP $CPPFLAGS'
22082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22091 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22093 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22094 for ac_func in _isinff
22095 do :
22096 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22097 if test "x$ac_cv_func__isinff" = x""yes; then :
22098 cat >>confdefs.h <<_ACEOF
22099 #define HAVE__ISINFF 1
22100 _ACEOF
22103 done
22112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22113 $as_echo_n "checking for atan2f declaration... " >&6; }
22114 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22115 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22116 $as_echo_n "(cached) " >&6
22117 else
22120 ac_ext=cpp
22121 ac_cpp='$CXXCPP $CPPFLAGS'
22122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22127 /* end confdefs.h. */
22128 #include <math.h>
22130 main ()
22132 atan2f(0, 0);
22134 return 0;
22136 _ACEOF
22137 if ac_fn_cxx_try_compile "$LINENO"; then :
22138 glibcxx_cv_func_atan2f_use=yes
22139 else
22140 glibcxx_cv_func_atan2f_use=no
22142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22143 ac_ext=c
22144 ac_cpp='$CPP $CPPFLAGS'
22145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22154 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22156 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22157 for ac_func in atan2f
22158 do :
22159 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22160 if test "x$ac_cv_func_atan2f" = x""yes; then :
22161 cat >>confdefs.h <<_ACEOF
22162 #define HAVE_ATAN2F 1
22163 _ACEOF
22166 done
22168 else
22170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22171 $as_echo_n "checking for _atan2f declaration... " >&6; }
22172 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22173 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22174 $as_echo_n "(cached) " >&6
22175 else
22178 ac_ext=cpp
22179 ac_cpp='$CXXCPP $CPPFLAGS'
22180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22185 /* end confdefs.h. */
22186 #include <math.h>
22188 main ()
22190 _atan2f(0, 0);
22192 return 0;
22194 _ACEOF
22195 if ac_fn_cxx_try_compile "$LINENO"; then :
22196 glibcxx_cv_func__atan2f_use=yes
22197 else
22198 glibcxx_cv_func__atan2f_use=no
22200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22201 ac_ext=c
22202 ac_cpp='$CPP $CPPFLAGS'
22203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22212 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22214 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22215 for ac_func in _atan2f
22216 do :
22217 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22218 if test "x$ac_cv_func__atan2f" = x""yes; then :
22219 cat >>confdefs.h <<_ACEOF
22220 #define HAVE__ATAN2F 1
22221 _ACEOF
22224 done
22233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22234 $as_echo_n "checking for fabsf declaration... " >&6; }
22235 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22236 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22237 $as_echo_n "(cached) " >&6
22238 else
22241 ac_ext=cpp
22242 ac_cpp='$CXXCPP $CPPFLAGS'
22243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22248 /* end confdefs.h. */
22249 #include <math.h>
22250 #ifdef HAVE_IEEEFP_H
22251 #include <ieeefp.h>
22252 #endif
22255 main ()
22257 fabsf(0);
22259 return 0;
22261 _ACEOF
22262 if ac_fn_cxx_try_compile "$LINENO"; then :
22263 glibcxx_cv_func_fabsf_use=yes
22264 else
22265 glibcxx_cv_func_fabsf_use=no
22267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22268 ac_ext=c
22269 ac_cpp='$CPP $CPPFLAGS'
22270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22279 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22281 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22282 for ac_func in fabsf
22283 do :
22284 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22285 if test "x$ac_cv_func_fabsf" = x""yes; then :
22286 cat >>confdefs.h <<_ACEOF
22287 #define HAVE_FABSF 1
22288 _ACEOF
22291 done
22293 else
22295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22296 $as_echo_n "checking for _fabsf declaration... " >&6; }
22297 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22298 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22299 $as_echo_n "(cached) " >&6
22300 else
22303 ac_ext=cpp
22304 ac_cpp='$CXXCPP $CPPFLAGS'
22305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22310 /* end confdefs.h. */
22311 #include <math.h>
22312 #ifdef HAVE_IEEEFP_H
22313 #include <ieeefp.h>
22314 #endif
22317 main ()
22319 _fabsf(0);
22321 return 0;
22323 _ACEOF
22324 if ac_fn_cxx_try_compile "$LINENO"; then :
22325 glibcxx_cv_func__fabsf_use=yes
22326 else
22327 glibcxx_cv_func__fabsf_use=no
22329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22330 ac_ext=c
22331 ac_cpp='$CPP $CPPFLAGS'
22332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22341 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22343 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22344 for ac_func in _fabsf
22345 do :
22346 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22347 if test "x$ac_cv_func__fabsf" = x""yes; then :
22348 cat >>confdefs.h <<_ACEOF
22349 #define HAVE__FABSF 1
22350 _ACEOF
22353 done
22362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22363 $as_echo_n "checking for fmodf declaration... " >&6; }
22364 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22365 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22366 $as_echo_n "(cached) " >&6
22367 else
22370 ac_ext=cpp
22371 ac_cpp='$CXXCPP $CPPFLAGS'
22372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22377 /* end confdefs.h. */
22378 #include <math.h>
22380 main ()
22382 fmodf(0, 0);
22384 return 0;
22386 _ACEOF
22387 if ac_fn_cxx_try_compile "$LINENO"; then :
22388 glibcxx_cv_func_fmodf_use=yes
22389 else
22390 glibcxx_cv_func_fmodf_use=no
22392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22393 ac_ext=c
22394 ac_cpp='$CPP $CPPFLAGS'
22395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22404 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22406 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22407 for ac_func in fmodf
22408 do :
22409 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22410 if test "x$ac_cv_func_fmodf" = x""yes; then :
22411 cat >>confdefs.h <<_ACEOF
22412 #define HAVE_FMODF 1
22413 _ACEOF
22416 done
22418 else
22420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22421 $as_echo_n "checking for _fmodf declaration... " >&6; }
22422 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22423 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22424 $as_echo_n "(cached) " >&6
22425 else
22428 ac_ext=cpp
22429 ac_cpp='$CXXCPP $CPPFLAGS'
22430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22435 /* end confdefs.h. */
22436 #include <math.h>
22438 main ()
22440 _fmodf(0, 0);
22442 return 0;
22444 _ACEOF
22445 if ac_fn_cxx_try_compile "$LINENO"; then :
22446 glibcxx_cv_func__fmodf_use=yes
22447 else
22448 glibcxx_cv_func__fmodf_use=no
22450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22451 ac_ext=c
22452 ac_cpp='$CPP $CPPFLAGS'
22453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22462 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22464 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22465 for ac_func in _fmodf
22466 do :
22467 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22468 if test "x$ac_cv_func__fmodf" = x""yes; then :
22469 cat >>confdefs.h <<_ACEOF
22470 #define HAVE__FMODF 1
22471 _ACEOF
22474 done
22483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22484 $as_echo_n "checking for frexpf declaration... " >&6; }
22485 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22486 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22487 $as_echo_n "(cached) " >&6
22488 else
22491 ac_ext=cpp
22492 ac_cpp='$CXXCPP $CPPFLAGS'
22493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22498 /* end confdefs.h. */
22499 #include <math.h>
22501 main ()
22503 frexpf(0, 0);
22505 return 0;
22507 _ACEOF
22508 if ac_fn_cxx_try_compile "$LINENO"; then :
22509 glibcxx_cv_func_frexpf_use=yes
22510 else
22511 glibcxx_cv_func_frexpf_use=no
22513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22514 ac_ext=c
22515 ac_cpp='$CPP $CPPFLAGS'
22516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22525 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22527 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22528 for ac_func in frexpf
22529 do :
22530 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22531 if test "x$ac_cv_func_frexpf" = x""yes; then :
22532 cat >>confdefs.h <<_ACEOF
22533 #define HAVE_FREXPF 1
22534 _ACEOF
22537 done
22539 else
22541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22542 $as_echo_n "checking for _frexpf declaration... " >&6; }
22543 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22544 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22545 $as_echo_n "(cached) " >&6
22546 else
22549 ac_ext=cpp
22550 ac_cpp='$CXXCPP $CPPFLAGS'
22551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22556 /* end confdefs.h. */
22557 #include <math.h>
22559 main ()
22561 _frexpf(0, 0);
22563 return 0;
22565 _ACEOF
22566 if ac_fn_cxx_try_compile "$LINENO"; then :
22567 glibcxx_cv_func__frexpf_use=yes
22568 else
22569 glibcxx_cv_func__frexpf_use=no
22571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22572 ac_ext=c
22573 ac_cpp='$CPP $CPPFLAGS'
22574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22583 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22585 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22586 for ac_func in _frexpf
22587 do :
22588 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22589 if test "x$ac_cv_func__frexpf" = x""yes; then :
22590 cat >>confdefs.h <<_ACEOF
22591 #define HAVE__FREXPF 1
22592 _ACEOF
22595 done
22604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22605 $as_echo_n "checking for hypotf declaration... " >&6; }
22606 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22607 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22608 $as_echo_n "(cached) " >&6
22609 else
22612 ac_ext=cpp
22613 ac_cpp='$CXXCPP $CPPFLAGS'
22614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22619 /* end confdefs.h. */
22620 #include <math.h>
22622 main ()
22624 hypotf(0, 0);
22626 return 0;
22628 _ACEOF
22629 if ac_fn_cxx_try_compile "$LINENO"; then :
22630 glibcxx_cv_func_hypotf_use=yes
22631 else
22632 glibcxx_cv_func_hypotf_use=no
22634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22635 ac_ext=c
22636 ac_cpp='$CPP $CPPFLAGS'
22637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22646 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22648 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
22649 for ac_func in hypotf
22650 do :
22651 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
22652 if test "x$ac_cv_func_hypotf" = x""yes; then :
22653 cat >>confdefs.h <<_ACEOF
22654 #define HAVE_HYPOTF 1
22655 _ACEOF
22658 done
22660 else
22662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
22663 $as_echo_n "checking for _hypotf declaration... " >&6; }
22664 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
22665 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
22666 $as_echo_n "(cached) " >&6
22667 else
22670 ac_ext=cpp
22671 ac_cpp='$CXXCPP $CPPFLAGS'
22672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22677 /* end confdefs.h. */
22678 #include <math.h>
22680 main ()
22682 _hypotf(0, 0);
22684 return 0;
22686 _ACEOF
22687 if ac_fn_cxx_try_compile "$LINENO"; then :
22688 glibcxx_cv_func__hypotf_use=yes
22689 else
22690 glibcxx_cv_func__hypotf_use=no
22692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22693 ac_ext=c
22694 ac_cpp='$CPP $CPPFLAGS'
22695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
22704 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
22706 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
22707 for ac_func in _hypotf
22708 do :
22709 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
22710 if test "x$ac_cv_func__hypotf" = x""yes; then :
22711 cat >>confdefs.h <<_ACEOF
22712 #define HAVE__HYPOTF 1
22713 _ACEOF
22716 done
22725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
22726 $as_echo_n "checking for ldexpf declaration... " >&6; }
22727 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
22728 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
22729 $as_echo_n "(cached) " >&6
22730 else
22733 ac_ext=cpp
22734 ac_cpp='$CXXCPP $CPPFLAGS'
22735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22740 /* end confdefs.h. */
22741 #include <math.h>
22743 main ()
22745 ldexpf(0, 0);
22747 return 0;
22749 _ACEOF
22750 if ac_fn_cxx_try_compile "$LINENO"; then :
22751 glibcxx_cv_func_ldexpf_use=yes
22752 else
22753 glibcxx_cv_func_ldexpf_use=no
22755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22756 ac_ext=c
22757 ac_cpp='$CPP $CPPFLAGS'
22758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
22767 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
22769 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
22770 for ac_func in ldexpf
22771 do :
22772 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
22773 if test "x$ac_cv_func_ldexpf" = x""yes; then :
22774 cat >>confdefs.h <<_ACEOF
22775 #define HAVE_LDEXPF 1
22776 _ACEOF
22779 done
22781 else
22783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
22784 $as_echo_n "checking for _ldexpf declaration... " >&6; }
22785 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
22786 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
22787 $as_echo_n "(cached) " >&6
22788 else
22791 ac_ext=cpp
22792 ac_cpp='$CXXCPP $CPPFLAGS'
22793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22798 /* end confdefs.h. */
22799 #include <math.h>
22801 main ()
22803 _ldexpf(0, 0);
22805 return 0;
22807 _ACEOF
22808 if ac_fn_cxx_try_compile "$LINENO"; then :
22809 glibcxx_cv_func__ldexpf_use=yes
22810 else
22811 glibcxx_cv_func__ldexpf_use=no
22813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22814 ac_ext=c
22815 ac_cpp='$CPP $CPPFLAGS'
22816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22825 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22827 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22828 for ac_func in _ldexpf
22829 do :
22830 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22831 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22832 cat >>confdefs.h <<_ACEOF
22833 #define HAVE__LDEXPF 1
22834 _ACEOF
22837 done
22846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22847 $as_echo_n "checking for logf declaration... " >&6; }
22848 if test x${glibcxx_cv_func_logf_use+set} != xset; then
22849 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22850 $as_echo_n "(cached) " >&6
22851 else
22854 ac_ext=cpp
22855 ac_cpp='$CXXCPP $CPPFLAGS'
22856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22861 /* end confdefs.h. */
22862 #include <math.h>
22863 #ifdef HAVE_IEEEFP_H
22864 #include <ieeefp.h>
22865 #endif
22868 main ()
22870 logf(0);
22872 return 0;
22874 _ACEOF
22875 if ac_fn_cxx_try_compile "$LINENO"; then :
22876 glibcxx_cv_func_logf_use=yes
22877 else
22878 glibcxx_cv_func_logf_use=no
22880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22881 ac_ext=c
22882 ac_cpp='$CPP $CPPFLAGS'
22883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22892 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22894 if test x$glibcxx_cv_func_logf_use = x"yes"; then
22895 for ac_func in logf
22896 do :
22897 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22898 if test "x$ac_cv_func_logf" = x""yes; then :
22899 cat >>confdefs.h <<_ACEOF
22900 #define HAVE_LOGF 1
22901 _ACEOF
22904 done
22906 else
22908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22909 $as_echo_n "checking for _logf declaration... " >&6; }
22910 if test x${glibcxx_cv_func__logf_use+set} != xset; then
22911 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22912 $as_echo_n "(cached) " >&6
22913 else
22916 ac_ext=cpp
22917 ac_cpp='$CXXCPP $CPPFLAGS'
22918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22923 /* end confdefs.h. */
22924 #include <math.h>
22925 #ifdef HAVE_IEEEFP_H
22926 #include <ieeefp.h>
22927 #endif
22930 main ()
22932 _logf(0);
22934 return 0;
22936 _ACEOF
22937 if ac_fn_cxx_try_compile "$LINENO"; then :
22938 glibcxx_cv_func__logf_use=yes
22939 else
22940 glibcxx_cv_func__logf_use=no
22942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22943 ac_ext=c
22944 ac_cpp='$CPP $CPPFLAGS'
22945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
22954 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22956 if test x$glibcxx_cv_func__logf_use = x"yes"; then
22957 for ac_func in _logf
22958 do :
22959 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
22960 if test "x$ac_cv_func__logf" = x""yes; then :
22961 cat >>confdefs.h <<_ACEOF
22962 #define HAVE__LOGF 1
22963 _ACEOF
22966 done
22975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
22976 $as_echo_n "checking for log10f declaration... " >&6; }
22977 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
22978 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
22979 $as_echo_n "(cached) " >&6
22980 else
22983 ac_ext=cpp
22984 ac_cpp='$CXXCPP $CPPFLAGS'
22985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22990 /* end confdefs.h. */
22991 #include <math.h>
22992 #ifdef HAVE_IEEEFP_H
22993 #include <ieeefp.h>
22994 #endif
22997 main ()
22999 log10f(0);
23001 return 0;
23003 _ACEOF
23004 if ac_fn_cxx_try_compile "$LINENO"; then :
23005 glibcxx_cv_func_log10f_use=yes
23006 else
23007 glibcxx_cv_func_log10f_use=no
23009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23010 ac_ext=c
23011 ac_cpp='$CPP $CPPFLAGS'
23012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23021 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23023 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23024 for ac_func in log10f
23025 do :
23026 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23027 if test "x$ac_cv_func_log10f" = x""yes; then :
23028 cat >>confdefs.h <<_ACEOF
23029 #define HAVE_LOG10F 1
23030 _ACEOF
23033 done
23035 else
23037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23038 $as_echo_n "checking for _log10f declaration... " >&6; }
23039 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23040 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23041 $as_echo_n "(cached) " >&6
23042 else
23045 ac_ext=cpp
23046 ac_cpp='$CXXCPP $CPPFLAGS'
23047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23052 /* end confdefs.h. */
23053 #include <math.h>
23054 #ifdef HAVE_IEEEFP_H
23055 #include <ieeefp.h>
23056 #endif
23059 main ()
23061 _log10f(0);
23063 return 0;
23065 _ACEOF
23066 if ac_fn_cxx_try_compile "$LINENO"; then :
23067 glibcxx_cv_func__log10f_use=yes
23068 else
23069 glibcxx_cv_func__log10f_use=no
23071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23072 ac_ext=c
23073 ac_cpp='$CPP $CPPFLAGS'
23074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23083 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23085 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23086 for ac_func in _log10f
23087 do :
23088 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23089 if test "x$ac_cv_func__log10f" = x""yes; then :
23090 cat >>confdefs.h <<_ACEOF
23091 #define HAVE__LOG10F 1
23092 _ACEOF
23095 done
23104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23105 $as_echo_n "checking for modff declaration... " >&6; }
23106 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23107 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23108 $as_echo_n "(cached) " >&6
23109 else
23112 ac_ext=cpp
23113 ac_cpp='$CXXCPP $CPPFLAGS'
23114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23119 /* end confdefs.h. */
23120 #include <math.h>
23122 main ()
23124 modff(0, 0);
23126 return 0;
23128 _ACEOF
23129 if ac_fn_cxx_try_compile "$LINENO"; then :
23130 glibcxx_cv_func_modff_use=yes
23131 else
23132 glibcxx_cv_func_modff_use=no
23134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23135 ac_ext=c
23136 ac_cpp='$CPP $CPPFLAGS'
23137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23146 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23148 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23149 for ac_func in modff
23150 do :
23151 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23152 if test "x$ac_cv_func_modff" = x""yes; then :
23153 cat >>confdefs.h <<_ACEOF
23154 #define HAVE_MODFF 1
23155 _ACEOF
23158 done
23160 else
23162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23163 $as_echo_n "checking for _modff declaration... " >&6; }
23164 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23165 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23166 $as_echo_n "(cached) " >&6
23167 else
23170 ac_ext=cpp
23171 ac_cpp='$CXXCPP $CPPFLAGS'
23172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23177 /* end confdefs.h. */
23178 #include <math.h>
23180 main ()
23182 _modff(0, 0);
23184 return 0;
23186 _ACEOF
23187 if ac_fn_cxx_try_compile "$LINENO"; then :
23188 glibcxx_cv_func__modff_use=yes
23189 else
23190 glibcxx_cv_func__modff_use=no
23192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23193 ac_ext=c
23194 ac_cpp='$CPP $CPPFLAGS'
23195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23204 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23206 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23207 for ac_func in _modff
23208 do :
23209 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23210 if test "x$ac_cv_func__modff" = x""yes; then :
23211 cat >>confdefs.h <<_ACEOF
23212 #define HAVE__MODFF 1
23213 _ACEOF
23216 done
23225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23226 $as_echo_n "checking for modf declaration... " >&6; }
23227 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23228 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23229 $as_echo_n "(cached) " >&6
23230 else
23233 ac_ext=cpp
23234 ac_cpp='$CXXCPP $CPPFLAGS'
23235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23240 /* end confdefs.h. */
23241 #include <math.h>
23243 main ()
23245 modf(0, 0);
23247 return 0;
23249 _ACEOF
23250 if ac_fn_cxx_try_compile "$LINENO"; then :
23251 glibcxx_cv_func_modf_use=yes
23252 else
23253 glibcxx_cv_func_modf_use=no
23255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23256 ac_ext=c
23257 ac_cpp='$CPP $CPPFLAGS'
23258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23267 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23269 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23270 for ac_func in modf
23271 do :
23272 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23273 if test "x$ac_cv_func_modf" = x""yes; then :
23274 cat >>confdefs.h <<_ACEOF
23275 #define HAVE_MODF 1
23276 _ACEOF
23279 done
23281 else
23283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23284 $as_echo_n "checking for _modf declaration... " >&6; }
23285 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23286 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23287 $as_echo_n "(cached) " >&6
23288 else
23291 ac_ext=cpp
23292 ac_cpp='$CXXCPP $CPPFLAGS'
23293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23298 /* end confdefs.h. */
23299 #include <math.h>
23301 main ()
23303 _modf(0, 0);
23305 return 0;
23307 _ACEOF
23308 if ac_fn_cxx_try_compile "$LINENO"; then :
23309 glibcxx_cv_func__modf_use=yes
23310 else
23311 glibcxx_cv_func__modf_use=no
23313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23314 ac_ext=c
23315 ac_cpp='$CPP $CPPFLAGS'
23316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23325 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23327 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23328 for ac_func in _modf
23329 do :
23330 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23331 if test "x$ac_cv_func__modf" = x""yes; then :
23332 cat >>confdefs.h <<_ACEOF
23333 #define HAVE__MODF 1
23334 _ACEOF
23337 done
23346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23347 $as_echo_n "checking for powf declaration... " >&6; }
23348 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23349 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23350 $as_echo_n "(cached) " >&6
23351 else
23354 ac_ext=cpp
23355 ac_cpp='$CXXCPP $CPPFLAGS'
23356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23361 /* end confdefs.h. */
23362 #include <math.h>
23364 main ()
23366 powf(0, 0);
23368 return 0;
23370 _ACEOF
23371 if ac_fn_cxx_try_compile "$LINENO"; then :
23372 glibcxx_cv_func_powf_use=yes
23373 else
23374 glibcxx_cv_func_powf_use=no
23376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23377 ac_ext=c
23378 ac_cpp='$CPP $CPPFLAGS'
23379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23388 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23390 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23391 for ac_func in powf
23392 do :
23393 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23394 if test "x$ac_cv_func_powf" = x""yes; then :
23395 cat >>confdefs.h <<_ACEOF
23396 #define HAVE_POWF 1
23397 _ACEOF
23400 done
23402 else
23404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23405 $as_echo_n "checking for _powf declaration... " >&6; }
23406 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23407 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23408 $as_echo_n "(cached) " >&6
23409 else
23412 ac_ext=cpp
23413 ac_cpp='$CXXCPP $CPPFLAGS'
23414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23419 /* end confdefs.h. */
23420 #include <math.h>
23422 main ()
23424 _powf(0, 0);
23426 return 0;
23428 _ACEOF
23429 if ac_fn_cxx_try_compile "$LINENO"; then :
23430 glibcxx_cv_func__powf_use=yes
23431 else
23432 glibcxx_cv_func__powf_use=no
23434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23435 ac_ext=c
23436 ac_cpp='$CPP $CPPFLAGS'
23437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23446 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23448 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23449 for ac_func in _powf
23450 do :
23451 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23452 if test "x$ac_cv_func__powf" = x""yes; then :
23453 cat >>confdefs.h <<_ACEOF
23454 #define HAVE__POWF 1
23455 _ACEOF
23458 done
23467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23468 $as_echo_n "checking for sqrtf declaration... " >&6; }
23469 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23470 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23471 $as_echo_n "(cached) " >&6
23472 else
23475 ac_ext=cpp
23476 ac_cpp='$CXXCPP $CPPFLAGS'
23477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23482 /* end confdefs.h. */
23483 #include <math.h>
23484 #ifdef HAVE_IEEEFP_H
23485 #include <ieeefp.h>
23486 #endif
23489 main ()
23491 sqrtf(0);
23493 return 0;
23495 _ACEOF
23496 if ac_fn_cxx_try_compile "$LINENO"; then :
23497 glibcxx_cv_func_sqrtf_use=yes
23498 else
23499 glibcxx_cv_func_sqrtf_use=no
23501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23502 ac_ext=c
23503 ac_cpp='$CPP $CPPFLAGS'
23504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23513 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23515 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23516 for ac_func in sqrtf
23517 do :
23518 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23519 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23520 cat >>confdefs.h <<_ACEOF
23521 #define HAVE_SQRTF 1
23522 _ACEOF
23525 done
23527 else
23529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23530 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23531 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23532 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23533 $as_echo_n "(cached) " >&6
23534 else
23537 ac_ext=cpp
23538 ac_cpp='$CXXCPP $CPPFLAGS'
23539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23544 /* end confdefs.h. */
23545 #include <math.h>
23546 #ifdef HAVE_IEEEFP_H
23547 #include <ieeefp.h>
23548 #endif
23551 main ()
23553 _sqrtf(0);
23555 return 0;
23557 _ACEOF
23558 if ac_fn_cxx_try_compile "$LINENO"; then :
23559 glibcxx_cv_func__sqrtf_use=yes
23560 else
23561 glibcxx_cv_func__sqrtf_use=no
23563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23564 ac_ext=c
23565 ac_cpp='$CPP $CPPFLAGS'
23566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23575 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23577 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23578 for ac_func in _sqrtf
23579 do :
23580 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23581 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23582 cat >>confdefs.h <<_ACEOF
23583 #define HAVE__SQRTF 1
23584 _ACEOF
23587 done
23596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23597 $as_echo_n "checking for sincosf declaration... " >&6; }
23598 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23599 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23600 $as_echo_n "(cached) " >&6
23601 else
23604 ac_ext=cpp
23605 ac_cpp='$CXXCPP $CPPFLAGS'
23606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23611 /* end confdefs.h. */
23612 #include <math.h>
23614 main ()
23616 sincosf(0, 0, 0);
23618 return 0;
23620 _ACEOF
23621 if ac_fn_cxx_try_compile "$LINENO"; then :
23622 glibcxx_cv_func_sincosf_use=yes
23623 else
23624 glibcxx_cv_func_sincosf_use=no
23626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23627 ac_ext=c
23628 ac_cpp='$CPP $CPPFLAGS'
23629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23638 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23640 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23641 for ac_func in sincosf
23642 do :
23643 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23644 if test "x$ac_cv_func_sincosf" = x""yes; then :
23645 cat >>confdefs.h <<_ACEOF
23646 #define HAVE_SINCOSF 1
23647 _ACEOF
23650 done
23652 else
23654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
23655 $as_echo_n "checking for _sincosf declaration... " >&6; }
23656 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
23657 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
23658 $as_echo_n "(cached) " >&6
23659 else
23662 ac_ext=cpp
23663 ac_cpp='$CXXCPP $CPPFLAGS'
23664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23669 /* end confdefs.h. */
23670 #include <math.h>
23672 main ()
23674 _sincosf(0, 0, 0);
23676 return 0;
23678 _ACEOF
23679 if ac_fn_cxx_try_compile "$LINENO"; then :
23680 glibcxx_cv_func__sincosf_use=yes
23681 else
23682 glibcxx_cv_func__sincosf_use=no
23684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23685 ac_ext=c
23686 ac_cpp='$CPP $CPPFLAGS'
23687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
23696 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
23698 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
23699 for ac_func in _sincosf
23700 do :
23701 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
23702 if test "x$ac_cv_func__sincosf" = x""yes; then :
23703 cat >>confdefs.h <<_ACEOF
23704 #define HAVE__SINCOSF 1
23705 _ACEOF
23708 done
23717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
23718 $as_echo_n "checking for finitef declaration... " >&6; }
23719 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
23720 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
23721 $as_echo_n "(cached) " >&6
23722 else
23725 ac_ext=cpp
23726 ac_cpp='$CXXCPP $CPPFLAGS'
23727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23732 /* end confdefs.h. */
23733 #include <math.h>
23734 #ifdef HAVE_IEEEFP_H
23735 #include <ieeefp.h>
23736 #endif
23739 main ()
23741 finitef(0);
23743 return 0;
23745 _ACEOF
23746 if ac_fn_cxx_try_compile "$LINENO"; then :
23747 glibcxx_cv_func_finitef_use=yes
23748 else
23749 glibcxx_cv_func_finitef_use=no
23751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23752 ac_ext=c
23753 ac_cpp='$CPP $CPPFLAGS'
23754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
23763 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
23765 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
23766 for ac_func in finitef
23767 do :
23768 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
23769 if test "x$ac_cv_func_finitef" = x""yes; then :
23770 cat >>confdefs.h <<_ACEOF
23771 #define HAVE_FINITEF 1
23772 _ACEOF
23775 done
23777 else
23779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
23780 $as_echo_n "checking for _finitef declaration... " >&6; }
23781 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
23782 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
23783 $as_echo_n "(cached) " >&6
23784 else
23787 ac_ext=cpp
23788 ac_cpp='$CXXCPP $CPPFLAGS'
23789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23794 /* end confdefs.h. */
23795 #include <math.h>
23796 #ifdef HAVE_IEEEFP_H
23797 #include <ieeefp.h>
23798 #endif
23801 main ()
23803 _finitef(0);
23805 return 0;
23807 _ACEOF
23808 if ac_fn_cxx_try_compile "$LINENO"; then :
23809 glibcxx_cv_func__finitef_use=yes
23810 else
23811 glibcxx_cv_func__finitef_use=no
23813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23814 ac_ext=c
23815 ac_cpp='$CPP $CPPFLAGS'
23816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23825 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23827 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23828 for ac_func in _finitef
23829 do :
23830 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23831 if test "x$ac_cv_func__finitef" = x""yes; then :
23832 cat >>confdefs.h <<_ACEOF
23833 #define HAVE__FINITEF 1
23834 _ACEOF
23837 done
23846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23847 $as_echo_n "checking for long double trig functions... " >&6; }
23848 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23849 $as_echo_n "(cached) " >&6
23850 else
23853 ac_ext=cpp
23854 ac_cpp='$CXXCPP $CPPFLAGS'
23855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23860 /* end confdefs.h. */
23861 #include <math.h>
23863 main ()
23865 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23867 return 0;
23869 _ACEOF
23870 if ac_fn_cxx_try_compile "$LINENO"; then :
23871 glibcxx_cv_func_long_double_trig_use=yes
23872 else
23873 glibcxx_cv_func_long_double_trig_use=no
23875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23876 ac_ext=c
23877 ac_cpp='$CPP $CPPFLAGS'
23878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23885 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23886 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23887 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23888 do :
23889 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23890 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23891 eval as_val=\$$as_ac_var
23892 if test "x$as_val" = x""yes; then :
23893 cat >>confdefs.h <<_ACEOF
23894 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23895 _ACEOF
23898 done
23900 else
23901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23902 $as_echo_n "checking for _long double trig functions... " >&6; }
23903 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23904 $as_echo_n "(cached) " >&6
23905 else
23908 ac_ext=cpp
23909 ac_cpp='$CXXCPP $CPPFLAGS'
23910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23915 /* end confdefs.h. */
23916 #include <math.h>
23918 main ()
23920 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23922 return 0;
23924 _ACEOF
23925 if ac_fn_cxx_try_compile "$LINENO"; then :
23926 glibcxx_cv_func__long_double_trig_use=yes
23927 else
23928 glibcxx_cv_func__long_double_trig_use=no
23930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23931 ac_ext=c
23932 ac_cpp='$CPP $CPPFLAGS'
23933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23940 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23941 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23942 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23943 do :
23944 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23945 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23946 eval as_val=\$$as_ac_var
23947 if test "x$as_val" = x""yes; then :
23948 cat >>confdefs.h <<_ACEOF
23949 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23950 _ACEOF
23953 done
23962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
23963 $as_echo_n "checking for long double round functions... " >&6; }
23964 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
23965 $as_echo_n "(cached) " >&6
23966 else
23969 ac_ext=cpp
23970 ac_cpp='$CXXCPP $CPPFLAGS'
23971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23976 /* end confdefs.h. */
23977 #include <math.h>
23979 main ()
23981 ceill (0); floorl (0);
23983 return 0;
23985 _ACEOF
23986 if ac_fn_cxx_try_compile "$LINENO"; then :
23987 glibcxx_cv_func_long_double_round_use=yes
23988 else
23989 glibcxx_cv_func_long_double_round_use=no
23991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23992 ac_ext=c
23993 ac_cpp='$CPP $CPPFLAGS'
23994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24001 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24002 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24003 for ac_func in ceill floorl
24004 do :
24005 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24006 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24007 eval as_val=\$$as_ac_var
24008 if test "x$as_val" = x""yes; then :
24009 cat >>confdefs.h <<_ACEOF
24010 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24011 _ACEOF
24014 done
24016 else
24017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24018 $as_echo_n "checking for _long double round functions... " >&6; }
24019 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24020 $as_echo_n "(cached) " >&6
24021 else
24024 ac_ext=cpp
24025 ac_cpp='$CXXCPP $CPPFLAGS'
24026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24031 /* end confdefs.h. */
24032 #include <math.h>
24034 main ()
24036 _ceill (0); _floorl (0);
24038 return 0;
24040 _ACEOF
24041 if ac_fn_cxx_try_compile "$LINENO"; then :
24042 glibcxx_cv_func__long_double_round_use=yes
24043 else
24044 glibcxx_cv_func__long_double_round_use=no
24046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24047 ac_ext=c
24048 ac_cpp='$CPP $CPPFLAGS'
24049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24056 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24057 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24058 for ac_func in _ceill _floorl
24059 do :
24060 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24061 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24062 eval as_val=\$$as_ac_var
24063 if test "x$as_val" = x""yes; then :
24064 cat >>confdefs.h <<_ACEOF
24065 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24066 _ACEOF
24069 done
24079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24080 $as_echo_n "checking for isnanl declaration... " >&6; }
24081 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24082 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24083 $as_echo_n "(cached) " >&6
24084 else
24087 ac_ext=cpp
24088 ac_cpp='$CXXCPP $CPPFLAGS'
24089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24094 /* end confdefs.h. */
24095 #include <math.h>
24096 #ifdef HAVE_IEEEFP_H
24097 #include <ieeefp.h>
24098 #endif
24101 main ()
24103 isnanl(0);
24105 return 0;
24107 _ACEOF
24108 if ac_fn_cxx_try_compile "$LINENO"; then :
24109 glibcxx_cv_func_isnanl_use=yes
24110 else
24111 glibcxx_cv_func_isnanl_use=no
24113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24114 ac_ext=c
24115 ac_cpp='$CPP $CPPFLAGS'
24116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24125 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24127 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24128 for ac_func in isnanl
24129 do :
24130 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24131 if test "x$ac_cv_func_isnanl" = x""yes; then :
24132 cat >>confdefs.h <<_ACEOF
24133 #define HAVE_ISNANL 1
24134 _ACEOF
24137 done
24139 else
24141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24142 $as_echo_n "checking for _isnanl declaration... " >&6; }
24143 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24144 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24145 $as_echo_n "(cached) " >&6
24146 else
24149 ac_ext=cpp
24150 ac_cpp='$CXXCPP $CPPFLAGS'
24151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24156 /* end confdefs.h. */
24157 #include <math.h>
24158 #ifdef HAVE_IEEEFP_H
24159 #include <ieeefp.h>
24160 #endif
24163 main ()
24165 _isnanl(0);
24167 return 0;
24169 _ACEOF
24170 if ac_fn_cxx_try_compile "$LINENO"; then :
24171 glibcxx_cv_func__isnanl_use=yes
24172 else
24173 glibcxx_cv_func__isnanl_use=no
24175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24176 ac_ext=c
24177 ac_cpp='$CPP $CPPFLAGS'
24178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24187 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24189 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24190 for ac_func in _isnanl
24191 do :
24192 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24193 if test "x$ac_cv_func__isnanl" = x""yes; then :
24194 cat >>confdefs.h <<_ACEOF
24195 #define HAVE__ISNANL 1
24196 _ACEOF
24199 done
24208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24209 $as_echo_n "checking for isinfl declaration... " >&6; }
24210 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24211 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24212 $as_echo_n "(cached) " >&6
24213 else
24216 ac_ext=cpp
24217 ac_cpp='$CXXCPP $CPPFLAGS'
24218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24223 /* end confdefs.h. */
24224 #include <math.h>
24225 #ifdef HAVE_IEEEFP_H
24226 #include <ieeefp.h>
24227 #endif
24230 main ()
24232 isinfl(0);
24234 return 0;
24236 _ACEOF
24237 if ac_fn_cxx_try_compile "$LINENO"; then :
24238 glibcxx_cv_func_isinfl_use=yes
24239 else
24240 glibcxx_cv_func_isinfl_use=no
24242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24243 ac_ext=c
24244 ac_cpp='$CPP $CPPFLAGS'
24245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24254 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24256 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24257 for ac_func in isinfl
24258 do :
24259 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24260 if test "x$ac_cv_func_isinfl" = x""yes; then :
24261 cat >>confdefs.h <<_ACEOF
24262 #define HAVE_ISINFL 1
24263 _ACEOF
24266 done
24268 else
24270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24271 $as_echo_n "checking for _isinfl declaration... " >&6; }
24272 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24273 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24274 $as_echo_n "(cached) " >&6
24275 else
24278 ac_ext=cpp
24279 ac_cpp='$CXXCPP $CPPFLAGS'
24280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24285 /* end confdefs.h. */
24286 #include <math.h>
24287 #ifdef HAVE_IEEEFP_H
24288 #include <ieeefp.h>
24289 #endif
24292 main ()
24294 _isinfl(0);
24296 return 0;
24298 _ACEOF
24299 if ac_fn_cxx_try_compile "$LINENO"; then :
24300 glibcxx_cv_func__isinfl_use=yes
24301 else
24302 glibcxx_cv_func__isinfl_use=no
24304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24305 ac_ext=c
24306 ac_cpp='$CPP $CPPFLAGS'
24307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24316 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24318 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24319 for ac_func in _isinfl
24320 do :
24321 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24322 if test "x$ac_cv_func__isinfl" = x""yes; then :
24323 cat >>confdefs.h <<_ACEOF
24324 #define HAVE__ISINFL 1
24325 _ACEOF
24328 done
24337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24338 $as_echo_n "checking for atan2l declaration... " >&6; }
24339 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24340 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24341 $as_echo_n "(cached) " >&6
24342 else
24345 ac_ext=cpp
24346 ac_cpp='$CXXCPP $CPPFLAGS'
24347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24352 /* end confdefs.h. */
24353 #include <math.h>
24355 main ()
24357 atan2l(0, 0);
24359 return 0;
24361 _ACEOF
24362 if ac_fn_cxx_try_compile "$LINENO"; then :
24363 glibcxx_cv_func_atan2l_use=yes
24364 else
24365 glibcxx_cv_func_atan2l_use=no
24367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24368 ac_ext=c
24369 ac_cpp='$CPP $CPPFLAGS'
24370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24379 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24381 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24382 for ac_func in atan2l
24383 do :
24384 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24385 if test "x$ac_cv_func_atan2l" = x""yes; then :
24386 cat >>confdefs.h <<_ACEOF
24387 #define HAVE_ATAN2L 1
24388 _ACEOF
24391 done
24393 else
24395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24396 $as_echo_n "checking for _atan2l declaration... " >&6; }
24397 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24398 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24399 $as_echo_n "(cached) " >&6
24400 else
24403 ac_ext=cpp
24404 ac_cpp='$CXXCPP $CPPFLAGS'
24405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24410 /* end confdefs.h. */
24411 #include <math.h>
24413 main ()
24415 _atan2l(0, 0);
24417 return 0;
24419 _ACEOF
24420 if ac_fn_cxx_try_compile "$LINENO"; then :
24421 glibcxx_cv_func__atan2l_use=yes
24422 else
24423 glibcxx_cv_func__atan2l_use=no
24425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24426 ac_ext=c
24427 ac_cpp='$CPP $CPPFLAGS'
24428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24437 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24439 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24440 for ac_func in _atan2l
24441 do :
24442 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24443 if test "x$ac_cv_func__atan2l" = x""yes; then :
24444 cat >>confdefs.h <<_ACEOF
24445 #define HAVE__ATAN2L 1
24446 _ACEOF
24449 done
24458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24459 $as_echo_n "checking for expl declaration... " >&6; }
24460 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24461 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24462 $as_echo_n "(cached) " >&6
24463 else
24466 ac_ext=cpp
24467 ac_cpp='$CXXCPP $CPPFLAGS'
24468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24473 /* end confdefs.h. */
24474 #include <math.h>
24475 #ifdef HAVE_IEEEFP_H
24476 #include <ieeefp.h>
24477 #endif
24480 main ()
24482 expl(0);
24484 return 0;
24486 _ACEOF
24487 if ac_fn_cxx_try_compile "$LINENO"; then :
24488 glibcxx_cv_func_expl_use=yes
24489 else
24490 glibcxx_cv_func_expl_use=no
24492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24493 ac_ext=c
24494 ac_cpp='$CPP $CPPFLAGS'
24495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24504 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24506 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24507 for ac_func in expl
24508 do :
24509 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24510 if test "x$ac_cv_func_expl" = x""yes; then :
24511 cat >>confdefs.h <<_ACEOF
24512 #define HAVE_EXPL 1
24513 _ACEOF
24516 done
24518 else
24520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24521 $as_echo_n "checking for _expl declaration... " >&6; }
24522 if test x${glibcxx_cv_func__expl_use+set} != xset; then
24523 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24524 $as_echo_n "(cached) " >&6
24525 else
24528 ac_ext=cpp
24529 ac_cpp='$CXXCPP $CPPFLAGS'
24530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24535 /* end confdefs.h. */
24536 #include <math.h>
24537 #ifdef HAVE_IEEEFP_H
24538 #include <ieeefp.h>
24539 #endif
24542 main ()
24544 _expl(0);
24546 return 0;
24548 _ACEOF
24549 if ac_fn_cxx_try_compile "$LINENO"; then :
24550 glibcxx_cv_func__expl_use=yes
24551 else
24552 glibcxx_cv_func__expl_use=no
24554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24555 ac_ext=c
24556 ac_cpp='$CPP $CPPFLAGS'
24557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
24566 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
24568 if test x$glibcxx_cv_func__expl_use = x"yes"; then
24569 for ac_func in _expl
24570 do :
24571 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24572 if test "x$ac_cv_func__expl" = x""yes; then :
24573 cat >>confdefs.h <<_ACEOF
24574 #define HAVE__EXPL 1
24575 _ACEOF
24578 done
24587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24588 $as_echo_n "checking for fabsl declaration... " >&6; }
24589 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24590 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24591 $as_echo_n "(cached) " >&6
24592 else
24595 ac_ext=cpp
24596 ac_cpp='$CXXCPP $CPPFLAGS'
24597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24602 /* end confdefs.h. */
24603 #include <math.h>
24604 #ifdef HAVE_IEEEFP_H
24605 #include <ieeefp.h>
24606 #endif
24609 main ()
24611 fabsl(0);
24613 return 0;
24615 _ACEOF
24616 if ac_fn_cxx_try_compile "$LINENO"; then :
24617 glibcxx_cv_func_fabsl_use=yes
24618 else
24619 glibcxx_cv_func_fabsl_use=no
24621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24622 ac_ext=c
24623 ac_cpp='$CPP $CPPFLAGS'
24624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
24633 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24635 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24636 for ac_func in fabsl
24637 do :
24638 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24639 if test "x$ac_cv_func_fabsl" = x""yes; then :
24640 cat >>confdefs.h <<_ACEOF
24641 #define HAVE_FABSL 1
24642 _ACEOF
24645 done
24647 else
24649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
24650 $as_echo_n "checking for _fabsl declaration... " >&6; }
24651 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
24652 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
24653 $as_echo_n "(cached) " >&6
24654 else
24657 ac_ext=cpp
24658 ac_cpp='$CXXCPP $CPPFLAGS'
24659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24664 /* end confdefs.h. */
24665 #include <math.h>
24666 #ifdef HAVE_IEEEFP_H
24667 #include <ieeefp.h>
24668 #endif
24671 main ()
24673 _fabsl(0);
24675 return 0;
24677 _ACEOF
24678 if ac_fn_cxx_try_compile "$LINENO"; then :
24679 glibcxx_cv_func__fabsl_use=yes
24680 else
24681 glibcxx_cv_func__fabsl_use=no
24683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24684 ac_ext=c
24685 ac_cpp='$CPP $CPPFLAGS'
24686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
24695 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
24697 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
24698 for ac_func in _fabsl
24699 do :
24700 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
24701 if test "x$ac_cv_func__fabsl" = x""yes; then :
24702 cat >>confdefs.h <<_ACEOF
24703 #define HAVE__FABSL 1
24704 _ACEOF
24707 done
24716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
24717 $as_echo_n "checking for fmodl declaration... " >&6; }
24718 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
24719 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
24720 $as_echo_n "(cached) " >&6
24721 else
24724 ac_ext=cpp
24725 ac_cpp='$CXXCPP $CPPFLAGS'
24726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24731 /* end confdefs.h. */
24732 #include <math.h>
24734 main ()
24736 fmodl(0, 0);
24738 return 0;
24740 _ACEOF
24741 if ac_fn_cxx_try_compile "$LINENO"; then :
24742 glibcxx_cv_func_fmodl_use=yes
24743 else
24744 glibcxx_cv_func_fmodl_use=no
24746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24747 ac_ext=c
24748 ac_cpp='$CPP $CPPFLAGS'
24749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
24758 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
24760 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
24761 for ac_func in fmodl
24762 do :
24763 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
24764 if test "x$ac_cv_func_fmodl" = x""yes; then :
24765 cat >>confdefs.h <<_ACEOF
24766 #define HAVE_FMODL 1
24767 _ACEOF
24770 done
24772 else
24774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
24775 $as_echo_n "checking for _fmodl declaration... " >&6; }
24776 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
24777 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
24778 $as_echo_n "(cached) " >&6
24779 else
24782 ac_ext=cpp
24783 ac_cpp='$CXXCPP $CPPFLAGS'
24784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24789 /* end confdefs.h. */
24790 #include <math.h>
24792 main ()
24794 _fmodl(0, 0);
24796 return 0;
24798 _ACEOF
24799 if ac_fn_cxx_try_compile "$LINENO"; then :
24800 glibcxx_cv_func__fmodl_use=yes
24801 else
24802 glibcxx_cv_func__fmodl_use=no
24804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24805 ac_ext=c
24806 ac_cpp='$CPP $CPPFLAGS'
24807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24816 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24818 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24819 for ac_func in _fmodl
24820 do :
24821 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24822 if test "x$ac_cv_func__fmodl" = x""yes; then :
24823 cat >>confdefs.h <<_ACEOF
24824 #define HAVE__FMODL 1
24825 _ACEOF
24828 done
24837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24838 $as_echo_n "checking for frexpl declaration... " >&6; }
24839 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24840 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24841 $as_echo_n "(cached) " >&6
24842 else
24845 ac_ext=cpp
24846 ac_cpp='$CXXCPP $CPPFLAGS'
24847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24852 /* end confdefs.h. */
24853 #include <math.h>
24855 main ()
24857 frexpl(0, 0);
24859 return 0;
24861 _ACEOF
24862 if ac_fn_cxx_try_compile "$LINENO"; then :
24863 glibcxx_cv_func_frexpl_use=yes
24864 else
24865 glibcxx_cv_func_frexpl_use=no
24867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24868 ac_ext=c
24869 ac_cpp='$CPP $CPPFLAGS'
24870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24879 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24881 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24882 for ac_func in frexpl
24883 do :
24884 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24885 if test "x$ac_cv_func_frexpl" = x""yes; then :
24886 cat >>confdefs.h <<_ACEOF
24887 #define HAVE_FREXPL 1
24888 _ACEOF
24891 done
24893 else
24895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24896 $as_echo_n "checking for _frexpl declaration... " >&6; }
24897 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24898 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24899 $as_echo_n "(cached) " >&6
24900 else
24903 ac_ext=cpp
24904 ac_cpp='$CXXCPP $CPPFLAGS'
24905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24910 /* end confdefs.h. */
24911 #include <math.h>
24913 main ()
24915 _frexpl(0, 0);
24917 return 0;
24919 _ACEOF
24920 if ac_fn_cxx_try_compile "$LINENO"; then :
24921 glibcxx_cv_func__frexpl_use=yes
24922 else
24923 glibcxx_cv_func__frexpl_use=no
24925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24926 ac_ext=c
24927 ac_cpp='$CPP $CPPFLAGS'
24928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24937 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24939 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24940 for ac_func in _frexpl
24941 do :
24942 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24943 if test "x$ac_cv_func__frexpl" = x""yes; then :
24944 cat >>confdefs.h <<_ACEOF
24945 #define HAVE__FREXPL 1
24946 _ACEOF
24949 done
24958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
24959 $as_echo_n "checking for hypotl declaration... " >&6; }
24960 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
24961 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
24962 $as_echo_n "(cached) " >&6
24963 else
24966 ac_ext=cpp
24967 ac_cpp='$CXXCPP $CPPFLAGS'
24968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24973 /* end confdefs.h. */
24974 #include <math.h>
24976 main ()
24978 hypotl(0, 0);
24980 return 0;
24982 _ACEOF
24983 if ac_fn_cxx_try_compile "$LINENO"; then :
24984 glibcxx_cv_func_hypotl_use=yes
24985 else
24986 glibcxx_cv_func_hypotl_use=no
24988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24989 ac_ext=c
24990 ac_cpp='$CPP $CPPFLAGS'
24991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25000 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25002 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25003 for ac_func in hypotl
25004 do :
25005 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25006 if test "x$ac_cv_func_hypotl" = x""yes; then :
25007 cat >>confdefs.h <<_ACEOF
25008 #define HAVE_HYPOTL 1
25009 _ACEOF
25012 done
25014 else
25016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25017 $as_echo_n "checking for _hypotl declaration... " >&6; }
25018 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25019 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25020 $as_echo_n "(cached) " >&6
25021 else
25024 ac_ext=cpp
25025 ac_cpp='$CXXCPP $CPPFLAGS'
25026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25031 /* end confdefs.h. */
25032 #include <math.h>
25034 main ()
25036 _hypotl(0, 0);
25038 return 0;
25040 _ACEOF
25041 if ac_fn_cxx_try_compile "$LINENO"; then :
25042 glibcxx_cv_func__hypotl_use=yes
25043 else
25044 glibcxx_cv_func__hypotl_use=no
25046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25047 ac_ext=c
25048 ac_cpp='$CPP $CPPFLAGS'
25049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25058 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25060 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25061 for ac_func in _hypotl
25062 do :
25063 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25064 if test "x$ac_cv_func__hypotl" = x""yes; then :
25065 cat >>confdefs.h <<_ACEOF
25066 #define HAVE__HYPOTL 1
25067 _ACEOF
25070 done
25079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25080 $as_echo_n "checking for ldexpl declaration... " >&6; }
25081 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25082 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25083 $as_echo_n "(cached) " >&6
25084 else
25087 ac_ext=cpp
25088 ac_cpp='$CXXCPP $CPPFLAGS'
25089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25094 /* end confdefs.h. */
25095 #include <math.h>
25097 main ()
25099 ldexpl(0, 0);
25101 return 0;
25103 _ACEOF
25104 if ac_fn_cxx_try_compile "$LINENO"; then :
25105 glibcxx_cv_func_ldexpl_use=yes
25106 else
25107 glibcxx_cv_func_ldexpl_use=no
25109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25110 ac_ext=c
25111 ac_cpp='$CPP $CPPFLAGS'
25112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25121 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25123 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25124 for ac_func in ldexpl
25125 do :
25126 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25127 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25128 cat >>confdefs.h <<_ACEOF
25129 #define HAVE_LDEXPL 1
25130 _ACEOF
25133 done
25135 else
25137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25138 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25139 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25140 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25141 $as_echo_n "(cached) " >&6
25142 else
25145 ac_ext=cpp
25146 ac_cpp='$CXXCPP $CPPFLAGS'
25147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25152 /* end confdefs.h. */
25153 #include <math.h>
25155 main ()
25157 _ldexpl(0, 0);
25159 return 0;
25161 _ACEOF
25162 if ac_fn_cxx_try_compile "$LINENO"; then :
25163 glibcxx_cv_func__ldexpl_use=yes
25164 else
25165 glibcxx_cv_func__ldexpl_use=no
25167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25168 ac_ext=c
25169 ac_cpp='$CPP $CPPFLAGS'
25170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25179 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25181 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25182 for ac_func in _ldexpl
25183 do :
25184 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25185 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25186 cat >>confdefs.h <<_ACEOF
25187 #define HAVE__LDEXPL 1
25188 _ACEOF
25191 done
25200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25201 $as_echo_n "checking for logl declaration... " >&6; }
25202 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25203 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25204 $as_echo_n "(cached) " >&6
25205 else
25208 ac_ext=cpp
25209 ac_cpp='$CXXCPP $CPPFLAGS'
25210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25215 /* end confdefs.h. */
25216 #include <math.h>
25217 #ifdef HAVE_IEEEFP_H
25218 #include <ieeefp.h>
25219 #endif
25222 main ()
25224 logl(0);
25226 return 0;
25228 _ACEOF
25229 if ac_fn_cxx_try_compile "$LINENO"; then :
25230 glibcxx_cv_func_logl_use=yes
25231 else
25232 glibcxx_cv_func_logl_use=no
25234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25235 ac_ext=c
25236 ac_cpp='$CPP $CPPFLAGS'
25237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25246 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25248 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25249 for ac_func in logl
25250 do :
25251 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25252 if test "x$ac_cv_func_logl" = x""yes; then :
25253 cat >>confdefs.h <<_ACEOF
25254 #define HAVE_LOGL 1
25255 _ACEOF
25258 done
25260 else
25262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25263 $as_echo_n "checking for _logl declaration... " >&6; }
25264 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25265 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25266 $as_echo_n "(cached) " >&6
25267 else
25270 ac_ext=cpp
25271 ac_cpp='$CXXCPP $CPPFLAGS'
25272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25277 /* end confdefs.h. */
25278 #include <math.h>
25279 #ifdef HAVE_IEEEFP_H
25280 #include <ieeefp.h>
25281 #endif
25284 main ()
25286 _logl(0);
25288 return 0;
25290 _ACEOF
25291 if ac_fn_cxx_try_compile "$LINENO"; then :
25292 glibcxx_cv_func__logl_use=yes
25293 else
25294 glibcxx_cv_func__logl_use=no
25296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25297 ac_ext=c
25298 ac_cpp='$CPP $CPPFLAGS'
25299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25308 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25310 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25311 for ac_func in _logl
25312 do :
25313 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25314 if test "x$ac_cv_func__logl" = x""yes; then :
25315 cat >>confdefs.h <<_ACEOF
25316 #define HAVE__LOGL 1
25317 _ACEOF
25320 done
25329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25330 $as_echo_n "checking for log10l declaration... " >&6; }
25331 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25332 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25333 $as_echo_n "(cached) " >&6
25334 else
25337 ac_ext=cpp
25338 ac_cpp='$CXXCPP $CPPFLAGS'
25339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25344 /* end confdefs.h. */
25345 #include <math.h>
25346 #ifdef HAVE_IEEEFP_H
25347 #include <ieeefp.h>
25348 #endif
25351 main ()
25353 log10l(0);
25355 return 0;
25357 _ACEOF
25358 if ac_fn_cxx_try_compile "$LINENO"; then :
25359 glibcxx_cv_func_log10l_use=yes
25360 else
25361 glibcxx_cv_func_log10l_use=no
25363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25364 ac_ext=c
25365 ac_cpp='$CPP $CPPFLAGS'
25366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25375 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25377 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25378 for ac_func in log10l
25379 do :
25380 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25381 if test "x$ac_cv_func_log10l" = x""yes; then :
25382 cat >>confdefs.h <<_ACEOF
25383 #define HAVE_LOG10L 1
25384 _ACEOF
25387 done
25389 else
25391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25392 $as_echo_n "checking for _log10l declaration... " >&6; }
25393 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25394 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25395 $as_echo_n "(cached) " >&6
25396 else
25399 ac_ext=cpp
25400 ac_cpp='$CXXCPP $CPPFLAGS'
25401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25406 /* end confdefs.h. */
25407 #include <math.h>
25408 #ifdef HAVE_IEEEFP_H
25409 #include <ieeefp.h>
25410 #endif
25413 main ()
25415 _log10l(0);
25417 return 0;
25419 _ACEOF
25420 if ac_fn_cxx_try_compile "$LINENO"; then :
25421 glibcxx_cv_func__log10l_use=yes
25422 else
25423 glibcxx_cv_func__log10l_use=no
25425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25426 ac_ext=c
25427 ac_cpp='$CPP $CPPFLAGS'
25428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25437 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25439 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25440 for ac_func in _log10l
25441 do :
25442 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25443 if test "x$ac_cv_func__log10l" = x""yes; then :
25444 cat >>confdefs.h <<_ACEOF
25445 #define HAVE__LOG10L 1
25446 _ACEOF
25449 done
25458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25459 $as_echo_n "checking for modfl declaration... " >&6; }
25460 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25461 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25462 $as_echo_n "(cached) " >&6
25463 else
25466 ac_ext=cpp
25467 ac_cpp='$CXXCPP $CPPFLAGS'
25468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25473 /* end confdefs.h. */
25474 #include <math.h>
25476 main ()
25478 modfl(0, 0);
25480 return 0;
25482 _ACEOF
25483 if ac_fn_cxx_try_compile "$LINENO"; then :
25484 glibcxx_cv_func_modfl_use=yes
25485 else
25486 glibcxx_cv_func_modfl_use=no
25488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25489 ac_ext=c
25490 ac_cpp='$CPP $CPPFLAGS'
25491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25500 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25502 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25503 for ac_func in modfl
25504 do :
25505 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25506 if test "x$ac_cv_func_modfl" = x""yes; then :
25507 cat >>confdefs.h <<_ACEOF
25508 #define HAVE_MODFL 1
25509 _ACEOF
25512 done
25514 else
25516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25517 $as_echo_n "checking for _modfl declaration... " >&6; }
25518 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25519 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25520 $as_echo_n "(cached) " >&6
25521 else
25524 ac_ext=cpp
25525 ac_cpp='$CXXCPP $CPPFLAGS'
25526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25531 /* end confdefs.h. */
25532 #include <math.h>
25534 main ()
25536 _modfl(0, 0);
25538 return 0;
25540 _ACEOF
25541 if ac_fn_cxx_try_compile "$LINENO"; then :
25542 glibcxx_cv_func__modfl_use=yes
25543 else
25544 glibcxx_cv_func__modfl_use=no
25546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25547 ac_ext=c
25548 ac_cpp='$CPP $CPPFLAGS'
25549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25558 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25560 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25561 for ac_func in _modfl
25562 do :
25563 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25564 if test "x$ac_cv_func__modfl" = x""yes; then :
25565 cat >>confdefs.h <<_ACEOF
25566 #define HAVE__MODFL 1
25567 _ACEOF
25570 done
25579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25580 $as_echo_n "checking for powl declaration... " >&6; }
25581 if test x${glibcxx_cv_func_powl_use+set} != xset; then
25582 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25583 $as_echo_n "(cached) " >&6
25584 else
25587 ac_ext=cpp
25588 ac_cpp='$CXXCPP $CPPFLAGS'
25589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25594 /* end confdefs.h. */
25595 #include <math.h>
25597 main ()
25599 powl(0, 0);
25601 return 0;
25603 _ACEOF
25604 if ac_fn_cxx_try_compile "$LINENO"; then :
25605 glibcxx_cv_func_powl_use=yes
25606 else
25607 glibcxx_cv_func_powl_use=no
25609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25610 ac_ext=c
25611 ac_cpp='$CPP $CPPFLAGS'
25612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25621 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25623 if test x$glibcxx_cv_func_powl_use = x"yes"; then
25624 for ac_func in powl
25625 do :
25626 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25627 if test "x$ac_cv_func_powl" = x""yes; then :
25628 cat >>confdefs.h <<_ACEOF
25629 #define HAVE_POWL 1
25630 _ACEOF
25633 done
25635 else
25637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25638 $as_echo_n "checking for _powl declaration... " >&6; }
25639 if test x${glibcxx_cv_func__powl_use+set} != xset; then
25640 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
25641 $as_echo_n "(cached) " >&6
25642 else
25645 ac_ext=cpp
25646 ac_cpp='$CXXCPP $CPPFLAGS'
25647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25652 /* end confdefs.h. */
25653 #include <math.h>
25655 main ()
25657 _powl(0, 0);
25659 return 0;
25661 _ACEOF
25662 if ac_fn_cxx_try_compile "$LINENO"; then :
25663 glibcxx_cv_func__powl_use=yes
25664 else
25665 glibcxx_cv_func__powl_use=no
25667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25668 ac_ext=c
25669 ac_cpp='$CPP $CPPFLAGS'
25670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
25679 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
25681 if test x$glibcxx_cv_func__powl_use = x"yes"; then
25682 for ac_func in _powl
25683 do :
25684 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
25685 if test "x$ac_cv_func__powl" = x""yes; then :
25686 cat >>confdefs.h <<_ACEOF
25687 #define HAVE__POWL 1
25688 _ACEOF
25691 done
25700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
25701 $as_echo_n "checking for sqrtl declaration... " >&6; }
25702 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
25703 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
25704 $as_echo_n "(cached) " >&6
25705 else
25708 ac_ext=cpp
25709 ac_cpp='$CXXCPP $CPPFLAGS'
25710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25715 /* end confdefs.h. */
25716 #include <math.h>
25717 #ifdef HAVE_IEEEFP_H
25718 #include <ieeefp.h>
25719 #endif
25722 main ()
25724 sqrtl(0);
25726 return 0;
25728 _ACEOF
25729 if ac_fn_cxx_try_compile "$LINENO"; then :
25730 glibcxx_cv_func_sqrtl_use=yes
25731 else
25732 glibcxx_cv_func_sqrtl_use=no
25734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25735 ac_ext=c
25736 ac_cpp='$CPP $CPPFLAGS'
25737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
25746 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
25748 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
25749 for ac_func in sqrtl
25750 do :
25751 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
25752 if test "x$ac_cv_func_sqrtl" = x""yes; then :
25753 cat >>confdefs.h <<_ACEOF
25754 #define HAVE_SQRTL 1
25755 _ACEOF
25758 done
25760 else
25762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
25763 $as_echo_n "checking for _sqrtl declaration... " >&6; }
25764 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25765 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
25766 $as_echo_n "(cached) " >&6
25767 else
25770 ac_ext=cpp
25771 ac_cpp='$CXXCPP $CPPFLAGS'
25772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25777 /* end confdefs.h. */
25778 #include <math.h>
25779 #ifdef HAVE_IEEEFP_H
25780 #include <ieeefp.h>
25781 #endif
25784 main ()
25786 _sqrtl(0);
25788 return 0;
25790 _ACEOF
25791 if ac_fn_cxx_try_compile "$LINENO"; then :
25792 glibcxx_cv_func__sqrtl_use=yes
25793 else
25794 glibcxx_cv_func__sqrtl_use=no
25796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25797 ac_ext=c
25798 ac_cpp='$CPP $CPPFLAGS'
25799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
25808 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25810 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25811 for ac_func in _sqrtl
25812 do :
25813 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25814 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25815 cat >>confdefs.h <<_ACEOF
25816 #define HAVE__SQRTL 1
25817 _ACEOF
25820 done
25829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25830 $as_echo_n "checking for sincosl declaration... " >&6; }
25831 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25832 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25833 $as_echo_n "(cached) " >&6
25834 else
25837 ac_ext=cpp
25838 ac_cpp='$CXXCPP $CPPFLAGS'
25839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25844 /* end confdefs.h. */
25845 #include <math.h>
25847 main ()
25849 sincosl(0, 0, 0);
25851 return 0;
25853 _ACEOF
25854 if ac_fn_cxx_try_compile "$LINENO"; then :
25855 glibcxx_cv_func_sincosl_use=yes
25856 else
25857 glibcxx_cv_func_sincosl_use=no
25859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25860 ac_ext=c
25861 ac_cpp='$CPP $CPPFLAGS'
25862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25871 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25873 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25874 for ac_func in sincosl
25875 do :
25876 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25877 if test "x$ac_cv_func_sincosl" = x""yes; then :
25878 cat >>confdefs.h <<_ACEOF
25879 #define HAVE_SINCOSL 1
25880 _ACEOF
25883 done
25885 else
25887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25888 $as_echo_n "checking for _sincosl declaration... " >&6; }
25889 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25890 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25891 $as_echo_n "(cached) " >&6
25892 else
25895 ac_ext=cpp
25896 ac_cpp='$CXXCPP $CPPFLAGS'
25897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25902 /* end confdefs.h. */
25903 #include <math.h>
25905 main ()
25907 _sincosl(0, 0, 0);
25909 return 0;
25911 _ACEOF
25912 if ac_fn_cxx_try_compile "$LINENO"; then :
25913 glibcxx_cv_func__sincosl_use=yes
25914 else
25915 glibcxx_cv_func__sincosl_use=no
25917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25918 ac_ext=c
25919 ac_cpp='$CPP $CPPFLAGS'
25920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
25929 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25931 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25932 for ac_func in _sincosl
25933 do :
25934 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25935 if test "x$ac_cv_func__sincosl" = x""yes; then :
25936 cat >>confdefs.h <<_ACEOF
25937 #define HAVE__SINCOSL 1
25938 _ACEOF
25941 done
25950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25951 $as_echo_n "checking for finitel declaration... " >&6; }
25952 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25953 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
25954 $as_echo_n "(cached) " >&6
25955 else
25958 ac_ext=cpp
25959 ac_cpp='$CXXCPP $CPPFLAGS'
25960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25965 /* end confdefs.h. */
25966 #include <math.h>
25967 #ifdef HAVE_IEEEFP_H
25968 #include <ieeefp.h>
25969 #endif
25972 main ()
25974 finitel(0);
25976 return 0;
25978 _ACEOF
25979 if ac_fn_cxx_try_compile "$LINENO"; then :
25980 glibcxx_cv_func_finitel_use=yes
25981 else
25982 glibcxx_cv_func_finitel_use=no
25984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25985 ac_ext=c
25986 ac_cpp='$CPP $CPPFLAGS'
25987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
25996 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
25998 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25999 for ac_func in finitel
26000 do :
26001 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26002 if test "x$ac_cv_func_finitel" = x""yes; then :
26003 cat >>confdefs.h <<_ACEOF
26004 #define HAVE_FINITEL 1
26005 _ACEOF
26008 done
26010 else
26012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26013 $as_echo_n "checking for _finitel declaration... " >&6; }
26014 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26015 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26016 $as_echo_n "(cached) " >&6
26017 else
26020 ac_ext=cpp
26021 ac_cpp='$CXXCPP $CPPFLAGS'
26022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26027 /* end confdefs.h. */
26028 #include <math.h>
26029 #ifdef HAVE_IEEEFP_H
26030 #include <ieeefp.h>
26031 #endif
26034 main ()
26036 _finitel(0);
26038 return 0;
26040 _ACEOF
26041 if ac_fn_cxx_try_compile "$LINENO"; then :
26042 glibcxx_cv_func__finitel_use=yes
26043 else
26044 glibcxx_cv_func__finitel_use=no
26046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26047 ac_ext=c
26048 ac_cpp='$CPP $CPPFLAGS'
26049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26058 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26060 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26061 for ac_func in _finitel
26062 do :
26063 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26064 if test "x$ac_cv_func__finitel" = x""yes; then :
26065 cat >>confdefs.h <<_ACEOF
26066 #define HAVE__FINITEL 1
26067 _ACEOF
26070 done
26078 LIBS="$ac_save_LIBS"
26079 CXXFLAGS="$ac_save_CXXFLAGS"
26082 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26083 ac_save_CXXFLAGS="$CXXFLAGS"
26084 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26088 $as_echo_n "checking for strtold declaration... " >&6; }
26089 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26090 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26091 $as_echo_n "(cached) " >&6
26092 else
26095 ac_ext=cpp
26096 ac_cpp='$CXXCPP $CPPFLAGS'
26097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26102 /* end confdefs.h. */
26103 #include <stdlib.h>
26105 main ()
26107 strtold(0, 0);
26109 return 0;
26111 _ACEOF
26112 if ac_fn_cxx_try_compile "$LINENO"; then :
26113 glibcxx_cv_func_strtold_use=yes
26114 else
26115 glibcxx_cv_func_strtold_use=no
26117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26118 ac_ext=c
26119 ac_cpp='$CPP $CPPFLAGS'
26120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26129 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26130 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26131 for ac_func in strtold
26132 do :
26133 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26134 if test "x$ac_cv_func_strtold" = x""yes; then :
26135 cat >>confdefs.h <<_ACEOF
26136 #define HAVE_STRTOLD 1
26137 _ACEOF
26140 done
26147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26148 $as_echo_n "checking for strtof declaration... " >&6; }
26149 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26150 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26151 $as_echo_n "(cached) " >&6
26152 else
26155 ac_ext=cpp
26156 ac_cpp='$CXXCPP $CPPFLAGS'
26157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26162 /* end confdefs.h. */
26163 #include <stdlib.h>
26165 main ()
26167 strtof(0, 0);
26169 return 0;
26171 _ACEOF
26172 if ac_fn_cxx_try_compile "$LINENO"; then :
26173 glibcxx_cv_func_strtof_use=yes
26174 else
26175 glibcxx_cv_func_strtof_use=no
26177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26178 ac_ext=c
26179 ac_cpp='$CPP $CPPFLAGS'
26180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26189 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26190 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26191 for ac_func in strtof
26192 do :
26193 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26194 if test "x$ac_cv_func_strtof" = x""yes; then :
26195 cat >>confdefs.h <<_ACEOF
26196 #define HAVE_STRTOF 1
26197 _ACEOF
26200 done
26207 CXXFLAGS="$ac_save_CXXFLAGS"
26210 # For /dev/random and /dev/urandom for TR1.
26213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26214 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26215 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26216 $as_echo_n "(cached) " >&6
26217 else
26219 if test -r /dev/random && test -r /dev/urandom; then
26220 glibcxx_cv_random_tr1=yes;
26221 else
26222 glibcxx_cv_random_tr1=no;
26227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26228 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26230 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26232 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26238 # For TLS support.
26241 # Check whether --enable-tls was given.
26242 if test "${enable_tls+set}" = set; then :
26243 enableval=$enable_tls;
26244 case "$enableval" in
26245 yes|no) ;;
26246 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26247 esac
26249 else
26250 enable_tls=yes
26254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26255 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26256 if test "${gcc_cv_have_tls+set}" = set; then :
26257 $as_echo_n "(cached) " >&6
26258 else
26260 if test "$cross_compiling" = yes; then :
26261 if test x$gcc_no_link = xyes; then
26262 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26265 /* end confdefs.h. */
26266 __thread int a; int b; int main() { return a = b; }
26267 _ACEOF
26268 if ac_fn_c_try_link "$LINENO"; then :
26269 chktls_save_LDFLAGS="$LDFLAGS"
26270 case $host in
26271 *-*-linux*)
26272 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26274 esac
26275 chktls_save_CFLAGS="$CFLAGS"
26276 CFLAGS="-fPIC $CFLAGS"
26277 if test x$gcc_no_link = xyes; then
26278 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26281 /* end confdefs.h. */
26282 int f() { return 0; }
26283 _ACEOF
26284 if ac_fn_c_try_link "$LINENO"; then :
26285 if test x$gcc_no_link = xyes; then
26286 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26289 /* end confdefs.h. */
26290 __thread int a; int b; int f() { return a = b; }
26291 _ACEOF
26292 if ac_fn_c_try_link "$LINENO"; then :
26293 gcc_cv_have_tls=yes
26294 else
26295 gcc_cv_have_tls=no
26297 rm -f core conftest.err conftest.$ac_objext \
26298 conftest$ac_exeext conftest.$ac_ext
26299 else
26300 gcc_cv_have_tls=yes
26302 rm -f core conftest.err conftest.$ac_objext \
26303 conftest$ac_exeext conftest.$ac_ext
26304 CFLAGS="$chktls_save_CFLAGS"
26305 LDFLAGS="$chktls_save_LDFLAGS"
26306 else
26307 gcc_cv_have_tls=no
26309 rm -f core conftest.err conftest.$ac_objext \
26310 conftest$ac_exeext conftest.$ac_ext
26313 else
26314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26315 /* end confdefs.h. */
26316 __thread int a; int b; int main() { return a = b; }
26317 _ACEOF
26318 if ac_fn_c_try_run "$LINENO"; then :
26319 chktls_save_LDFLAGS="$LDFLAGS"
26320 LDFLAGS="-static $LDFLAGS"
26321 if test x$gcc_no_link = xyes; then
26322 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26325 /* end confdefs.h. */
26326 int main() { return 0; }
26327 _ACEOF
26328 if ac_fn_c_try_link "$LINENO"; then :
26329 if test "$cross_compiling" = yes; then :
26330 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26331 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26332 as_fn_error "cannot run test program while cross compiling
26333 See \`config.log' for more details." "$LINENO" 5; }
26334 else
26335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26336 /* end confdefs.h. */
26337 __thread int a; int b; int main() { return a = b; }
26338 _ACEOF
26339 if ac_fn_c_try_run "$LINENO"; then :
26340 gcc_cv_have_tls=yes
26341 else
26342 gcc_cv_have_tls=no
26344 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26345 conftest.$ac_objext conftest.beam conftest.$ac_ext
26348 else
26349 gcc_cv_have_tls=yes
26351 rm -f core conftest.err conftest.$ac_objext \
26352 conftest$ac_exeext conftest.$ac_ext
26353 LDFLAGS="$chktls_save_LDFLAGS"
26354 if test $gcc_cv_have_tls = yes; then
26355 chktls_save_CFLAGS="$CFLAGS"
26356 thread_CFLAGS=failed
26357 for flag in '' '-pthread' '-lpthread'; do
26358 CFLAGS="$flag $chktls_save_CFLAGS"
26359 if test x$gcc_no_link = xyes; then
26360 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26363 /* end confdefs.h. */
26364 #include <pthread.h>
26365 void *g(void *d) { return NULL; }
26367 main ()
26369 pthread_t t; pthread_create(&t,NULL,g,NULL);
26371 return 0;
26373 _ACEOF
26374 if ac_fn_c_try_link "$LINENO"; then :
26375 thread_CFLAGS="$flag"
26377 rm -f core conftest.err conftest.$ac_objext \
26378 conftest$ac_exeext conftest.$ac_ext
26379 if test "X$thread_CFLAGS" != Xfailed; then
26380 break
26382 done
26383 CFLAGS="$chktls_save_CFLAGS"
26384 if test "X$thread_CFLAGS" != Xfailed; then
26385 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26386 if test "$cross_compiling" = yes; then :
26387 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26388 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26389 as_fn_error "cannot run test program while cross compiling
26390 See \`config.log' for more details." "$LINENO" 5; }
26391 else
26392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26393 /* end confdefs.h. */
26394 #include <pthread.h>
26395 __thread int a;
26396 static int *volatile a_in_other_thread;
26397 static void *
26398 thread_func (void *arg)
26400 a_in_other_thread = &a;
26401 return (void *)0;
26404 main ()
26406 pthread_t thread;
26407 void *thread_retval;
26408 int *volatile a_in_main_thread;
26409 a_in_main_thread = &a;
26410 if (pthread_create (&thread, (pthread_attr_t *)0,
26411 thread_func, (void *)0))
26412 return 0;
26413 if (pthread_join (thread, &thread_retval))
26414 return 0;
26415 return (a_in_other_thread == a_in_main_thread);
26417 return 0;
26419 _ACEOF
26420 if ac_fn_c_try_run "$LINENO"; then :
26421 gcc_cv_have_tls=yes
26422 else
26423 gcc_cv_have_tls=no
26425 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26426 conftest.$ac_objext conftest.beam conftest.$ac_ext
26429 CFLAGS="$chktls_save_CFLAGS"
26432 else
26433 gcc_cv_have_tls=no
26435 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26436 conftest.$ac_objext conftest.beam conftest.$ac_ext
26440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
26441 $as_echo "$gcc_cv_have_tls" >&6; }
26442 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
26444 $as_echo "#define HAVE_TLS 1" >>confdefs.h
26448 # For iconv support.
26450 if test "X$prefix" = "XNONE"; then
26451 acl_final_prefix="$ac_default_prefix"
26452 else
26453 acl_final_prefix="$prefix"
26455 if test "X$exec_prefix" = "XNONE"; then
26456 acl_final_exec_prefix='${prefix}'
26457 else
26458 acl_final_exec_prefix="$exec_prefix"
26460 acl_save_prefix="$prefix"
26461 prefix="$acl_final_prefix"
26462 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
26463 prefix="$acl_save_prefix"
26466 # Check whether --with-gnu-ld was given.
26467 if test "${with_gnu_ld+set}" = set; then :
26468 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
26469 else
26470 with_gnu_ld=no
26473 # Prepare PATH_SEPARATOR.
26474 # The user is always right.
26475 if test "${PATH_SEPARATOR+set}" != set; then
26476 echo "#! /bin/sh" >conf$$.sh
26477 echo "exit 0" >>conf$$.sh
26478 chmod +x conf$$.sh
26479 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26480 PATH_SEPARATOR=';'
26481 else
26482 PATH_SEPARATOR=:
26484 rm -f conf$$.sh
26486 ac_prog=ld
26487 if test "$GCC" = yes; then
26488 # Check if gcc -print-prog-name=ld gives a path.
26489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
26490 $as_echo_n "checking for ld used by GCC... " >&6; }
26491 case $host in
26492 *-*-mingw*)
26493 # gcc leaves a trailing carriage return which upsets mingw
26494 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
26496 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
26497 esac
26498 case $ac_prog in
26499 # Accept absolute paths.
26500 [\\/]* | [A-Za-z]:[\\/]*)
26501 re_direlt='/[^/][^/]*/\.\./'
26502 # Canonicalize the path of ld
26503 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
26504 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
26505 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
26506 done
26507 test -z "$LD" && LD="$ac_prog"
26510 # If it fails, then pretend we aren't using GCC.
26511 ac_prog=ld
26514 # If it is relative, then search for the first ld in PATH.
26515 with_gnu_ld=unknown
26517 esac
26518 elif test "$with_gnu_ld" = yes; then
26519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
26520 $as_echo_n "checking for GNU ld... " >&6; }
26521 else
26522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
26523 $as_echo_n "checking for non-GNU ld... " >&6; }
26525 if test "${acl_cv_path_LD+set}" = set; then :
26526 $as_echo_n "(cached) " >&6
26527 else
26528 if test -z "$LD"; then
26529 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
26530 for ac_dir in $PATH; do
26531 test -z "$ac_dir" && ac_dir=.
26532 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
26533 acl_cv_path_LD="$ac_dir/$ac_prog"
26534 # Check to see if the program is GNU ld. I'd rather use --version,
26535 # but apparently some GNU ld's only accept -v.
26536 # Break only if it was the GNU/non-GNU ld that we prefer.
26537 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
26538 test "$with_gnu_ld" != no && break
26539 else
26540 test "$with_gnu_ld" != yes && break
26543 done
26544 IFS="$ac_save_ifs"
26545 else
26546 acl_cv_path_LD="$LD" # Let the user override the test with a path.
26550 LD="$acl_cv_path_LD"
26551 if test -n "$LD"; then
26552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
26553 $as_echo "$LD" >&6; }
26554 else
26555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26556 $as_echo "no" >&6; }
26558 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
26559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
26560 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
26561 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
26562 $as_echo_n "(cached) " >&6
26563 else
26564 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
26565 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
26566 acl_cv_prog_gnu_ld=yes
26567 else
26568 acl_cv_prog_gnu_ld=no
26571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
26572 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
26573 with_gnu_ld=$acl_cv_prog_gnu_ld
26577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
26578 $as_echo_n "checking for shared library run path origin... " >&6; }
26579 if test "${acl_cv_rpath+set}" = set; then :
26580 $as_echo_n "(cached) " >&6
26581 else
26583 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
26584 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
26585 . ./conftest.sh
26586 rm -f ./conftest.sh
26587 acl_cv_rpath=done
26590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
26591 $as_echo "$acl_cv_rpath" >&6; }
26592 wl="$acl_cv_wl"
26593 libext="$acl_cv_libext"
26594 shlibext="$acl_cv_shlibext"
26595 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
26596 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
26597 hardcode_direct="$acl_cv_hardcode_direct"
26598 hardcode_minus_L="$acl_cv_hardcode_minus_L"
26599 # Check whether --enable-rpath was given.
26600 if test "${enable_rpath+set}" = set; then :
26601 enableval=$enable_rpath; :
26602 else
26603 enable_rpath=yes
26613 use_additional=yes
26615 acl_save_prefix="$prefix"
26616 prefix="$acl_final_prefix"
26617 acl_save_exec_prefix="$exec_prefix"
26618 exec_prefix="$acl_final_exec_prefix"
26620 eval additional_includedir=\"$includedir\"
26621 eval additional_libdir=\"$libdir\"
26623 exec_prefix="$acl_save_exec_prefix"
26624 prefix="$acl_save_prefix"
26627 # Check whether --with-libiconv-prefix was given.
26628 if test "${with_libiconv_prefix+set}" = set; then :
26629 withval=$with_libiconv_prefix;
26630 if test "X$withval" = "Xno"; then
26631 use_additional=no
26632 else
26633 if test "X$withval" = "X"; then
26635 acl_save_prefix="$prefix"
26636 prefix="$acl_final_prefix"
26637 acl_save_exec_prefix="$exec_prefix"
26638 exec_prefix="$acl_final_exec_prefix"
26640 eval additional_includedir=\"$includedir\"
26641 eval additional_libdir=\"$libdir\"
26643 exec_prefix="$acl_save_exec_prefix"
26644 prefix="$acl_save_prefix"
26646 else
26647 additional_includedir="$withval/include"
26648 additional_libdir="$withval/lib"
26654 LIBICONV=
26655 LTLIBICONV=
26656 INCICONV=
26657 rpathdirs=
26658 ltrpathdirs=
26659 names_already_handled=
26660 names_next_round='iconv '
26661 while test -n "$names_next_round"; do
26662 names_this_round="$names_next_round"
26663 names_next_round=
26664 for name in $names_this_round; do
26665 already_handled=
26666 for n in $names_already_handled; do
26667 if test "$n" = "$name"; then
26668 already_handled=yes
26669 break
26671 done
26672 if test -z "$already_handled"; then
26673 names_already_handled="$names_already_handled $name"
26674 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
26675 eval value=\"\$HAVE_LIB$uppername\"
26676 if test -n "$value"; then
26677 if test "$value" = yes; then
26678 eval value=\"\$LIB$uppername\"
26679 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
26680 eval value=\"\$LTLIB$uppername\"
26681 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
26682 else
26685 else
26686 found_dir=
26687 found_la=
26688 found_so=
26689 found_a=
26690 if test $use_additional = yes; then
26691 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
26692 found_dir="$additional_libdir"
26693 found_so="$additional_libdir/lib$name.$shlibext"
26694 if test -f "$additional_libdir/lib$name.la"; then
26695 found_la="$additional_libdir/lib$name.la"
26697 else
26698 if test -f "$additional_libdir/lib$name.$libext"; then
26699 found_dir="$additional_libdir"
26700 found_a="$additional_libdir/lib$name.$libext"
26701 if test -f "$additional_libdir/lib$name.la"; then
26702 found_la="$additional_libdir/lib$name.la"
26707 if test "X$found_dir" = "X"; then
26708 for x in $LDFLAGS $LTLIBICONV; do
26710 acl_save_prefix="$prefix"
26711 prefix="$acl_final_prefix"
26712 acl_save_exec_prefix="$exec_prefix"
26713 exec_prefix="$acl_final_exec_prefix"
26714 eval x=\"$x\"
26715 exec_prefix="$acl_save_exec_prefix"
26716 prefix="$acl_save_prefix"
26718 case "$x" in
26719 -L*)
26720 dir=`echo "X$x" | sed -e 's/^X-L//'`
26721 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
26722 found_dir="$dir"
26723 found_so="$dir/lib$name.$shlibext"
26724 if test -f "$dir/lib$name.la"; then
26725 found_la="$dir/lib$name.la"
26727 else
26728 if test -f "$dir/lib$name.$libext"; then
26729 found_dir="$dir"
26730 found_a="$dir/lib$name.$libext"
26731 if test -f "$dir/lib$name.la"; then
26732 found_la="$dir/lib$name.la"
26737 esac
26738 if test "X$found_dir" != "X"; then
26739 break
26741 done
26743 if test "X$found_dir" != "X"; then
26744 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
26745 if test "X$found_so" != "X"; then
26746 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
26747 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26748 else
26749 haveit=
26750 for x in $ltrpathdirs; do
26751 if test "X$x" = "X$found_dir"; then
26752 haveit=yes
26753 break
26755 done
26756 if test -z "$haveit"; then
26757 ltrpathdirs="$ltrpathdirs $found_dir"
26759 if test "$hardcode_direct" = yes; then
26760 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26761 else
26762 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
26763 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26764 haveit=
26765 for x in $rpathdirs; do
26766 if test "X$x" = "X$found_dir"; then
26767 haveit=yes
26768 break
26770 done
26771 if test -z "$haveit"; then
26772 rpathdirs="$rpathdirs $found_dir"
26774 else
26775 haveit=
26776 for x in $LDFLAGS $LIBICONV; do
26778 acl_save_prefix="$prefix"
26779 prefix="$acl_final_prefix"
26780 acl_save_exec_prefix="$exec_prefix"
26781 exec_prefix="$acl_final_exec_prefix"
26782 eval x=\"$x\"
26783 exec_prefix="$acl_save_exec_prefix"
26784 prefix="$acl_save_prefix"
26786 if test "X$x" = "X-L$found_dir"; then
26787 haveit=yes
26788 break
26790 done
26791 if test -z "$haveit"; then
26792 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
26794 if test "$hardcode_minus_L" != no; then
26795 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26796 else
26797 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26802 else
26803 if test "X$found_a" != "X"; then
26804 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
26805 else
26806 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
26809 additional_includedir=
26810 case "$found_dir" in
26811 */lib | */lib/)
26812 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26813 additional_includedir="$basedir/include"
26815 esac
26816 if test "X$additional_includedir" != "X"; then
26817 if test "X$additional_includedir" != "X/usr/include"; then
26818 haveit=
26819 if test "X$additional_includedir" = "X/usr/local/include"; then
26820 if test -n "$GCC"; then
26821 case $host_os in
26822 linux*) haveit=yes;;
26823 esac
26826 if test -z "$haveit"; then
26827 for x in $CPPFLAGS $INCICONV; do
26829 acl_save_prefix="$prefix"
26830 prefix="$acl_final_prefix"
26831 acl_save_exec_prefix="$exec_prefix"
26832 exec_prefix="$acl_final_exec_prefix"
26833 eval x=\"$x\"
26834 exec_prefix="$acl_save_exec_prefix"
26835 prefix="$acl_save_prefix"
26837 if test "X$x" = "X-I$additional_includedir"; then
26838 haveit=yes
26839 break
26841 done
26842 if test -z "$haveit"; then
26843 if test -d "$additional_includedir"; then
26844 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26850 if test -n "$found_la"; then
26851 save_libdir="$libdir"
26852 case "$found_la" in
26853 */* | *\\*) . "$found_la" ;;
26854 *) . "./$found_la" ;;
26855 esac
26856 libdir="$save_libdir"
26857 for dep in $dependency_libs; do
26858 case "$dep" in
26859 -L*)
26860 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26861 if test "X$additional_libdir" != "X/usr/lib"; then
26862 haveit=
26863 if test "X$additional_libdir" = "X/usr/local/lib"; then
26864 if test -n "$GCC"; then
26865 case $host_os in
26866 linux*) haveit=yes;;
26867 esac
26870 if test -z "$haveit"; then
26871 haveit=
26872 for x in $LDFLAGS $LIBICONV; do
26874 acl_save_prefix="$prefix"
26875 prefix="$acl_final_prefix"
26876 acl_save_exec_prefix="$exec_prefix"
26877 exec_prefix="$acl_final_exec_prefix"
26878 eval x=\"$x\"
26879 exec_prefix="$acl_save_exec_prefix"
26880 prefix="$acl_save_prefix"
26882 if test "X$x" = "X-L$additional_libdir"; then
26883 haveit=yes
26884 break
26886 done
26887 if test -z "$haveit"; then
26888 if test -d "$additional_libdir"; then
26889 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26892 haveit=
26893 for x in $LDFLAGS $LTLIBICONV; do
26895 acl_save_prefix="$prefix"
26896 prefix="$acl_final_prefix"
26897 acl_save_exec_prefix="$exec_prefix"
26898 exec_prefix="$acl_final_exec_prefix"
26899 eval x=\"$x\"
26900 exec_prefix="$acl_save_exec_prefix"
26901 prefix="$acl_save_prefix"
26903 if test "X$x" = "X-L$additional_libdir"; then
26904 haveit=yes
26905 break
26907 done
26908 if test -z "$haveit"; then
26909 if test -d "$additional_libdir"; then
26910 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26916 -R*)
26917 dir=`echo "X$dep" | sed -e 's/^X-R//'`
26918 if test "$enable_rpath" != no; then
26919 haveit=
26920 for x in $rpathdirs; do
26921 if test "X$x" = "X$dir"; then
26922 haveit=yes
26923 break
26925 done
26926 if test -z "$haveit"; then
26927 rpathdirs="$rpathdirs $dir"
26929 haveit=
26930 for x in $ltrpathdirs; do
26931 if test "X$x" = "X$dir"; then
26932 haveit=yes
26933 break
26935 done
26936 if test -z "$haveit"; then
26937 ltrpathdirs="$ltrpathdirs $dir"
26941 -l*)
26942 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26944 *.la)
26945 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26948 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26949 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26951 esac
26952 done
26954 else
26955 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26956 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26960 done
26961 done
26962 if test "X$rpathdirs" != "X"; then
26963 if test -n "$hardcode_libdir_separator"; then
26964 alldirs=
26965 for found_dir in $rpathdirs; do
26966 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
26967 done
26968 acl_save_libdir="$libdir"
26969 libdir="$alldirs"
26970 eval flag=\"$hardcode_libdir_flag_spec\"
26971 libdir="$acl_save_libdir"
26972 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26973 else
26974 for found_dir in $rpathdirs; do
26975 acl_save_libdir="$libdir"
26976 libdir="$found_dir"
26977 eval flag=\"$hardcode_libdir_flag_spec\"
26978 libdir="$acl_save_libdir"
26979 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26980 done
26983 if test "X$ltrpathdirs" != "X"; then
26984 for found_dir in $ltrpathdirs; do
26985 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
26986 done
26995 am_save_CPPFLAGS="$CPPFLAGS"
26997 for element in $INCICONV; do
26998 haveit=
26999 for x in $CPPFLAGS; do
27001 acl_save_prefix="$prefix"
27002 prefix="$acl_final_prefix"
27003 acl_save_exec_prefix="$exec_prefix"
27004 exec_prefix="$acl_final_exec_prefix"
27005 eval x=\"$x\"
27006 exec_prefix="$acl_save_exec_prefix"
27007 prefix="$acl_save_prefix"
27009 if test "X$x" = "X$element"; then
27010 haveit=yes
27011 break
27013 done
27014 if test -z "$haveit"; then
27015 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27017 done
27020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27021 $as_echo_n "checking for iconv... " >&6; }
27022 if test "${am_cv_func_iconv+set}" = set; then :
27023 $as_echo_n "(cached) " >&6
27024 else
27026 am_cv_func_iconv="no, consider installing GNU libiconv"
27027 am_cv_lib_iconv=no
27028 if test x$gcc_no_link = xyes; then
27029 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27032 /* end confdefs.h. */
27033 #include <stdlib.h>
27034 #include <iconv.h>
27036 main ()
27038 iconv_t cd = iconv_open("","");
27039 iconv(cd,NULL,NULL,NULL,NULL);
27040 iconv_close(cd);
27042 return 0;
27044 _ACEOF
27045 if ac_fn_c_try_link "$LINENO"; then :
27046 am_cv_func_iconv=yes
27048 rm -f core conftest.err conftest.$ac_objext \
27049 conftest$ac_exeext conftest.$ac_ext
27050 if test "$am_cv_func_iconv" != yes; then
27051 am_save_LIBS="$LIBS"
27052 LIBS="$LIBS $LIBICONV"
27053 if test x$gcc_no_link = xyes; then
27054 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27057 /* end confdefs.h. */
27058 #include <stdlib.h>
27059 #include <iconv.h>
27061 main ()
27063 iconv_t cd = iconv_open("","");
27064 iconv(cd,NULL,NULL,NULL,NULL);
27065 iconv_close(cd);
27067 return 0;
27069 _ACEOF
27070 if ac_fn_c_try_link "$LINENO"; then :
27071 am_cv_lib_iconv=yes
27072 am_cv_func_iconv=yes
27074 rm -f core conftest.err conftest.$ac_objext \
27075 conftest$ac_exeext conftest.$ac_ext
27076 LIBS="$am_save_LIBS"
27080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27081 $as_echo "$am_cv_func_iconv" >&6; }
27082 if test "$am_cv_func_iconv" = yes; then
27084 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27087 if test "$am_cv_lib_iconv" = yes; then
27088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27089 $as_echo_n "checking how to link with libiconv... " >&6; }
27090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27091 $as_echo "$LIBICONV" >&6; }
27092 else
27093 CPPFLAGS="$am_save_CPPFLAGS"
27094 LIBICONV=
27095 LTLIBICONV=
27100 if test "$am_cv_func_iconv" = yes; then
27101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27102 $as_echo_n "checking for iconv declaration... " >&6; }
27103 if test "${am_cv_proto_iconv+set}" = set; then :
27104 $as_echo_n "(cached) " >&6
27105 else
27107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27108 /* end confdefs.h. */
27110 #include <stdlib.h>
27111 #include <iconv.h>
27112 extern
27113 #ifdef __cplusplus
27115 #endif
27116 #if defined(__STDC__) || defined(__cplusplus)
27117 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27118 #else
27119 size_t iconv();
27120 #endif
27123 main ()
27127 return 0;
27129 _ACEOF
27130 if ac_fn_c_try_compile "$LINENO"; then :
27131 am_cv_proto_iconv_arg1=""
27132 else
27133 am_cv_proto_iconv_arg1="const"
27135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27136 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);"
27139 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27141 }$am_cv_proto_iconv" >&5
27142 $as_echo "${ac_t:-
27143 }$am_cv_proto_iconv" >&6; }
27145 cat >>confdefs.h <<_ACEOF
27146 #define ICONV_CONST $am_cv_proto_iconv_arg1
27147 _ACEOF
27152 else
27154 # This lets us hard-code the functionality we know we'll have in the cross
27155 # target environment. "Let" is a sugar-coated word placed on an especially
27156 # dull and tedious hack, actually.
27158 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27159 # that involve linking, can't be used:
27160 # "cannot open sim-crt0.o"
27161 # "cannot open crt0.o"
27162 # etc. All this is because there currently exists no unified, consistent
27163 # way for top level CC information to be passed down to target directories:
27164 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27165 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27166 # crosses can be removed.
27168 # If Canadian cross, then don't pick up tools from the build directory.
27169 # Used only in GLIBCXX_EXPORT_INCLUDES.
27170 if test -n "$with_cross_host" &&
27171 test x"$build_alias" != x"$with_cross_host" &&
27172 test x"$build" != x"$target";
27173 then
27174 CANADIAN=yes
27175 else
27176 CANADIAN=no
27179 # Construct crosses by hand, eliminating bits that need ld...
27180 # GLIBCXX_CHECK_MATH_SUPPORT
27182 # First, test for "known" system libraries. We may be using newlib even
27183 # on a hosted environment.
27184 if test "x${with_newlib}" = "xyes"; then
27185 os_include_dir="os/newlib"
27186 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27189 # GLIBCXX_CHECK_STDLIB_SUPPORT
27190 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27193 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27195 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27197 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27199 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27201 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27203 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27205 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27207 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27209 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27211 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27213 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27215 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27217 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27219 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27221 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27223 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27225 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27227 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27229 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27231 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27233 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27235 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27238 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27240 else
27242 # Base decisions on target environment.
27243 case "${host}" in
27244 arm*-*-symbianelf*)
27245 # This is a freestanding configuration; there is nothing to do here.
27248 mips*-sde-elf*)
27249 # These definitions are for the SDE C library rather than newlib.
27250 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27253 # All these tests are for C++; save the language and the compiler flags.
27254 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27255 # found in GLIBCXX_CONFIGURE.
27257 ac_ext=cpp
27258 ac_cpp='$CXXCPP $CPPFLAGS'
27259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27263 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27264 ac_save_CXXFLAGS="$CXXFLAGS"
27266 # Check for maintainer-mode bits.
27267 if test x"$USE_MAINTAINER_MODE" = xno; then
27268 WERROR=''
27269 else
27270 WERROR='-Werror'
27273 # Check for -ffunction-sections -fdata-sections
27274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27275 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27276 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27278 /* end confdefs.h. */
27279 int foo; void bar() { };
27281 main ()
27285 return 0;
27287 _ACEOF
27288 if ac_fn_cxx_try_compile "$LINENO"; then :
27289 ac_fdsections=yes
27290 else
27291 ac_fdsections=no
27293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27294 if test "$ac_test_CXXFLAGS" = set; then
27295 CXXFLAGS="$ac_save_CXXFLAGS"
27296 else
27297 # this is the suspicious part
27298 CXXFLAGS=''
27300 if test x"$ac_fdsections" = x"yes"; then
27301 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27304 $as_echo "$ac_fdsections" >&6; }
27306 ac_ext=c
27307 ac_cpp='$CPP $CPPFLAGS'
27308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27316 # If we're not using GNU ld, then there's no point in even trying these
27317 # tests. Check for that first. We should have already tested for gld
27318 # by now (in libtool), but require it now just to be safe...
27319 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27320 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27324 # The name set by libtool depends on the version of libtool. Shame on us
27325 # for depending on an impl detail, but c'est la vie. Older versions used
27326 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27327 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27328 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27329 # set (hence we're using an older libtool), then set it.
27330 if test x${with_gnu_ld+set} != xset; then
27331 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27332 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27333 with_gnu_ld=no
27334 else
27335 with_gnu_ld=$ac_cv_prog_gnu_ld
27339 # Start by getting the version number. I think the libtool test already
27340 # does some of this, but throws away the result.
27341 glibcxx_ld_is_gold=no
27342 if test x"$with_gnu_ld" = x"yes"; then
27343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27344 $as_echo_n "checking for ld version... " >&6; }
27346 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27347 glibcxx_ld_is_gold=yes
27349 ldver=`$LD --version 2>/dev/null |
27350 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'`
27352 glibcxx_gnu_ld_version=`echo $ldver | \
27353 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27355 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27358 # Set --gc-sections.
27359 glibcxx_have_gc_sections=no
27360 if test "$glibcxx_ld_is_gold" = "yes"; then
27361 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27362 glibcxx_have_gc_sections=yes
27364 else
27365 glibcxx_gcsections_min_ld=21602
27366 if test x"$with_gnu_ld" = x"yes" &&
27367 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27368 glibcxx_have_gc_sections=yes
27371 if test "$glibcxx_have_gc_sections" = "yes"; then
27372 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27373 # NB: This flag only works reliably after 2.16.1. Configure tests
27374 # for this are difficult, so hard wire a value that should work.
27376 ac_test_CFLAGS="${CFLAGS+set}"
27377 ac_save_CFLAGS="$CFLAGS"
27378 CFLAGS='-Wl,--gc-sections'
27380 # Check for -Wl,--gc-sections
27381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27382 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27383 if test x$gcc_no_link = xyes; then
27384 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27387 /* end confdefs.h. */
27388 int one(void) { return 1; }
27389 int two(void) { return 2; }
27392 main ()
27394 two();
27396 return 0;
27398 _ACEOF
27399 if ac_fn_c_try_link "$LINENO"; then :
27400 ac_gcsections=yes
27401 else
27402 ac_gcsections=no
27404 rm -f core conftest.err conftest.$ac_objext \
27405 conftest$ac_exeext conftest.$ac_ext
27406 if test "$ac_gcsections" = "yes"; then
27407 rm -f conftest.c
27408 touch conftest.c
27409 if $CC -c conftest.c; then
27410 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27411 grep "Warning: gc-sections option ignored" > /dev/null; then
27412 ac_gcsections=no
27415 rm -f conftest.c conftest.o conftest
27417 if test "$ac_gcsections" = "yes"; then
27418 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
27420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
27421 $as_echo "$ac_gcsections" >&6; }
27423 if test "$ac_test_CFLAGS" = set; then
27424 CFLAGS="$ac_save_CFLAGS"
27425 else
27426 # this is the suspicious part
27427 CFLAGS=''
27431 # Set -z,relro.
27432 # Note this is only for shared objects.
27433 ac_ld_relro=no
27434 if test x"$with_gnu_ld" = x"yes"; then
27435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
27436 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
27437 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
27438 if test -n "$cxx_z_relo"; then
27439 OPT_LDFLAGS="-Wl,-z,relro"
27440 ac_ld_relro=yes
27442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
27443 $as_echo "$ac_ld_relro" >&6; }
27446 # Set linker optimization flags.
27447 if test x"$with_gnu_ld" = x"yes"; then
27448 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
27455 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27456 ac_save_CXXFLAGS="$CXXFLAGS"
27457 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
27460 $as_echo_n "checking for sin in -lm... " >&6; }
27461 if test "${ac_cv_lib_m_sin+set}" = set; then :
27462 $as_echo_n "(cached) " >&6
27463 else
27464 ac_check_lib_save_LIBS=$LIBS
27465 LIBS="-lm $LIBS"
27466 if test x$gcc_no_link = xyes; then
27467 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27470 /* end confdefs.h. */
27472 /* Override any GCC internal prototype to avoid an error.
27473 Use char because int might match the return type of a GCC
27474 builtin and then its argument prototype would still apply. */
27475 #ifdef __cplusplus
27476 extern "C"
27477 #endif
27478 char sin ();
27480 main ()
27482 return sin ();
27484 return 0;
27486 _ACEOF
27487 if ac_fn_c_try_link "$LINENO"; then :
27488 ac_cv_lib_m_sin=yes
27489 else
27490 ac_cv_lib_m_sin=no
27492 rm -f core conftest.err conftest.$ac_objext \
27493 conftest$ac_exeext conftest.$ac_ext
27494 LIBS=$ac_check_lib_save_LIBS
27496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
27497 $as_echo "$ac_cv_lib_m_sin" >&6; }
27498 if test "x$ac_cv_lib_m_sin" = x""yes; then :
27499 libm="-lm"
27502 ac_save_LIBS="$LIBS"
27503 LIBS="$LIBS $libm"
27507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
27508 $as_echo_n "checking for isinf declaration... " >&6; }
27509 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27510 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
27511 $as_echo_n "(cached) " >&6
27512 else
27515 ac_ext=cpp
27516 ac_cpp='$CXXCPP $CPPFLAGS'
27517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27522 /* end confdefs.h. */
27523 #include <math.h>
27524 #ifdef HAVE_IEEEFP_H
27525 #include <ieeefp.h>
27526 #endif
27529 main ()
27531 isinf(0);
27533 return 0;
27535 _ACEOF
27536 if ac_fn_cxx_try_compile "$LINENO"; then :
27537 glibcxx_cv_func_isinf_use=yes
27538 else
27539 glibcxx_cv_func_isinf_use=no
27541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27542 ac_ext=c
27543 ac_cpp='$CPP $CPPFLAGS'
27544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
27553 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
27555 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27556 for ac_func in isinf
27557 do :
27558 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
27559 if test "x$ac_cv_func_isinf" = x""yes; then :
27560 cat >>confdefs.h <<_ACEOF
27561 #define HAVE_ISINF 1
27562 _ACEOF
27565 done
27567 else
27569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
27570 $as_echo_n "checking for _isinf declaration... " >&6; }
27571 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
27572 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
27573 $as_echo_n "(cached) " >&6
27574 else
27577 ac_ext=cpp
27578 ac_cpp='$CXXCPP $CPPFLAGS'
27579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27584 /* end confdefs.h. */
27585 #include <math.h>
27586 #ifdef HAVE_IEEEFP_H
27587 #include <ieeefp.h>
27588 #endif
27591 main ()
27593 _isinf(0);
27595 return 0;
27597 _ACEOF
27598 if ac_fn_cxx_try_compile "$LINENO"; then :
27599 glibcxx_cv_func__isinf_use=yes
27600 else
27601 glibcxx_cv_func__isinf_use=no
27603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27604 ac_ext=c
27605 ac_cpp='$CPP $CPPFLAGS'
27606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
27615 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
27617 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
27618 for ac_func in _isinf
27619 do :
27620 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
27621 if test "x$ac_cv_func__isinf" = x""yes; then :
27622 cat >>confdefs.h <<_ACEOF
27623 #define HAVE__ISINF 1
27624 _ACEOF
27627 done
27636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
27637 $as_echo_n "checking for isnan declaration... " >&6; }
27638 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
27639 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
27640 $as_echo_n "(cached) " >&6
27641 else
27644 ac_ext=cpp
27645 ac_cpp='$CXXCPP $CPPFLAGS'
27646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27651 /* end confdefs.h. */
27652 #include <math.h>
27653 #ifdef HAVE_IEEEFP_H
27654 #include <ieeefp.h>
27655 #endif
27658 main ()
27660 isnan(0);
27662 return 0;
27664 _ACEOF
27665 if ac_fn_cxx_try_compile "$LINENO"; then :
27666 glibcxx_cv_func_isnan_use=yes
27667 else
27668 glibcxx_cv_func_isnan_use=no
27670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27671 ac_ext=c
27672 ac_cpp='$CPP $CPPFLAGS'
27673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
27682 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
27684 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
27685 for ac_func in isnan
27686 do :
27687 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
27688 if test "x$ac_cv_func_isnan" = x""yes; then :
27689 cat >>confdefs.h <<_ACEOF
27690 #define HAVE_ISNAN 1
27691 _ACEOF
27694 done
27696 else
27698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
27699 $as_echo_n "checking for _isnan declaration... " >&6; }
27700 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
27701 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
27702 $as_echo_n "(cached) " >&6
27703 else
27706 ac_ext=cpp
27707 ac_cpp='$CXXCPP $CPPFLAGS'
27708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27713 /* end confdefs.h. */
27714 #include <math.h>
27715 #ifdef HAVE_IEEEFP_H
27716 #include <ieeefp.h>
27717 #endif
27720 main ()
27722 _isnan(0);
27724 return 0;
27726 _ACEOF
27727 if ac_fn_cxx_try_compile "$LINENO"; then :
27728 glibcxx_cv_func__isnan_use=yes
27729 else
27730 glibcxx_cv_func__isnan_use=no
27732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27733 ac_ext=c
27734 ac_cpp='$CPP $CPPFLAGS'
27735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
27744 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
27746 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
27747 for ac_func in _isnan
27748 do :
27749 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
27750 if test "x$ac_cv_func__isnan" = x""yes; then :
27751 cat >>confdefs.h <<_ACEOF
27752 #define HAVE__ISNAN 1
27753 _ACEOF
27756 done
27765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
27766 $as_echo_n "checking for finite declaration... " >&6; }
27767 if test x${glibcxx_cv_func_finite_use+set} != xset; then
27768 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
27769 $as_echo_n "(cached) " >&6
27770 else
27773 ac_ext=cpp
27774 ac_cpp='$CXXCPP $CPPFLAGS'
27775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27780 /* end confdefs.h. */
27781 #include <math.h>
27782 #ifdef HAVE_IEEEFP_H
27783 #include <ieeefp.h>
27784 #endif
27787 main ()
27789 finite(0);
27791 return 0;
27793 _ACEOF
27794 if ac_fn_cxx_try_compile "$LINENO"; then :
27795 glibcxx_cv_func_finite_use=yes
27796 else
27797 glibcxx_cv_func_finite_use=no
27799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27800 ac_ext=c
27801 ac_cpp='$CPP $CPPFLAGS'
27802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
27811 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27813 if test x$glibcxx_cv_func_finite_use = x"yes"; then
27814 for ac_func in finite
27815 do :
27816 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27817 if test "x$ac_cv_func_finite" = x""yes; then :
27818 cat >>confdefs.h <<_ACEOF
27819 #define HAVE_FINITE 1
27820 _ACEOF
27823 done
27825 else
27827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27828 $as_echo_n "checking for _finite declaration... " >&6; }
27829 if test x${glibcxx_cv_func__finite_use+set} != xset; then
27830 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27831 $as_echo_n "(cached) " >&6
27832 else
27835 ac_ext=cpp
27836 ac_cpp='$CXXCPP $CPPFLAGS'
27837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27842 /* end confdefs.h. */
27843 #include <math.h>
27844 #ifdef HAVE_IEEEFP_H
27845 #include <ieeefp.h>
27846 #endif
27849 main ()
27851 _finite(0);
27853 return 0;
27855 _ACEOF
27856 if ac_fn_cxx_try_compile "$LINENO"; then :
27857 glibcxx_cv_func__finite_use=yes
27858 else
27859 glibcxx_cv_func__finite_use=no
27861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27862 ac_ext=c
27863 ac_cpp='$CPP $CPPFLAGS'
27864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27873 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27875 if test x$glibcxx_cv_func__finite_use = x"yes"; then
27876 for ac_func in _finite
27877 do :
27878 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27879 if test "x$ac_cv_func__finite" = x""yes; then :
27880 cat >>confdefs.h <<_ACEOF
27881 #define HAVE__FINITE 1
27882 _ACEOF
27885 done
27894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27895 $as_echo_n "checking for sincos declaration... " >&6; }
27896 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27897 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27898 $as_echo_n "(cached) " >&6
27899 else
27902 ac_ext=cpp
27903 ac_cpp='$CXXCPP $CPPFLAGS'
27904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27909 /* end confdefs.h. */
27910 #include <math.h>
27912 main ()
27914 sincos(0, 0, 0);
27916 return 0;
27918 _ACEOF
27919 if ac_fn_cxx_try_compile "$LINENO"; then :
27920 glibcxx_cv_func_sincos_use=yes
27921 else
27922 glibcxx_cv_func_sincos_use=no
27924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27925 ac_ext=c
27926 ac_cpp='$CPP $CPPFLAGS'
27927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27936 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27938 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27939 for ac_func in sincos
27940 do :
27941 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27942 if test "x$ac_cv_func_sincos" = x""yes; then :
27943 cat >>confdefs.h <<_ACEOF
27944 #define HAVE_SINCOS 1
27945 _ACEOF
27948 done
27950 else
27952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27953 $as_echo_n "checking for _sincos declaration... " >&6; }
27954 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27955 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27956 $as_echo_n "(cached) " >&6
27957 else
27960 ac_ext=cpp
27961 ac_cpp='$CXXCPP $CPPFLAGS'
27962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27967 /* end confdefs.h. */
27968 #include <math.h>
27970 main ()
27972 _sincos(0, 0, 0);
27974 return 0;
27976 _ACEOF
27977 if ac_fn_cxx_try_compile "$LINENO"; then :
27978 glibcxx_cv_func__sincos_use=yes
27979 else
27980 glibcxx_cv_func__sincos_use=no
27982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27983 ac_ext=c
27984 ac_cpp='$CPP $CPPFLAGS'
27985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
27994 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
27996 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
27997 for ac_func in _sincos
27998 do :
27999 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28000 if test "x$ac_cv_func__sincos" = x""yes; then :
28001 cat >>confdefs.h <<_ACEOF
28002 #define HAVE__SINCOS 1
28003 _ACEOF
28006 done
28015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28016 $as_echo_n "checking for fpclass declaration... " >&6; }
28017 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28018 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28019 $as_echo_n "(cached) " >&6
28020 else
28023 ac_ext=cpp
28024 ac_cpp='$CXXCPP $CPPFLAGS'
28025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28030 /* end confdefs.h. */
28031 #include <math.h>
28032 #ifdef HAVE_IEEEFP_H
28033 #include <ieeefp.h>
28034 #endif
28037 main ()
28039 fpclass(0);
28041 return 0;
28043 _ACEOF
28044 if ac_fn_cxx_try_compile "$LINENO"; then :
28045 glibcxx_cv_func_fpclass_use=yes
28046 else
28047 glibcxx_cv_func_fpclass_use=no
28049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28050 ac_ext=c
28051 ac_cpp='$CPP $CPPFLAGS'
28052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28061 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28063 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28064 for ac_func in fpclass
28065 do :
28066 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28067 if test "x$ac_cv_func_fpclass" = x""yes; then :
28068 cat >>confdefs.h <<_ACEOF
28069 #define HAVE_FPCLASS 1
28070 _ACEOF
28073 done
28075 else
28077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28078 $as_echo_n "checking for _fpclass declaration... " >&6; }
28079 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28080 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28081 $as_echo_n "(cached) " >&6
28082 else
28085 ac_ext=cpp
28086 ac_cpp='$CXXCPP $CPPFLAGS'
28087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28092 /* end confdefs.h. */
28093 #include <math.h>
28094 #ifdef HAVE_IEEEFP_H
28095 #include <ieeefp.h>
28096 #endif
28099 main ()
28101 _fpclass(0);
28103 return 0;
28105 _ACEOF
28106 if ac_fn_cxx_try_compile "$LINENO"; then :
28107 glibcxx_cv_func__fpclass_use=yes
28108 else
28109 glibcxx_cv_func__fpclass_use=no
28111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28112 ac_ext=c
28113 ac_cpp='$CPP $CPPFLAGS'
28114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28123 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28125 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28126 for ac_func in _fpclass
28127 do :
28128 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28129 if test "x$ac_cv_func__fpclass" = x""yes; then :
28130 cat >>confdefs.h <<_ACEOF
28131 #define HAVE__FPCLASS 1
28132 _ACEOF
28135 done
28144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28145 $as_echo_n "checking for qfpclass declaration... " >&6; }
28146 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28147 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28148 $as_echo_n "(cached) " >&6
28149 else
28152 ac_ext=cpp
28153 ac_cpp='$CXXCPP $CPPFLAGS'
28154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28159 /* end confdefs.h. */
28160 #include <math.h>
28161 #ifdef HAVE_IEEEFP_H
28162 #include <ieeefp.h>
28163 #endif
28166 main ()
28168 qfpclass(0);
28170 return 0;
28172 _ACEOF
28173 if ac_fn_cxx_try_compile "$LINENO"; then :
28174 glibcxx_cv_func_qfpclass_use=yes
28175 else
28176 glibcxx_cv_func_qfpclass_use=no
28178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28179 ac_ext=c
28180 ac_cpp='$CPP $CPPFLAGS'
28181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28190 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28192 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28193 for ac_func in qfpclass
28194 do :
28195 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28196 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28197 cat >>confdefs.h <<_ACEOF
28198 #define HAVE_QFPCLASS 1
28199 _ACEOF
28202 done
28204 else
28206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28207 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28208 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28209 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28210 $as_echo_n "(cached) " >&6
28211 else
28214 ac_ext=cpp
28215 ac_cpp='$CXXCPP $CPPFLAGS'
28216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28221 /* end confdefs.h. */
28222 #include <math.h>
28223 #ifdef HAVE_IEEEFP_H
28224 #include <ieeefp.h>
28225 #endif
28228 main ()
28230 _qfpclass(0);
28232 return 0;
28234 _ACEOF
28235 if ac_fn_cxx_try_compile "$LINENO"; then :
28236 glibcxx_cv_func__qfpclass_use=yes
28237 else
28238 glibcxx_cv_func__qfpclass_use=no
28240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28241 ac_ext=c
28242 ac_cpp='$CPP $CPPFLAGS'
28243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28252 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28254 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28255 for ac_func in _qfpclass
28256 do :
28257 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28258 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28259 cat >>confdefs.h <<_ACEOF
28260 #define HAVE__QFPCLASS 1
28261 _ACEOF
28264 done
28273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28274 $as_echo_n "checking for hypot declaration... " >&6; }
28275 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28276 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28277 $as_echo_n "(cached) " >&6
28278 else
28281 ac_ext=cpp
28282 ac_cpp='$CXXCPP $CPPFLAGS'
28283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28288 /* end confdefs.h. */
28289 #include <math.h>
28291 main ()
28293 hypot(0, 0);
28295 return 0;
28297 _ACEOF
28298 if ac_fn_cxx_try_compile "$LINENO"; then :
28299 glibcxx_cv_func_hypot_use=yes
28300 else
28301 glibcxx_cv_func_hypot_use=no
28303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28304 ac_ext=c
28305 ac_cpp='$CPP $CPPFLAGS'
28306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28315 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28317 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28318 for ac_func in hypot
28319 do :
28320 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28321 if test "x$ac_cv_func_hypot" = x""yes; then :
28322 cat >>confdefs.h <<_ACEOF
28323 #define HAVE_HYPOT 1
28324 _ACEOF
28327 done
28329 else
28331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28332 $as_echo_n "checking for _hypot declaration... " >&6; }
28333 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28334 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28335 $as_echo_n "(cached) " >&6
28336 else
28339 ac_ext=cpp
28340 ac_cpp='$CXXCPP $CPPFLAGS'
28341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28346 /* end confdefs.h. */
28347 #include <math.h>
28349 main ()
28351 _hypot(0, 0);
28353 return 0;
28355 _ACEOF
28356 if ac_fn_cxx_try_compile "$LINENO"; then :
28357 glibcxx_cv_func__hypot_use=yes
28358 else
28359 glibcxx_cv_func__hypot_use=no
28361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28362 ac_ext=c
28363 ac_cpp='$CPP $CPPFLAGS'
28364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28373 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28375 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28376 for ac_func in _hypot
28377 do :
28378 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28379 if test "x$ac_cv_func__hypot" = x""yes; then :
28380 cat >>confdefs.h <<_ACEOF
28381 #define HAVE__HYPOT 1
28382 _ACEOF
28385 done
28394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28395 $as_echo_n "checking for float trig functions... " >&6; }
28396 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28397 $as_echo_n "(cached) " >&6
28398 else
28401 ac_ext=cpp
28402 ac_cpp='$CXXCPP $CPPFLAGS'
28403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28408 /* end confdefs.h. */
28409 #include <math.h>
28411 main ()
28413 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28415 return 0;
28417 _ACEOF
28418 if ac_fn_cxx_try_compile "$LINENO"; then :
28419 glibcxx_cv_func_float_trig_use=yes
28420 else
28421 glibcxx_cv_func_float_trig_use=no
28423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28424 ac_ext=c
28425 ac_cpp='$CPP $CPPFLAGS'
28426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
28433 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
28434 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
28435 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
28436 do :
28437 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28438 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28439 eval as_val=\$$as_ac_var
28440 if test "x$as_val" = x""yes; then :
28441 cat >>confdefs.h <<_ACEOF
28442 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28443 _ACEOF
28446 done
28448 else
28449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
28450 $as_echo_n "checking for _float trig functions... " >&6; }
28451 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
28452 $as_echo_n "(cached) " >&6
28453 else
28456 ac_ext=cpp
28457 ac_cpp='$CXXCPP $CPPFLAGS'
28458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28463 /* end confdefs.h. */
28464 #include <math.h>
28466 main ()
28468 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
28470 return 0;
28472 _ACEOF
28473 if ac_fn_cxx_try_compile "$LINENO"; then :
28474 glibcxx_cv_func__float_trig_use=yes
28475 else
28476 glibcxx_cv_func__float_trig_use=no
28478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28479 ac_ext=c
28480 ac_cpp='$CPP $CPPFLAGS'
28481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
28488 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
28489 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
28490 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
28491 do :
28492 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28493 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28494 eval as_val=\$$as_ac_var
28495 if test "x$as_val" = x""yes; then :
28496 cat >>confdefs.h <<_ACEOF
28497 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28498 _ACEOF
28501 done
28510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
28511 $as_echo_n "checking for float round functions... " >&6; }
28512 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
28513 $as_echo_n "(cached) " >&6
28514 else
28517 ac_ext=cpp
28518 ac_cpp='$CXXCPP $CPPFLAGS'
28519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28524 /* end confdefs.h. */
28525 #include <math.h>
28527 main ()
28529 ceilf (0); floorf (0);
28531 return 0;
28533 _ACEOF
28534 if ac_fn_cxx_try_compile "$LINENO"; then :
28535 glibcxx_cv_func_float_round_use=yes
28536 else
28537 glibcxx_cv_func_float_round_use=no
28539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28540 ac_ext=c
28541 ac_cpp='$CPP $CPPFLAGS'
28542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
28549 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
28550 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
28551 for ac_func in ceilf floorf
28552 do :
28553 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28554 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28555 eval as_val=\$$as_ac_var
28556 if test "x$as_val" = x""yes; then :
28557 cat >>confdefs.h <<_ACEOF
28558 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28559 _ACEOF
28562 done
28564 else
28565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
28566 $as_echo_n "checking for _float round functions... " >&6; }
28567 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
28568 $as_echo_n "(cached) " >&6
28569 else
28572 ac_ext=cpp
28573 ac_cpp='$CXXCPP $CPPFLAGS'
28574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28579 /* end confdefs.h. */
28580 #include <math.h>
28582 main ()
28584 _ceilf (0); _floorf (0);
28586 return 0;
28588 _ACEOF
28589 if ac_fn_cxx_try_compile "$LINENO"; then :
28590 glibcxx_cv_func__float_round_use=yes
28591 else
28592 glibcxx_cv_func__float_round_use=no
28594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28595 ac_ext=c
28596 ac_cpp='$CPP $CPPFLAGS'
28597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
28604 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
28605 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
28606 for ac_func in _ceilf _floorf
28607 do :
28608 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28609 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28610 eval as_val=\$$as_ac_var
28611 if test "x$as_val" = x""yes; then :
28612 cat >>confdefs.h <<_ACEOF
28613 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28614 _ACEOF
28617 done
28627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
28628 $as_echo_n "checking for expf declaration... " >&6; }
28629 if test x${glibcxx_cv_func_expf_use+set} != xset; then
28630 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
28631 $as_echo_n "(cached) " >&6
28632 else
28635 ac_ext=cpp
28636 ac_cpp='$CXXCPP $CPPFLAGS'
28637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28642 /* end confdefs.h. */
28643 #include <math.h>
28644 #ifdef HAVE_IEEEFP_H
28645 #include <ieeefp.h>
28646 #endif
28649 main ()
28651 expf(0);
28653 return 0;
28655 _ACEOF
28656 if ac_fn_cxx_try_compile "$LINENO"; then :
28657 glibcxx_cv_func_expf_use=yes
28658 else
28659 glibcxx_cv_func_expf_use=no
28661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28662 ac_ext=c
28663 ac_cpp='$CPP $CPPFLAGS'
28664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
28673 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
28675 if test x$glibcxx_cv_func_expf_use = x"yes"; then
28676 for ac_func in expf
28677 do :
28678 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
28679 if test "x$ac_cv_func_expf" = x""yes; then :
28680 cat >>confdefs.h <<_ACEOF
28681 #define HAVE_EXPF 1
28682 _ACEOF
28685 done
28687 else
28689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
28690 $as_echo_n "checking for _expf declaration... " >&6; }
28691 if test x${glibcxx_cv_func__expf_use+set} != xset; then
28692 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
28693 $as_echo_n "(cached) " >&6
28694 else
28697 ac_ext=cpp
28698 ac_cpp='$CXXCPP $CPPFLAGS'
28699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28704 /* end confdefs.h. */
28705 #include <math.h>
28706 #ifdef HAVE_IEEEFP_H
28707 #include <ieeefp.h>
28708 #endif
28711 main ()
28713 _expf(0);
28715 return 0;
28717 _ACEOF
28718 if ac_fn_cxx_try_compile "$LINENO"; then :
28719 glibcxx_cv_func__expf_use=yes
28720 else
28721 glibcxx_cv_func__expf_use=no
28723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28724 ac_ext=c
28725 ac_cpp='$CPP $CPPFLAGS'
28726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
28735 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
28737 if test x$glibcxx_cv_func__expf_use = x"yes"; then
28738 for ac_func in _expf
28739 do :
28740 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
28741 if test "x$ac_cv_func__expf" = x""yes; then :
28742 cat >>confdefs.h <<_ACEOF
28743 #define HAVE__EXPF 1
28744 _ACEOF
28747 done
28756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
28757 $as_echo_n "checking for isnanf declaration... " >&6; }
28758 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
28759 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
28760 $as_echo_n "(cached) " >&6
28761 else
28764 ac_ext=cpp
28765 ac_cpp='$CXXCPP $CPPFLAGS'
28766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28771 /* end confdefs.h. */
28772 #include <math.h>
28773 #ifdef HAVE_IEEEFP_H
28774 #include <ieeefp.h>
28775 #endif
28778 main ()
28780 isnanf(0);
28782 return 0;
28784 _ACEOF
28785 if ac_fn_cxx_try_compile "$LINENO"; then :
28786 glibcxx_cv_func_isnanf_use=yes
28787 else
28788 glibcxx_cv_func_isnanf_use=no
28790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28791 ac_ext=c
28792 ac_cpp='$CPP $CPPFLAGS'
28793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
28802 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
28804 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
28805 for ac_func in isnanf
28806 do :
28807 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
28808 if test "x$ac_cv_func_isnanf" = x""yes; then :
28809 cat >>confdefs.h <<_ACEOF
28810 #define HAVE_ISNANF 1
28811 _ACEOF
28814 done
28816 else
28818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28819 $as_echo_n "checking for _isnanf declaration... " >&6; }
28820 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28821 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28822 $as_echo_n "(cached) " >&6
28823 else
28826 ac_ext=cpp
28827 ac_cpp='$CXXCPP $CPPFLAGS'
28828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28833 /* end confdefs.h. */
28834 #include <math.h>
28835 #ifdef HAVE_IEEEFP_H
28836 #include <ieeefp.h>
28837 #endif
28840 main ()
28842 _isnanf(0);
28844 return 0;
28846 _ACEOF
28847 if ac_fn_cxx_try_compile "$LINENO"; then :
28848 glibcxx_cv_func__isnanf_use=yes
28849 else
28850 glibcxx_cv_func__isnanf_use=no
28852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28853 ac_ext=c
28854 ac_cpp='$CPP $CPPFLAGS'
28855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28864 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28866 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28867 for ac_func in _isnanf
28868 do :
28869 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28870 if test "x$ac_cv_func__isnanf" = x""yes; then :
28871 cat >>confdefs.h <<_ACEOF
28872 #define HAVE__ISNANF 1
28873 _ACEOF
28876 done
28885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28886 $as_echo_n "checking for isinff declaration... " >&6; }
28887 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28888 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28889 $as_echo_n "(cached) " >&6
28890 else
28893 ac_ext=cpp
28894 ac_cpp='$CXXCPP $CPPFLAGS'
28895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28900 /* end confdefs.h. */
28901 #include <math.h>
28902 #ifdef HAVE_IEEEFP_H
28903 #include <ieeefp.h>
28904 #endif
28907 main ()
28909 isinff(0);
28911 return 0;
28913 _ACEOF
28914 if ac_fn_cxx_try_compile "$LINENO"; then :
28915 glibcxx_cv_func_isinff_use=yes
28916 else
28917 glibcxx_cv_func_isinff_use=no
28919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28920 ac_ext=c
28921 ac_cpp='$CPP $CPPFLAGS'
28922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28931 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28933 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28934 for ac_func in isinff
28935 do :
28936 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28937 if test "x$ac_cv_func_isinff" = x""yes; then :
28938 cat >>confdefs.h <<_ACEOF
28939 #define HAVE_ISINFF 1
28940 _ACEOF
28943 done
28945 else
28947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28948 $as_echo_n "checking for _isinff declaration... " >&6; }
28949 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28950 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
28951 $as_echo_n "(cached) " >&6
28952 else
28955 ac_ext=cpp
28956 ac_cpp='$CXXCPP $CPPFLAGS'
28957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28962 /* end confdefs.h. */
28963 #include <math.h>
28964 #ifdef HAVE_IEEEFP_H
28965 #include <ieeefp.h>
28966 #endif
28969 main ()
28971 _isinff(0);
28973 return 0;
28975 _ACEOF
28976 if ac_fn_cxx_try_compile "$LINENO"; then :
28977 glibcxx_cv_func__isinff_use=yes
28978 else
28979 glibcxx_cv_func__isinff_use=no
28981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28982 ac_ext=c
28983 ac_cpp='$CPP $CPPFLAGS'
28984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
28993 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
28995 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28996 for ac_func in _isinff
28997 do :
28998 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
28999 if test "x$ac_cv_func__isinff" = x""yes; then :
29000 cat >>confdefs.h <<_ACEOF
29001 #define HAVE__ISINFF 1
29002 _ACEOF
29005 done
29014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29015 $as_echo_n "checking for atan2f declaration... " >&6; }
29016 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29017 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29018 $as_echo_n "(cached) " >&6
29019 else
29022 ac_ext=cpp
29023 ac_cpp='$CXXCPP $CPPFLAGS'
29024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29029 /* end confdefs.h. */
29030 #include <math.h>
29032 main ()
29034 atan2f(0, 0);
29036 return 0;
29038 _ACEOF
29039 if ac_fn_cxx_try_compile "$LINENO"; then :
29040 glibcxx_cv_func_atan2f_use=yes
29041 else
29042 glibcxx_cv_func_atan2f_use=no
29044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29045 ac_ext=c
29046 ac_cpp='$CPP $CPPFLAGS'
29047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29056 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29058 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29059 for ac_func in atan2f
29060 do :
29061 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29062 if test "x$ac_cv_func_atan2f" = x""yes; then :
29063 cat >>confdefs.h <<_ACEOF
29064 #define HAVE_ATAN2F 1
29065 _ACEOF
29068 done
29070 else
29072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29073 $as_echo_n "checking for _atan2f declaration... " >&6; }
29074 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29075 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29076 $as_echo_n "(cached) " >&6
29077 else
29080 ac_ext=cpp
29081 ac_cpp='$CXXCPP $CPPFLAGS'
29082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29087 /* end confdefs.h. */
29088 #include <math.h>
29090 main ()
29092 _atan2f(0, 0);
29094 return 0;
29096 _ACEOF
29097 if ac_fn_cxx_try_compile "$LINENO"; then :
29098 glibcxx_cv_func__atan2f_use=yes
29099 else
29100 glibcxx_cv_func__atan2f_use=no
29102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29103 ac_ext=c
29104 ac_cpp='$CPP $CPPFLAGS'
29105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29114 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29116 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29117 for ac_func in _atan2f
29118 do :
29119 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29120 if test "x$ac_cv_func__atan2f" = x""yes; then :
29121 cat >>confdefs.h <<_ACEOF
29122 #define HAVE__ATAN2F 1
29123 _ACEOF
29126 done
29135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29136 $as_echo_n "checking for fabsf declaration... " >&6; }
29137 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29138 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29139 $as_echo_n "(cached) " >&6
29140 else
29143 ac_ext=cpp
29144 ac_cpp='$CXXCPP $CPPFLAGS'
29145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29150 /* end confdefs.h. */
29151 #include <math.h>
29152 #ifdef HAVE_IEEEFP_H
29153 #include <ieeefp.h>
29154 #endif
29157 main ()
29159 fabsf(0);
29161 return 0;
29163 _ACEOF
29164 if ac_fn_cxx_try_compile "$LINENO"; then :
29165 glibcxx_cv_func_fabsf_use=yes
29166 else
29167 glibcxx_cv_func_fabsf_use=no
29169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29170 ac_ext=c
29171 ac_cpp='$CPP $CPPFLAGS'
29172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29181 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29183 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29184 for ac_func in fabsf
29185 do :
29186 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29187 if test "x$ac_cv_func_fabsf" = x""yes; then :
29188 cat >>confdefs.h <<_ACEOF
29189 #define HAVE_FABSF 1
29190 _ACEOF
29193 done
29195 else
29197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29198 $as_echo_n "checking for _fabsf declaration... " >&6; }
29199 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29200 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29201 $as_echo_n "(cached) " >&6
29202 else
29205 ac_ext=cpp
29206 ac_cpp='$CXXCPP $CPPFLAGS'
29207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29212 /* end confdefs.h. */
29213 #include <math.h>
29214 #ifdef HAVE_IEEEFP_H
29215 #include <ieeefp.h>
29216 #endif
29219 main ()
29221 _fabsf(0);
29223 return 0;
29225 _ACEOF
29226 if ac_fn_cxx_try_compile "$LINENO"; then :
29227 glibcxx_cv_func__fabsf_use=yes
29228 else
29229 glibcxx_cv_func__fabsf_use=no
29231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29232 ac_ext=c
29233 ac_cpp='$CPP $CPPFLAGS'
29234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29243 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29245 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29246 for ac_func in _fabsf
29247 do :
29248 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29249 if test "x$ac_cv_func__fabsf" = x""yes; then :
29250 cat >>confdefs.h <<_ACEOF
29251 #define HAVE__FABSF 1
29252 _ACEOF
29255 done
29264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29265 $as_echo_n "checking for fmodf declaration... " >&6; }
29266 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29267 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29268 $as_echo_n "(cached) " >&6
29269 else
29272 ac_ext=cpp
29273 ac_cpp='$CXXCPP $CPPFLAGS'
29274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29279 /* end confdefs.h. */
29280 #include <math.h>
29282 main ()
29284 fmodf(0, 0);
29286 return 0;
29288 _ACEOF
29289 if ac_fn_cxx_try_compile "$LINENO"; then :
29290 glibcxx_cv_func_fmodf_use=yes
29291 else
29292 glibcxx_cv_func_fmodf_use=no
29294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29295 ac_ext=c
29296 ac_cpp='$CPP $CPPFLAGS'
29297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29306 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29308 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29309 for ac_func in fmodf
29310 do :
29311 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29312 if test "x$ac_cv_func_fmodf" = x""yes; then :
29313 cat >>confdefs.h <<_ACEOF
29314 #define HAVE_FMODF 1
29315 _ACEOF
29318 done
29320 else
29322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29323 $as_echo_n "checking for _fmodf declaration... " >&6; }
29324 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29325 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29326 $as_echo_n "(cached) " >&6
29327 else
29330 ac_ext=cpp
29331 ac_cpp='$CXXCPP $CPPFLAGS'
29332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29337 /* end confdefs.h. */
29338 #include <math.h>
29340 main ()
29342 _fmodf(0, 0);
29344 return 0;
29346 _ACEOF
29347 if ac_fn_cxx_try_compile "$LINENO"; then :
29348 glibcxx_cv_func__fmodf_use=yes
29349 else
29350 glibcxx_cv_func__fmodf_use=no
29352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29353 ac_ext=c
29354 ac_cpp='$CPP $CPPFLAGS'
29355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29364 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29366 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29367 for ac_func in _fmodf
29368 do :
29369 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29370 if test "x$ac_cv_func__fmodf" = x""yes; then :
29371 cat >>confdefs.h <<_ACEOF
29372 #define HAVE__FMODF 1
29373 _ACEOF
29376 done
29385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29386 $as_echo_n "checking for frexpf declaration... " >&6; }
29387 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29388 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29389 $as_echo_n "(cached) " >&6
29390 else
29393 ac_ext=cpp
29394 ac_cpp='$CXXCPP $CPPFLAGS'
29395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29400 /* end confdefs.h. */
29401 #include <math.h>
29403 main ()
29405 frexpf(0, 0);
29407 return 0;
29409 _ACEOF
29410 if ac_fn_cxx_try_compile "$LINENO"; then :
29411 glibcxx_cv_func_frexpf_use=yes
29412 else
29413 glibcxx_cv_func_frexpf_use=no
29415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29416 ac_ext=c
29417 ac_cpp='$CPP $CPPFLAGS'
29418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
29427 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
29429 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29430 for ac_func in frexpf
29431 do :
29432 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
29433 if test "x$ac_cv_func_frexpf" = x""yes; then :
29434 cat >>confdefs.h <<_ACEOF
29435 #define HAVE_FREXPF 1
29436 _ACEOF
29439 done
29441 else
29443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
29444 $as_echo_n "checking for _frexpf declaration... " >&6; }
29445 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29446 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
29447 $as_echo_n "(cached) " >&6
29448 else
29451 ac_ext=cpp
29452 ac_cpp='$CXXCPP $CPPFLAGS'
29453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29458 /* end confdefs.h. */
29459 #include <math.h>
29461 main ()
29463 _frexpf(0, 0);
29465 return 0;
29467 _ACEOF
29468 if ac_fn_cxx_try_compile "$LINENO"; then :
29469 glibcxx_cv_func__frexpf_use=yes
29470 else
29471 glibcxx_cv_func__frexpf_use=no
29473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29474 ac_ext=c
29475 ac_cpp='$CPP $CPPFLAGS'
29476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
29485 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
29487 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29488 for ac_func in _frexpf
29489 do :
29490 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
29491 if test "x$ac_cv_func__frexpf" = x""yes; then :
29492 cat >>confdefs.h <<_ACEOF
29493 #define HAVE__FREXPF 1
29494 _ACEOF
29497 done
29506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
29507 $as_echo_n "checking for hypotf declaration... " >&6; }
29508 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29509 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
29510 $as_echo_n "(cached) " >&6
29511 else
29514 ac_ext=cpp
29515 ac_cpp='$CXXCPP $CPPFLAGS'
29516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29521 /* end confdefs.h. */
29522 #include <math.h>
29524 main ()
29526 hypotf(0, 0);
29528 return 0;
29530 _ACEOF
29531 if ac_fn_cxx_try_compile "$LINENO"; then :
29532 glibcxx_cv_func_hypotf_use=yes
29533 else
29534 glibcxx_cv_func_hypotf_use=no
29536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29537 ac_ext=c
29538 ac_cpp='$CPP $CPPFLAGS'
29539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
29548 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
29550 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29551 for ac_func in hypotf
29552 do :
29553 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
29554 if test "x$ac_cv_func_hypotf" = x""yes; then :
29555 cat >>confdefs.h <<_ACEOF
29556 #define HAVE_HYPOTF 1
29557 _ACEOF
29560 done
29562 else
29564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
29565 $as_echo_n "checking for _hypotf declaration... " >&6; }
29566 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
29567 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
29568 $as_echo_n "(cached) " >&6
29569 else
29572 ac_ext=cpp
29573 ac_cpp='$CXXCPP $CPPFLAGS'
29574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29579 /* end confdefs.h. */
29580 #include <math.h>
29582 main ()
29584 _hypotf(0, 0);
29586 return 0;
29588 _ACEOF
29589 if ac_fn_cxx_try_compile "$LINENO"; then :
29590 glibcxx_cv_func__hypotf_use=yes
29591 else
29592 glibcxx_cv_func__hypotf_use=no
29594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29595 ac_ext=c
29596 ac_cpp='$CPP $CPPFLAGS'
29597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
29606 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
29608 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
29609 for ac_func in _hypotf
29610 do :
29611 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
29612 if test "x$ac_cv_func__hypotf" = x""yes; then :
29613 cat >>confdefs.h <<_ACEOF
29614 #define HAVE__HYPOTF 1
29615 _ACEOF
29618 done
29627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
29628 $as_echo_n "checking for ldexpf declaration... " >&6; }
29629 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
29630 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
29631 $as_echo_n "(cached) " >&6
29632 else
29635 ac_ext=cpp
29636 ac_cpp='$CXXCPP $CPPFLAGS'
29637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29642 /* end confdefs.h. */
29643 #include <math.h>
29645 main ()
29647 ldexpf(0, 0);
29649 return 0;
29651 _ACEOF
29652 if ac_fn_cxx_try_compile "$LINENO"; then :
29653 glibcxx_cv_func_ldexpf_use=yes
29654 else
29655 glibcxx_cv_func_ldexpf_use=no
29657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29658 ac_ext=c
29659 ac_cpp='$CPP $CPPFLAGS'
29660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
29669 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
29671 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
29672 for ac_func in ldexpf
29673 do :
29674 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
29675 if test "x$ac_cv_func_ldexpf" = x""yes; then :
29676 cat >>confdefs.h <<_ACEOF
29677 #define HAVE_LDEXPF 1
29678 _ACEOF
29681 done
29683 else
29685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
29686 $as_echo_n "checking for _ldexpf declaration... " >&6; }
29687 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
29688 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
29689 $as_echo_n "(cached) " >&6
29690 else
29693 ac_ext=cpp
29694 ac_cpp='$CXXCPP $CPPFLAGS'
29695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29700 /* end confdefs.h. */
29701 #include <math.h>
29703 main ()
29705 _ldexpf(0, 0);
29707 return 0;
29709 _ACEOF
29710 if ac_fn_cxx_try_compile "$LINENO"; then :
29711 glibcxx_cv_func__ldexpf_use=yes
29712 else
29713 glibcxx_cv_func__ldexpf_use=no
29715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29716 ac_ext=c
29717 ac_cpp='$CPP $CPPFLAGS'
29718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
29727 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
29729 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
29730 for ac_func in _ldexpf
29731 do :
29732 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
29733 if test "x$ac_cv_func__ldexpf" = x""yes; then :
29734 cat >>confdefs.h <<_ACEOF
29735 #define HAVE__LDEXPF 1
29736 _ACEOF
29739 done
29748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
29749 $as_echo_n "checking for logf declaration... " >&6; }
29750 if test x${glibcxx_cv_func_logf_use+set} != xset; then
29751 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
29752 $as_echo_n "(cached) " >&6
29753 else
29756 ac_ext=cpp
29757 ac_cpp='$CXXCPP $CPPFLAGS'
29758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29763 /* end confdefs.h. */
29764 #include <math.h>
29765 #ifdef HAVE_IEEEFP_H
29766 #include <ieeefp.h>
29767 #endif
29770 main ()
29772 logf(0);
29774 return 0;
29776 _ACEOF
29777 if ac_fn_cxx_try_compile "$LINENO"; then :
29778 glibcxx_cv_func_logf_use=yes
29779 else
29780 glibcxx_cv_func_logf_use=no
29782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29783 ac_ext=c
29784 ac_cpp='$CPP $CPPFLAGS'
29785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
29794 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
29796 if test x$glibcxx_cv_func_logf_use = x"yes"; then
29797 for ac_func in logf
29798 do :
29799 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
29800 if test "x$ac_cv_func_logf" = x""yes; then :
29801 cat >>confdefs.h <<_ACEOF
29802 #define HAVE_LOGF 1
29803 _ACEOF
29806 done
29808 else
29810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
29811 $as_echo_n "checking for _logf declaration... " >&6; }
29812 if test x${glibcxx_cv_func__logf_use+set} != xset; then
29813 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29814 $as_echo_n "(cached) " >&6
29815 else
29818 ac_ext=cpp
29819 ac_cpp='$CXXCPP $CPPFLAGS'
29820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29825 /* end confdefs.h. */
29826 #include <math.h>
29827 #ifdef HAVE_IEEEFP_H
29828 #include <ieeefp.h>
29829 #endif
29832 main ()
29834 _logf(0);
29836 return 0;
29838 _ACEOF
29839 if ac_fn_cxx_try_compile "$LINENO"; then :
29840 glibcxx_cv_func__logf_use=yes
29841 else
29842 glibcxx_cv_func__logf_use=no
29844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29845 ac_ext=c
29846 ac_cpp='$CPP $CPPFLAGS'
29847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29856 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29858 if test x$glibcxx_cv_func__logf_use = x"yes"; then
29859 for ac_func in _logf
29860 do :
29861 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29862 if test "x$ac_cv_func__logf" = x""yes; then :
29863 cat >>confdefs.h <<_ACEOF
29864 #define HAVE__LOGF 1
29865 _ACEOF
29868 done
29877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29878 $as_echo_n "checking for log10f declaration... " >&6; }
29879 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29880 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29881 $as_echo_n "(cached) " >&6
29882 else
29885 ac_ext=cpp
29886 ac_cpp='$CXXCPP $CPPFLAGS'
29887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29892 /* end confdefs.h. */
29893 #include <math.h>
29894 #ifdef HAVE_IEEEFP_H
29895 #include <ieeefp.h>
29896 #endif
29899 main ()
29901 log10f(0);
29903 return 0;
29905 _ACEOF
29906 if ac_fn_cxx_try_compile "$LINENO"; then :
29907 glibcxx_cv_func_log10f_use=yes
29908 else
29909 glibcxx_cv_func_log10f_use=no
29911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29912 ac_ext=c
29913 ac_cpp='$CPP $CPPFLAGS'
29914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
29923 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29925 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29926 for ac_func in log10f
29927 do :
29928 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29929 if test "x$ac_cv_func_log10f" = x""yes; then :
29930 cat >>confdefs.h <<_ACEOF
29931 #define HAVE_LOG10F 1
29932 _ACEOF
29935 done
29937 else
29939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29940 $as_echo_n "checking for _log10f declaration... " >&6; }
29941 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29942 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29943 $as_echo_n "(cached) " >&6
29944 else
29947 ac_ext=cpp
29948 ac_cpp='$CXXCPP $CPPFLAGS'
29949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29954 /* end confdefs.h. */
29955 #include <math.h>
29956 #ifdef HAVE_IEEEFP_H
29957 #include <ieeefp.h>
29958 #endif
29961 main ()
29963 _log10f(0);
29965 return 0;
29967 _ACEOF
29968 if ac_fn_cxx_try_compile "$LINENO"; then :
29969 glibcxx_cv_func__log10f_use=yes
29970 else
29971 glibcxx_cv_func__log10f_use=no
29973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29974 ac_ext=c
29975 ac_cpp='$CPP $CPPFLAGS'
29976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
29985 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
29987 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
29988 for ac_func in _log10f
29989 do :
29990 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
29991 if test "x$ac_cv_func__log10f" = x""yes; then :
29992 cat >>confdefs.h <<_ACEOF
29993 #define HAVE__LOG10F 1
29994 _ACEOF
29997 done
30006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30007 $as_echo_n "checking for modff declaration... " >&6; }
30008 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30009 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30010 $as_echo_n "(cached) " >&6
30011 else
30014 ac_ext=cpp
30015 ac_cpp='$CXXCPP $CPPFLAGS'
30016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30021 /* end confdefs.h. */
30022 #include <math.h>
30024 main ()
30026 modff(0, 0);
30028 return 0;
30030 _ACEOF
30031 if ac_fn_cxx_try_compile "$LINENO"; then :
30032 glibcxx_cv_func_modff_use=yes
30033 else
30034 glibcxx_cv_func_modff_use=no
30036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30037 ac_ext=c
30038 ac_cpp='$CPP $CPPFLAGS'
30039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30048 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30050 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30051 for ac_func in modff
30052 do :
30053 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30054 if test "x$ac_cv_func_modff" = x""yes; then :
30055 cat >>confdefs.h <<_ACEOF
30056 #define HAVE_MODFF 1
30057 _ACEOF
30060 done
30062 else
30064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30065 $as_echo_n "checking for _modff declaration... " >&6; }
30066 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30067 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30068 $as_echo_n "(cached) " >&6
30069 else
30072 ac_ext=cpp
30073 ac_cpp='$CXXCPP $CPPFLAGS'
30074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30079 /* end confdefs.h. */
30080 #include <math.h>
30082 main ()
30084 _modff(0, 0);
30086 return 0;
30088 _ACEOF
30089 if ac_fn_cxx_try_compile "$LINENO"; then :
30090 glibcxx_cv_func__modff_use=yes
30091 else
30092 glibcxx_cv_func__modff_use=no
30094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30095 ac_ext=c
30096 ac_cpp='$CPP $CPPFLAGS'
30097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30106 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30108 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30109 for ac_func in _modff
30110 do :
30111 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30112 if test "x$ac_cv_func__modff" = x""yes; then :
30113 cat >>confdefs.h <<_ACEOF
30114 #define HAVE__MODFF 1
30115 _ACEOF
30118 done
30127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30128 $as_echo_n "checking for modf declaration... " >&6; }
30129 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30130 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30131 $as_echo_n "(cached) " >&6
30132 else
30135 ac_ext=cpp
30136 ac_cpp='$CXXCPP $CPPFLAGS'
30137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30142 /* end confdefs.h. */
30143 #include <math.h>
30145 main ()
30147 modf(0, 0);
30149 return 0;
30151 _ACEOF
30152 if ac_fn_cxx_try_compile "$LINENO"; then :
30153 glibcxx_cv_func_modf_use=yes
30154 else
30155 glibcxx_cv_func_modf_use=no
30157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30158 ac_ext=c
30159 ac_cpp='$CPP $CPPFLAGS'
30160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30169 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30171 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30172 for ac_func in modf
30173 do :
30174 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30175 if test "x$ac_cv_func_modf" = x""yes; then :
30176 cat >>confdefs.h <<_ACEOF
30177 #define HAVE_MODF 1
30178 _ACEOF
30181 done
30183 else
30185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30186 $as_echo_n "checking for _modf declaration... " >&6; }
30187 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30188 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30189 $as_echo_n "(cached) " >&6
30190 else
30193 ac_ext=cpp
30194 ac_cpp='$CXXCPP $CPPFLAGS'
30195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30200 /* end confdefs.h. */
30201 #include <math.h>
30203 main ()
30205 _modf(0, 0);
30207 return 0;
30209 _ACEOF
30210 if ac_fn_cxx_try_compile "$LINENO"; then :
30211 glibcxx_cv_func__modf_use=yes
30212 else
30213 glibcxx_cv_func__modf_use=no
30215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30216 ac_ext=c
30217 ac_cpp='$CPP $CPPFLAGS'
30218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30227 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30229 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30230 for ac_func in _modf
30231 do :
30232 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30233 if test "x$ac_cv_func__modf" = x""yes; then :
30234 cat >>confdefs.h <<_ACEOF
30235 #define HAVE__MODF 1
30236 _ACEOF
30239 done
30248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30249 $as_echo_n "checking for powf declaration... " >&6; }
30250 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30251 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30252 $as_echo_n "(cached) " >&6
30253 else
30256 ac_ext=cpp
30257 ac_cpp='$CXXCPP $CPPFLAGS'
30258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30263 /* end confdefs.h. */
30264 #include <math.h>
30266 main ()
30268 powf(0, 0);
30270 return 0;
30272 _ACEOF
30273 if ac_fn_cxx_try_compile "$LINENO"; then :
30274 glibcxx_cv_func_powf_use=yes
30275 else
30276 glibcxx_cv_func_powf_use=no
30278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30279 ac_ext=c
30280 ac_cpp='$CPP $CPPFLAGS'
30281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30290 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30292 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30293 for ac_func in powf
30294 do :
30295 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30296 if test "x$ac_cv_func_powf" = x""yes; then :
30297 cat >>confdefs.h <<_ACEOF
30298 #define HAVE_POWF 1
30299 _ACEOF
30302 done
30304 else
30306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30307 $as_echo_n "checking for _powf declaration... " >&6; }
30308 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30309 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30310 $as_echo_n "(cached) " >&6
30311 else
30314 ac_ext=cpp
30315 ac_cpp='$CXXCPP $CPPFLAGS'
30316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30321 /* end confdefs.h. */
30322 #include <math.h>
30324 main ()
30326 _powf(0, 0);
30328 return 0;
30330 _ACEOF
30331 if ac_fn_cxx_try_compile "$LINENO"; then :
30332 glibcxx_cv_func__powf_use=yes
30333 else
30334 glibcxx_cv_func__powf_use=no
30336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30337 ac_ext=c
30338 ac_cpp='$CPP $CPPFLAGS'
30339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30348 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30350 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30351 for ac_func in _powf
30352 do :
30353 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30354 if test "x$ac_cv_func__powf" = x""yes; then :
30355 cat >>confdefs.h <<_ACEOF
30356 #define HAVE__POWF 1
30357 _ACEOF
30360 done
30369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30370 $as_echo_n "checking for sqrtf declaration... " >&6; }
30371 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30372 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30373 $as_echo_n "(cached) " >&6
30374 else
30377 ac_ext=cpp
30378 ac_cpp='$CXXCPP $CPPFLAGS'
30379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30384 /* end confdefs.h. */
30385 #include <math.h>
30386 #ifdef HAVE_IEEEFP_H
30387 #include <ieeefp.h>
30388 #endif
30391 main ()
30393 sqrtf(0);
30395 return 0;
30397 _ACEOF
30398 if ac_fn_cxx_try_compile "$LINENO"; then :
30399 glibcxx_cv_func_sqrtf_use=yes
30400 else
30401 glibcxx_cv_func_sqrtf_use=no
30403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30404 ac_ext=c
30405 ac_cpp='$CPP $CPPFLAGS'
30406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30415 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30417 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30418 for ac_func in sqrtf
30419 do :
30420 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
30421 if test "x$ac_cv_func_sqrtf" = x""yes; then :
30422 cat >>confdefs.h <<_ACEOF
30423 #define HAVE_SQRTF 1
30424 _ACEOF
30427 done
30429 else
30431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
30432 $as_echo_n "checking for _sqrtf declaration... " >&6; }
30433 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
30434 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
30435 $as_echo_n "(cached) " >&6
30436 else
30439 ac_ext=cpp
30440 ac_cpp='$CXXCPP $CPPFLAGS'
30441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30446 /* end confdefs.h. */
30447 #include <math.h>
30448 #ifdef HAVE_IEEEFP_H
30449 #include <ieeefp.h>
30450 #endif
30453 main ()
30455 _sqrtf(0);
30457 return 0;
30459 _ACEOF
30460 if ac_fn_cxx_try_compile "$LINENO"; then :
30461 glibcxx_cv_func__sqrtf_use=yes
30462 else
30463 glibcxx_cv_func__sqrtf_use=no
30465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30466 ac_ext=c
30467 ac_cpp='$CPP $CPPFLAGS'
30468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
30477 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
30479 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
30480 for ac_func in _sqrtf
30481 do :
30482 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
30483 if test "x$ac_cv_func__sqrtf" = x""yes; then :
30484 cat >>confdefs.h <<_ACEOF
30485 #define HAVE__SQRTF 1
30486 _ACEOF
30489 done
30498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
30499 $as_echo_n "checking for sincosf declaration... " >&6; }
30500 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
30501 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
30502 $as_echo_n "(cached) " >&6
30503 else
30506 ac_ext=cpp
30507 ac_cpp='$CXXCPP $CPPFLAGS'
30508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30513 /* end confdefs.h. */
30514 #include <math.h>
30516 main ()
30518 sincosf(0, 0, 0);
30520 return 0;
30522 _ACEOF
30523 if ac_fn_cxx_try_compile "$LINENO"; then :
30524 glibcxx_cv_func_sincosf_use=yes
30525 else
30526 glibcxx_cv_func_sincosf_use=no
30528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30529 ac_ext=c
30530 ac_cpp='$CPP $CPPFLAGS'
30531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
30540 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
30542 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
30543 for ac_func in sincosf
30544 do :
30545 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
30546 if test "x$ac_cv_func_sincosf" = x""yes; then :
30547 cat >>confdefs.h <<_ACEOF
30548 #define HAVE_SINCOSF 1
30549 _ACEOF
30552 done
30554 else
30556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
30557 $as_echo_n "checking for _sincosf declaration... " >&6; }
30558 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
30559 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
30560 $as_echo_n "(cached) " >&6
30561 else
30564 ac_ext=cpp
30565 ac_cpp='$CXXCPP $CPPFLAGS'
30566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30571 /* end confdefs.h. */
30572 #include <math.h>
30574 main ()
30576 _sincosf(0, 0, 0);
30578 return 0;
30580 _ACEOF
30581 if ac_fn_cxx_try_compile "$LINENO"; then :
30582 glibcxx_cv_func__sincosf_use=yes
30583 else
30584 glibcxx_cv_func__sincosf_use=no
30586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30587 ac_ext=c
30588 ac_cpp='$CPP $CPPFLAGS'
30589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
30598 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
30600 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
30601 for ac_func in _sincosf
30602 do :
30603 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
30604 if test "x$ac_cv_func__sincosf" = x""yes; then :
30605 cat >>confdefs.h <<_ACEOF
30606 #define HAVE__SINCOSF 1
30607 _ACEOF
30610 done
30619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
30620 $as_echo_n "checking for finitef declaration... " >&6; }
30621 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
30622 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
30623 $as_echo_n "(cached) " >&6
30624 else
30627 ac_ext=cpp
30628 ac_cpp='$CXXCPP $CPPFLAGS'
30629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30634 /* end confdefs.h. */
30635 #include <math.h>
30636 #ifdef HAVE_IEEEFP_H
30637 #include <ieeefp.h>
30638 #endif
30641 main ()
30643 finitef(0);
30645 return 0;
30647 _ACEOF
30648 if ac_fn_cxx_try_compile "$LINENO"; then :
30649 glibcxx_cv_func_finitef_use=yes
30650 else
30651 glibcxx_cv_func_finitef_use=no
30653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30654 ac_ext=c
30655 ac_cpp='$CPP $CPPFLAGS'
30656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
30665 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
30667 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
30668 for ac_func in finitef
30669 do :
30670 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
30671 if test "x$ac_cv_func_finitef" = x""yes; then :
30672 cat >>confdefs.h <<_ACEOF
30673 #define HAVE_FINITEF 1
30674 _ACEOF
30677 done
30679 else
30681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
30682 $as_echo_n "checking for _finitef declaration... " >&6; }
30683 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
30684 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
30685 $as_echo_n "(cached) " >&6
30686 else
30689 ac_ext=cpp
30690 ac_cpp='$CXXCPP $CPPFLAGS'
30691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30696 /* end confdefs.h. */
30697 #include <math.h>
30698 #ifdef HAVE_IEEEFP_H
30699 #include <ieeefp.h>
30700 #endif
30703 main ()
30705 _finitef(0);
30707 return 0;
30709 _ACEOF
30710 if ac_fn_cxx_try_compile "$LINENO"; then :
30711 glibcxx_cv_func__finitef_use=yes
30712 else
30713 glibcxx_cv_func__finitef_use=no
30715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30716 ac_ext=c
30717 ac_cpp='$CPP $CPPFLAGS'
30718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
30727 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
30729 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
30730 for ac_func in _finitef
30731 do :
30732 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
30733 if test "x$ac_cv_func__finitef" = x""yes; then :
30734 cat >>confdefs.h <<_ACEOF
30735 #define HAVE__FINITEF 1
30736 _ACEOF
30739 done
30748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
30749 $as_echo_n "checking for long double trig functions... " >&6; }
30750 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
30751 $as_echo_n "(cached) " >&6
30752 else
30755 ac_ext=cpp
30756 ac_cpp='$CXXCPP $CPPFLAGS'
30757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30762 /* end confdefs.h. */
30763 #include <math.h>
30765 main ()
30767 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
30769 return 0;
30771 _ACEOF
30772 if ac_fn_cxx_try_compile "$LINENO"; then :
30773 glibcxx_cv_func_long_double_trig_use=yes
30774 else
30775 glibcxx_cv_func_long_double_trig_use=no
30777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30778 ac_ext=c
30779 ac_cpp='$CPP $CPPFLAGS'
30780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
30787 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
30788 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
30789 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
30790 do :
30791 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30792 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30793 eval as_val=\$$as_ac_var
30794 if test "x$as_val" = x""yes; then :
30795 cat >>confdefs.h <<_ACEOF
30796 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30797 _ACEOF
30800 done
30802 else
30803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
30804 $as_echo_n "checking for _long double trig functions... " >&6; }
30805 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
30806 $as_echo_n "(cached) " >&6
30807 else
30810 ac_ext=cpp
30811 ac_cpp='$CXXCPP $CPPFLAGS'
30812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30817 /* end confdefs.h. */
30818 #include <math.h>
30820 main ()
30822 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30824 return 0;
30826 _ACEOF
30827 if ac_fn_cxx_try_compile "$LINENO"; then :
30828 glibcxx_cv_func__long_double_trig_use=yes
30829 else
30830 glibcxx_cv_func__long_double_trig_use=no
30832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30833 ac_ext=c
30834 ac_cpp='$CPP $CPPFLAGS'
30835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30842 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30843 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30844 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30845 do :
30846 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30847 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30848 eval as_val=\$$as_ac_var
30849 if test "x$as_val" = x""yes; then :
30850 cat >>confdefs.h <<_ACEOF
30851 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30852 _ACEOF
30855 done
30864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30865 $as_echo_n "checking for long double round functions... " >&6; }
30866 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30867 $as_echo_n "(cached) " >&6
30868 else
30871 ac_ext=cpp
30872 ac_cpp='$CXXCPP $CPPFLAGS'
30873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30878 /* end confdefs.h. */
30879 #include <math.h>
30881 main ()
30883 ceill (0); floorl (0);
30885 return 0;
30887 _ACEOF
30888 if ac_fn_cxx_try_compile "$LINENO"; then :
30889 glibcxx_cv_func_long_double_round_use=yes
30890 else
30891 glibcxx_cv_func_long_double_round_use=no
30893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30894 ac_ext=c
30895 ac_cpp='$CPP $CPPFLAGS'
30896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30903 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30904 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30905 for ac_func in ceill floorl
30906 do :
30907 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30908 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30909 eval as_val=\$$as_ac_var
30910 if test "x$as_val" = x""yes; then :
30911 cat >>confdefs.h <<_ACEOF
30912 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30913 _ACEOF
30916 done
30918 else
30919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30920 $as_echo_n "checking for _long double round functions... " >&6; }
30921 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30922 $as_echo_n "(cached) " >&6
30923 else
30926 ac_ext=cpp
30927 ac_cpp='$CXXCPP $CPPFLAGS'
30928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30933 /* end confdefs.h. */
30934 #include <math.h>
30936 main ()
30938 _ceill (0); _floorl (0);
30940 return 0;
30942 _ACEOF
30943 if ac_fn_cxx_try_compile "$LINENO"; then :
30944 glibcxx_cv_func__long_double_round_use=yes
30945 else
30946 glibcxx_cv_func__long_double_round_use=no
30948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30949 ac_ext=c
30950 ac_cpp='$CPP $CPPFLAGS'
30951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30958 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
30959 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
30960 for ac_func in _ceill _floorl
30961 do :
30962 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30963 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30964 eval as_val=\$$as_ac_var
30965 if test "x$as_val" = x""yes; then :
30966 cat >>confdefs.h <<_ACEOF
30967 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30968 _ACEOF
30971 done
30981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
30982 $as_echo_n "checking for isnanl declaration... " >&6; }
30983 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
30984 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
30985 $as_echo_n "(cached) " >&6
30986 else
30989 ac_ext=cpp
30990 ac_cpp='$CXXCPP $CPPFLAGS'
30991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30996 /* end confdefs.h. */
30997 #include <math.h>
30998 #ifdef HAVE_IEEEFP_H
30999 #include <ieeefp.h>
31000 #endif
31003 main ()
31005 isnanl(0);
31007 return 0;
31009 _ACEOF
31010 if ac_fn_cxx_try_compile "$LINENO"; then :
31011 glibcxx_cv_func_isnanl_use=yes
31012 else
31013 glibcxx_cv_func_isnanl_use=no
31015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31016 ac_ext=c
31017 ac_cpp='$CPP $CPPFLAGS'
31018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31027 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31029 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31030 for ac_func in isnanl
31031 do :
31032 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31033 if test "x$ac_cv_func_isnanl" = x""yes; then :
31034 cat >>confdefs.h <<_ACEOF
31035 #define HAVE_ISNANL 1
31036 _ACEOF
31039 done
31041 else
31043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31044 $as_echo_n "checking for _isnanl declaration... " >&6; }
31045 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31046 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31047 $as_echo_n "(cached) " >&6
31048 else
31051 ac_ext=cpp
31052 ac_cpp='$CXXCPP $CPPFLAGS'
31053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31058 /* end confdefs.h. */
31059 #include <math.h>
31060 #ifdef HAVE_IEEEFP_H
31061 #include <ieeefp.h>
31062 #endif
31065 main ()
31067 _isnanl(0);
31069 return 0;
31071 _ACEOF
31072 if ac_fn_cxx_try_compile "$LINENO"; then :
31073 glibcxx_cv_func__isnanl_use=yes
31074 else
31075 glibcxx_cv_func__isnanl_use=no
31077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31078 ac_ext=c
31079 ac_cpp='$CPP $CPPFLAGS'
31080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31089 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31091 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31092 for ac_func in _isnanl
31093 do :
31094 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31095 if test "x$ac_cv_func__isnanl" = x""yes; then :
31096 cat >>confdefs.h <<_ACEOF
31097 #define HAVE__ISNANL 1
31098 _ACEOF
31101 done
31110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31111 $as_echo_n "checking for isinfl declaration... " >&6; }
31112 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31113 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31114 $as_echo_n "(cached) " >&6
31115 else
31118 ac_ext=cpp
31119 ac_cpp='$CXXCPP $CPPFLAGS'
31120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31125 /* end confdefs.h. */
31126 #include <math.h>
31127 #ifdef HAVE_IEEEFP_H
31128 #include <ieeefp.h>
31129 #endif
31132 main ()
31134 isinfl(0);
31136 return 0;
31138 _ACEOF
31139 if ac_fn_cxx_try_compile "$LINENO"; then :
31140 glibcxx_cv_func_isinfl_use=yes
31141 else
31142 glibcxx_cv_func_isinfl_use=no
31144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31145 ac_ext=c
31146 ac_cpp='$CPP $CPPFLAGS'
31147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31156 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31158 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31159 for ac_func in isinfl
31160 do :
31161 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31162 if test "x$ac_cv_func_isinfl" = x""yes; then :
31163 cat >>confdefs.h <<_ACEOF
31164 #define HAVE_ISINFL 1
31165 _ACEOF
31168 done
31170 else
31172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31173 $as_echo_n "checking for _isinfl declaration... " >&6; }
31174 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31175 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31176 $as_echo_n "(cached) " >&6
31177 else
31180 ac_ext=cpp
31181 ac_cpp='$CXXCPP $CPPFLAGS'
31182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31187 /* end confdefs.h. */
31188 #include <math.h>
31189 #ifdef HAVE_IEEEFP_H
31190 #include <ieeefp.h>
31191 #endif
31194 main ()
31196 _isinfl(0);
31198 return 0;
31200 _ACEOF
31201 if ac_fn_cxx_try_compile "$LINENO"; then :
31202 glibcxx_cv_func__isinfl_use=yes
31203 else
31204 glibcxx_cv_func__isinfl_use=no
31206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31207 ac_ext=c
31208 ac_cpp='$CPP $CPPFLAGS'
31209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31218 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31220 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31221 for ac_func in _isinfl
31222 do :
31223 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31224 if test "x$ac_cv_func__isinfl" = x""yes; then :
31225 cat >>confdefs.h <<_ACEOF
31226 #define HAVE__ISINFL 1
31227 _ACEOF
31230 done
31239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31240 $as_echo_n "checking for atan2l declaration... " >&6; }
31241 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31242 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31243 $as_echo_n "(cached) " >&6
31244 else
31247 ac_ext=cpp
31248 ac_cpp='$CXXCPP $CPPFLAGS'
31249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31254 /* end confdefs.h. */
31255 #include <math.h>
31257 main ()
31259 atan2l(0, 0);
31261 return 0;
31263 _ACEOF
31264 if ac_fn_cxx_try_compile "$LINENO"; then :
31265 glibcxx_cv_func_atan2l_use=yes
31266 else
31267 glibcxx_cv_func_atan2l_use=no
31269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31270 ac_ext=c
31271 ac_cpp='$CPP $CPPFLAGS'
31272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31281 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31283 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31284 for ac_func in atan2l
31285 do :
31286 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31287 if test "x$ac_cv_func_atan2l" = x""yes; then :
31288 cat >>confdefs.h <<_ACEOF
31289 #define HAVE_ATAN2L 1
31290 _ACEOF
31293 done
31295 else
31297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31298 $as_echo_n "checking for _atan2l declaration... " >&6; }
31299 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31300 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31301 $as_echo_n "(cached) " >&6
31302 else
31305 ac_ext=cpp
31306 ac_cpp='$CXXCPP $CPPFLAGS'
31307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31312 /* end confdefs.h. */
31313 #include <math.h>
31315 main ()
31317 _atan2l(0, 0);
31319 return 0;
31321 _ACEOF
31322 if ac_fn_cxx_try_compile "$LINENO"; then :
31323 glibcxx_cv_func__atan2l_use=yes
31324 else
31325 glibcxx_cv_func__atan2l_use=no
31327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31328 ac_ext=c
31329 ac_cpp='$CPP $CPPFLAGS'
31330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31339 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31341 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31342 for ac_func in _atan2l
31343 do :
31344 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31345 if test "x$ac_cv_func__atan2l" = x""yes; then :
31346 cat >>confdefs.h <<_ACEOF
31347 #define HAVE__ATAN2L 1
31348 _ACEOF
31351 done
31360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31361 $as_echo_n "checking for expl declaration... " >&6; }
31362 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31363 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31364 $as_echo_n "(cached) " >&6
31365 else
31368 ac_ext=cpp
31369 ac_cpp='$CXXCPP $CPPFLAGS'
31370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31375 /* end confdefs.h. */
31376 #include <math.h>
31377 #ifdef HAVE_IEEEFP_H
31378 #include <ieeefp.h>
31379 #endif
31382 main ()
31384 expl(0);
31386 return 0;
31388 _ACEOF
31389 if ac_fn_cxx_try_compile "$LINENO"; then :
31390 glibcxx_cv_func_expl_use=yes
31391 else
31392 glibcxx_cv_func_expl_use=no
31394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31395 ac_ext=c
31396 ac_cpp='$CPP $CPPFLAGS'
31397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31406 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31408 if test x$glibcxx_cv_func_expl_use = x"yes"; then
31409 for ac_func in expl
31410 do :
31411 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31412 if test "x$ac_cv_func_expl" = x""yes; then :
31413 cat >>confdefs.h <<_ACEOF
31414 #define HAVE_EXPL 1
31415 _ACEOF
31418 done
31420 else
31422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
31423 $as_echo_n "checking for _expl declaration... " >&6; }
31424 if test x${glibcxx_cv_func__expl_use+set} != xset; then
31425 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
31426 $as_echo_n "(cached) " >&6
31427 else
31430 ac_ext=cpp
31431 ac_cpp='$CXXCPP $CPPFLAGS'
31432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31437 /* end confdefs.h. */
31438 #include <math.h>
31439 #ifdef HAVE_IEEEFP_H
31440 #include <ieeefp.h>
31441 #endif
31444 main ()
31446 _expl(0);
31448 return 0;
31450 _ACEOF
31451 if ac_fn_cxx_try_compile "$LINENO"; then :
31452 glibcxx_cv_func__expl_use=yes
31453 else
31454 glibcxx_cv_func__expl_use=no
31456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31457 ac_ext=c
31458 ac_cpp='$CPP $CPPFLAGS'
31459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
31468 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
31470 if test x$glibcxx_cv_func__expl_use = x"yes"; then
31471 for ac_func in _expl
31472 do :
31473 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
31474 if test "x$ac_cv_func__expl" = x""yes; then :
31475 cat >>confdefs.h <<_ACEOF
31476 #define HAVE__EXPL 1
31477 _ACEOF
31480 done
31489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
31490 $as_echo_n "checking for fabsl declaration... " >&6; }
31491 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31492 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
31493 $as_echo_n "(cached) " >&6
31494 else
31497 ac_ext=cpp
31498 ac_cpp='$CXXCPP $CPPFLAGS'
31499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31504 /* end confdefs.h. */
31505 #include <math.h>
31506 #ifdef HAVE_IEEEFP_H
31507 #include <ieeefp.h>
31508 #endif
31511 main ()
31513 fabsl(0);
31515 return 0;
31517 _ACEOF
31518 if ac_fn_cxx_try_compile "$LINENO"; then :
31519 glibcxx_cv_func_fabsl_use=yes
31520 else
31521 glibcxx_cv_func_fabsl_use=no
31523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31524 ac_ext=c
31525 ac_cpp='$CPP $CPPFLAGS'
31526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
31535 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
31537 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31538 for ac_func in fabsl
31539 do :
31540 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
31541 if test "x$ac_cv_func_fabsl" = x""yes; then :
31542 cat >>confdefs.h <<_ACEOF
31543 #define HAVE_FABSL 1
31544 _ACEOF
31547 done
31549 else
31551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
31552 $as_echo_n "checking for _fabsl declaration... " >&6; }
31553 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31554 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
31555 $as_echo_n "(cached) " >&6
31556 else
31559 ac_ext=cpp
31560 ac_cpp='$CXXCPP $CPPFLAGS'
31561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31566 /* end confdefs.h. */
31567 #include <math.h>
31568 #ifdef HAVE_IEEEFP_H
31569 #include <ieeefp.h>
31570 #endif
31573 main ()
31575 _fabsl(0);
31577 return 0;
31579 _ACEOF
31580 if ac_fn_cxx_try_compile "$LINENO"; then :
31581 glibcxx_cv_func__fabsl_use=yes
31582 else
31583 glibcxx_cv_func__fabsl_use=no
31585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31586 ac_ext=c
31587 ac_cpp='$CPP $CPPFLAGS'
31588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
31597 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
31599 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31600 for ac_func in _fabsl
31601 do :
31602 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
31603 if test "x$ac_cv_func__fabsl" = x""yes; then :
31604 cat >>confdefs.h <<_ACEOF
31605 #define HAVE__FABSL 1
31606 _ACEOF
31609 done
31618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
31619 $as_echo_n "checking for fmodl declaration... " >&6; }
31620 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31621 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
31622 $as_echo_n "(cached) " >&6
31623 else
31626 ac_ext=cpp
31627 ac_cpp='$CXXCPP $CPPFLAGS'
31628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31633 /* end confdefs.h. */
31634 #include <math.h>
31636 main ()
31638 fmodl(0, 0);
31640 return 0;
31642 _ACEOF
31643 if ac_fn_cxx_try_compile "$LINENO"; then :
31644 glibcxx_cv_func_fmodl_use=yes
31645 else
31646 glibcxx_cv_func_fmodl_use=no
31648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31649 ac_ext=c
31650 ac_cpp='$CPP $CPPFLAGS'
31651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
31660 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
31662 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31663 for ac_func in fmodl
31664 do :
31665 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
31666 if test "x$ac_cv_func_fmodl" = x""yes; then :
31667 cat >>confdefs.h <<_ACEOF
31668 #define HAVE_FMODL 1
31669 _ACEOF
31672 done
31674 else
31676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
31677 $as_echo_n "checking for _fmodl declaration... " >&6; }
31678 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
31679 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
31680 $as_echo_n "(cached) " >&6
31681 else
31684 ac_ext=cpp
31685 ac_cpp='$CXXCPP $CPPFLAGS'
31686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31691 /* end confdefs.h. */
31692 #include <math.h>
31694 main ()
31696 _fmodl(0, 0);
31698 return 0;
31700 _ACEOF
31701 if ac_fn_cxx_try_compile "$LINENO"; then :
31702 glibcxx_cv_func__fmodl_use=yes
31703 else
31704 glibcxx_cv_func__fmodl_use=no
31706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31707 ac_ext=c
31708 ac_cpp='$CPP $CPPFLAGS'
31709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
31718 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
31720 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
31721 for ac_func in _fmodl
31722 do :
31723 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
31724 if test "x$ac_cv_func__fmodl" = x""yes; then :
31725 cat >>confdefs.h <<_ACEOF
31726 #define HAVE__FMODL 1
31727 _ACEOF
31730 done
31739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
31740 $as_echo_n "checking for frexpl declaration... " >&6; }
31741 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
31742 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
31743 $as_echo_n "(cached) " >&6
31744 else
31747 ac_ext=cpp
31748 ac_cpp='$CXXCPP $CPPFLAGS'
31749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31754 /* end confdefs.h. */
31755 #include <math.h>
31757 main ()
31759 frexpl(0, 0);
31761 return 0;
31763 _ACEOF
31764 if ac_fn_cxx_try_compile "$LINENO"; then :
31765 glibcxx_cv_func_frexpl_use=yes
31766 else
31767 glibcxx_cv_func_frexpl_use=no
31769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31770 ac_ext=c
31771 ac_cpp='$CPP $CPPFLAGS'
31772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
31781 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
31783 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31784 for ac_func in frexpl
31785 do :
31786 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
31787 if test "x$ac_cv_func_frexpl" = x""yes; then :
31788 cat >>confdefs.h <<_ACEOF
31789 #define HAVE_FREXPL 1
31790 _ACEOF
31793 done
31795 else
31797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
31798 $as_echo_n "checking for _frexpl declaration... " >&6; }
31799 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31800 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
31801 $as_echo_n "(cached) " >&6
31802 else
31805 ac_ext=cpp
31806 ac_cpp='$CXXCPP $CPPFLAGS'
31807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31812 /* end confdefs.h. */
31813 #include <math.h>
31815 main ()
31817 _frexpl(0, 0);
31819 return 0;
31821 _ACEOF
31822 if ac_fn_cxx_try_compile "$LINENO"; then :
31823 glibcxx_cv_func__frexpl_use=yes
31824 else
31825 glibcxx_cv_func__frexpl_use=no
31827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31828 ac_ext=c
31829 ac_cpp='$CPP $CPPFLAGS'
31830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31839 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31841 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31842 for ac_func in _frexpl
31843 do :
31844 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31845 if test "x$ac_cv_func__frexpl" = x""yes; then :
31846 cat >>confdefs.h <<_ACEOF
31847 #define HAVE__FREXPL 1
31848 _ACEOF
31851 done
31860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31861 $as_echo_n "checking for hypotl declaration... " >&6; }
31862 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31863 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31864 $as_echo_n "(cached) " >&6
31865 else
31868 ac_ext=cpp
31869 ac_cpp='$CXXCPP $CPPFLAGS'
31870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31875 /* end confdefs.h. */
31876 #include <math.h>
31878 main ()
31880 hypotl(0, 0);
31882 return 0;
31884 _ACEOF
31885 if ac_fn_cxx_try_compile "$LINENO"; then :
31886 glibcxx_cv_func_hypotl_use=yes
31887 else
31888 glibcxx_cv_func_hypotl_use=no
31890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31891 ac_ext=c
31892 ac_cpp='$CPP $CPPFLAGS'
31893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31902 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31904 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31905 for ac_func in hypotl
31906 do :
31907 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31908 if test "x$ac_cv_func_hypotl" = x""yes; then :
31909 cat >>confdefs.h <<_ACEOF
31910 #define HAVE_HYPOTL 1
31911 _ACEOF
31914 done
31916 else
31918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31919 $as_echo_n "checking for _hypotl declaration... " >&6; }
31920 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31921 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31922 $as_echo_n "(cached) " >&6
31923 else
31926 ac_ext=cpp
31927 ac_cpp='$CXXCPP $CPPFLAGS'
31928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31933 /* end confdefs.h. */
31934 #include <math.h>
31936 main ()
31938 _hypotl(0, 0);
31940 return 0;
31942 _ACEOF
31943 if ac_fn_cxx_try_compile "$LINENO"; then :
31944 glibcxx_cv_func__hypotl_use=yes
31945 else
31946 glibcxx_cv_func__hypotl_use=no
31948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31949 ac_ext=c
31950 ac_cpp='$CPP $CPPFLAGS'
31951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
31960 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
31962 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
31963 for ac_func in _hypotl
31964 do :
31965 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
31966 if test "x$ac_cv_func__hypotl" = x""yes; then :
31967 cat >>confdefs.h <<_ACEOF
31968 #define HAVE__HYPOTL 1
31969 _ACEOF
31972 done
31981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
31982 $as_echo_n "checking for ldexpl declaration... " >&6; }
31983 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
31984 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
31985 $as_echo_n "(cached) " >&6
31986 else
31989 ac_ext=cpp
31990 ac_cpp='$CXXCPP $CPPFLAGS'
31991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31996 /* end confdefs.h. */
31997 #include <math.h>
31999 main ()
32001 ldexpl(0, 0);
32003 return 0;
32005 _ACEOF
32006 if ac_fn_cxx_try_compile "$LINENO"; then :
32007 glibcxx_cv_func_ldexpl_use=yes
32008 else
32009 glibcxx_cv_func_ldexpl_use=no
32011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32012 ac_ext=c
32013 ac_cpp='$CPP $CPPFLAGS'
32014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32023 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32025 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32026 for ac_func in ldexpl
32027 do :
32028 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32029 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32030 cat >>confdefs.h <<_ACEOF
32031 #define HAVE_LDEXPL 1
32032 _ACEOF
32035 done
32037 else
32039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32040 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32041 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32042 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32043 $as_echo_n "(cached) " >&6
32044 else
32047 ac_ext=cpp
32048 ac_cpp='$CXXCPP $CPPFLAGS'
32049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32054 /* end confdefs.h. */
32055 #include <math.h>
32057 main ()
32059 _ldexpl(0, 0);
32061 return 0;
32063 _ACEOF
32064 if ac_fn_cxx_try_compile "$LINENO"; then :
32065 glibcxx_cv_func__ldexpl_use=yes
32066 else
32067 glibcxx_cv_func__ldexpl_use=no
32069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32070 ac_ext=c
32071 ac_cpp='$CPP $CPPFLAGS'
32072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32081 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32083 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32084 for ac_func in _ldexpl
32085 do :
32086 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32087 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32088 cat >>confdefs.h <<_ACEOF
32089 #define HAVE__LDEXPL 1
32090 _ACEOF
32093 done
32102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32103 $as_echo_n "checking for logl declaration... " >&6; }
32104 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32105 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32106 $as_echo_n "(cached) " >&6
32107 else
32110 ac_ext=cpp
32111 ac_cpp='$CXXCPP $CPPFLAGS'
32112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32117 /* end confdefs.h. */
32118 #include <math.h>
32119 #ifdef HAVE_IEEEFP_H
32120 #include <ieeefp.h>
32121 #endif
32124 main ()
32126 logl(0);
32128 return 0;
32130 _ACEOF
32131 if ac_fn_cxx_try_compile "$LINENO"; then :
32132 glibcxx_cv_func_logl_use=yes
32133 else
32134 glibcxx_cv_func_logl_use=no
32136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32137 ac_ext=c
32138 ac_cpp='$CPP $CPPFLAGS'
32139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32148 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32150 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32151 for ac_func in logl
32152 do :
32153 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32154 if test "x$ac_cv_func_logl" = x""yes; then :
32155 cat >>confdefs.h <<_ACEOF
32156 #define HAVE_LOGL 1
32157 _ACEOF
32160 done
32162 else
32164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32165 $as_echo_n "checking for _logl declaration... " >&6; }
32166 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32167 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32168 $as_echo_n "(cached) " >&6
32169 else
32172 ac_ext=cpp
32173 ac_cpp='$CXXCPP $CPPFLAGS'
32174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32179 /* end confdefs.h. */
32180 #include <math.h>
32181 #ifdef HAVE_IEEEFP_H
32182 #include <ieeefp.h>
32183 #endif
32186 main ()
32188 _logl(0);
32190 return 0;
32192 _ACEOF
32193 if ac_fn_cxx_try_compile "$LINENO"; then :
32194 glibcxx_cv_func__logl_use=yes
32195 else
32196 glibcxx_cv_func__logl_use=no
32198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32199 ac_ext=c
32200 ac_cpp='$CPP $CPPFLAGS'
32201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32210 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32212 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32213 for ac_func in _logl
32214 do :
32215 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32216 if test "x$ac_cv_func__logl" = x""yes; then :
32217 cat >>confdefs.h <<_ACEOF
32218 #define HAVE__LOGL 1
32219 _ACEOF
32222 done
32231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32232 $as_echo_n "checking for log10l declaration... " >&6; }
32233 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32234 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32235 $as_echo_n "(cached) " >&6
32236 else
32239 ac_ext=cpp
32240 ac_cpp='$CXXCPP $CPPFLAGS'
32241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32246 /* end confdefs.h. */
32247 #include <math.h>
32248 #ifdef HAVE_IEEEFP_H
32249 #include <ieeefp.h>
32250 #endif
32253 main ()
32255 log10l(0);
32257 return 0;
32259 _ACEOF
32260 if ac_fn_cxx_try_compile "$LINENO"; then :
32261 glibcxx_cv_func_log10l_use=yes
32262 else
32263 glibcxx_cv_func_log10l_use=no
32265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32266 ac_ext=c
32267 ac_cpp='$CPP $CPPFLAGS'
32268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32277 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32279 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32280 for ac_func in log10l
32281 do :
32282 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32283 if test "x$ac_cv_func_log10l" = x""yes; then :
32284 cat >>confdefs.h <<_ACEOF
32285 #define HAVE_LOG10L 1
32286 _ACEOF
32289 done
32291 else
32293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32294 $as_echo_n "checking for _log10l declaration... " >&6; }
32295 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32296 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32297 $as_echo_n "(cached) " >&6
32298 else
32301 ac_ext=cpp
32302 ac_cpp='$CXXCPP $CPPFLAGS'
32303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32308 /* end confdefs.h. */
32309 #include <math.h>
32310 #ifdef HAVE_IEEEFP_H
32311 #include <ieeefp.h>
32312 #endif
32315 main ()
32317 _log10l(0);
32319 return 0;
32321 _ACEOF
32322 if ac_fn_cxx_try_compile "$LINENO"; then :
32323 glibcxx_cv_func__log10l_use=yes
32324 else
32325 glibcxx_cv_func__log10l_use=no
32327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32328 ac_ext=c
32329 ac_cpp='$CPP $CPPFLAGS'
32330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32339 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32341 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32342 for ac_func in _log10l
32343 do :
32344 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32345 if test "x$ac_cv_func__log10l" = x""yes; then :
32346 cat >>confdefs.h <<_ACEOF
32347 #define HAVE__LOG10L 1
32348 _ACEOF
32351 done
32360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32361 $as_echo_n "checking for modfl declaration... " >&6; }
32362 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32363 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32364 $as_echo_n "(cached) " >&6
32365 else
32368 ac_ext=cpp
32369 ac_cpp='$CXXCPP $CPPFLAGS'
32370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32375 /* end confdefs.h. */
32376 #include <math.h>
32378 main ()
32380 modfl(0, 0);
32382 return 0;
32384 _ACEOF
32385 if ac_fn_cxx_try_compile "$LINENO"; then :
32386 glibcxx_cv_func_modfl_use=yes
32387 else
32388 glibcxx_cv_func_modfl_use=no
32390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32391 ac_ext=c
32392 ac_cpp='$CPP $CPPFLAGS'
32393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32402 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32404 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32405 for ac_func in modfl
32406 do :
32407 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32408 if test "x$ac_cv_func_modfl" = x""yes; then :
32409 cat >>confdefs.h <<_ACEOF
32410 #define HAVE_MODFL 1
32411 _ACEOF
32414 done
32416 else
32418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32419 $as_echo_n "checking for _modfl declaration... " >&6; }
32420 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32421 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
32422 $as_echo_n "(cached) " >&6
32423 else
32426 ac_ext=cpp
32427 ac_cpp='$CXXCPP $CPPFLAGS'
32428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32433 /* end confdefs.h. */
32434 #include <math.h>
32436 main ()
32438 _modfl(0, 0);
32440 return 0;
32442 _ACEOF
32443 if ac_fn_cxx_try_compile "$LINENO"; then :
32444 glibcxx_cv_func__modfl_use=yes
32445 else
32446 glibcxx_cv_func__modfl_use=no
32448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32449 ac_ext=c
32450 ac_cpp='$CPP $CPPFLAGS'
32451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
32460 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
32462 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32463 for ac_func in _modfl
32464 do :
32465 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
32466 if test "x$ac_cv_func__modfl" = x""yes; then :
32467 cat >>confdefs.h <<_ACEOF
32468 #define HAVE__MODFL 1
32469 _ACEOF
32472 done
32481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
32482 $as_echo_n "checking for powl declaration... " >&6; }
32483 if test x${glibcxx_cv_func_powl_use+set} != xset; then
32484 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
32485 $as_echo_n "(cached) " >&6
32486 else
32489 ac_ext=cpp
32490 ac_cpp='$CXXCPP $CPPFLAGS'
32491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32496 /* end confdefs.h. */
32497 #include <math.h>
32499 main ()
32501 powl(0, 0);
32503 return 0;
32505 _ACEOF
32506 if ac_fn_cxx_try_compile "$LINENO"; then :
32507 glibcxx_cv_func_powl_use=yes
32508 else
32509 glibcxx_cv_func_powl_use=no
32511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32512 ac_ext=c
32513 ac_cpp='$CPP $CPPFLAGS'
32514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
32523 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
32525 if test x$glibcxx_cv_func_powl_use = x"yes"; then
32526 for ac_func in powl
32527 do :
32528 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
32529 if test "x$ac_cv_func_powl" = x""yes; then :
32530 cat >>confdefs.h <<_ACEOF
32531 #define HAVE_POWL 1
32532 _ACEOF
32535 done
32537 else
32539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
32540 $as_echo_n "checking for _powl declaration... " >&6; }
32541 if test x${glibcxx_cv_func__powl_use+set} != xset; then
32542 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
32543 $as_echo_n "(cached) " >&6
32544 else
32547 ac_ext=cpp
32548 ac_cpp='$CXXCPP $CPPFLAGS'
32549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32554 /* end confdefs.h. */
32555 #include <math.h>
32557 main ()
32559 _powl(0, 0);
32561 return 0;
32563 _ACEOF
32564 if ac_fn_cxx_try_compile "$LINENO"; then :
32565 glibcxx_cv_func__powl_use=yes
32566 else
32567 glibcxx_cv_func__powl_use=no
32569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32570 ac_ext=c
32571 ac_cpp='$CPP $CPPFLAGS'
32572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
32581 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
32583 if test x$glibcxx_cv_func__powl_use = x"yes"; then
32584 for ac_func in _powl
32585 do :
32586 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
32587 if test "x$ac_cv_func__powl" = x""yes; then :
32588 cat >>confdefs.h <<_ACEOF
32589 #define HAVE__POWL 1
32590 _ACEOF
32593 done
32602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
32603 $as_echo_n "checking for sqrtl declaration... " >&6; }
32604 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
32605 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
32606 $as_echo_n "(cached) " >&6
32607 else
32610 ac_ext=cpp
32611 ac_cpp='$CXXCPP $CPPFLAGS'
32612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32617 /* end confdefs.h. */
32618 #include <math.h>
32619 #ifdef HAVE_IEEEFP_H
32620 #include <ieeefp.h>
32621 #endif
32624 main ()
32626 sqrtl(0);
32628 return 0;
32630 _ACEOF
32631 if ac_fn_cxx_try_compile "$LINENO"; then :
32632 glibcxx_cv_func_sqrtl_use=yes
32633 else
32634 glibcxx_cv_func_sqrtl_use=no
32636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32637 ac_ext=c
32638 ac_cpp='$CPP $CPPFLAGS'
32639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
32648 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
32650 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
32651 for ac_func in sqrtl
32652 do :
32653 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
32654 if test "x$ac_cv_func_sqrtl" = x""yes; then :
32655 cat >>confdefs.h <<_ACEOF
32656 #define HAVE_SQRTL 1
32657 _ACEOF
32660 done
32662 else
32664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
32665 $as_echo_n "checking for _sqrtl declaration... " >&6; }
32666 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
32667 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
32668 $as_echo_n "(cached) " >&6
32669 else
32672 ac_ext=cpp
32673 ac_cpp='$CXXCPP $CPPFLAGS'
32674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32679 /* end confdefs.h. */
32680 #include <math.h>
32681 #ifdef HAVE_IEEEFP_H
32682 #include <ieeefp.h>
32683 #endif
32686 main ()
32688 _sqrtl(0);
32690 return 0;
32692 _ACEOF
32693 if ac_fn_cxx_try_compile "$LINENO"; then :
32694 glibcxx_cv_func__sqrtl_use=yes
32695 else
32696 glibcxx_cv_func__sqrtl_use=no
32698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32699 ac_ext=c
32700 ac_cpp='$CPP $CPPFLAGS'
32701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
32710 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
32712 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
32713 for ac_func in _sqrtl
32714 do :
32715 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
32716 if test "x$ac_cv_func__sqrtl" = x""yes; then :
32717 cat >>confdefs.h <<_ACEOF
32718 #define HAVE__SQRTL 1
32719 _ACEOF
32722 done
32731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
32732 $as_echo_n "checking for sincosl declaration... " >&6; }
32733 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
32734 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
32735 $as_echo_n "(cached) " >&6
32736 else
32739 ac_ext=cpp
32740 ac_cpp='$CXXCPP $CPPFLAGS'
32741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32746 /* end confdefs.h. */
32747 #include <math.h>
32749 main ()
32751 sincosl(0, 0, 0);
32753 return 0;
32755 _ACEOF
32756 if ac_fn_cxx_try_compile "$LINENO"; then :
32757 glibcxx_cv_func_sincosl_use=yes
32758 else
32759 glibcxx_cv_func_sincosl_use=no
32761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32762 ac_ext=c
32763 ac_cpp='$CPP $CPPFLAGS'
32764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
32773 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
32775 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
32776 for ac_func in sincosl
32777 do :
32778 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
32779 if test "x$ac_cv_func_sincosl" = x""yes; then :
32780 cat >>confdefs.h <<_ACEOF
32781 #define HAVE_SINCOSL 1
32782 _ACEOF
32785 done
32787 else
32789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
32790 $as_echo_n "checking for _sincosl declaration... " >&6; }
32791 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
32792 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
32793 $as_echo_n "(cached) " >&6
32794 else
32797 ac_ext=cpp
32798 ac_cpp='$CXXCPP $CPPFLAGS'
32799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32804 /* end confdefs.h. */
32805 #include <math.h>
32807 main ()
32809 _sincosl(0, 0, 0);
32811 return 0;
32813 _ACEOF
32814 if ac_fn_cxx_try_compile "$LINENO"; then :
32815 glibcxx_cv_func__sincosl_use=yes
32816 else
32817 glibcxx_cv_func__sincosl_use=no
32819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32820 ac_ext=c
32821 ac_cpp='$CPP $CPPFLAGS'
32822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32831 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32833 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32834 for ac_func in _sincosl
32835 do :
32836 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32837 if test "x$ac_cv_func__sincosl" = x""yes; then :
32838 cat >>confdefs.h <<_ACEOF
32839 #define HAVE__SINCOSL 1
32840 _ACEOF
32843 done
32852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32853 $as_echo_n "checking for finitel declaration... " >&6; }
32854 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32855 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32856 $as_echo_n "(cached) " >&6
32857 else
32860 ac_ext=cpp
32861 ac_cpp='$CXXCPP $CPPFLAGS'
32862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32867 /* end confdefs.h. */
32868 #include <math.h>
32869 #ifdef HAVE_IEEEFP_H
32870 #include <ieeefp.h>
32871 #endif
32874 main ()
32876 finitel(0);
32878 return 0;
32880 _ACEOF
32881 if ac_fn_cxx_try_compile "$LINENO"; then :
32882 glibcxx_cv_func_finitel_use=yes
32883 else
32884 glibcxx_cv_func_finitel_use=no
32886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32887 ac_ext=c
32888 ac_cpp='$CPP $CPPFLAGS'
32889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32898 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32900 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32901 for ac_func in finitel
32902 do :
32903 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32904 if test "x$ac_cv_func_finitel" = x""yes; then :
32905 cat >>confdefs.h <<_ACEOF
32906 #define HAVE_FINITEL 1
32907 _ACEOF
32910 done
32912 else
32914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32915 $as_echo_n "checking for _finitel declaration... " >&6; }
32916 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32917 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32918 $as_echo_n "(cached) " >&6
32919 else
32922 ac_ext=cpp
32923 ac_cpp='$CXXCPP $CPPFLAGS'
32924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32929 /* end confdefs.h. */
32930 #include <math.h>
32931 #ifdef HAVE_IEEEFP_H
32932 #include <ieeefp.h>
32933 #endif
32936 main ()
32938 _finitel(0);
32940 return 0;
32942 _ACEOF
32943 if ac_fn_cxx_try_compile "$LINENO"; then :
32944 glibcxx_cv_func__finitel_use=yes
32945 else
32946 glibcxx_cv_func__finitel_use=no
32948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32949 ac_ext=c
32950 ac_cpp='$CPP $CPPFLAGS'
32951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
32960 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
32962 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
32963 for ac_func in _finitel
32964 do :
32965 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
32966 if test "x$ac_cv_func__finitel" = x""yes; then :
32967 cat >>confdefs.h <<_ACEOF
32968 #define HAVE__FINITEL 1
32969 _ACEOF
32972 done
32980 LIBS="$ac_save_LIBS"
32981 CXXFLAGS="$ac_save_CXXFLAGS"
32984 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32985 ac_save_CXXFLAGS="$CXXFLAGS"
32986 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
32990 $as_echo_n "checking for strtold declaration... " >&6; }
32991 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
32992 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
32993 $as_echo_n "(cached) " >&6
32994 else
32997 ac_ext=cpp
32998 ac_cpp='$CXXCPP $CPPFLAGS'
32999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33004 /* end confdefs.h. */
33005 #include <stdlib.h>
33007 main ()
33009 strtold(0, 0);
33011 return 0;
33013 _ACEOF
33014 if ac_fn_cxx_try_compile "$LINENO"; then :
33015 glibcxx_cv_func_strtold_use=yes
33016 else
33017 glibcxx_cv_func_strtold_use=no
33019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33020 ac_ext=c
33021 ac_cpp='$CPP $CPPFLAGS'
33022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33031 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33032 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33033 for ac_func in strtold
33034 do :
33035 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33036 if test "x$ac_cv_func_strtold" = x""yes; then :
33037 cat >>confdefs.h <<_ACEOF
33038 #define HAVE_STRTOLD 1
33039 _ACEOF
33042 done
33049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33050 $as_echo_n "checking for strtof declaration... " >&6; }
33051 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33052 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33053 $as_echo_n "(cached) " >&6
33054 else
33057 ac_ext=cpp
33058 ac_cpp='$CXXCPP $CPPFLAGS'
33059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33064 /* end confdefs.h. */
33065 #include <stdlib.h>
33067 main ()
33069 strtof(0, 0);
33071 return 0;
33073 _ACEOF
33074 if ac_fn_cxx_try_compile "$LINENO"; then :
33075 glibcxx_cv_func_strtof_use=yes
33076 else
33077 glibcxx_cv_func_strtof_use=no
33079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33080 ac_ext=c
33081 ac_cpp='$CPP $CPPFLAGS'
33082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33091 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33092 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33093 for ac_func in strtof
33094 do :
33095 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33096 if test "x$ac_cv_func_strtof" = x""yes; then :
33097 cat >>confdefs.h <<_ACEOF
33098 #define HAVE_STRTOF 1
33099 _ACEOF
33102 done
33109 CXXFLAGS="$ac_save_CXXFLAGS"
33112 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33114 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33116 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33118 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33121 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33123 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33125 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33129 *-aix*)
33131 # If we're not using GNU ld, then there's no point in even trying these
33132 # tests. Check for that first. We should have already tested for gld
33133 # by now (in libtool), but require it now just to be safe...
33134 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33135 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33139 # The name set by libtool depends on the version of libtool. Shame on us
33140 # for depending on an impl detail, but c'est la vie. Older versions used
33141 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33142 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33143 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33144 # set (hence we're using an older libtool), then set it.
33145 if test x${with_gnu_ld+set} != xset; then
33146 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33147 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33148 with_gnu_ld=no
33149 else
33150 with_gnu_ld=$ac_cv_prog_gnu_ld
33154 # Start by getting the version number. I think the libtool test already
33155 # does some of this, but throws away the result.
33156 glibcxx_ld_is_gold=no
33157 if test x"$with_gnu_ld" = x"yes"; then
33158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33159 $as_echo_n "checking for ld version... " >&6; }
33161 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33162 glibcxx_ld_is_gold=yes
33164 ldver=`$LD --version 2>/dev/null |
33165 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'`
33167 glibcxx_gnu_ld_version=`echo $ldver | \
33168 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33170 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33173 # Set --gc-sections.
33174 glibcxx_have_gc_sections=no
33175 if test "$glibcxx_ld_is_gold" = "yes"; then
33176 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33177 glibcxx_have_gc_sections=yes
33179 else
33180 glibcxx_gcsections_min_ld=21602
33181 if test x"$with_gnu_ld" = x"yes" &&
33182 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33183 glibcxx_have_gc_sections=yes
33186 if test "$glibcxx_have_gc_sections" = "yes"; then
33187 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33188 # NB: This flag only works reliably after 2.16.1. Configure tests
33189 # for this are difficult, so hard wire a value that should work.
33191 ac_test_CFLAGS="${CFLAGS+set}"
33192 ac_save_CFLAGS="$CFLAGS"
33193 CFLAGS='-Wl,--gc-sections'
33195 # Check for -Wl,--gc-sections
33196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33197 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33198 if test x$gcc_no_link = xyes; then
33199 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33202 /* end confdefs.h. */
33203 int one(void) { return 1; }
33204 int two(void) { return 2; }
33207 main ()
33209 two();
33211 return 0;
33213 _ACEOF
33214 if ac_fn_c_try_link "$LINENO"; then :
33215 ac_gcsections=yes
33216 else
33217 ac_gcsections=no
33219 rm -f core conftest.err conftest.$ac_objext \
33220 conftest$ac_exeext conftest.$ac_ext
33221 if test "$ac_gcsections" = "yes"; then
33222 rm -f conftest.c
33223 touch conftest.c
33224 if $CC -c conftest.c; then
33225 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33226 grep "Warning: gc-sections option ignored" > /dev/null; then
33227 ac_gcsections=no
33230 rm -f conftest.c conftest.o conftest
33232 if test "$ac_gcsections" = "yes"; then
33233 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33236 $as_echo "$ac_gcsections" >&6; }
33238 if test "$ac_test_CFLAGS" = set; then
33239 CFLAGS="$ac_save_CFLAGS"
33240 else
33241 # this is the suspicious part
33242 CFLAGS=''
33246 # Set -z,relro.
33247 # Note this is only for shared objects.
33248 ac_ld_relro=no
33249 if test x"$with_gnu_ld" = x"yes"; then
33250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33251 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33252 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33253 if test -n "$cxx_z_relo"; then
33254 OPT_LDFLAGS="-Wl,-z,relro"
33255 ac_ld_relro=yes
33257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33258 $as_echo "$ac_ld_relro" >&6; }
33261 # Set linker optimization flags.
33262 if test x"$with_gnu_ld" = x"yes"; then
33263 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33270 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33271 ac_save_CXXFLAGS="$CXXFLAGS"
33272 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33275 $as_echo_n "checking for sin in -lm... " >&6; }
33276 if test "${ac_cv_lib_m_sin+set}" = set; then :
33277 $as_echo_n "(cached) " >&6
33278 else
33279 ac_check_lib_save_LIBS=$LIBS
33280 LIBS="-lm $LIBS"
33281 if test x$gcc_no_link = xyes; then
33282 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33285 /* end confdefs.h. */
33287 /* Override any GCC internal prototype to avoid an error.
33288 Use char because int might match the return type of a GCC
33289 builtin and then its argument prototype would still apply. */
33290 #ifdef __cplusplus
33291 extern "C"
33292 #endif
33293 char sin ();
33295 main ()
33297 return sin ();
33299 return 0;
33301 _ACEOF
33302 if ac_fn_c_try_link "$LINENO"; then :
33303 ac_cv_lib_m_sin=yes
33304 else
33305 ac_cv_lib_m_sin=no
33307 rm -f core conftest.err conftest.$ac_objext \
33308 conftest$ac_exeext conftest.$ac_ext
33309 LIBS=$ac_check_lib_save_LIBS
33311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
33312 $as_echo "$ac_cv_lib_m_sin" >&6; }
33313 if test "x$ac_cv_lib_m_sin" = x""yes; then :
33314 libm="-lm"
33317 ac_save_LIBS="$LIBS"
33318 LIBS="$LIBS $libm"
33322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
33323 $as_echo_n "checking for isinf declaration... " >&6; }
33324 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33325 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
33326 $as_echo_n "(cached) " >&6
33327 else
33330 ac_ext=cpp
33331 ac_cpp='$CXXCPP $CPPFLAGS'
33332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33337 /* end confdefs.h. */
33338 #include <math.h>
33339 #ifdef HAVE_IEEEFP_H
33340 #include <ieeefp.h>
33341 #endif
33344 main ()
33346 isinf(0);
33348 return 0;
33350 _ACEOF
33351 if ac_fn_cxx_try_compile "$LINENO"; then :
33352 glibcxx_cv_func_isinf_use=yes
33353 else
33354 glibcxx_cv_func_isinf_use=no
33356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33357 ac_ext=c
33358 ac_cpp='$CPP $CPPFLAGS'
33359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
33368 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
33370 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33371 for ac_func in isinf
33372 do :
33373 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
33374 if test "x$ac_cv_func_isinf" = x""yes; then :
33375 cat >>confdefs.h <<_ACEOF
33376 #define HAVE_ISINF 1
33377 _ACEOF
33380 done
33382 else
33384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
33385 $as_echo_n "checking for _isinf declaration... " >&6; }
33386 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33387 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
33388 $as_echo_n "(cached) " >&6
33389 else
33392 ac_ext=cpp
33393 ac_cpp='$CXXCPP $CPPFLAGS'
33394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33399 /* end confdefs.h. */
33400 #include <math.h>
33401 #ifdef HAVE_IEEEFP_H
33402 #include <ieeefp.h>
33403 #endif
33406 main ()
33408 _isinf(0);
33410 return 0;
33412 _ACEOF
33413 if ac_fn_cxx_try_compile "$LINENO"; then :
33414 glibcxx_cv_func__isinf_use=yes
33415 else
33416 glibcxx_cv_func__isinf_use=no
33418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33419 ac_ext=c
33420 ac_cpp='$CPP $CPPFLAGS'
33421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
33430 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
33432 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33433 for ac_func in _isinf
33434 do :
33435 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
33436 if test "x$ac_cv_func__isinf" = x""yes; then :
33437 cat >>confdefs.h <<_ACEOF
33438 #define HAVE__ISINF 1
33439 _ACEOF
33442 done
33451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
33452 $as_echo_n "checking for isnan declaration... " >&6; }
33453 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33454 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
33455 $as_echo_n "(cached) " >&6
33456 else
33459 ac_ext=cpp
33460 ac_cpp='$CXXCPP $CPPFLAGS'
33461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33466 /* end confdefs.h. */
33467 #include <math.h>
33468 #ifdef HAVE_IEEEFP_H
33469 #include <ieeefp.h>
33470 #endif
33473 main ()
33475 isnan(0);
33477 return 0;
33479 _ACEOF
33480 if ac_fn_cxx_try_compile "$LINENO"; then :
33481 glibcxx_cv_func_isnan_use=yes
33482 else
33483 glibcxx_cv_func_isnan_use=no
33485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33486 ac_ext=c
33487 ac_cpp='$CPP $CPPFLAGS'
33488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
33497 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
33499 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33500 for ac_func in isnan
33501 do :
33502 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
33503 if test "x$ac_cv_func_isnan" = x""yes; then :
33504 cat >>confdefs.h <<_ACEOF
33505 #define HAVE_ISNAN 1
33506 _ACEOF
33509 done
33511 else
33513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
33514 $as_echo_n "checking for _isnan declaration... " >&6; }
33515 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33516 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
33517 $as_echo_n "(cached) " >&6
33518 else
33521 ac_ext=cpp
33522 ac_cpp='$CXXCPP $CPPFLAGS'
33523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33528 /* end confdefs.h. */
33529 #include <math.h>
33530 #ifdef HAVE_IEEEFP_H
33531 #include <ieeefp.h>
33532 #endif
33535 main ()
33537 _isnan(0);
33539 return 0;
33541 _ACEOF
33542 if ac_fn_cxx_try_compile "$LINENO"; then :
33543 glibcxx_cv_func__isnan_use=yes
33544 else
33545 glibcxx_cv_func__isnan_use=no
33547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33548 ac_ext=c
33549 ac_cpp='$CPP $CPPFLAGS'
33550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
33559 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
33561 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33562 for ac_func in _isnan
33563 do :
33564 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
33565 if test "x$ac_cv_func__isnan" = x""yes; then :
33566 cat >>confdefs.h <<_ACEOF
33567 #define HAVE__ISNAN 1
33568 _ACEOF
33571 done
33580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
33581 $as_echo_n "checking for finite declaration... " >&6; }
33582 if test x${glibcxx_cv_func_finite_use+set} != xset; then
33583 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
33584 $as_echo_n "(cached) " >&6
33585 else
33588 ac_ext=cpp
33589 ac_cpp='$CXXCPP $CPPFLAGS'
33590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33595 /* end confdefs.h. */
33596 #include <math.h>
33597 #ifdef HAVE_IEEEFP_H
33598 #include <ieeefp.h>
33599 #endif
33602 main ()
33604 finite(0);
33606 return 0;
33608 _ACEOF
33609 if ac_fn_cxx_try_compile "$LINENO"; then :
33610 glibcxx_cv_func_finite_use=yes
33611 else
33612 glibcxx_cv_func_finite_use=no
33614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33615 ac_ext=c
33616 ac_cpp='$CPP $CPPFLAGS'
33617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
33626 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
33628 if test x$glibcxx_cv_func_finite_use = x"yes"; then
33629 for ac_func in finite
33630 do :
33631 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
33632 if test "x$ac_cv_func_finite" = x""yes; then :
33633 cat >>confdefs.h <<_ACEOF
33634 #define HAVE_FINITE 1
33635 _ACEOF
33638 done
33640 else
33642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
33643 $as_echo_n "checking for _finite declaration... " >&6; }
33644 if test x${glibcxx_cv_func__finite_use+set} != xset; then
33645 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
33646 $as_echo_n "(cached) " >&6
33647 else
33650 ac_ext=cpp
33651 ac_cpp='$CXXCPP $CPPFLAGS'
33652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33657 /* end confdefs.h. */
33658 #include <math.h>
33659 #ifdef HAVE_IEEEFP_H
33660 #include <ieeefp.h>
33661 #endif
33664 main ()
33666 _finite(0);
33668 return 0;
33670 _ACEOF
33671 if ac_fn_cxx_try_compile "$LINENO"; then :
33672 glibcxx_cv_func__finite_use=yes
33673 else
33674 glibcxx_cv_func__finite_use=no
33676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33677 ac_ext=c
33678 ac_cpp='$CPP $CPPFLAGS'
33679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
33688 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
33690 if test x$glibcxx_cv_func__finite_use = x"yes"; then
33691 for ac_func in _finite
33692 do :
33693 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
33694 if test "x$ac_cv_func__finite" = x""yes; then :
33695 cat >>confdefs.h <<_ACEOF
33696 #define HAVE__FINITE 1
33697 _ACEOF
33700 done
33709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
33710 $as_echo_n "checking for sincos declaration... " >&6; }
33711 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
33712 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
33713 $as_echo_n "(cached) " >&6
33714 else
33717 ac_ext=cpp
33718 ac_cpp='$CXXCPP $CPPFLAGS'
33719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33724 /* end confdefs.h. */
33725 #include <math.h>
33727 main ()
33729 sincos(0, 0, 0);
33731 return 0;
33733 _ACEOF
33734 if ac_fn_cxx_try_compile "$LINENO"; then :
33735 glibcxx_cv_func_sincos_use=yes
33736 else
33737 glibcxx_cv_func_sincos_use=no
33739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33740 ac_ext=c
33741 ac_cpp='$CPP $CPPFLAGS'
33742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
33751 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
33753 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33754 for ac_func in sincos
33755 do :
33756 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
33757 if test "x$ac_cv_func_sincos" = x""yes; then :
33758 cat >>confdefs.h <<_ACEOF
33759 #define HAVE_SINCOS 1
33760 _ACEOF
33763 done
33765 else
33767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
33768 $as_echo_n "checking for _sincos declaration... " >&6; }
33769 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33770 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
33771 $as_echo_n "(cached) " >&6
33772 else
33775 ac_ext=cpp
33776 ac_cpp='$CXXCPP $CPPFLAGS'
33777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33782 /* end confdefs.h. */
33783 #include <math.h>
33785 main ()
33787 _sincos(0, 0, 0);
33789 return 0;
33791 _ACEOF
33792 if ac_fn_cxx_try_compile "$LINENO"; then :
33793 glibcxx_cv_func__sincos_use=yes
33794 else
33795 glibcxx_cv_func__sincos_use=no
33797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33798 ac_ext=c
33799 ac_cpp='$CPP $CPPFLAGS'
33800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
33809 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
33811 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33812 for ac_func in _sincos
33813 do :
33814 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33815 if test "x$ac_cv_func__sincos" = x""yes; then :
33816 cat >>confdefs.h <<_ACEOF
33817 #define HAVE__SINCOS 1
33818 _ACEOF
33821 done
33830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33831 $as_echo_n "checking for fpclass declaration... " >&6; }
33832 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33833 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33834 $as_echo_n "(cached) " >&6
33835 else
33838 ac_ext=cpp
33839 ac_cpp='$CXXCPP $CPPFLAGS'
33840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33845 /* end confdefs.h. */
33846 #include <math.h>
33847 #ifdef HAVE_IEEEFP_H
33848 #include <ieeefp.h>
33849 #endif
33852 main ()
33854 fpclass(0);
33856 return 0;
33858 _ACEOF
33859 if ac_fn_cxx_try_compile "$LINENO"; then :
33860 glibcxx_cv_func_fpclass_use=yes
33861 else
33862 glibcxx_cv_func_fpclass_use=no
33864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33865 ac_ext=c
33866 ac_cpp='$CPP $CPPFLAGS'
33867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33876 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33878 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33879 for ac_func in fpclass
33880 do :
33881 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33882 if test "x$ac_cv_func_fpclass" = x""yes; then :
33883 cat >>confdefs.h <<_ACEOF
33884 #define HAVE_FPCLASS 1
33885 _ACEOF
33888 done
33890 else
33892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33893 $as_echo_n "checking for _fpclass declaration... " >&6; }
33894 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33895 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33896 $as_echo_n "(cached) " >&6
33897 else
33900 ac_ext=cpp
33901 ac_cpp='$CXXCPP $CPPFLAGS'
33902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33907 /* end confdefs.h. */
33908 #include <math.h>
33909 #ifdef HAVE_IEEEFP_H
33910 #include <ieeefp.h>
33911 #endif
33914 main ()
33916 _fpclass(0);
33918 return 0;
33920 _ACEOF
33921 if ac_fn_cxx_try_compile "$LINENO"; then :
33922 glibcxx_cv_func__fpclass_use=yes
33923 else
33924 glibcxx_cv_func__fpclass_use=no
33926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33927 ac_ext=c
33928 ac_cpp='$CPP $CPPFLAGS'
33929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33938 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33940 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33941 for ac_func in _fpclass
33942 do :
33943 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33944 if test "x$ac_cv_func__fpclass" = x""yes; then :
33945 cat >>confdefs.h <<_ACEOF
33946 #define HAVE__FPCLASS 1
33947 _ACEOF
33950 done
33959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
33960 $as_echo_n "checking for qfpclass declaration... " >&6; }
33961 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33962 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
33963 $as_echo_n "(cached) " >&6
33964 else
33967 ac_ext=cpp
33968 ac_cpp='$CXXCPP $CPPFLAGS'
33969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33974 /* end confdefs.h. */
33975 #include <math.h>
33976 #ifdef HAVE_IEEEFP_H
33977 #include <ieeefp.h>
33978 #endif
33981 main ()
33983 qfpclass(0);
33985 return 0;
33987 _ACEOF
33988 if ac_fn_cxx_try_compile "$LINENO"; then :
33989 glibcxx_cv_func_qfpclass_use=yes
33990 else
33991 glibcxx_cv_func_qfpclass_use=no
33993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33994 ac_ext=c
33995 ac_cpp='$CPP $CPPFLAGS'
33996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34005 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34007 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34008 for ac_func in qfpclass
34009 do :
34010 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34011 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34012 cat >>confdefs.h <<_ACEOF
34013 #define HAVE_QFPCLASS 1
34014 _ACEOF
34017 done
34019 else
34021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34022 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34023 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34024 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34025 $as_echo_n "(cached) " >&6
34026 else
34029 ac_ext=cpp
34030 ac_cpp='$CXXCPP $CPPFLAGS'
34031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34036 /* end confdefs.h. */
34037 #include <math.h>
34038 #ifdef HAVE_IEEEFP_H
34039 #include <ieeefp.h>
34040 #endif
34043 main ()
34045 _qfpclass(0);
34047 return 0;
34049 _ACEOF
34050 if ac_fn_cxx_try_compile "$LINENO"; then :
34051 glibcxx_cv_func__qfpclass_use=yes
34052 else
34053 glibcxx_cv_func__qfpclass_use=no
34055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34056 ac_ext=c
34057 ac_cpp='$CPP $CPPFLAGS'
34058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34067 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34069 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34070 for ac_func in _qfpclass
34071 do :
34072 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34073 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34074 cat >>confdefs.h <<_ACEOF
34075 #define HAVE__QFPCLASS 1
34076 _ACEOF
34079 done
34088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34089 $as_echo_n "checking for hypot declaration... " >&6; }
34090 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34091 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34092 $as_echo_n "(cached) " >&6
34093 else
34096 ac_ext=cpp
34097 ac_cpp='$CXXCPP $CPPFLAGS'
34098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34103 /* end confdefs.h. */
34104 #include <math.h>
34106 main ()
34108 hypot(0, 0);
34110 return 0;
34112 _ACEOF
34113 if ac_fn_cxx_try_compile "$LINENO"; then :
34114 glibcxx_cv_func_hypot_use=yes
34115 else
34116 glibcxx_cv_func_hypot_use=no
34118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34119 ac_ext=c
34120 ac_cpp='$CPP $CPPFLAGS'
34121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34130 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34132 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34133 for ac_func in hypot
34134 do :
34135 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34136 if test "x$ac_cv_func_hypot" = x""yes; then :
34137 cat >>confdefs.h <<_ACEOF
34138 #define HAVE_HYPOT 1
34139 _ACEOF
34142 done
34144 else
34146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34147 $as_echo_n "checking for _hypot declaration... " >&6; }
34148 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34149 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34150 $as_echo_n "(cached) " >&6
34151 else
34154 ac_ext=cpp
34155 ac_cpp='$CXXCPP $CPPFLAGS'
34156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34161 /* end confdefs.h. */
34162 #include <math.h>
34164 main ()
34166 _hypot(0, 0);
34168 return 0;
34170 _ACEOF
34171 if ac_fn_cxx_try_compile "$LINENO"; then :
34172 glibcxx_cv_func__hypot_use=yes
34173 else
34174 glibcxx_cv_func__hypot_use=no
34176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34177 ac_ext=c
34178 ac_cpp='$CPP $CPPFLAGS'
34179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34188 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34190 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34191 for ac_func in _hypot
34192 do :
34193 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34194 if test "x$ac_cv_func__hypot" = x""yes; then :
34195 cat >>confdefs.h <<_ACEOF
34196 #define HAVE__HYPOT 1
34197 _ACEOF
34200 done
34209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34210 $as_echo_n "checking for float trig functions... " >&6; }
34211 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34212 $as_echo_n "(cached) " >&6
34213 else
34216 ac_ext=cpp
34217 ac_cpp='$CXXCPP $CPPFLAGS'
34218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34223 /* end confdefs.h. */
34224 #include <math.h>
34226 main ()
34228 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34230 return 0;
34232 _ACEOF
34233 if ac_fn_cxx_try_compile "$LINENO"; then :
34234 glibcxx_cv_func_float_trig_use=yes
34235 else
34236 glibcxx_cv_func_float_trig_use=no
34238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34239 ac_ext=c
34240 ac_cpp='$CPP $CPPFLAGS'
34241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34248 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34249 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34250 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34251 do :
34252 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34253 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34254 eval as_val=\$$as_ac_var
34255 if test "x$as_val" = x""yes; then :
34256 cat >>confdefs.h <<_ACEOF
34257 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34258 _ACEOF
34261 done
34263 else
34264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34265 $as_echo_n "checking for _float trig functions... " >&6; }
34266 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34267 $as_echo_n "(cached) " >&6
34268 else
34271 ac_ext=cpp
34272 ac_cpp='$CXXCPP $CPPFLAGS'
34273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34278 /* end confdefs.h. */
34279 #include <math.h>
34281 main ()
34283 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34285 return 0;
34287 _ACEOF
34288 if ac_fn_cxx_try_compile "$LINENO"; then :
34289 glibcxx_cv_func__float_trig_use=yes
34290 else
34291 glibcxx_cv_func__float_trig_use=no
34293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34294 ac_ext=c
34295 ac_cpp='$CPP $CPPFLAGS'
34296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34303 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
34304 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34305 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34306 do :
34307 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34308 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34309 eval as_val=\$$as_ac_var
34310 if test "x$as_val" = x""yes; then :
34311 cat >>confdefs.h <<_ACEOF
34312 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34313 _ACEOF
34316 done
34325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
34326 $as_echo_n "checking for float round functions... " >&6; }
34327 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
34328 $as_echo_n "(cached) " >&6
34329 else
34332 ac_ext=cpp
34333 ac_cpp='$CXXCPP $CPPFLAGS'
34334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34339 /* end confdefs.h. */
34340 #include <math.h>
34342 main ()
34344 ceilf (0); floorf (0);
34346 return 0;
34348 _ACEOF
34349 if ac_fn_cxx_try_compile "$LINENO"; then :
34350 glibcxx_cv_func_float_round_use=yes
34351 else
34352 glibcxx_cv_func_float_round_use=no
34354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34355 ac_ext=c
34356 ac_cpp='$CPP $CPPFLAGS'
34357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
34364 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
34365 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34366 for ac_func in ceilf floorf
34367 do :
34368 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34369 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34370 eval as_val=\$$as_ac_var
34371 if test "x$as_val" = x""yes; then :
34372 cat >>confdefs.h <<_ACEOF
34373 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34374 _ACEOF
34377 done
34379 else
34380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
34381 $as_echo_n "checking for _float round functions... " >&6; }
34382 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
34383 $as_echo_n "(cached) " >&6
34384 else
34387 ac_ext=cpp
34388 ac_cpp='$CXXCPP $CPPFLAGS'
34389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34394 /* end confdefs.h. */
34395 #include <math.h>
34397 main ()
34399 _ceilf (0); _floorf (0);
34401 return 0;
34403 _ACEOF
34404 if ac_fn_cxx_try_compile "$LINENO"; then :
34405 glibcxx_cv_func__float_round_use=yes
34406 else
34407 glibcxx_cv_func__float_round_use=no
34409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34410 ac_ext=c
34411 ac_cpp='$CPP $CPPFLAGS'
34412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
34419 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
34420 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34421 for ac_func in _ceilf _floorf
34422 do :
34423 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34424 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34425 eval as_val=\$$as_ac_var
34426 if test "x$as_val" = x""yes; then :
34427 cat >>confdefs.h <<_ACEOF
34428 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34429 _ACEOF
34432 done
34442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
34443 $as_echo_n "checking for expf declaration... " >&6; }
34444 if test x${glibcxx_cv_func_expf_use+set} != xset; then
34445 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
34446 $as_echo_n "(cached) " >&6
34447 else
34450 ac_ext=cpp
34451 ac_cpp='$CXXCPP $CPPFLAGS'
34452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34457 /* end confdefs.h. */
34458 #include <math.h>
34459 #ifdef HAVE_IEEEFP_H
34460 #include <ieeefp.h>
34461 #endif
34464 main ()
34466 expf(0);
34468 return 0;
34470 _ACEOF
34471 if ac_fn_cxx_try_compile "$LINENO"; then :
34472 glibcxx_cv_func_expf_use=yes
34473 else
34474 glibcxx_cv_func_expf_use=no
34476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34477 ac_ext=c
34478 ac_cpp='$CPP $CPPFLAGS'
34479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
34488 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
34490 if test x$glibcxx_cv_func_expf_use = x"yes"; then
34491 for ac_func in expf
34492 do :
34493 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
34494 if test "x$ac_cv_func_expf" = x""yes; then :
34495 cat >>confdefs.h <<_ACEOF
34496 #define HAVE_EXPF 1
34497 _ACEOF
34500 done
34502 else
34504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
34505 $as_echo_n "checking for _expf declaration... " >&6; }
34506 if test x${glibcxx_cv_func__expf_use+set} != xset; then
34507 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
34508 $as_echo_n "(cached) " >&6
34509 else
34512 ac_ext=cpp
34513 ac_cpp='$CXXCPP $CPPFLAGS'
34514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34519 /* end confdefs.h. */
34520 #include <math.h>
34521 #ifdef HAVE_IEEEFP_H
34522 #include <ieeefp.h>
34523 #endif
34526 main ()
34528 _expf(0);
34530 return 0;
34532 _ACEOF
34533 if ac_fn_cxx_try_compile "$LINENO"; then :
34534 glibcxx_cv_func__expf_use=yes
34535 else
34536 glibcxx_cv_func__expf_use=no
34538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34539 ac_ext=c
34540 ac_cpp='$CPP $CPPFLAGS'
34541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
34550 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
34552 if test x$glibcxx_cv_func__expf_use = x"yes"; then
34553 for ac_func in _expf
34554 do :
34555 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
34556 if test "x$ac_cv_func__expf" = x""yes; then :
34557 cat >>confdefs.h <<_ACEOF
34558 #define HAVE__EXPF 1
34559 _ACEOF
34562 done
34571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
34572 $as_echo_n "checking for isnanf declaration... " >&6; }
34573 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
34574 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
34575 $as_echo_n "(cached) " >&6
34576 else
34579 ac_ext=cpp
34580 ac_cpp='$CXXCPP $CPPFLAGS'
34581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34586 /* end confdefs.h. */
34587 #include <math.h>
34588 #ifdef HAVE_IEEEFP_H
34589 #include <ieeefp.h>
34590 #endif
34593 main ()
34595 isnanf(0);
34597 return 0;
34599 _ACEOF
34600 if ac_fn_cxx_try_compile "$LINENO"; then :
34601 glibcxx_cv_func_isnanf_use=yes
34602 else
34603 glibcxx_cv_func_isnanf_use=no
34605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34606 ac_ext=c
34607 ac_cpp='$CPP $CPPFLAGS'
34608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
34617 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
34619 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
34620 for ac_func in isnanf
34621 do :
34622 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
34623 if test "x$ac_cv_func_isnanf" = x""yes; then :
34624 cat >>confdefs.h <<_ACEOF
34625 #define HAVE_ISNANF 1
34626 _ACEOF
34629 done
34631 else
34633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
34634 $as_echo_n "checking for _isnanf declaration... " >&6; }
34635 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
34636 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
34637 $as_echo_n "(cached) " >&6
34638 else
34641 ac_ext=cpp
34642 ac_cpp='$CXXCPP $CPPFLAGS'
34643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34648 /* end confdefs.h. */
34649 #include <math.h>
34650 #ifdef HAVE_IEEEFP_H
34651 #include <ieeefp.h>
34652 #endif
34655 main ()
34657 _isnanf(0);
34659 return 0;
34661 _ACEOF
34662 if ac_fn_cxx_try_compile "$LINENO"; then :
34663 glibcxx_cv_func__isnanf_use=yes
34664 else
34665 glibcxx_cv_func__isnanf_use=no
34667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34668 ac_ext=c
34669 ac_cpp='$CPP $CPPFLAGS'
34670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
34679 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
34681 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
34682 for ac_func in _isnanf
34683 do :
34684 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
34685 if test "x$ac_cv_func__isnanf" = x""yes; then :
34686 cat >>confdefs.h <<_ACEOF
34687 #define HAVE__ISNANF 1
34688 _ACEOF
34691 done
34700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
34701 $as_echo_n "checking for isinff declaration... " >&6; }
34702 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
34703 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
34704 $as_echo_n "(cached) " >&6
34705 else
34708 ac_ext=cpp
34709 ac_cpp='$CXXCPP $CPPFLAGS'
34710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34715 /* end confdefs.h. */
34716 #include <math.h>
34717 #ifdef HAVE_IEEEFP_H
34718 #include <ieeefp.h>
34719 #endif
34722 main ()
34724 isinff(0);
34726 return 0;
34728 _ACEOF
34729 if ac_fn_cxx_try_compile "$LINENO"; then :
34730 glibcxx_cv_func_isinff_use=yes
34731 else
34732 glibcxx_cv_func_isinff_use=no
34734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34735 ac_ext=c
34736 ac_cpp='$CPP $CPPFLAGS'
34737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
34746 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
34748 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
34749 for ac_func in isinff
34750 do :
34751 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
34752 if test "x$ac_cv_func_isinff" = x""yes; then :
34753 cat >>confdefs.h <<_ACEOF
34754 #define HAVE_ISINFF 1
34755 _ACEOF
34758 done
34760 else
34762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
34763 $as_echo_n "checking for _isinff declaration... " >&6; }
34764 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
34765 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
34766 $as_echo_n "(cached) " >&6
34767 else
34770 ac_ext=cpp
34771 ac_cpp='$CXXCPP $CPPFLAGS'
34772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34777 /* end confdefs.h. */
34778 #include <math.h>
34779 #ifdef HAVE_IEEEFP_H
34780 #include <ieeefp.h>
34781 #endif
34784 main ()
34786 _isinff(0);
34788 return 0;
34790 _ACEOF
34791 if ac_fn_cxx_try_compile "$LINENO"; then :
34792 glibcxx_cv_func__isinff_use=yes
34793 else
34794 glibcxx_cv_func__isinff_use=no
34796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34797 ac_ext=c
34798 ac_cpp='$CPP $CPPFLAGS'
34799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
34808 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
34810 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34811 for ac_func in _isinff
34812 do :
34813 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34814 if test "x$ac_cv_func__isinff" = x""yes; then :
34815 cat >>confdefs.h <<_ACEOF
34816 #define HAVE__ISINFF 1
34817 _ACEOF
34820 done
34829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34830 $as_echo_n "checking for atan2f declaration... " >&6; }
34831 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34832 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34833 $as_echo_n "(cached) " >&6
34834 else
34837 ac_ext=cpp
34838 ac_cpp='$CXXCPP $CPPFLAGS'
34839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34844 /* end confdefs.h. */
34845 #include <math.h>
34847 main ()
34849 atan2f(0, 0);
34851 return 0;
34853 _ACEOF
34854 if ac_fn_cxx_try_compile "$LINENO"; then :
34855 glibcxx_cv_func_atan2f_use=yes
34856 else
34857 glibcxx_cv_func_atan2f_use=no
34859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34860 ac_ext=c
34861 ac_cpp='$CPP $CPPFLAGS'
34862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34871 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34873 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34874 for ac_func in atan2f
34875 do :
34876 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34877 if test "x$ac_cv_func_atan2f" = x""yes; then :
34878 cat >>confdefs.h <<_ACEOF
34879 #define HAVE_ATAN2F 1
34880 _ACEOF
34883 done
34885 else
34887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34888 $as_echo_n "checking for _atan2f declaration... " >&6; }
34889 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34890 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34891 $as_echo_n "(cached) " >&6
34892 else
34895 ac_ext=cpp
34896 ac_cpp='$CXXCPP $CPPFLAGS'
34897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34902 /* end confdefs.h. */
34903 #include <math.h>
34905 main ()
34907 _atan2f(0, 0);
34909 return 0;
34911 _ACEOF
34912 if ac_fn_cxx_try_compile "$LINENO"; then :
34913 glibcxx_cv_func__atan2f_use=yes
34914 else
34915 glibcxx_cv_func__atan2f_use=no
34917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34918 ac_ext=c
34919 ac_cpp='$CPP $CPPFLAGS'
34920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
34929 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34931 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34932 for ac_func in _atan2f
34933 do :
34934 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34935 if test "x$ac_cv_func__atan2f" = x""yes; then :
34936 cat >>confdefs.h <<_ACEOF
34937 #define HAVE__ATAN2F 1
34938 _ACEOF
34941 done
34950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34951 $as_echo_n "checking for fabsf declaration... " >&6; }
34952 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34953 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34954 $as_echo_n "(cached) " >&6
34955 else
34958 ac_ext=cpp
34959 ac_cpp='$CXXCPP $CPPFLAGS'
34960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34965 /* end confdefs.h. */
34966 #include <math.h>
34967 #ifdef HAVE_IEEEFP_H
34968 #include <ieeefp.h>
34969 #endif
34972 main ()
34974 fabsf(0);
34976 return 0;
34978 _ACEOF
34979 if ac_fn_cxx_try_compile "$LINENO"; then :
34980 glibcxx_cv_func_fabsf_use=yes
34981 else
34982 glibcxx_cv_func_fabsf_use=no
34984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34985 ac_ext=c
34986 ac_cpp='$CPP $CPPFLAGS'
34987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
34996 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
34998 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
34999 for ac_func in fabsf
35000 do :
35001 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35002 if test "x$ac_cv_func_fabsf" = x""yes; then :
35003 cat >>confdefs.h <<_ACEOF
35004 #define HAVE_FABSF 1
35005 _ACEOF
35008 done
35010 else
35012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35013 $as_echo_n "checking for _fabsf declaration... " >&6; }
35014 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35015 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35016 $as_echo_n "(cached) " >&6
35017 else
35020 ac_ext=cpp
35021 ac_cpp='$CXXCPP $CPPFLAGS'
35022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35027 /* end confdefs.h. */
35028 #include <math.h>
35029 #ifdef HAVE_IEEEFP_H
35030 #include <ieeefp.h>
35031 #endif
35034 main ()
35036 _fabsf(0);
35038 return 0;
35040 _ACEOF
35041 if ac_fn_cxx_try_compile "$LINENO"; then :
35042 glibcxx_cv_func__fabsf_use=yes
35043 else
35044 glibcxx_cv_func__fabsf_use=no
35046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35047 ac_ext=c
35048 ac_cpp='$CPP $CPPFLAGS'
35049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35058 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35060 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35061 for ac_func in _fabsf
35062 do :
35063 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35064 if test "x$ac_cv_func__fabsf" = x""yes; then :
35065 cat >>confdefs.h <<_ACEOF
35066 #define HAVE__FABSF 1
35067 _ACEOF
35070 done
35079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35080 $as_echo_n "checking for fmodf declaration... " >&6; }
35081 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35082 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35083 $as_echo_n "(cached) " >&6
35084 else
35087 ac_ext=cpp
35088 ac_cpp='$CXXCPP $CPPFLAGS'
35089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35094 /* end confdefs.h. */
35095 #include <math.h>
35097 main ()
35099 fmodf(0, 0);
35101 return 0;
35103 _ACEOF
35104 if ac_fn_cxx_try_compile "$LINENO"; then :
35105 glibcxx_cv_func_fmodf_use=yes
35106 else
35107 glibcxx_cv_func_fmodf_use=no
35109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35110 ac_ext=c
35111 ac_cpp='$CPP $CPPFLAGS'
35112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35121 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35123 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35124 for ac_func in fmodf
35125 do :
35126 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35127 if test "x$ac_cv_func_fmodf" = x""yes; then :
35128 cat >>confdefs.h <<_ACEOF
35129 #define HAVE_FMODF 1
35130 _ACEOF
35133 done
35135 else
35137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35138 $as_echo_n "checking for _fmodf declaration... " >&6; }
35139 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35140 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35141 $as_echo_n "(cached) " >&6
35142 else
35145 ac_ext=cpp
35146 ac_cpp='$CXXCPP $CPPFLAGS'
35147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35152 /* end confdefs.h. */
35153 #include <math.h>
35155 main ()
35157 _fmodf(0, 0);
35159 return 0;
35161 _ACEOF
35162 if ac_fn_cxx_try_compile "$LINENO"; then :
35163 glibcxx_cv_func__fmodf_use=yes
35164 else
35165 glibcxx_cv_func__fmodf_use=no
35167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35168 ac_ext=c
35169 ac_cpp='$CPP $CPPFLAGS'
35170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35179 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35181 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35182 for ac_func in _fmodf
35183 do :
35184 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35185 if test "x$ac_cv_func__fmodf" = x""yes; then :
35186 cat >>confdefs.h <<_ACEOF
35187 #define HAVE__FMODF 1
35188 _ACEOF
35191 done
35200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35201 $as_echo_n "checking for frexpf declaration... " >&6; }
35202 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35203 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35204 $as_echo_n "(cached) " >&6
35205 else
35208 ac_ext=cpp
35209 ac_cpp='$CXXCPP $CPPFLAGS'
35210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35215 /* end confdefs.h. */
35216 #include <math.h>
35218 main ()
35220 frexpf(0, 0);
35222 return 0;
35224 _ACEOF
35225 if ac_fn_cxx_try_compile "$LINENO"; then :
35226 glibcxx_cv_func_frexpf_use=yes
35227 else
35228 glibcxx_cv_func_frexpf_use=no
35230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35231 ac_ext=c
35232 ac_cpp='$CPP $CPPFLAGS'
35233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35242 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35244 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35245 for ac_func in frexpf
35246 do :
35247 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35248 if test "x$ac_cv_func_frexpf" = x""yes; then :
35249 cat >>confdefs.h <<_ACEOF
35250 #define HAVE_FREXPF 1
35251 _ACEOF
35254 done
35256 else
35258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35259 $as_echo_n "checking for _frexpf declaration... " >&6; }
35260 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35261 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
35262 $as_echo_n "(cached) " >&6
35263 else
35266 ac_ext=cpp
35267 ac_cpp='$CXXCPP $CPPFLAGS'
35268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35273 /* end confdefs.h. */
35274 #include <math.h>
35276 main ()
35278 _frexpf(0, 0);
35280 return 0;
35282 _ACEOF
35283 if ac_fn_cxx_try_compile "$LINENO"; then :
35284 glibcxx_cv_func__frexpf_use=yes
35285 else
35286 glibcxx_cv_func__frexpf_use=no
35288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35289 ac_ext=c
35290 ac_cpp='$CPP $CPPFLAGS'
35291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
35300 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35302 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35303 for ac_func in _frexpf
35304 do :
35305 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
35306 if test "x$ac_cv_func__frexpf" = x""yes; then :
35307 cat >>confdefs.h <<_ACEOF
35308 #define HAVE__FREXPF 1
35309 _ACEOF
35312 done
35321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
35322 $as_echo_n "checking for hypotf declaration... " >&6; }
35323 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
35324 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
35325 $as_echo_n "(cached) " >&6
35326 else
35329 ac_ext=cpp
35330 ac_cpp='$CXXCPP $CPPFLAGS'
35331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35336 /* end confdefs.h. */
35337 #include <math.h>
35339 main ()
35341 hypotf(0, 0);
35343 return 0;
35345 _ACEOF
35346 if ac_fn_cxx_try_compile "$LINENO"; then :
35347 glibcxx_cv_func_hypotf_use=yes
35348 else
35349 glibcxx_cv_func_hypotf_use=no
35351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35352 ac_ext=c
35353 ac_cpp='$CPP $CPPFLAGS'
35354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
35363 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
35365 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
35366 for ac_func in hypotf
35367 do :
35368 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
35369 if test "x$ac_cv_func_hypotf" = x""yes; then :
35370 cat >>confdefs.h <<_ACEOF
35371 #define HAVE_HYPOTF 1
35372 _ACEOF
35375 done
35377 else
35379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
35380 $as_echo_n "checking for _hypotf declaration... " >&6; }
35381 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
35382 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
35383 $as_echo_n "(cached) " >&6
35384 else
35387 ac_ext=cpp
35388 ac_cpp='$CXXCPP $CPPFLAGS'
35389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35394 /* end confdefs.h. */
35395 #include <math.h>
35397 main ()
35399 _hypotf(0, 0);
35401 return 0;
35403 _ACEOF
35404 if ac_fn_cxx_try_compile "$LINENO"; then :
35405 glibcxx_cv_func__hypotf_use=yes
35406 else
35407 glibcxx_cv_func__hypotf_use=no
35409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35410 ac_ext=c
35411 ac_cpp='$CPP $CPPFLAGS'
35412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
35421 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
35423 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
35424 for ac_func in _hypotf
35425 do :
35426 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
35427 if test "x$ac_cv_func__hypotf" = x""yes; then :
35428 cat >>confdefs.h <<_ACEOF
35429 #define HAVE__HYPOTF 1
35430 _ACEOF
35433 done
35442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
35443 $as_echo_n "checking for ldexpf declaration... " >&6; }
35444 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
35445 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
35446 $as_echo_n "(cached) " >&6
35447 else
35450 ac_ext=cpp
35451 ac_cpp='$CXXCPP $CPPFLAGS'
35452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35457 /* end confdefs.h. */
35458 #include <math.h>
35460 main ()
35462 ldexpf(0, 0);
35464 return 0;
35466 _ACEOF
35467 if ac_fn_cxx_try_compile "$LINENO"; then :
35468 glibcxx_cv_func_ldexpf_use=yes
35469 else
35470 glibcxx_cv_func_ldexpf_use=no
35472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35473 ac_ext=c
35474 ac_cpp='$CPP $CPPFLAGS'
35475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
35484 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
35486 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
35487 for ac_func in ldexpf
35488 do :
35489 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
35490 if test "x$ac_cv_func_ldexpf" = x""yes; then :
35491 cat >>confdefs.h <<_ACEOF
35492 #define HAVE_LDEXPF 1
35493 _ACEOF
35496 done
35498 else
35500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
35501 $as_echo_n "checking for _ldexpf declaration... " >&6; }
35502 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
35503 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
35504 $as_echo_n "(cached) " >&6
35505 else
35508 ac_ext=cpp
35509 ac_cpp='$CXXCPP $CPPFLAGS'
35510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35515 /* end confdefs.h. */
35516 #include <math.h>
35518 main ()
35520 _ldexpf(0, 0);
35522 return 0;
35524 _ACEOF
35525 if ac_fn_cxx_try_compile "$LINENO"; then :
35526 glibcxx_cv_func__ldexpf_use=yes
35527 else
35528 glibcxx_cv_func__ldexpf_use=no
35530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35531 ac_ext=c
35532 ac_cpp='$CPP $CPPFLAGS'
35533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
35542 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
35544 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
35545 for ac_func in _ldexpf
35546 do :
35547 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
35548 if test "x$ac_cv_func__ldexpf" = x""yes; then :
35549 cat >>confdefs.h <<_ACEOF
35550 #define HAVE__LDEXPF 1
35551 _ACEOF
35554 done
35563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
35564 $as_echo_n "checking for logf declaration... " >&6; }
35565 if test x${glibcxx_cv_func_logf_use+set} != xset; then
35566 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
35567 $as_echo_n "(cached) " >&6
35568 else
35571 ac_ext=cpp
35572 ac_cpp='$CXXCPP $CPPFLAGS'
35573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35578 /* end confdefs.h. */
35579 #include <math.h>
35580 #ifdef HAVE_IEEEFP_H
35581 #include <ieeefp.h>
35582 #endif
35585 main ()
35587 logf(0);
35589 return 0;
35591 _ACEOF
35592 if ac_fn_cxx_try_compile "$LINENO"; then :
35593 glibcxx_cv_func_logf_use=yes
35594 else
35595 glibcxx_cv_func_logf_use=no
35597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35598 ac_ext=c
35599 ac_cpp='$CPP $CPPFLAGS'
35600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
35609 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
35611 if test x$glibcxx_cv_func_logf_use = x"yes"; then
35612 for ac_func in logf
35613 do :
35614 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
35615 if test "x$ac_cv_func_logf" = x""yes; then :
35616 cat >>confdefs.h <<_ACEOF
35617 #define HAVE_LOGF 1
35618 _ACEOF
35621 done
35623 else
35625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
35626 $as_echo_n "checking for _logf declaration... " >&6; }
35627 if test x${glibcxx_cv_func__logf_use+set} != xset; then
35628 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
35629 $as_echo_n "(cached) " >&6
35630 else
35633 ac_ext=cpp
35634 ac_cpp='$CXXCPP $CPPFLAGS'
35635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35640 /* end confdefs.h. */
35641 #include <math.h>
35642 #ifdef HAVE_IEEEFP_H
35643 #include <ieeefp.h>
35644 #endif
35647 main ()
35649 _logf(0);
35651 return 0;
35653 _ACEOF
35654 if ac_fn_cxx_try_compile "$LINENO"; then :
35655 glibcxx_cv_func__logf_use=yes
35656 else
35657 glibcxx_cv_func__logf_use=no
35659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35660 ac_ext=c
35661 ac_cpp='$CPP $CPPFLAGS'
35662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
35671 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
35673 if test x$glibcxx_cv_func__logf_use = x"yes"; then
35674 for ac_func in _logf
35675 do :
35676 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
35677 if test "x$ac_cv_func__logf" = x""yes; then :
35678 cat >>confdefs.h <<_ACEOF
35679 #define HAVE__LOGF 1
35680 _ACEOF
35683 done
35692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
35693 $as_echo_n "checking for log10f declaration... " >&6; }
35694 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
35695 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
35696 $as_echo_n "(cached) " >&6
35697 else
35700 ac_ext=cpp
35701 ac_cpp='$CXXCPP $CPPFLAGS'
35702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35707 /* end confdefs.h. */
35708 #include <math.h>
35709 #ifdef HAVE_IEEEFP_H
35710 #include <ieeefp.h>
35711 #endif
35714 main ()
35716 log10f(0);
35718 return 0;
35720 _ACEOF
35721 if ac_fn_cxx_try_compile "$LINENO"; then :
35722 glibcxx_cv_func_log10f_use=yes
35723 else
35724 glibcxx_cv_func_log10f_use=no
35726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35727 ac_ext=c
35728 ac_cpp='$CPP $CPPFLAGS'
35729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
35738 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
35740 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
35741 for ac_func in log10f
35742 do :
35743 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
35744 if test "x$ac_cv_func_log10f" = x""yes; then :
35745 cat >>confdefs.h <<_ACEOF
35746 #define HAVE_LOG10F 1
35747 _ACEOF
35750 done
35752 else
35754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
35755 $as_echo_n "checking for _log10f declaration... " >&6; }
35756 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
35757 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
35758 $as_echo_n "(cached) " >&6
35759 else
35762 ac_ext=cpp
35763 ac_cpp='$CXXCPP $CPPFLAGS'
35764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35769 /* end confdefs.h. */
35770 #include <math.h>
35771 #ifdef HAVE_IEEEFP_H
35772 #include <ieeefp.h>
35773 #endif
35776 main ()
35778 _log10f(0);
35780 return 0;
35782 _ACEOF
35783 if ac_fn_cxx_try_compile "$LINENO"; then :
35784 glibcxx_cv_func__log10f_use=yes
35785 else
35786 glibcxx_cv_func__log10f_use=no
35788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35789 ac_ext=c
35790 ac_cpp='$CPP $CPPFLAGS'
35791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
35800 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
35802 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
35803 for ac_func in _log10f
35804 do :
35805 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
35806 if test "x$ac_cv_func__log10f" = x""yes; then :
35807 cat >>confdefs.h <<_ACEOF
35808 #define HAVE__LOG10F 1
35809 _ACEOF
35812 done
35821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35822 $as_echo_n "checking for modff declaration... " >&6; }
35823 if test x${glibcxx_cv_func_modff_use+set} != xset; then
35824 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35825 $as_echo_n "(cached) " >&6
35826 else
35829 ac_ext=cpp
35830 ac_cpp='$CXXCPP $CPPFLAGS'
35831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35836 /* end confdefs.h. */
35837 #include <math.h>
35839 main ()
35841 modff(0, 0);
35843 return 0;
35845 _ACEOF
35846 if ac_fn_cxx_try_compile "$LINENO"; then :
35847 glibcxx_cv_func_modff_use=yes
35848 else
35849 glibcxx_cv_func_modff_use=no
35851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35852 ac_ext=c
35853 ac_cpp='$CPP $CPPFLAGS'
35854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35863 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35865 if test x$glibcxx_cv_func_modff_use = x"yes"; then
35866 for ac_func in modff
35867 do :
35868 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35869 if test "x$ac_cv_func_modff" = x""yes; then :
35870 cat >>confdefs.h <<_ACEOF
35871 #define HAVE_MODFF 1
35872 _ACEOF
35875 done
35877 else
35879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35880 $as_echo_n "checking for _modff declaration... " >&6; }
35881 if test x${glibcxx_cv_func__modff_use+set} != xset; then
35882 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35883 $as_echo_n "(cached) " >&6
35884 else
35887 ac_ext=cpp
35888 ac_cpp='$CXXCPP $CPPFLAGS'
35889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35894 /* end confdefs.h. */
35895 #include <math.h>
35897 main ()
35899 _modff(0, 0);
35901 return 0;
35903 _ACEOF
35904 if ac_fn_cxx_try_compile "$LINENO"; then :
35905 glibcxx_cv_func__modff_use=yes
35906 else
35907 glibcxx_cv_func__modff_use=no
35909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35910 ac_ext=c
35911 ac_cpp='$CPP $CPPFLAGS'
35912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35921 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35923 if test x$glibcxx_cv_func__modff_use = x"yes"; then
35924 for ac_func in _modff
35925 do :
35926 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35927 if test "x$ac_cv_func__modff" = x""yes; then :
35928 cat >>confdefs.h <<_ACEOF
35929 #define HAVE__MODFF 1
35930 _ACEOF
35933 done
35942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35943 $as_echo_n "checking for modf declaration... " >&6; }
35944 if test x${glibcxx_cv_func_modf_use+set} != xset; then
35945 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35946 $as_echo_n "(cached) " >&6
35947 else
35950 ac_ext=cpp
35951 ac_cpp='$CXXCPP $CPPFLAGS'
35952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35957 /* end confdefs.h. */
35958 #include <math.h>
35960 main ()
35962 modf(0, 0);
35964 return 0;
35966 _ACEOF
35967 if ac_fn_cxx_try_compile "$LINENO"; then :
35968 glibcxx_cv_func_modf_use=yes
35969 else
35970 glibcxx_cv_func_modf_use=no
35972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35973 ac_ext=c
35974 ac_cpp='$CPP $CPPFLAGS'
35975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
35984 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
35986 if test x$glibcxx_cv_func_modf_use = x"yes"; then
35987 for ac_func in modf
35988 do :
35989 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
35990 if test "x$ac_cv_func_modf" = x""yes; then :
35991 cat >>confdefs.h <<_ACEOF
35992 #define HAVE_MODF 1
35993 _ACEOF
35996 done
35998 else
36000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36001 $as_echo_n "checking for _modf declaration... " >&6; }
36002 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36003 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36004 $as_echo_n "(cached) " >&6
36005 else
36008 ac_ext=cpp
36009 ac_cpp='$CXXCPP $CPPFLAGS'
36010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36015 /* end confdefs.h. */
36016 #include <math.h>
36018 main ()
36020 _modf(0, 0);
36022 return 0;
36024 _ACEOF
36025 if ac_fn_cxx_try_compile "$LINENO"; then :
36026 glibcxx_cv_func__modf_use=yes
36027 else
36028 glibcxx_cv_func__modf_use=no
36030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36031 ac_ext=c
36032 ac_cpp='$CPP $CPPFLAGS'
36033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36042 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36044 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36045 for ac_func in _modf
36046 do :
36047 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36048 if test "x$ac_cv_func__modf" = x""yes; then :
36049 cat >>confdefs.h <<_ACEOF
36050 #define HAVE__MODF 1
36051 _ACEOF
36054 done
36063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36064 $as_echo_n "checking for powf declaration... " >&6; }
36065 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36066 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36067 $as_echo_n "(cached) " >&6
36068 else
36071 ac_ext=cpp
36072 ac_cpp='$CXXCPP $CPPFLAGS'
36073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36078 /* end confdefs.h. */
36079 #include <math.h>
36081 main ()
36083 powf(0, 0);
36085 return 0;
36087 _ACEOF
36088 if ac_fn_cxx_try_compile "$LINENO"; then :
36089 glibcxx_cv_func_powf_use=yes
36090 else
36091 glibcxx_cv_func_powf_use=no
36093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36094 ac_ext=c
36095 ac_cpp='$CPP $CPPFLAGS'
36096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36105 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36107 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36108 for ac_func in powf
36109 do :
36110 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36111 if test "x$ac_cv_func_powf" = x""yes; then :
36112 cat >>confdefs.h <<_ACEOF
36113 #define HAVE_POWF 1
36114 _ACEOF
36117 done
36119 else
36121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36122 $as_echo_n "checking for _powf declaration... " >&6; }
36123 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36124 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36125 $as_echo_n "(cached) " >&6
36126 else
36129 ac_ext=cpp
36130 ac_cpp='$CXXCPP $CPPFLAGS'
36131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36136 /* end confdefs.h. */
36137 #include <math.h>
36139 main ()
36141 _powf(0, 0);
36143 return 0;
36145 _ACEOF
36146 if ac_fn_cxx_try_compile "$LINENO"; then :
36147 glibcxx_cv_func__powf_use=yes
36148 else
36149 glibcxx_cv_func__powf_use=no
36151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36152 ac_ext=c
36153 ac_cpp='$CPP $CPPFLAGS'
36154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36163 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36165 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36166 for ac_func in _powf
36167 do :
36168 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36169 if test "x$ac_cv_func__powf" = x""yes; then :
36170 cat >>confdefs.h <<_ACEOF
36171 #define HAVE__POWF 1
36172 _ACEOF
36175 done
36184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36185 $as_echo_n "checking for sqrtf declaration... " >&6; }
36186 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36187 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36188 $as_echo_n "(cached) " >&6
36189 else
36192 ac_ext=cpp
36193 ac_cpp='$CXXCPP $CPPFLAGS'
36194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36199 /* end confdefs.h. */
36200 #include <math.h>
36201 #ifdef HAVE_IEEEFP_H
36202 #include <ieeefp.h>
36203 #endif
36206 main ()
36208 sqrtf(0);
36210 return 0;
36212 _ACEOF
36213 if ac_fn_cxx_try_compile "$LINENO"; then :
36214 glibcxx_cv_func_sqrtf_use=yes
36215 else
36216 glibcxx_cv_func_sqrtf_use=no
36218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36219 ac_ext=c
36220 ac_cpp='$CPP $CPPFLAGS'
36221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36230 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36232 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36233 for ac_func in sqrtf
36234 do :
36235 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36236 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36237 cat >>confdefs.h <<_ACEOF
36238 #define HAVE_SQRTF 1
36239 _ACEOF
36242 done
36244 else
36246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36247 $as_echo_n "checking for _sqrtf declaration... " >&6; }
36248 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36249 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36250 $as_echo_n "(cached) " >&6
36251 else
36254 ac_ext=cpp
36255 ac_cpp='$CXXCPP $CPPFLAGS'
36256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36261 /* end confdefs.h. */
36262 #include <math.h>
36263 #ifdef HAVE_IEEEFP_H
36264 #include <ieeefp.h>
36265 #endif
36268 main ()
36270 _sqrtf(0);
36272 return 0;
36274 _ACEOF
36275 if ac_fn_cxx_try_compile "$LINENO"; then :
36276 glibcxx_cv_func__sqrtf_use=yes
36277 else
36278 glibcxx_cv_func__sqrtf_use=no
36280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36281 ac_ext=c
36282 ac_cpp='$CPP $CPPFLAGS'
36283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36292 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36294 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36295 for ac_func in _sqrtf
36296 do :
36297 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36298 if test "x$ac_cv_func__sqrtf" = x""yes; then :
36299 cat >>confdefs.h <<_ACEOF
36300 #define HAVE__SQRTF 1
36301 _ACEOF
36304 done
36313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
36314 $as_echo_n "checking for sincosf declaration... " >&6; }
36315 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
36316 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
36317 $as_echo_n "(cached) " >&6
36318 else
36321 ac_ext=cpp
36322 ac_cpp='$CXXCPP $CPPFLAGS'
36323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36328 /* end confdefs.h. */
36329 #include <math.h>
36331 main ()
36333 sincosf(0, 0, 0);
36335 return 0;
36337 _ACEOF
36338 if ac_fn_cxx_try_compile "$LINENO"; then :
36339 glibcxx_cv_func_sincosf_use=yes
36340 else
36341 glibcxx_cv_func_sincosf_use=no
36343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36344 ac_ext=c
36345 ac_cpp='$CPP $CPPFLAGS'
36346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
36355 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
36357 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
36358 for ac_func in sincosf
36359 do :
36360 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
36361 if test "x$ac_cv_func_sincosf" = x""yes; then :
36362 cat >>confdefs.h <<_ACEOF
36363 #define HAVE_SINCOSF 1
36364 _ACEOF
36367 done
36369 else
36371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
36372 $as_echo_n "checking for _sincosf declaration... " >&6; }
36373 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
36374 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
36375 $as_echo_n "(cached) " >&6
36376 else
36379 ac_ext=cpp
36380 ac_cpp='$CXXCPP $CPPFLAGS'
36381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36386 /* end confdefs.h. */
36387 #include <math.h>
36389 main ()
36391 _sincosf(0, 0, 0);
36393 return 0;
36395 _ACEOF
36396 if ac_fn_cxx_try_compile "$LINENO"; then :
36397 glibcxx_cv_func__sincosf_use=yes
36398 else
36399 glibcxx_cv_func__sincosf_use=no
36401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36402 ac_ext=c
36403 ac_cpp='$CPP $CPPFLAGS'
36404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
36413 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
36415 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
36416 for ac_func in _sincosf
36417 do :
36418 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
36419 if test "x$ac_cv_func__sincosf" = x""yes; then :
36420 cat >>confdefs.h <<_ACEOF
36421 #define HAVE__SINCOSF 1
36422 _ACEOF
36425 done
36434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
36435 $as_echo_n "checking for finitef declaration... " >&6; }
36436 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
36437 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
36438 $as_echo_n "(cached) " >&6
36439 else
36442 ac_ext=cpp
36443 ac_cpp='$CXXCPP $CPPFLAGS'
36444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36449 /* end confdefs.h. */
36450 #include <math.h>
36451 #ifdef HAVE_IEEEFP_H
36452 #include <ieeefp.h>
36453 #endif
36456 main ()
36458 finitef(0);
36460 return 0;
36462 _ACEOF
36463 if ac_fn_cxx_try_compile "$LINENO"; then :
36464 glibcxx_cv_func_finitef_use=yes
36465 else
36466 glibcxx_cv_func_finitef_use=no
36468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36469 ac_ext=c
36470 ac_cpp='$CPP $CPPFLAGS'
36471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
36480 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
36482 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
36483 for ac_func in finitef
36484 do :
36485 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
36486 if test "x$ac_cv_func_finitef" = x""yes; then :
36487 cat >>confdefs.h <<_ACEOF
36488 #define HAVE_FINITEF 1
36489 _ACEOF
36492 done
36494 else
36496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
36497 $as_echo_n "checking for _finitef declaration... " >&6; }
36498 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
36499 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
36500 $as_echo_n "(cached) " >&6
36501 else
36504 ac_ext=cpp
36505 ac_cpp='$CXXCPP $CPPFLAGS'
36506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36511 /* end confdefs.h. */
36512 #include <math.h>
36513 #ifdef HAVE_IEEEFP_H
36514 #include <ieeefp.h>
36515 #endif
36518 main ()
36520 _finitef(0);
36522 return 0;
36524 _ACEOF
36525 if ac_fn_cxx_try_compile "$LINENO"; then :
36526 glibcxx_cv_func__finitef_use=yes
36527 else
36528 glibcxx_cv_func__finitef_use=no
36530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36531 ac_ext=c
36532 ac_cpp='$CPP $CPPFLAGS'
36533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
36542 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
36544 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
36545 for ac_func in _finitef
36546 do :
36547 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
36548 if test "x$ac_cv_func__finitef" = x""yes; then :
36549 cat >>confdefs.h <<_ACEOF
36550 #define HAVE__FINITEF 1
36551 _ACEOF
36554 done
36563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
36564 $as_echo_n "checking for long double trig functions... " >&6; }
36565 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
36566 $as_echo_n "(cached) " >&6
36567 else
36570 ac_ext=cpp
36571 ac_cpp='$CXXCPP $CPPFLAGS'
36572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36577 /* end confdefs.h. */
36578 #include <math.h>
36580 main ()
36582 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
36584 return 0;
36586 _ACEOF
36587 if ac_fn_cxx_try_compile "$LINENO"; then :
36588 glibcxx_cv_func_long_double_trig_use=yes
36589 else
36590 glibcxx_cv_func_long_double_trig_use=no
36592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36593 ac_ext=c
36594 ac_cpp='$CPP $CPPFLAGS'
36595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
36602 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
36603 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
36604 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
36605 do :
36606 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36607 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36608 eval as_val=\$$as_ac_var
36609 if test "x$as_val" = x""yes; then :
36610 cat >>confdefs.h <<_ACEOF
36611 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36612 _ACEOF
36615 done
36617 else
36618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
36619 $as_echo_n "checking for _long double trig functions... " >&6; }
36620 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
36621 $as_echo_n "(cached) " >&6
36622 else
36625 ac_ext=cpp
36626 ac_cpp='$CXXCPP $CPPFLAGS'
36627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36632 /* end confdefs.h. */
36633 #include <math.h>
36635 main ()
36637 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
36639 return 0;
36641 _ACEOF
36642 if ac_fn_cxx_try_compile "$LINENO"; then :
36643 glibcxx_cv_func__long_double_trig_use=yes
36644 else
36645 glibcxx_cv_func__long_double_trig_use=no
36647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36648 ac_ext=c
36649 ac_cpp='$CPP $CPPFLAGS'
36650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
36657 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
36658 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
36659 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
36660 do :
36661 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36662 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36663 eval as_val=\$$as_ac_var
36664 if test "x$as_val" = x""yes; then :
36665 cat >>confdefs.h <<_ACEOF
36666 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36667 _ACEOF
36670 done
36679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
36680 $as_echo_n "checking for long double round functions... " >&6; }
36681 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
36682 $as_echo_n "(cached) " >&6
36683 else
36686 ac_ext=cpp
36687 ac_cpp='$CXXCPP $CPPFLAGS'
36688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36693 /* end confdefs.h. */
36694 #include <math.h>
36696 main ()
36698 ceill (0); floorl (0);
36700 return 0;
36702 _ACEOF
36703 if ac_fn_cxx_try_compile "$LINENO"; then :
36704 glibcxx_cv_func_long_double_round_use=yes
36705 else
36706 glibcxx_cv_func_long_double_round_use=no
36708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36709 ac_ext=c
36710 ac_cpp='$CPP $CPPFLAGS'
36711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
36718 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
36719 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
36720 for ac_func in ceill floorl
36721 do :
36722 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36723 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36724 eval as_val=\$$as_ac_var
36725 if test "x$as_val" = x""yes; then :
36726 cat >>confdefs.h <<_ACEOF
36727 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36728 _ACEOF
36731 done
36733 else
36734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
36735 $as_echo_n "checking for _long double round functions... " >&6; }
36736 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
36737 $as_echo_n "(cached) " >&6
36738 else
36741 ac_ext=cpp
36742 ac_cpp='$CXXCPP $CPPFLAGS'
36743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36748 /* end confdefs.h. */
36749 #include <math.h>
36751 main ()
36753 _ceill (0); _floorl (0);
36755 return 0;
36757 _ACEOF
36758 if ac_fn_cxx_try_compile "$LINENO"; then :
36759 glibcxx_cv_func__long_double_round_use=yes
36760 else
36761 glibcxx_cv_func__long_double_round_use=no
36763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36764 ac_ext=c
36765 ac_cpp='$CPP $CPPFLAGS'
36766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
36773 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
36774 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
36775 for ac_func in _ceill _floorl
36776 do :
36777 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36778 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36779 eval as_val=\$$as_ac_var
36780 if test "x$as_val" = x""yes; then :
36781 cat >>confdefs.h <<_ACEOF
36782 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36783 _ACEOF
36786 done
36796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
36797 $as_echo_n "checking for isnanl declaration... " >&6; }
36798 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36799 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
36800 $as_echo_n "(cached) " >&6
36801 else
36804 ac_ext=cpp
36805 ac_cpp='$CXXCPP $CPPFLAGS'
36806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36811 /* end confdefs.h. */
36812 #include <math.h>
36813 #ifdef HAVE_IEEEFP_H
36814 #include <ieeefp.h>
36815 #endif
36818 main ()
36820 isnanl(0);
36822 return 0;
36824 _ACEOF
36825 if ac_fn_cxx_try_compile "$LINENO"; then :
36826 glibcxx_cv_func_isnanl_use=yes
36827 else
36828 glibcxx_cv_func_isnanl_use=no
36830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36831 ac_ext=c
36832 ac_cpp='$CPP $CPPFLAGS'
36833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36842 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36844 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36845 for ac_func in isnanl
36846 do :
36847 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36848 if test "x$ac_cv_func_isnanl" = x""yes; then :
36849 cat >>confdefs.h <<_ACEOF
36850 #define HAVE_ISNANL 1
36851 _ACEOF
36854 done
36856 else
36858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36859 $as_echo_n "checking for _isnanl declaration... " >&6; }
36860 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36861 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36862 $as_echo_n "(cached) " >&6
36863 else
36866 ac_ext=cpp
36867 ac_cpp='$CXXCPP $CPPFLAGS'
36868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36873 /* end confdefs.h. */
36874 #include <math.h>
36875 #ifdef HAVE_IEEEFP_H
36876 #include <ieeefp.h>
36877 #endif
36880 main ()
36882 _isnanl(0);
36884 return 0;
36886 _ACEOF
36887 if ac_fn_cxx_try_compile "$LINENO"; then :
36888 glibcxx_cv_func__isnanl_use=yes
36889 else
36890 glibcxx_cv_func__isnanl_use=no
36892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36893 ac_ext=c
36894 ac_cpp='$CPP $CPPFLAGS'
36895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36904 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36906 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36907 for ac_func in _isnanl
36908 do :
36909 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36910 if test "x$ac_cv_func__isnanl" = x""yes; then :
36911 cat >>confdefs.h <<_ACEOF
36912 #define HAVE__ISNANL 1
36913 _ACEOF
36916 done
36925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36926 $as_echo_n "checking for isinfl declaration... " >&6; }
36927 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36928 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36929 $as_echo_n "(cached) " >&6
36930 else
36933 ac_ext=cpp
36934 ac_cpp='$CXXCPP $CPPFLAGS'
36935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36940 /* end confdefs.h. */
36941 #include <math.h>
36942 #ifdef HAVE_IEEEFP_H
36943 #include <ieeefp.h>
36944 #endif
36947 main ()
36949 isinfl(0);
36951 return 0;
36953 _ACEOF
36954 if ac_fn_cxx_try_compile "$LINENO"; then :
36955 glibcxx_cv_func_isinfl_use=yes
36956 else
36957 glibcxx_cv_func_isinfl_use=no
36959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36960 ac_ext=c
36961 ac_cpp='$CPP $CPPFLAGS'
36962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
36971 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
36973 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36974 for ac_func in isinfl
36975 do :
36976 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
36977 if test "x$ac_cv_func_isinfl" = x""yes; then :
36978 cat >>confdefs.h <<_ACEOF
36979 #define HAVE_ISINFL 1
36980 _ACEOF
36983 done
36985 else
36987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
36988 $as_echo_n "checking for _isinfl declaration... " >&6; }
36989 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36990 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
36991 $as_echo_n "(cached) " >&6
36992 else
36995 ac_ext=cpp
36996 ac_cpp='$CXXCPP $CPPFLAGS'
36997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37002 /* end confdefs.h. */
37003 #include <math.h>
37004 #ifdef HAVE_IEEEFP_H
37005 #include <ieeefp.h>
37006 #endif
37009 main ()
37011 _isinfl(0);
37013 return 0;
37015 _ACEOF
37016 if ac_fn_cxx_try_compile "$LINENO"; then :
37017 glibcxx_cv_func__isinfl_use=yes
37018 else
37019 glibcxx_cv_func__isinfl_use=no
37021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37022 ac_ext=c
37023 ac_cpp='$CPP $CPPFLAGS'
37024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37033 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37035 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37036 for ac_func in _isinfl
37037 do :
37038 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37039 if test "x$ac_cv_func__isinfl" = x""yes; then :
37040 cat >>confdefs.h <<_ACEOF
37041 #define HAVE__ISINFL 1
37042 _ACEOF
37045 done
37054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37055 $as_echo_n "checking for atan2l declaration... " >&6; }
37056 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37057 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37058 $as_echo_n "(cached) " >&6
37059 else
37062 ac_ext=cpp
37063 ac_cpp='$CXXCPP $CPPFLAGS'
37064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37069 /* end confdefs.h. */
37070 #include <math.h>
37072 main ()
37074 atan2l(0, 0);
37076 return 0;
37078 _ACEOF
37079 if ac_fn_cxx_try_compile "$LINENO"; then :
37080 glibcxx_cv_func_atan2l_use=yes
37081 else
37082 glibcxx_cv_func_atan2l_use=no
37084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37085 ac_ext=c
37086 ac_cpp='$CPP $CPPFLAGS'
37087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37096 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37098 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37099 for ac_func in atan2l
37100 do :
37101 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37102 if test "x$ac_cv_func_atan2l" = x""yes; then :
37103 cat >>confdefs.h <<_ACEOF
37104 #define HAVE_ATAN2L 1
37105 _ACEOF
37108 done
37110 else
37112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37113 $as_echo_n "checking for _atan2l declaration... " >&6; }
37114 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37115 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37116 $as_echo_n "(cached) " >&6
37117 else
37120 ac_ext=cpp
37121 ac_cpp='$CXXCPP $CPPFLAGS'
37122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37127 /* end confdefs.h. */
37128 #include <math.h>
37130 main ()
37132 _atan2l(0, 0);
37134 return 0;
37136 _ACEOF
37137 if ac_fn_cxx_try_compile "$LINENO"; then :
37138 glibcxx_cv_func__atan2l_use=yes
37139 else
37140 glibcxx_cv_func__atan2l_use=no
37142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37143 ac_ext=c
37144 ac_cpp='$CPP $CPPFLAGS'
37145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37154 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37156 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37157 for ac_func in _atan2l
37158 do :
37159 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37160 if test "x$ac_cv_func__atan2l" = x""yes; then :
37161 cat >>confdefs.h <<_ACEOF
37162 #define HAVE__ATAN2L 1
37163 _ACEOF
37166 done
37175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37176 $as_echo_n "checking for expl declaration... " >&6; }
37177 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37178 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37179 $as_echo_n "(cached) " >&6
37180 else
37183 ac_ext=cpp
37184 ac_cpp='$CXXCPP $CPPFLAGS'
37185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37190 /* end confdefs.h. */
37191 #include <math.h>
37192 #ifdef HAVE_IEEEFP_H
37193 #include <ieeefp.h>
37194 #endif
37197 main ()
37199 expl(0);
37201 return 0;
37203 _ACEOF
37204 if ac_fn_cxx_try_compile "$LINENO"; then :
37205 glibcxx_cv_func_expl_use=yes
37206 else
37207 glibcxx_cv_func_expl_use=no
37209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37210 ac_ext=c
37211 ac_cpp='$CPP $CPPFLAGS'
37212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37221 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37223 if test x$glibcxx_cv_func_expl_use = x"yes"; then
37224 for ac_func in expl
37225 do :
37226 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37227 if test "x$ac_cv_func_expl" = x""yes; then :
37228 cat >>confdefs.h <<_ACEOF
37229 #define HAVE_EXPL 1
37230 _ACEOF
37233 done
37235 else
37237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37238 $as_echo_n "checking for _expl declaration... " >&6; }
37239 if test x${glibcxx_cv_func__expl_use+set} != xset; then
37240 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37241 $as_echo_n "(cached) " >&6
37242 else
37245 ac_ext=cpp
37246 ac_cpp='$CXXCPP $CPPFLAGS'
37247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37252 /* end confdefs.h. */
37253 #include <math.h>
37254 #ifdef HAVE_IEEEFP_H
37255 #include <ieeefp.h>
37256 #endif
37259 main ()
37261 _expl(0);
37263 return 0;
37265 _ACEOF
37266 if ac_fn_cxx_try_compile "$LINENO"; then :
37267 glibcxx_cv_func__expl_use=yes
37268 else
37269 glibcxx_cv_func__expl_use=no
37271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37272 ac_ext=c
37273 ac_cpp='$CPP $CPPFLAGS'
37274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
37283 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
37285 if test x$glibcxx_cv_func__expl_use = x"yes"; then
37286 for ac_func in _expl
37287 do :
37288 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37289 if test "x$ac_cv_func__expl" = x""yes; then :
37290 cat >>confdefs.h <<_ACEOF
37291 #define HAVE__EXPL 1
37292 _ACEOF
37295 done
37304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
37305 $as_echo_n "checking for fabsl declaration... " >&6; }
37306 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37307 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
37308 $as_echo_n "(cached) " >&6
37309 else
37312 ac_ext=cpp
37313 ac_cpp='$CXXCPP $CPPFLAGS'
37314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37319 /* end confdefs.h. */
37320 #include <math.h>
37321 #ifdef HAVE_IEEEFP_H
37322 #include <ieeefp.h>
37323 #endif
37326 main ()
37328 fabsl(0);
37330 return 0;
37332 _ACEOF
37333 if ac_fn_cxx_try_compile "$LINENO"; then :
37334 glibcxx_cv_func_fabsl_use=yes
37335 else
37336 glibcxx_cv_func_fabsl_use=no
37338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37339 ac_ext=c
37340 ac_cpp='$CPP $CPPFLAGS'
37341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
37350 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
37352 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37353 for ac_func in fabsl
37354 do :
37355 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
37356 if test "x$ac_cv_func_fabsl" = x""yes; then :
37357 cat >>confdefs.h <<_ACEOF
37358 #define HAVE_FABSL 1
37359 _ACEOF
37362 done
37364 else
37366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
37367 $as_echo_n "checking for _fabsl declaration... " >&6; }
37368 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37369 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
37370 $as_echo_n "(cached) " >&6
37371 else
37374 ac_ext=cpp
37375 ac_cpp='$CXXCPP $CPPFLAGS'
37376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37381 /* end confdefs.h. */
37382 #include <math.h>
37383 #ifdef HAVE_IEEEFP_H
37384 #include <ieeefp.h>
37385 #endif
37388 main ()
37390 _fabsl(0);
37392 return 0;
37394 _ACEOF
37395 if ac_fn_cxx_try_compile "$LINENO"; then :
37396 glibcxx_cv_func__fabsl_use=yes
37397 else
37398 glibcxx_cv_func__fabsl_use=no
37400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37401 ac_ext=c
37402 ac_cpp='$CPP $CPPFLAGS'
37403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
37412 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
37414 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
37415 for ac_func in _fabsl
37416 do :
37417 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
37418 if test "x$ac_cv_func__fabsl" = x""yes; then :
37419 cat >>confdefs.h <<_ACEOF
37420 #define HAVE__FABSL 1
37421 _ACEOF
37424 done
37433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
37434 $as_echo_n "checking for fmodl declaration... " >&6; }
37435 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
37436 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
37437 $as_echo_n "(cached) " >&6
37438 else
37441 ac_ext=cpp
37442 ac_cpp='$CXXCPP $CPPFLAGS'
37443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37448 /* end confdefs.h. */
37449 #include <math.h>
37451 main ()
37453 fmodl(0, 0);
37455 return 0;
37457 _ACEOF
37458 if ac_fn_cxx_try_compile "$LINENO"; then :
37459 glibcxx_cv_func_fmodl_use=yes
37460 else
37461 glibcxx_cv_func_fmodl_use=no
37463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37464 ac_ext=c
37465 ac_cpp='$CPP $CPPFLAGS'
37466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
37475 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
37477 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
37478 for ac_func in fmodl
37479 do :
37480 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
37481 if test "x$ac_cv_func_fmodl" = x""yes; then :
37482 cat >>confdefs.h <<_ACEOF
37483 #define HAVE_FMODL 1
37484 _ACEOF
37487 done
37489 else
37491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
37492 $as_echo_n "checking for _fmodl declaration... " >&6; }
37493 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
37494 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
37495 $as_echo_n "(cached) " >&6
37496 else
37499 ac_ext=cpp
37500 ac_cpp='$CXXCPP $CPPFLAGS'
37501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37506 /* end confdefs.h. */
37507 #include <math.h>
37509 main ()
37511 _fmodl(0, 0);
37513 return 0;
37515 _ACEOF
37516 if ac_fn_cxx_try_compile "$LINENO"; then :
37517 glibcxx_cv_func__fmodl_use=yes
37518 else
37519 glibcxx_cv_func__fmodl_use=no
37521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37522 ac_ext=c
37523 ac_cpp='$CPP $CPPFLAGS'
37524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
37533 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
37535 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
37536 for ac_func in _fmodl
37537 do :
37538 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
37539 if test "x$ac_cv_func__fmodl" = x""yes; then :
37540 cat >>confdefs.h <<_ACEOF
37541 #define HAVE__FMODL 1
37542 _ACEOF
37545 done
37554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
37555 $as_echo_n "checking for frexpl declaration... " >&6; }
37556 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
37557 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
37558 $as_echo_n "(cached) " >&6
37559 else
37562 ac_ext=cpp
37563 ac_cpp='$CXXCPP $CPPFLAGS'
37564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37569 /* end confdefs.h. */
37570 #include <math.h>
37572 main ()
37574 frexpl(0, 0);
37576 return 0;
37578 _ACEOF
37579 if ac_fn_cxx_try_compile "$LINENO"; then :
37580 glibcxx_cv_func_frexpl_use=yes
37581 else
37582 glibcxx_cv_func_frexpl_use=no
37584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37585 ac_ext=c
37586 ac_cpp='$CPP $CPPFLAGS'
37587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
37596 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
37598 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
37599 for ac_func in frexpl
37600 do :
37601 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
37602 if test "x$ac_cv_func_frexpl" = x""yes; then :
37603 cat >>confdefs.h <<_ACEOF
37604 #define HAVE_FREXPL 1
37605 _ACEOF
37608 done
37610 else
37612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
37613 $as_echo_n "checking for _frexpl declaration... " >&6; }
37614 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
37615 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
37616 $as_echo_n "(cached) " >&6
37617 else
37620 ac_ext=cpp
37621 ac_cpp='$CXXCPP $CPPFLAGS'
37622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37627 /* end confdefs.h. */
37628 #include <math.h>
37630 main ()
37632 _frexpl(0, 0);
37634 return 0;
37636 _ACEOF
37637 if ac_fn_cxx_try_compile "$LINENO"; then :
37638 glibcxx_cv_func__frexpl_use=yes
37639 else
37640 glibcxx_cv_func__frexpl_use=no
37642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37643 ac_ext=c
37644 ac_cpp='$CPP $CPPFLAGS'
37645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
37654 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
37656 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
37657 for ac_func in _frexpl
37658 do :
37659 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
37660 if test "x$ac_cv_func__frexpl" = x""yes; then :
37661 cat >>confdefs.h <<_ACEOF
37662 #define HAVE__FREXPL 1
37663 _ACEOF
37666 done
37675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
37676 $as_echo_n "checking for hypotl declaration... " >&6; }
37677 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
37678 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
37679 $as_echo_n "(cached) " >&6
37680 else
37683 ac_ext=cpp
37684 ac_cpp='$CXXCPP $CPPFLAGS'
37685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37690 /* end confdefs.h. */
37691 #include <math.h>
37693 main ()
37695 hypotl(0, 0);
37697 return 0;
37699 _ACEOF
37700 if ac_fn_cxx_try_compile "$LINENO"; then :
37701 glibcxx_cv_func_hypotl_use=yes
37702 else
37703 glibcxx_cv_func_hypotl_use=no
37705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37706 ac_ext=c
37707 ac_cpp='$CPP $CPPFLAGS'
37708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
37717 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
37719 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
37720 for ac_func in hypotl
37721 do :
37722 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
37723 if test "x$ac_cv_func_hypotl" = x""yes; then :
37724 cat >>confdefs.h <<_ACEOF
37725 #define HAVE_HYPOTL 1
37726 _ACEOF
37729 done
37731 else
37733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
37734 $as_echo_n "checking for _hypotl declaration... " >&6; }
37735 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
37736 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
37737 $as_echo_n "(cached) " >&6
37738 else
37741 ac_ext=cpp
37742 ac_cpp='$CXXCPP $CPPFLAGS'
37743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37748 /* end confdefs.h. */
37749 #include <math.h>
37751 main ()
37753 _hypotl(0, 0);
37755 return 0;
37757 _ACEOF
37758 if ac_fn_cxx_try_compile "$LINENO"; then :
37759 glibcxx_cv_func__hypotl_use=yes
37760 else
37761 glibcxx_cv_func__hypotl_use=no
37763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37764 ac_ext=c
37765 ac_cpp='$CPP $CPPFLAGS'
37766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
37775 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
37777 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37778 for ac_func in _hypotl
37779 do :
37780 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
37781 if test "x$ac_cv_func__hypotl" = x""yes; then :
37782 cat >>confdefs.h <<_ACEOF
37783 #define HAVE__HYPOTL 1
37784 _ACEOF
37787 done
37796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
37797 $as_echo_n "checking for ldexpl declaration... " >&6; }
37798 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37799 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
37800 $as_echo_n "(cached) " >&6
37801 else
37804 ac_ext=cpp
37805 ac_cpp='$CXXCPP $CPPFLAGS'
37806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37811 /* end confdefs.h. */
37812 #include <math.h>
37814 main ()
37816 ldexpl(0, 0);
37818 return 0;
37820 _ACEOF
37821 if ac_fn_cxx_try_compile "$LINENO"; then :
37822 glibcxx_cv_func_ldexpl_use=yes
37823 else
37824 glibcxx_cv_func_ldexpl_use=no
37826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37827 ac_ext=c
37828 ac_cpp='$CPP $CPPFLAGS'
37829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37838 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37840 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37841 for ac_func in ldexpl
37842 do :
37843 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37844 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37845 cat >>confdefs.h <<_ACEOF
37846 #define HAVE_LDEXPL 1
37847 _ACEOF
37850 done
37852 else
37854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37855 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37856 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37857 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37858 $as_echo_n "(cached) " >&6
37859 else
37862 ac_ext=cpp
37863 ac_cpp='$CXXCPP $CPPFLAGS'
37864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37869 /* end confdefs.h. */
37870 #include <math.h>
37872 main ()
37874 _ldexpl(0, 0);
37876 return 0;
37878 _ACEOF
37879 if ac_fn_cxx_try_compile "$LINENO"; then :
37880 glibcxx_cv_func__ldexpl_use=yes
37881 else
37882 glibcxx_cv_func__ldexpl_use=no
37884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37885 ac_ext=c
37886 ac_cpp='$CPP $CPPFLAGS'
37887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37896 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37898 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37899 for ac_func in _ldexpl
37900 do :
37901 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37902 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37903 cat >>confdefs.h <<_ACEOF
37904 #define HAVE__LDEXPL 1
37905 _ACEOF
37908 done
37917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37918 $as_echo_n "checking for logl declaration... " >&6; }
37919 if test x${glibcxx_cv_func_logl_use+set} != xset; then
37920 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37921 $as_echo_n "(cached) " >&6
37922 else
37925 ac_ext=cpp
37926 ac_cpp='$CXXCPP $CPPFLAGS'
37927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37932 /* end confdefs.h. */
37933 #include <math.h>
37934 #ifdef HAVE_IEEEFP_H
37935 #include <ieeefp.h>
37936 #endif
37939 main ()
37941 logl(0);
37943 return 0;
37945 _ACEOF
37946 if ac_fn_cxx_try_compile "$LINENO"; then :
37947 glibcxx_cv_func_logl_use=yes
37948 else
37949 glibcxx_cv_func_logl_use=no
37951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37952 ac_ext=c
37953 ac_cpp='$CPP $CPPFLAGS'
37954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
37963 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
37965 if test x$glibcxx_cv_func_logl_use = x"yes"; then
37966 for ac_func in logl
37967 do :
37968 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
37969 if test "x$ac_cv_func_logl" = x""yes; then :
37970 cat >>confdefs.h <<_ACEOF
37971 #define HAVE_LOGL 1
37972 _ACEOF
37975 done
37977 else
37979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
37980 $as_echo_n "checking for _logl declaration... " >&6; }
37981 if test x${glibcxx_cv_func__logl_use+set} != xset; then
37982 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
37983 $as_echo_n "(cached) " >&6
37984 else
37987 ac_ext=cpp
37988 ac_cpp='$CXXCPP $CPPFLAGS'
37989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37994 /* end confdefs.h. */
37995 #include <math.h>
37996 #ifdef HAVE_IEEEFP_H
37997 #include <ieeefp.h>
37998 #endif
38001 main ()
38003 _logl(0);
38005 return 0;
38007 _ACEOF
38008 if ac_fn_cxx_try_compile "$LINENO"; then :
38009 glibcxx_cv_func__logl_use=yes
38010 else
38011 glibcxx_cv_func__logl_use=no
38013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38014 ac_ext=c
38015 ac_cpp='$CPP $CPPFLAGS'
38016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38025 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38027 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38028 for ac_func in _logl
38029 do :
38030 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38031 if test "x$ac_cv_func__logl" = x""yes; then :
38032 cat >>confdefs.h <<_ACEOF
38033 #define HAVE__LOGL 1
38034 _ACEOF
38037 done
38046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38047 $as_echo_n "checking for log10l declaration... " >&6; }
38048 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38049 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38050 $as_echo_n "(cached) " >&6
38051 else
38054 ac_ext=cpp
38055 ac_cpp='$CXXCPP $CPPFLAGS'
38056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38061 /* end confdefs.h. */
38062 #include <math.h>
38063 #ifdef HAVE_IEEEFP_H
38064 #include <ieeefp.h>
38065 #endif
38068 main ()
38070 log10l(0);
38072 return 0;
38074 _ACEOF
38075 if ac_fn_cxx_try_compile "$LINENO"; then :
38076 glibcxx_cv_func_log10l_use=yes
38077 else
38078 glibcxx_cv_func_log10l_use=no
38080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38081 ac_ext=c
38082 ac_cpp='$CPP $CPPFLAGS'
38083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38092 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38094 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38095 for ac_func in log10l
38096 do :
38097 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38098 if test "x$ac_cv_func_log10l" = x""yes; then :
38099 cat >>confdefs.h <<_ACEOF
38100 #define HAVE_LOG10L 1
38101 _ACEOF
38104 done
38106 else
38108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38109 $as_echo_n "checking for _log10l declaration... " >&6; }
38110 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38111 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38112 $as_echo_n "(cached) " >&6
38113 else
38116 ac_ext=cpp
38117 ac_cpp='$CXXCPP $CPPFLAGS'
38118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38123 /* end confdefs.h. */
38124 #include <math.h>
38125 #ifdef HAVE_IEEEFP_H
38126 #include <ieeefp.h>
38127 #endif
38130 main ()
38132 _log10l(0);
38134 return 0;
38136 _ACEOF
38137 if ac_fn_cxx_try_compile "$LINENO"; then :
38138 glibcxx_cv_func__log10l_use=yes
38139 else
38140 glibcxx_cv_func__log10l_use=no
38142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38143 ac_ext=c
38144 ac_cpp='$CPP $CPPFLAGS'
38145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38154 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38156 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38157 for ac_func in _log10l
38158 do :
38159 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38160 if test "x$ac_cv_func__log10l" = x""yes; then :
38161 cat >>confdefs.h <<_ACEOF
38162 #define HAVE__LOG10L 1
38163 _ACEOF
38166 done
38175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38176 $as_echo_n "checking for modfl declaration... " >&6; }
38177 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38178 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38179 $as_echo_n "(cached) " >&6
38180 else
38183 ac_ext=cpp
38184 ac_cpp='$CXXCPP $CPPFLAGS'
38185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38190 /* end confdefs.h. */
38191 #include <math.h>
38193 main ()
38195 modfl(0, 0);
38197 return 0;
38199 _ACEOF
38200 if ac_fn_cxx_try_compile "$LINENO"; then :
38201 glibcxx_cv_func_modfl_use=yes
38202 else
38203 glibcxx_cv_func_modfl_use=no
38205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38206 ac_ext=c
38207 ac_cpp='$CPP $CPPFLAGS'
38208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38217 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38219 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38220 for ac_func in modfl
38221 do :
38222 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38223 if test "x$ac_cv_func_modfl" = x""yes; then :
38224 cat >>confdefs.h <<_ACEOF
38225 #define HAVE_MODFL 1
38226 _ACEOF
38229 done
38231 else
38233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38234 $as_echo_n "checking for _modfl declaration... " >&6; }
38235 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38236 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38237 $as_echo_n "(cached) " >&6
38238 else
38241 ac_ext=cpp
38242 ac_cpp='$CXXCPP $CPPFLAGS'
38243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38248 /* end confdefs.h. */
38249 #include <math.h>
38251 main ()
38253 _modfl(0, 0);
38255 return 0;
38257 _ACEOF
38258 if ac_fn_cxx_try_compile "$LINENO"; then :
38259 glibcxx_cv_func__modfl_use=yes
38260 else
38261 glibcxx_cv_func__modfl_use=no
38263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38264 ac_ext=c
38265 ac_cpp='$CPP $CPPFLAGS'
38266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38275 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38277 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38278 for ac_func in _modfl
38279 do :
38280 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38281 if test "x$ac_cv_func__modfl" = x""yes; then :
38282 cat >>confdefs.h <<_ACEOF
38283 #define HAVE__MODFL 1
38284 _ACEOF
38287 done
38296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38297 $as_echo_n "checking for powl declaration... " >&6; }
38298 if test x${glibcxx_cv_func_powl_use+set} != xset; then
38299 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38300 $as_echo_n "(cached) " >&6
38301 else
38304 ac_ext=cpp
38305 ac_cpp='$CXXCPP $CPPFLAGS'
38306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38311 /* end confdefs.h. */
38312 #include <math.h>
38314 main ()
38316 powl(0, 0);
38318 return 0;
38320 _ACEOF
38321 if ac_fn_cxx_try_compile "$LINENO"; then :
38322 glibcxx_cv_func_powl_use=yes
38323 else
38324 glibcxx_cv_func_powl_use=no
38326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38327 ac_ext=c
38328 ac_cpp='$CPP $CPPFLAGS'
38329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
38338 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
38340 if test x$glibcxx_cv_func_powl_use = x"yes"; then
38341 for ac_func in powl
38342 do :
38343 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
38344 if test "x$ac_cv_func_powl" = x""yes; then :
38345 cat >>confdefs.h <<_ACEOF
38346 #define HAVE_POWL 1
38347 _ACEOF
38350 done
38352 else
38354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
38355 $as_echo_n "checking for _powl declaration... " >&6; }
38356 if test x${glibcxx_cv_func__powl_use+set} != xset; then
38357 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
38358 $as_echo_n "(cached) " >&6
38359 else
38362 ac_ext=cpp
38363 ac_cpp='$CXXCPP $CPPFLAGS'
38364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38369 /* end confdefs.h. */
38370 #include <math.h>
38372 main ()
38374 _powl(0, 0);
38376 return 0;
38378 _ACEOF
38379 if ac_fn_cxx_try_compile "$LINENO"; then :
38380 glibcxx_cv_func__powl_use=yes
38381 else
38382 glibcxx_cv_func__powl_use=no
38384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38385 ac_ext=c
38386 ac_cpp='$CPP $CPPFLAGS'
38387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
38396 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
38398 if test x$glibcxx_cv_func__powl_use = x"yes"; then
38399 for ac_func in _powl
38400 do :
38401 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
38402 if test "x$ac_cv_func__powl" = x""yes; then :
38403 cat >>confdefs.h <<_ACEOF
38404 #define HAVE__POWL 1
38405 _ACEOF
38408 done
38417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
38418 $as_echo_n "checking for sqrtl declaration... " >&6; }
38419 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
38420 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
38421 $as_echo_n "(cached) " >&6
38422 else
38425 ac_ext=cpp
38426 ac_cpp='$CXXCPP $CPPFLAGS'
38427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38432 /* end confdefs.h. */
38433 #include <math.h>
38434 #ifdef HAVE_IEEEFP_H
38435 #include <ieeefp.h>
38436 #endif
38439 main ()
38441 sqrtl(0);
38443 return 0;
38445 _ACEOF
38446 if ac_fn_cxx_try_compile "$LINENO"; then :
38447 glibcxx_cv_func_sqrtl_use=yes
38448 else
38449 glibcxx_cv_func_sqrtl_use=no
38451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38452 ac_ext=c
38453 ac_cpp='$CPP $CPPFLAGS'
38454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
38463 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
38465 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
38466 for ac_func in sqrtl
38467 do :
38468 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
38469 if test "x$ac_cv_func_sqrtl" = x""yes; then :
38470 cat >>confdefs.h <<_ACEOF
38471 #define HAVE_SQRTL 1
38472 _ACEOF
38475 done
38477 else
38479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
38480 $as_echo_n "checking for _sqrtl declaration... " >&6; }
38481 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
38482 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
38483 $as_echo_n "(cached) " >&6
38484 else
38487 ac_ext=cpp
38488 ac_cpp='$CXXCPP $CPPFLAGS'
38489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38494 /* end confdefs.h. */
38495 #include <math.h>
38496 #ifdef HAVE_IEEEFP_H
38497 #include <ieeefp.h>
38498 #endif
38501 main ()
38503 _sqrtl(0);
38505 return 0;
38507 _ACEOF
38508 if ac_fn_cxx_try_compile "$LINENO"; then :
38509 glibcxx_cv_func__sqrtl_use=yes
38510 else
38511 glibcxx_cv_func__sqrtl_use=no
38513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38514 ac_ext=c
38515 ac_cpp='$CPP $CPPFLAGS'
38516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
38525 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
38527 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
38528 for ac_func in _sqrtl
38529 do :
38530 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
38531 if test "x$ac_cv_func__sqrtl" = x""yes; then :
38532 cat >>confdefs.h <<_ACEOF
38533 #define HAVE__SQRTL 1
38534 _ACEOF
38537 done
38546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
38547 $as_echo_n "checking for sincosl declaration... " >&6; }
38548 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
38549 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
38550 $as_echo_n "(cached) " >&6
38551 else
38554 ac_ext=cpp
38555 ac_cpp='$CXXCPP $CPPFLAGS'
38556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38561 /* end confdefs.h. */
38562 #include <math.h>
38564 main ()
38566 sincosl(0, 0, 0);
38568 return 0;
38570 _ACEOF
38571 if ac_fn_cxx_try_compile "$LINENO"; then :
38572 glibcxx_cv_func_sincosl_use=yes
38573 else
38574 glibcxx_cv_func_sincosl_use=no
38576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38577 ac_ext=c
38578 ac_cpp='$CPP $CPPFLAGS'
38579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
38588 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
38590 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
38591 for ac_func in sincosl
38592 do :
38593 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
38594 if test "x$ac_cv_func_sincosl" = x""yes; then :
38595 cat >>confdefs.h <<_ACEOF
38596 #define HAVE_SINCOSL 1
38597 _ACEOF
38600 done
38602 else
38604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
38605 $as_echo_n "checking for _sincosl declaration... " >&6; }
38606 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
38607 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
38608 $as_echo_n "(cached) " >&6
38609 else
38612 ac_ext=cpp
38613 ac_cpp='$CXXCPP $CPPFLAGS'
38614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38619 /* end confdefs.h. */
38620 #include <math.h>
38622 main ()
38624 _sincosl(0, 0, 0);
38626 return 0;
38628 _ACEOF
38629 if ac_fn_cxx_try_compile "$LINENO"; then :
38630 glibcxx_cv_func__sincosl_use=yes
38631 else
38632 glibcxx_cv_func__sincosl_use=no
38634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38635 ac_ext=c
38636 ac_cpp='$CPP $CPPFLAGS'
38637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
38646 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
38648 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
38649 for ac_func in _sincosl
38650 do :
38651 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
38652 if test "x$ac_cv_func__sincosl" = x""yes; then :
38653 cat >>confdefs.h <<_ACEOF
38654 #define HAVE__SINCOSL 1
38655 _ACEOF
38658 done
38667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
38668 $as_echo_n "checking for finitel declaration... " >&6; }
38669 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
38670 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
38671 $as_echo_n "(cached) " >&6
38672 else
38675 ac_ext=cpp
38676 ac_cpp='$CXXCPP $CPPFLAGS'
38677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38682 /* end confdefs.h. */
38683 #include <math.h>
38684 #ifdef HAVE_IEEEFP_H
38685 #include <ieeefp.h>
38686 #endif
38689 main ()
38691 finitel(0);
38693 return 0;
38695 _ACEOF
38696 if ac_fn_cxx_try_compile "$LINENO"; then :
38697 glibcxx_cv_func_finitel_use=yes
38698 else
38699 glibcxx_cv_func_finitel_use=no
38701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38702 ac_ext=c
38703 ac_cpp='$CPP $CPPFLAGS'
38704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
38713 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
38715 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
38716 for ac_func in finitel
38717 do :
38718 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
38719 if test "x$ac_cv_func_finitel" = x""yes; then :
38720 cat >>confdefs.h <<_ACEOF
38721 #define HAVE_FINITEL 1
38722 _ACEOF
38725 done
38727 else
38729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
38730 $as_echo_n "checking for _finitel declaration... " >&6; }
38731 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
38732 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
38733 $as_echo_n "(cached) " >&6
38734 else
38737 ac_ext=cpp
38738 ac_cpp='$CXXCPP $CPPFLAGS'
38739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38744 /* end confdefs.h. */
38745 #include <math.h>
38746 #ifdef HAVE_IEEEFP_H
38747 #include <ieeefp.h>
38748 #endif
38751 main ()
38753 _finitel(0);
38755 return 0;
38757 _ACEOF
38758 if ac_fn_cxx_try_compile "$LINENO"; then :
38759 glibcxx_cv_func__finitel_use=yes
38760 else
38761 glibcxx_cv_func__finitel_use=no
38763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38764 ac_ext=c
38765 ac_cpp='$CPP $CPPFLAGS'
38766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
38775 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
38777 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
38778 for ac_func in _finitel
38779 do :
38780 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
38781 if test "x$ac_cv_func__finitel" = x""yes; then :
38782 cat >>confdefs.h <<_ACEOF
38783 #define HAVE__FINITEL 1
38784 _ACEOF
38787 done
38795 LIBS="$ac_save_LIBS"
38796 CXXFLAGS="$ac_save_CXXFLAGS"
38799 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38800 ac_save_CXXFLAGS="$CXXFLAGS"
38801 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
38805 $as_echo_n "checking for strtold declaration... " >&6; }
38806 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38807 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
38808 $as_echo_n "(cached) " >&6
38809 else
38812 ac_ext=cpp
38813 ac_cpp='$CXXCPP $CPPFLAGS'
38814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38819 /* end confdefs.h. */
38820 #include <stdlib.h>
38822 main ()
38824 strtold(0, 0);
38826 return 0;
38828 _ACEOF
38829 if ac_fn_cxx_try_compile "$LINENO"; then :
38830 glibcxx_cv_func_strtold_use=yes
38831 else
38832 glibcxx_cv_func_strtold_use=no
38834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38835 ac_ext=c
38836 ac_cpp='$CPP $CPPFLAGS'
38837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38846 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38847 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38848 for ac_func in strtold
38849 do :
38850 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38851 if test "x$ac_cv_func_strtold" = x""yes; then :
38852 cat >>confdefs.h <<_ACEOF
38853 #define HAVE_STRTOLD 1
38854 _ACEOF
38857 done
38864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38865 $as_echo_n "checking for strtof declaration... " >&6; }
38866 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38867 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38868 $as_echo_n "(cached) " >&6
38869 else
38872 ac_ext=cpp
38873 ac_cpp='$CXXCPP $CPPFLAGS'
38874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38879 /* end confdefs.h. */
38880 #include <stdlib.h>
38882 main ()
38884 strtof(0, 0);
38886 return 0;
38888 _ACEOF
38889 if ac_fn_cxx_try_compile "$LINENO"; then :
38890 glibcxx_cv_func_strtof_use=yes
38891 else
38892 glibcxx_cv_func_strtof_use=no
38894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38895 ac_ext=c
38896 ac_cpp='$CPP $CPPFLAGS'
38897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38906 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38907 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38908 for ac_func in strtof
38909 do :
38910 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38911 if test "x$ac_cv_func_strtof" = x""yes; then :
38912 cat >>confdefs.h <<_ACEOF
38913 #define HAVE_STRTOF 1
38914 _ACEOF
38917 done
38924 CXXFLAGS="$ac_save_CXXFLAGS"
38926 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38928 # We don't yet support AIX's TLS ABI.
38929 #GCC_CHECK_TLS
38935 am_save_CPPFLAGS="$CPPFLAGS"
38937 for element in $INCICONV; do
38938 haveit=
38939 for x in $CPPFLAGS; do
38941 acl_save_prefix="$prefix"
38942 prefix="$acl_final_prefix"
38943 acl_save_exec_prefix="$exec_prefix"
38944 exec_prefix="$acl_final_exec_prefix"
38945 eval x=\"$x\"
38946 exec_prefix="$acl_save_exec_prefix"
38947 prefix="$acl_save_prefix"
38949 if test "X$x" = "X$element"; then
38950 haveit=yes
38951 break
38953 done
38954 if test -z "$haveit"; then
38955 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38957 done
38960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
38961 $as_echo_n "checking for iconv... " >&6; }
38962 if test "${am_cv_func_iconv+set}" = set; then :
38963 $as_echo_n "(cached) " >&6
38964 else
38966 am_cv_func_iconv="no, consider installing GNU libiconv"
38967 am_cv_lib_iconv=no
38968 if test x$gcc_no_link = xyes; then
38969 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38972 /* end confdefs.h. */
38973 #include <stdlib.h>
38974 #include <iconv.h>
38976 main ()
38978 iconv_t cd = iconv_open("","");
38979 iconv(cd,NULL,NULL,NULL,NULL);
38980 iconv_close(cd);
38982 return 0;
38984 _ACEOF
38985 if ac_fn_c_try_link "$LINENO"; then :
38986 am_cv_func_iconv=yes
38988 rm -f core conftest.err conftest.$ac_objext \
38989 conftest$ac_exeext conftest.$ac_ext
38990 if test "$am_cv_func_iconv" != yes; then
38991 am_save_LIBS="$LIBS"
38992 LIBS="$LIBS $LIBICONV"
38993 if test x$gcc_no_link = xyes; then
38994 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38997 /* end confdefs.h. */
38998 #include <stdlib.h>
38999 #include <iconv.h>
39001 main ()
39003 iconv_t cd = iconv_open("","");
39004 iconv(cd,NULL,NULL,NULL,NULL);
39005 iconv_close(cd);
39007 return 0;
39009 _ACEOF
39010 if ac_fn_c_try_link "$LINENO"; then :
39011 am_cv_lib_iconv=yes
39012 am_cv_func_iconv=yes
39014 rm -f core conftest.err conftest.$ac_objext \
39015 conftest$ac_exeext conftest.$ac_ext
39016 LIBS="$am_save_LIBS"
39020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39021 $as_echo "$am_cv_func_iconv" >&6; }
39022 if test "$am_cv_func_iconv" = yes; then
39024 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39027 if test "$am_cv_lib_iconv" = yes; then
39028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39029 $as_echo_n "checking how to link with libiconv... " >&6; }
39030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39031 $as_echo "$LIBICONV" >&6; }
39032 else
39033 CPPFLAGS="$am_save_CPPFLAGS"
39034 LIBICONV=
39035 LTLIBICONV=
39040 if test "$am_cv_func_iconv" = yes; then
39041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39042 $as_echo_n "checking for iconv declaration... " >&6; }
39043 if test "${am_cv_proto_iconv+set}" = set; then :
39044 $as_echo_n "(cached) " >&6
39045 else
39047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39048 /* end confdefs.h. */
39050 #include <stdlib.h>
39051 #include <iconv.h>
39052 extern
39053 #ifdef __cplusplus
39055 #endif
39056 #if defined(__STDC__) || defined(__cplusplus)
39057 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39058 #else
39059 size_t iconv();
39060 #endif
39063 main ()
39067 return 0;
39069 _ACEOF
39070 if ac_fn_c_try_compile "$LINENO"; then :
39071 am_cv_proto_iconv_arg1=""
39072 else
39073 am_cv_proto_iconv_arg1="const"
39075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39076 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);"
39079 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39081 }$am_cv_proto_iconv" >&5
39082 $as_echo "${ac_t:-
39083 }$am_cv_proto_iconv" >&6; }
39085 cat >>confdefs.h <<_ACEOF
39086 #define ICONV_CONST $am_cv_proto_iconv_arg1
39087 _ACEOF
39093 *-darwin*)
39094 # Darwin versions vary, but the linker should work in a cross environment,
39095 # so we just check for all the features here.
39096 # Check for available headers.
39098 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
39100 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39101 ac_save_CXXFLAGS="$CXXFLAGS"
39102 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
39105 $as_echo_n "checking for sin in -lm... " >&6; }
39106 if test "${ac_cv_lib_m_sin+set}" = set; then :
39107 $as_echo_n "(cached) " >&6
39108 else
39109 ac_check_lib_save_LIBS=$LIBS
39110 LIBS="-lm $LIBS"
39111 if test x$gcc_no_link = xyes; then
39112 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39115 /* end confdefs.h. */
39117 /* Override any GCC internal prototype to avoid an error.
39118 Use char because int might match the return type of a GCC
39119 builtin and then its argument prototype would still apply. */
39120 #ifdef __cplusplus
39121 extern "C"
39122 #endif
39123 char sin ();
39125 main ()
39127 return sin ();
39129 return 0;
39131 _ACEOF
39132 if ac_fn_c_try_link "$LINENO"; then :
39133 ac_cv_lib_m_sin=yes
39134 else
39135 ac_cv_lib_m_sin=no
39137 rm -f core conftest.err conftest.$ac_objext \
39138 conftest$ac_exeext conftest.$ac_ext
39139 LIBS=$ac_check_lib_save_LIBS
39141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
39142 $as_echo "$ac_cv_lib_m_sin" >&6; }
39143 if test "x$ac_cv_lib_m_sin" = x""yes; then :
39144 libm="-lm"
39147 ac_save_LIBS="$LIBS"
39148 LIBS="$LIBS $libm"
39152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
39153 $as_echo_n "checking for isinf declaration... " >&6; }
39154 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
39155 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
39156 $as_echo_n "(cached) " >&6
39157 else
39160 ac_ext=cpp
39161 ac_cpp='$CXXCPP $CPPFLAGS'
39162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39167 /* end confdefs.h. */
39168 #include <math.h>
39169 #ifdef HAVE_IEEEFP_H
39170 #include <ieeefp.h>
39171 #endif
39174 main ()
39176 isinf(0);
39178 return 0;
39180 _ACEOF
39181 if ac_fn_cxx_try_compile "$LINENO"; then :
39182 glibcxx_cv_func_isinf_use=yes
39183 else
39184 glibcxx_cv_func_isinf_use=no
39186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39187 ac_ext=c
39188 ac_cpp='$CPP $CPPFLAGS'
39189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
39198 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
39200 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
39201 for ac_func in isinf
39202 do :
39203 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
39204 if test "x$ac_cv_func_isinf" = x""yes; then :
39205 cat >>confdefs.h <<_ACEOF
39206 #define HAVE_ISINF 1
39207 _ACEOF
39210 done
39212 else
39214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
39215 $as_echo_n "checking for _isinf declaration... " >&6; }
39216 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
39217 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
39218 $as_echo_n "(cached) " >&6
39219 else
39222 ac_ext=cpp
39223 ac_cpp='$CXXCPP $CPPFLAGS'
39224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39229 /* end confdefs.h. */
39230 #include <math.h>
39231 #ifdef HAVE_IEEEFP_H
39232 #include <ieeefp.h>
39233 #endif
39236 main ()
39238 _isinf(0);
39240 return 0;
39242 _ACEOF
39243 if ac_fn_cxx_try_compile "$LINENO"; then :
39244 glibcxx_cv_func__isinf_use=yes
39245 else
39246 glibcxx_cv_func__isinf_use=no
39248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39249 ac_ext=c
39250 ac_cpp='$CPP $CPPFLAGS'
39251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
39260 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
39262 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
39263 for ac_func in _isinf
39264 do :
39265 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
39266 if test "x$ac_cv_func__isinf" = x""yes; then :
39267 cat >>confdefs.h <<_ACEOF
39268 #define HAVE__ISINF 1
39269 _ACEOF
39272 done
39281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
39282 $as_echo_n "checking for isnan declaration... " >&6; }
39283 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
39284 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
39285 $as_echo_n "(cached) " >&6
39286 else
39289 ac_ext=cpp
39290 ac_cpp='$CXXCPP $CPPFLAGS'
39291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39296 /* end confdefs.h. */
39297 #include <math.h>
39298 #ifdef HAVE_IEEEFP_H
39299 #include <ieeefp.h>
39300 #endif
39303 main ()
39305 isnan(0);
39307 return 0;
39309 _ACEOF
39310 if ac_fn_cxx_try_compile "$LINENO"; then :
39311 glibcxx_cv_func_isnan_use=yes
39312 else
39313 glibcxx_cv_func_isnan_use=no
39315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39316 ac_ext=c
39317 ac_cpp='$CPP $CPPFLAGS'
39318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
39327 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
39329 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
39330 for ac_func in isnan
39331 do :
39332 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
39333 if test "x$ac_cv_func_isnan" = x""yes; then :
39334 cat >>confdefs.h <<_ACEOF
39335 #define HAVE_ISNAN 1
39336 _ACEOF
39339 done
39341 else
39343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
39344 $as_echo_n "checking for _isnan declaration... " >&6; }
39345 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
39346 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
39347 $as_echo_n "(cached) " >&6
39348 else
39351 ac_ext=cpp
39352 ac_cpp='$CXXCPP $CPPFLAGS'
39353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39358 /* end confdefs.h. */
39359 #include <math.h>
39360 #ifdef HAVE_IEEEFP_H
39361 #include <ieeefp.h>
39362 #endif
39365 main ()
39367 _isnan(0);
39369 return 0;
39371 _ACEOF
39372 if ac_fn_cxx_try_compile "$LINENO"; then :
39373 glibcxx_cv_func__isnan_use=yes
39374 else
39375 glibcxx_cv_func__isnan_use=no
39377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39378 ac_ext=c
39379 ac_cpp='$CPP $CPPFLAGS'
39380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
39389 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
39391 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
39392 for ac_func in _isnan
39393 do :
39394 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
39395 if test "x$ac_cv_func__isnan" = x""yes; then :
39396 cat >>confdefs.h <<_ACEOF
39397 #define HAVE__ISNAN 1
39398 _ACEOF
39401 done
39410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
39411 $as_echo_n "checking for finite declaration... " >&6; }
39412 if test x${glibcxx_cv_func_finite_use+set} != xset; then
39413 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
39414 $as_echo_n "(cached) " >&6
39415 else
39418 ac_ext=cpp
39419 ac_cpp='$CXXCPP $CPPFLAGS'
39420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39425 /* end confdefs.h. */
39426 #include <math.h>
39427 #ifdef HAVE_IEEEFP_H
39428 #include <ieeefp.h>
39429 #endif
39432 main ()
39434 finite(0);
39436 return 0;
39438 _ACEOF
39439 if ac_fn_cxx_try_compile "$LINENO"; then :
39440 glibcxx_cv_func_finite_use=yes
39441 else
39442 glibcxx_cv_func_finite_use=no
39444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39445 ac_ext=c
39446 ac_cpp='$CPP $CPPFLAGS'
39447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
39456 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
39458 if test x$glibcxx_cv_func_finite_use = x"yes"; then
39459 for ac_func in finite
39460 do :
39461 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
39462 if test "x$ac_cv_func_finite" = x""yes; then :
39463 cat >>confdefs.h <<_ACEOF
39464 #define HAVE_FINITE 1
39465 _ACEOF
39468 done
39470 else
39472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
39473 $as_echo_n "checking for _finite declaration... " >&6; }
39474 if test x${glibcxx_cv_func__finite_use+set} != xset; then
39475 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
39476 $as_echo_n "(cached) " >&6
39477 else
39480 ac_ext=cpp
39481 ac_cpp='$CXXCPP $CPPFLAGS'
39482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39487 /* end confdefs.h. */
39488 #include <math.h>
39489 #ifdef HAVE_IEEEFP_H
39490 #include <ieeefp.h>
39491 #endif
39494 main ()
39496 _finite(0);
39498 return 0;
39500 _ACEOF
39501 if ac_fn_cxx_try_compile "$LINENO"; then :
39502 glibcxx_cv_func__finite_use=yes
39503 else
39504 glibcxx_cv_func__finite_use=no
39506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39507 ac_ext=c
39508 ac_cpp='$CPP $CPPFLAGS'
39509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
39518 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
39520 if test x$glibcxx_cv_func__finite_use = x"yes"; then
39521 for ac_func in _finite
39522 do :
39523 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
39524 if test "x$ac_cv_func__finite" = x""yes; then :
39525 cat >>confdefs.h <<_ACEOF
39526 #define HAVE__FINITE 1
39527 _ACEOF
39530 done
39539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
39540 $as_echo_n "checking for sincos declaration... " >&6; }
39541 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
39542 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
39543 $as_echo_n "(cached) " >&6
39544 else
39547 ac_ext=cpp
39548 ac_cpp='$CXXCPP $CPPFLAGS'
39549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39554 /* end confdefs.h. */
39555 #include <math.h>
39557 main ()
39559 sincos(0, 0, 0);
39561 return 0;
39563 _ACEOF
39564 if ac_fn_cxx_try_compile "$LINENO"; then :
39565 glibcxx_cv_func_sincos_use=yes
39566 else
39567 glibcxx_cv_func_sincos_use=no
39569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39570 ac_ext=c
39571 ac_cpp='$CPP $CPPFLAGS'
39572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
39581 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
39583 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
39584 for ac_func in sincos
39585 do :
39586 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
39587 if test "x$ac_cv_func_sincos" = x""yes; then :
39588 cat >>confdefs.h <<_ACEOF
39589 #define HAVE_SINCOS 1
39590 _ACEOF
39593 done
39595 else
39597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
39598 $as_echo_n "checking for _sincos declaration... " >&6; }
39599 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
39600 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
39601 $as_echo_n "(cached) " >&6
39602 else
39605 ac_ext=cpp
39606 ac_cpp='$CXXCPP $CPPFLAGS'
39607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39612 /* end confdefs.h. */
39613 #include <math.h>
39615 main ()
39617 _sincos(0, 0, 0);
39619 return 0;
39621 _ACEOF
39622 if ac_fn_cxx_try_compile "$LINENO"; then :
39623 glibcxx_cv_func__sincos_use=yes
39624 else
39625 glibcxx_cv_func__sincos_use=no
39627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39628 ac_ext=c
39629 ac_cpp='$CPP $CPPFLAGS'
39630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
39639 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
39641 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
39642 for ac_func in _sincos
39643 do :
39644 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
39645 if test "x$ac_cv_func__sincos" = x""yes; then :
39646 cat >>confdefs.h <<_ACEOF
39647 #define HAVE__SINCOS 1
39648 _ACEOF
39651 done
39660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
39661 $as_echo_n "checking for fpclass declaration... " >&6; }
39662 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
39663 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
39664 $as_echo_n "(cached) " >&6
39665 else
39668 ac_ext=cpp
39669 ac_cpp='$CXXCPP $CPPFLAGS'
39670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39675 /* end confdefs.h. */
39676 #include <math.h>
39677 #ifdef HAVE_IEEEFP_H
39678 #include <ieeefp.h>
39679 #endif
39682 main ()
39684 fpclass(0);
39686 return 0;
39688 _ACEOF
39689 if ac_fn_cxx_try_compile "$LINENO"; then :
39690 glibcxx_cv_func_fpclass_use=yes
39691 else
39692 glibcxx_cv_func_fpclass_use=no
39694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39695 ac_ext=c
39696 ac_cpp='$CPP $CPPFLAGS'
39697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
39706 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
39708 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
39709 for ac_func in fpclass
39710 do :
39711 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
39712 if test "x$ac_cv_func_fpclass" = x""yes; then :
39713 cat >>confdefs.h <<_ACEOF
39714 #define HAVE_FPCLASS 1
39715 _ACEOF
39718 done
39720 else
39722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
39723 $as_echo_n "checking for _fpclass declaration... " >&6; }
39724 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
39725 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
39726 $as_echo_n "(cached) " >&6
39727 else
39730 ac_ext=cpp
39731 ac_cpp='$CXXCPP $CPPFLAGS'
39732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39737 /* end confdefs.h. */
39738 #include <math.h>
39739 #ifdef HAVE_IEEEFP_H
39740 #include <ieeefp.h>
39741 #endif
39744 main ()
39746 _fpclass(0);
39748 return 0;
39750 _ACEOF
39751 if ac_fn_cxx_try_compile "$LINENO"; then :
39752 glibcxx_cv_func__fpclass_use=yes
39753 else
39754 glibcxx_cv_func__fpclass_use=no
39756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39757 ac_ext=c
39758 ac_cpp='$CPP $CPPFLAGS'
39759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
39768 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
39770 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
39771 for ac_func in _fpclass
39772 do :
39773 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
39774 if test "x$ac_cv_func__fpclass" = x""yes; then :
39775 cat >>confdefs.h <<_ACEOF
39776 #define HAVE__FPCLASS 1
39777 _ACEOF
39780 done
39789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
39790 $as_echo_n "checking for qfpclass declaration... " >&6; }
39791 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
39792 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
39793 $as_echo_n "(cached) " >&6
39794 else
39797 ac_ext=cpp
39798 ac_cpp='$CXXCPP $CPPFLAGS'
39799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39804 /* end confdefs.h. */
39805 #include <math.h>
39806 #ifdef HAVE_IEEEFP_H
39807 #include <ieeefp.h>
39808 #endif
39811 main ()
39813 qfpclass(0);
39815 return 0;
39817 _ACEOF
39818 if ac_fn_cxx_try_compile "$LINENO"; then :
39819 glibcxx_cv_func_qfpclass_use=yes
39820 else
39821 glibcxx_cv_func_qfpclass_use=no
39823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39824 ac_ext=c
39825 ac_cpp='$CPP $CPPFLAGS'
39826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39835 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39837 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39838 for ac_func in qfpclass
39839 do :
39840 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39841 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39842 cat >>confdefs.h <<_ACEOF
39843 #define HAVE_QFPCLASS 1
39844 _ACEOF
39847 done
39849 else
39851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39852 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39853 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39854 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39855 $as_echo_n "(cached) " >&6
39856 else
39859 ac_ext=cpp
39860 ac_cpp='$CXXCPP $CPPFLAGS'
39861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39866 /* end confdefs.h. */
39867 #include <math.h>
39868 #ifdef HAVE_IEEEFP_H
39869 #include <ieeefp.h>
39870 #endif
39873 main ()
39875 _qfpclass(0);
39877 return 0;
39879 _ACEOF
39880 if ac_fn_cxx_try_compile "$LINENO"; then :
39881 glibcxx_cv_func__qfpclass_use=yes
39882 else
39883 glibcxx_cv_func__qfpclass_use=no
39885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39886 ac_ext=c
39887 ac_cpp='$CPP $CPPFLAGS'
39888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39897 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39899 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39900 for ac_func in _qfpclass
39901 do :
39902 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39903 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39904 cat >>confdefs.h <<_ACEOF
39905 #define HAVE__QFPCLASS 1
39906 _ACEOF
39909 done
39918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39919 $as_echo_n "checking for hypot declaration... " >&6; }
39920 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39921 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39922 $as_echo_n "(cached) " >&6
39923 else
39926 ac_ext=cpp
39927 ac_cpp='$CXXCPP $CPPFLAGS'
39928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39933 /* end confdefs.h. */
39934 #include <math.h>
39936 main ()
39938 hypot(0, 0);
39940 return 0;
39942 _ACEOF
39943 if ac_fn_cxx_try_compile "$LINENO"; then :
39944 glibcxx_cv_func_hypot_use=yes
39945 else
39946 glibcxx_cv_func_hypot_use=no
39948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39949 ac_ext=c
39950 ac_cpp='$CPP $CPPFLAGS'
39951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
39960 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
39962 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
39963 for ac_func in hypot
39964 do :
39965 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
39966 if test "x$ac_cv_func_hypot" = x""yes; then :
39967 cat >>confdefs.h <<_ACEOF
39968 #define HAVE_HYPOT 1
39969 _ACEOF
39972 done
39974 else
39976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
39977 $as_echo_n "checking for _hypot declaration... " >&6; }
39978 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
39979 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
39980 $as_echo_n "(cached) " >&6
39981 else
39984 ac_ext=cpp
39985 ac_cpp='$CXXCPP $CPPFLAGS'
39986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39991 /* end confdefs.h. */
39992 #include <math.h>
39994 main ()
39996 _hypot(0, 0);
39998 return 0;
40000 _ACEOF
40001 if ac_fn_cxx_try_compile "$LINENO"; then :
40002 glibcxx_cv_func__hypot_use=yes
40003 else
40004 glibcxx_cv_func__hypot_use=no
40006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40007 ac_ext=c
40008 ac_cpp='$CPP $CPPFLAGS'
40009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
40018 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
40020 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
40021 for ac_func in _hypot
40022 do :
40023 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
40024 if test "x$ac_cv_func__hypot" = x""yes; then :
40025 cat >>confdefs.h <<_ACEOF
40026 #define HAVE__HYPOT 1
40027 _ACEOF
40030 done
40039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
40040 $as_echo_n "checking for float trig functions... " >&6; }
40041 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
40042 $as_echo_n "(cached) " >&6
40043 else
40046 ac_ext=cpp
40047 ac_cpp='$CXXCPP $CPPFLAGS'
40048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40053 /* end confdefs.h. */
40054 #include <math.h>
40056 main ()
40058 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
40060 return 0;
40062 _ACEOF
40063 if ac_fn_cxx_try_compile "$LINENO"; then :
40064 glibcxx_cv_func_float_trig_use=yes
40065 else
40066 glibcxx_cv_func_float_trig_use=no
40068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40069 ac_ext=c
40070 ac_cpp='$CPP $CPPFLAGS'
40071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
40078 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
40079 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
40080 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
40081 do :
40082 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40083 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40084 eval as_val=\$$as_ac_var
40085 if test "x$as_val" = x""yes; then :
40086 cat >>confdefs.h <<_ACEOF
40087 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40088 _ACEOF
40091 done
40093 else
40094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
40095 $as_echo_n "checking for _float trig functions... " >&6; }
40096 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
40097 $as_echo_n "(cached) " >&6
40098 else
40101 ac_ext=cpp
40102 ac_cpp='$CXXCPP $CPPFLAGS'
40103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40108 /* end confdefs.h. */
40109 #include <math.h>
40111 main ()
40113 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
40115 return 0;
40117 _ACEOF
40118 if ac_fn_cxx_try_compile "$LINENO"; then :
40119 glibcxx_cv_func__float_trig_use=yes
40120 else
40121 glibcxx_cv_func__float_trig_use=no
40123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40124 ac_ext=c
40125 ac_cpp='$CPP $CPPFLAGS'
40126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
40133 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
40134 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
40135 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
40136 do :
40137 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40138 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40139 eval as_val=\$$as_ac_var
40140 if test "x$as_val" = x""yes; then :
40141 cat >>confdefs.h <<_ACEOF
40142 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40143 _ACEOF
40146 done
40155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
40156 $as_echo_n "checking for float round functions... " >&6; }
40157 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
40158 $as_echo_n "(cached) " >&6
40159 else
40162 ac_ext=cpp
40163 ac_cpp='$CXXCPP $CPPFLAGS'
40164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40169 /* end confdefs.h. */
40170 #include <math.h>
40172 main ()
40174 ceilf (0); floorf (0);
40176 return 0;
40178 _ACEOF
40179 if ac_fn_cxx_try_compile "$LINENO"; then :
40180 glibcxx_cv_func_float_round_use=yes
40181 else
40182 glibcxx_cv_func_float_round_use=no
40184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40185 ac_ext=c
40186 ac_cpp='$CPP $CPPFLAGS'
40187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
40194 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
40195 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
40196 for ac_func in ceilf floorf
40197 do :
40198 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40199 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40200 eval as_val=\$$as_ac_var
40201 if test "x$as_val" = x""yes; then :
40202 cat >>confdefs.h <<_ACEOF
40203 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40204 _ACEOF
40207 done
40209 else
40210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
40211 $as_echo_n "checking for _float round functions... " >&6; }
40212 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
40213 $as_echo_n "(cached) " >&6
40214 else
40217 ac_ext=cpp
40218 ac_cpp='$CXXCPP $CPPFLAGS'
40219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40224 /* end confdefs.h. */
40225 #include <math.h>
40227 main ()
40229 _ceilf (0); _floorf (0);
40231 return 0;
40233 _ACEOF
40234 if ac_fn_cxx_try_compile "$LINENO"; then :
40235 glibcxx_cv_func__float_round_use=yes
40236 else
40237 glibcxx_cv_func__float_round_use=no
40239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40240 ac_ext=c
40241 ac_cpp='$CPP $CPPFLAGS'
40242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
40249 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
40250 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40251 for ac_func in _ceilf _floorf
40252 do :
40253 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40254 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40255 eval as_val=\$$as_ac_var
40256 if test "x$as_val" = x""yes; then :
40257 cat >>confdefs.h <<_ACEOF
40258 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40259 _ACEOF
40262 done
40272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
40273 $as_echo_n "checking for expf declaration... " >&6; }
40274 if test x${glibcxx_cv_func_expf_use+set} != xset; then
40275 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
40276 $as_echo_n "(cached) " >&6
40277 else
40280 ac_ext=cpp
40281 ac_cpp='$CXXCPP $CPPFLAGS'
40282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40287 /* end confdefs.h. */
40288 #include <math.h>
40289 #ifdef HAVE_IEEEFP_H
40290 #include <ieeefp.h>
40291 #endif
40294 main ()
40296 expf(0);
40298 return 0;
40300 _ACEOF
40301 if ac_fn_cxx_try_compile "$LINENO"; then :
40302 glibcxx_cv_func_expf_use=yes
40303 else
40304 glibcxx_cv_func_expf_use=no
40306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40307 ac_ext=c
40308 ac_cpp='$CPP $CPPFLAGS'
40309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
40318 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
40320 if test x$glibcxx_cv_func_expf_use = x"yes"; then
40321 for ac_func in expf
40322 do :
40323 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
40324 if test "x$ac_cv_func_expf" = x""yes; then :
40325 cat >>confdefs.h <<_ACEOF
40326 #define HAVE_EXPF 1
40327 _ACEOF
40330 done
40332 else
40334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
40335 $as_echo_n "checking for _expf declaration... " >&6; }
40336 if test x${glibcxx_cv_func__expf_use+set} != xset; then
40337 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
40338 $as_echo_n "(cached) " >&6
40339 else
40342 ac_ext=cpp
40343 ac_cpp='$CXXCPP $CPPFLAGS'
40344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40349 /* end confdefs.h. */
40350 #include <math.h>
40351 #ifdef HAVE_IEEEFP_H
40352 #include <ieeefp.h>
40353 #endif
40356 main ()
40358 _expf(0);
40360 return 0;
40362 _ACEOF
40363 if ac_fn_cxx_try_compile "$LINENO"; then :
40364 glibcxx_cv_func__expf_use=yes
40365 else
40366 glibcxx_cv_func__expf_use=no
40368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40369 ac_ext=c
40370 ac_cpp='$CPP $CPPFLAGS'
40371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
40380 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
40382 if test x$glibcxx_cv_func__expf_use = x"yes"; then
40383 for ac_func in _expf
40384 do :
40385 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
40386 if test "x$ac_cv_func__expf" = x""yes; then :
40387 cat >>confdefs.h <<_ACEOF
40388 #define HAVE__EXPF 1
40389 _ACEOF
40392 done
40401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
40402 $as_echo_n "checking for isnanf declaration... " >&6; }
40403 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
40404 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
40405 $as_echo_n "(cached) " >&6
40406 else
40409 ac_ext=cpp
40410 ac_cpp='$CXXCPP $CPPFLAGS'
40411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40416 /* end confdefs.h. */
40417 #include <math.h>
40418 #ifdef HAVE_IEEEFP_H
40419 #include <ieeefp.h>
40420 #endif
40423 main ()
40425 isnanf(0);
40427 return 0;
40429 _ACEOF
40430 if ac_fn_cxx_try_compile "$LINENO"; then :
40431 glibcxx_cv_func_isnanf_use=yes
40432 else
40433 glibcxx_cv_func_isnanf_use=no
40435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40436 ac_ext=c
40437 ac_cpp='$CPP $CPPFLAGS'
40438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
40447 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
40449 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
40450 for ac_func in isnanf
40451 do :
40452 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
40453 if test "x$ac_cv_func_isnanf" = x""yes; then :
40454 cat >>confdefs.h <<_ACEOF
40455 #define HAVE_ISNANF 1
40456 _ACEOF
40459 done
40461 else
40463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
40464 $as_echo_n "checking for _isnanf declaration... " >&6; }
40465 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
40466 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
40467 $as_echo_n "(cached) " >&6
40468 else
40471 ac_ext=cpp
40472 ac_cpp='$CXXCPP $CPPFLAGS'
40473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40478 /* end confdefs.h. */
40479 #include <math.h>
40480 #ifdef HAVE_IEEEFP_H
40481 #include <ieeefp.h>
40482 #endif
40485 main ()
40487 _isnanf(0);
40489 return 0;
40491 _ACEOF
40492 if ac_fn_cxx_try_compile "$LINENO"; then :
40493 glibcxx_cv_func__isnanf_use=yes
40494 else
40495 glibcxx_cv_func__isnanf_use=no
40497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40498 ac_ext=c
40499 ac_cpp='$CPP $CPPFLAGS'
40500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
40509 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
40511 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
40512 for ac_func in _isnanf
40513 do :
40514 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
40515 if test "x$ac_cv_func__isnanf" = x""yes; then :
40516 cat >>confdefs.h <<_ACEOF
40517 #define HAVE__ISNANF 1
40518 _ACEOF
40521 done
40530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
40531 $as_echo_n "checking for isinff declaration... " >&6; }
40532 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
40533 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
40534 $as_echo_n "(cached) " >&6
40535 else
40538 ac_ext=cpp
40539 ac_cpp='$CXXCPP $CPPFLAGS'
40540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40545 /* end confdefs.h. */
40546 #include <math.h>
40547 #ifdef HAVE_IEEEFP_H
40548 #include <ieeefp.h>
40549 #endif
40552 main ()
40554 isinff(0);
40556 return 0;
40558 _ACEOF
40559 if ac_fn_cxx_try_compile "$LINENO"; then :
40560 glibcxx_cv_func_isinff_use=yes
40561 else
40562 glibcxx_cv_func_isinff_use=no
40564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40565 ac_ext=c
40566 ac_cpp='$CPP $CPPFLAGS'
40567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
40576 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
40578 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
40579 for ac_func in isinff
40580 do :
40581 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
40582 if test "x$ac_cv_func_isinff" = x""yes; then :
40583 cat >>confdefs.h <<_ACEOF
40584 #define HAVE_ISINFF 1
40585 _ACEOF
40588 done
40590 else
40592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
40593 $as_echo_n "checking for _isinff declaration... " >&6; }
40594 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
40595 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
40596 $as_echo_n "(cached) " >&6
40597 else
40600 ac_ext=cpp
40601 ac_cpp='$CXXCPP $CPPFLAGS'
40602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40607 /* end confdefs.h. */
40608 #include <math.h>
40609 #ifdef HAVE_IEEEFP_H
40610 #include <ieeefp.h>
40611 #endif
40614 main ()
40616 _isinff(0);
40618 return 0;
40620 _ACEOF
40621 if ac_fn_cxx_try_compile "$LINENO"; then :
40622 glibcxx_cv_func__isinff_use=yes
40623 else
40624 glibcxx_cv_func__isinff_use=no
40626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40627 ac_ext=c
40628 ac_cpp='$CPP $CPPFLAGS'
40629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
40638 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
40640 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
40641 for ac_func in _isinff
40642 do :
40643 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
40644 if test "x$ac_cv_func__isinff" = x""yes; then :
40645 cat >>confdefs.h <<_ACEOF
40646 #define HAVE__ISINFF 1
40647 _ACEOF
40650 done
40659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
40660 $as_echo_n "checking for atan2f declaration... " >&6; }
40661 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
40662 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
40663 $as_echo_n "(cached) " >&6
40664 else
40667 ac_ext=cpp
40668 ac_cpp='$CXXCPP $CPPFLAGS'
40669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40674 /* end confdefs.h. */
40675 #include <math.h>
40677 main ()
40679 atan2f(0, 0);
40681 return 0;
40683 _ACEOF
40684 if ac_fn_cxx_try_compile "$LINENO"; then :
40685 glibcxx_cv_func_atan2f_use=yes
40686 else
40687 glibcxx_cv_func_atan2f_use=no
40689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40690 ac_ext=c
40691 ac_cpp='$CPP $CPPFLAGS'
40692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
40701 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
40703 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
40704 for ac_func in atan2f
40705 do :
40706 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
40707 if test "x$ac_cv_func_atan2f" = x""yes; then :
40708 cat >>confdefs.h <<_ACEOF
40709 #define HAVE_ATAN2F 1
40710 _ACEOF
40713 done
40715 else
40717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
40718 $as_echo_n "checking for _atan2f declaration... " >&6; }
40719 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
40720 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
40721 $as_echo_n "(cached) " >&6
40722 else
40725 ac_ext=cpp
40726 ac_cpp='$CXXCPP $CPPFLAGS'
40727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40732 /* end confdefs.h. */
40733 #include <math.h>
40735 main ()
40737 _atan2f(0, 0);
40739 return 0;
40741 _ACEOF
40742 if ac_fn_cxx_try_compile "$LINENO"; then :
40743 glibcxx_cv_func__atan2f_use=yes
40744 else
40745 glibcxx_cv_func__atan2f_use=no
40747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40748 ac_ext=c
40749 ac_cpp='$CPP $CPPFLAGS'
40750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
40759 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
40761 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
40762 for ac_func in _atan2f
40763 do :
40764 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
40765 if test "x$ac_cv_func__atan2f" = x""yes; then :
40766 cat >>confdefs.h <<_ACEOF
40767 #define HAVE__ATAN2F 1
40768 _ACEOF
40771 done
40780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
40781 $as_echo_n "checking for fabsf declaration... " >&6; }
40782 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
40783 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
40784 $as_echo_n "(cached) " >&6
40785 else
40788 ac_ext=cpp
40789 ac_cpp='$CXXCPP $CPPFLAGS'
40790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40795 /* end confdefs.h. */
40796 #include <math.h>
40797 #ifdef HAVE_IEEEFP_H
40798 #include <ieeefp.h>
40799 #endif
40802 main ()
40804 fabsf(0);
40806 return 0;
40808 _ACEOF
40809 if ac_fn_cxx_try_compile "$LINENO"; then :
40810 glibcxx_cv_func_fabsf_use=yes
40811 else
40812 glibcxx_cv_func_fabsf_use=no
40814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40815 ac_ext=c
40816 ac_cpp='$CPP $CPPFLAGS'
40817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40826 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40828 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40829 for ac_func in fabsf
40830 do :
40831 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40832 if test "x$ac_cv_func_fabsf" = x""yes; then :
40833 cat >>confdefs.h <<_ACEOF
40834 #define HAVE_FABSF 1
40835 _ACEOF
40838 done
40840 else
40842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40843 $as_echo_n "checking for _fabsf declaration... " >&6; }
40844 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40845 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40846 $as_echo_n "(cached) " >&6
40847 else
40850 ac_ext=cpp
40851 ac_cpp='$CXXCPP $CPPFLAGS'
40852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40857 /* end confdefs.h. */
40858 #include <math.h>
40859 #ifdef HAVE_IEEEFP_H
40860 #include <ieeefp.h>
40861 #endif
40864 main ()
40866 _fabsf(0);
40868 return 0;
40870 _ACEOF
40871 if ac_fn_cxx_try_compile "$LINENO"; then :
40872 glibcxx_cv_func__fabsf_use=yes
40873 else
40874 glibcxx_cv_func__fabsf_use=no
40876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40877 ac_ext=c
40878 ac_cpp='$CPP $CPPFLAGS'
40879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40888 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40890 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40891 for ac_func in _fabsf
40892 do :
40893 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40894 if test "x$ac_cv_func__fabsf" = x""yes; then :
40895 cat >>confdefs.h <<_ACEOF
40896 #define HAVE__FABSF 1
40897 _ACEOF
40900 done
40909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40910 $as_echo_n "checking for fmodf declaration... " >&6; }
40911 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40912 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40913 $as_echo_n "(cached) " >&6
40914 else
40917 ac_ext=cpp
40918 ac_cpp='$CXXCPP $CPPFLAGS'
40919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40924 /* end confdefs.h. */
40925 #include <math.h>
40927 main ()
40929 fmodf(0, 0);
40931 return 0;
40933 _ACEOF
40934 if ac_fn_cxx_try_compile "$LINENO"; then :
40935 glibcxx_cv_func_fmodf_use=yes
40936 else
40937 glibcxx_cv_func_fmodf_use=no
40939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40940 ac_ext=c
40941 ac_cpp='$CPP $CPPFLAGS'
40942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
40951 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40953 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40954 for ac_func in fmodf
40955 do :
40956 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40957 if test "x$ac_cv_func_fmodf" = x""yes; then :
40958 cat >>confdefs.h <<_ACEOF
40959 #define HAVE_FMODF 1
40960 _ACEOF
40963 done
40965 else
40967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
40968 $as_echo_n "checking for _fmodf declaration... " >&6; }
40969 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
40970 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
40971 $as_echo_n "(cached) " >&6
40972 else
40975 ac_ext=cpp
40976 ac_cpp='$CXXCPP $CPPFLAGS'
40977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40982 /* end confdefs.h. */
40983 #include <math.h>
40985 main ()
40987 _fmodf(0, 0);
40989 return 0;
40991 _ACEOF
40992 if ac_fn_cxx_try_compile "$LINENO"; then :
40993 glibcxx_cv_func__fmodf_use=yes
40994 else
40995 glibcxx_cv_func__fmodf_use=no
40997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40998 ac_ext=c
40999 ac_cpp='$CPP $CPPFLAGS'
41000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
41009 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
41011 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
41012 for ac_func in _fmodf
41013 do :
41014 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
41015 if test "x$ac_cv_func__fmodf" = x""yes; then :
41016 cat >>confdefs.h <<_ACEOF
41017 #define HAVE__FMODF 1
41018 _ACEOF
41021 done
41030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
41031 $as_echo_n "checking for frexpf declaration... " >&6; }
41032 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
41033 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
41034 $as_echo_n "(cached) " >&6
41035 else
41038 ac_ext=cpp
41039 ac_cpp='$CXXCPP $CPPFLAGS'
41040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41045 /* end confdefs.h. */
41046 #include <math.h>
41048 main ()
41050 frexpf(0, 0);
41052 return 0;
41054 _ACEOF
41055 if ac_fn_cxx_try_compile "$LINENO"; then :
41056 glibcxx_cv_func_frexpf_use=yes
41057 else
41058 glibcxx_cv_func_frexpf_use=no
41060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41061 ac_ext=c
41062 ac_cpp='$CPP $CPPFLAGS'
41063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
41072 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
41074 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
41075 for ac_func in frexpf
41076 do :
41077 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
41078 if test "x$ac_cv_func_frexpf" = x""yes; then :
41079 cat >>confdefs.h <<_ACEOF
41080 #define HAVE_FREXPF 1
41081 _ACEOF
41084 done
41086 else
41088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
41089 $as_echo_n "checking for _frexpf declaration... " >&6; }
41090 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
41091 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
41092 $as_echo_n "(cached) " >&6
41093 else
41096 ac_ext=cpp
41097 ac_cpp='$CXXCPP $CPPFLAGS'
41098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41103 /* end confdefs.h. */
41104 #include <math.h>
41106 main ()
41108 _frexpf(0, 0);
41110 return 0;
41112 _ACEOF
41113 if ac_fn_cxx_try_compile "$LINENO"; then :
41114 glibcxx_cv_func__frexpf_use=yes
41115 else
41116 glibcxx_cv_func__frexpf_use=no
41118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41119 ac_ext=c
41120 ac_cpp='$CPP $CPPFLAGS'
41121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
41130 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
41132 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
41133 for ac_func in _frexpf
41134 do :
41135 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
41136 if test "x$ac_cv_func__frexpf" = x""yes; then :
41137 cat >>confdefs.h <<_ACEOF
41138 #define HAVE__FREXPF 1
41139 _ACEOF
41142 done
41151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
41152 $as_echo_n "checking for hypotf declaration... " >&6; }
41153 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
41154 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
41155 $as_echo_n "(cached) " >&6
41156 else
41159 ac_ext=cpp
41160 ac_cpp='$CXXCPP $CPPFLAGS'
41161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41166 /* end confdefs.h. */
41167 #include <math.h>
41169 main ()
41171 hypotf(0, 0);
41173 return 0;
41175 _ACEOF
41176 if ac_fn_cxx_try_compile "$LINENO"; then :
41177 glibcxx_cv_func_hypotf_use=yes
41178 else
41179 glibcxx_cv_func_hypotf_use=no
41181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41182 ac_ext=c
41183 ac_cpp='$CPP $CPPFLAGS'
41184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
41193 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
41195 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
41196 for ac_func in hypotf
41197 do :
41198 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
41199 if test "x$ac_cv_func_hypotf" = x""yes; then :
41200 cat >>confdefs.h <<_ACEOF
41201 #define HAVE_HYPOTF 1
41202 _ACEOF
41205 done
41207 else
41209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
41210 $as_echo_n "checking for _hypotf declaration... " >&6; }
41211 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
41212 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
41213 $as_echo_n "(cached) " >&6
41214 else
41217 ac_ext=cpp
41218 ac_cpp='$CXXCPP $CPPFLAGS'
41219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41224 /* end confdefs.h. */
41225 #include <math.h>
41227 main ()
41229 _hypotf(0, 0);
41231 return 0;
41233 _ACEOF
41234 if ac_fn_cxx_try_compile "$LINENO"; then :
41235 glibcxx_cv_func__hypotf_use=yes
41236 else
41237 glibcxx_cv_func__hypotf_use=no
41239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41240 ac_ext=c
41241 ac_cpp='$CPP $CPPFLAGS'
41242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
41251 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
41253 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
41254 for ac_func in _hypotf
41255 do :
41256 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
41257 if test "x$ac_cv_func__hypotf" = x""yes; then :
41258 cat >>confdefs.h <<_ACEOF
41259 #define HAVE__HYPOTF 1
41260 _ACEOF
41263 done
41272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
41273 $as_echo_n "checking for ldexpf declaration... " >&6; }
41274 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
41275 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
41276 $as_echo_n "(cached) " >&6
41277 else
41280 ac_ext=cpp
41281 ac_cpp='$CXXCPP $CPPFLAGS'
41282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41287 /* end confdefs.h. */
41288 #include <math.h>
41290 main ()
41292 ldexpf(0, 0);
41294 return 0;
41296 _ACEOF
41297 if ac_fn_cxx_try_compile "$LINENO"; then :
41298 glibcxx_cv_func_ldexpf_use=yes
41299 else
41300 glibcxx_cv_func_ldexpf_use=no
41302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41303 ac_ext=c
41304 ac_cpp='$CPP $CPPFLAGS'
41305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
41314 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
41316 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
41317 for ac_func in ldexpf
41318 do :
41319 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
41320 if test "x$ac_cv_func_ldexpf" = x""yes; then :
41321 cat >>confdefs.h <<_ACEOF
41322 #define HAVE_LDEXPF 1
41323 _ACEOF
41326 done
41328 else
41330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
41331 $as_echo_n "checking for _ldexpf declaration... " >&6; }
41332 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
41333 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
41334 $as_echo_n "(cached) " >&6
41335 else
41338 ac_ext=cpp
41339 ac_cpp='$CXXCPP $CPPFLAGS'
41340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41345 /* end confdefs.h. */
41346 #include <math.h>
41348 main ()
41350 _ldexpf(0, 0);
41352 return 0;
41354 _ACEOF
41355 if ac_fn_cxx_try_compile "$LINENO"; then :
41356 glibcxx_cv_func__ldexpf_use=yes
41357 else
41358 glibcxx_cv_func__ldexpf_use=no
41360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41361 ac_ext=c
41362 ac_cpp='$CPP $CPPFLAGS'
41363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
41372 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
41374 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
41375 for ac_func in _ldexpf
41376 do :
41377 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
41378 if test "x$ac_cv_func__ldexpf" = x""yes; then :
41379 cat >>confdefs.h <<_ACEOF
41380 #define HAVE__LDEXPF 1
41381 _ACEOF
41384 done
41393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
41394 $as_echo_n "checking for logf declaration... " >&6; }
41395 if test x${glibcxx_cv_func_logf_use+set} != xset; then
41396 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
41397 $as_echo_n "(cached) " >&6
41398 else
41401 ac_ext=cpp
41402 ac_cpp='$CXXCPP $CPPFLAGS'
41403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41408 /* end confdefs.h. */
41409 #include <math.h>
41410 #ifdef HAVE_IEEEFP_H
41411 #include <ieeefp.h>
41412 #endif
41415 main ()
41417 logf(0);
41419 return 0;
41421 _ACEOF
41422 if ac_fn_cxx_try_compile "$LINENO"; then :
41423 glibcxx_cv_func_logf_use=yes
41424 else
41425 glibcxx_cv_func_logf_use=no
41427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41428 ac_ext=c
41429 ac_cpp='$CPP $CPPFLAGS'
41430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
41439 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
41441 if test x$glibcxx_cv_func_logf_use = x"yes"; then
41442 for ac_func in logf
41443 do :
41444 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
41445 if test "x$ac_cv_func_logf" = x""yes; then :
41446 cat >>confdefs.h <<_ACEOF
41447 #define HAVE_LOGF 1
41448 _ACEOF
41451 done
41453 else
41455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
41456 $as_echo_n "checking for _logf declaration... " >&6; }
41457 if test x${glibcxx_cv_func__logf_use+set} != xset; then
41458 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
41459 $as_echo_n "(cached) " >&6
41460 else
41463 ac_ext=cpp
41464 ac_cpp='$CXXCPP $CPPFLAGS'
41465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41470 /* end confdefs.h. */
41471 #include <math.h>
41472 #ifdef HAVE_IEEEFP_H
41473 #include <ieeefp.h>
41474 #endif
41477 main ()
41479 _logf(0);
41481 return 0;
41483 _ACEOF
41484 if ac_fn_cxx_try_compile "$LINENO"; then :
41485 glibcxx_cv_func__logf_use=yes
41486 else
41487 glibcxx_cv_func__logf_use=no
41489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41490 ac_ext=c
41491 ac_cpp='$CPP $CPPFLAGS'
41492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
41501 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
41503 if test x$glibcxx_cv_func__logf_use = x"yes"; then
41504 for ac_func in _logf
41505 do :
41506 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
41507 if test "x$ac_cv_func__logf" = x""yes; then :
41508 cat >>confdefs.h <<_ACEOF
41509 #define HAVE__LOGF 1
41510 _ACEOF
41513 done
41522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
41523 $as_echo_n "checking for log10f declaration... " >&6; }
41524 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
41525 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
41526 $as_echo_n "(cached) " >&6
41527 else
41530 ac_ext=cpp
41531 ac_cpp='$CXXCPP $CPPFLAGS'
41532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41537 /* end confdefs.h. */
41538 #include <math.h>
41539 #ifdef HAVE_IEEEFP_H
41540 #include <ieeefp.h>
41541 #endif
41544 main ()
41546 log10f(0);
41548 return 0;
41550 _ACEOF
41551 if ac_fn_cxx_try_compile "$LINENO"; then :
41552 glibcxx_cv_func_log10f_use=yes
41553 else
41554 glibcxx_cv_func_log10f_use=no
41556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41557 ac_ext=c
41558 ac_cpp='$CPP $CPPFLAGS'
41559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
41568 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
41570 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
41571 for ac_func in log10f
41572 do :
41573 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
41574 if test "x$ac_cv_func_log10f" = x""yes; then :
41575 cat >>confdefs.h <<_ACEOF
41576 #define HAVE_LOG10F 1
41577 _ACEOF
41580 done
41582 else
41584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
41585 $as_echo_n "checking for _log10f declaration... " >&6; }
41586 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
41587 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
41588 $as_echo_n "(cached) " >&6
41589 else
41592 ac_ext=cpp
41593 ac_cpp='$CXXCPP $CPPFLAGS'
41594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41599 /* end confdefs.h. */
41600 #include <math.h>
41601 #ifdef HAVE_IEEEFP_H
41602 #include <ieeefp.h>
41603 #endif
41606 main ()
41608 _log10f(0);
41610 return 0;
41612 _ACEOF
41613 if ac_fn_cxx_try_compile "$LINENO"; then :
41614 glibcxx_cv_func__log10f_use=yes
41615 else
41616 glibcxx_cv_func__log10f_use=no
41618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41619 ac_ext=c
41620 ac_cpp='$CPP $CPPFLAGS'
41621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
41630 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
41632 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
41633 for ac_func in _log10f
41634 do :
41635 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
41636 if test "x$ac_cv_func__log10f" = x""yes; then :
41637 cat >>confdefs.h <<_ACEOF
41638 #define HAVE__LOG10F 1
41639 _ACEOF
41642 done
41651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
41652 $as_echo_n "checking for modff declaration... " >&6; }
41653 if test x${glibcxx_cv_func_modff_use+set} != xset; then
41654 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
41655 $as_echo_n "(cached) " >&6
41656 else
41659 ac_ext=cpp
41660 ac_cpp='$CXXCPP $CPPFLAGS'
41661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41666 /* end confdefs.h. */
41667 #include <math.h>
41669 main ()
41671 modff(0, 0);
41673 return 0;
41675 _ACEOF
41676 if ac_fn_cxx_try_compile "$LINENO"; then :
41677 glibcxx_cv_func_modff_use=yes
41678 else
41679 glibcxx_cv_func_modff_use=no
41681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41682 ac_ext=c
41683 ac_cpp='$CPP $CPPFLAGS'
41684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
41693 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
41695 if test x$glibcxx_cv_func_modff_use = x"yes"; then
41696 for ac_func in modff
41697 do :
41698 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
41699 if test "x$ac_cv_func_modff" = x""yes; then :
41700 cat >>confdefs.h <<_ACEOF
41701 #define HAVE_MODFF 1
41702 _ACEOF
41705 done
41707 else
41709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
41710 $as_echo_n "checking for _modff declaration... " >&6; }
41711 if test x${glibcxx_cv_func__modff_use+set} != xset; then
41712 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
41713 $as_echo_n "(cached) " >&6
41714 else
41717 ac_ext=cpp
41718 ac_cpp='$CXXCPP $CPPFLAGS'
41719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41724 /* end confdefs.h. */
41725 #include <math.h>
41727 main ()
41729 _modff(0, 0);
41731 return 0;
41733 _ACEOF
41734 if ac_fn_cxx_try_compile "$LINENO"; then :
41735 glibcxx_cv_func__modff_use=yes
41736 else
41737 glibcxx_cv_func__modff_use=no
41739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41740 ac_ext=c
41741 ac_cpp='$CPP $CPPFLAGS'
41742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
41751 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
41753 if test x$glibcxx_cv_func__modff_use = x"yes"; then
41754 for ac_func in _modff
41755 do :
41756 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
41757 if test "x$ac_cv_func__modff" = x""yes; then :
41758 cat >>confdefs.h <<_ACEOF
41759 #define HAVE__MODFF 1
41760 _ACEOF
41763 done
41772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
41773 $as_echo_n "checking for modf declaration... " >&6; }
41774 if test x${glibcxx_cv_func_modf_use+set} != xset; then
41775 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
41776 $as_echo_n "(cached) " >&6
41777 else
41780 ac_ext=cpp
41781 ac_cpp='$CXXCPP $CPPFLAGS'
41782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41787 /* end confdefs.h. */
41788 #include <math.h>
41790 main ()
41792 modf(0, 0);
41794 return 0;
41796 _ACEOF
41797 if ac_fn_cxx_try_compile "$LINENO"; then :
41798 glibcxx_cv_func_modf_use=yes
41799 else
41800 glibcxx_cv_func_modf_use=no
41802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41803 ac_ext=c
41804 ac_cpp='$CPP $CPPFLAGS'
41805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41814 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41816 if test x$glibcxx_cv_func_modf_use = x"yes"; then
41817 for ac_func in modf
41818 do :
41819 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41820 if test "x$ac_cv_func_modf" = x""yes; then :
41821 cat >>confdefs.h <<_ACEOF
41822 #define HAVE_MODF 1
41823 _ACEOF
41826 done
41828 else
41830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41831 $as_echo_n "checking for _modf declaration... " >&6; }
41832 if test x${glibcxx_cv_func__modf_use+set} != xset; then
41833 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41834 $as_echo_n "(cached) " >&6
41835 else
41838 ac_ext=cpp
41839 ac_cpp='$CXXCPP $CPPFLAGS'
41840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41845 /* end confdefs.h. */
41846 #include <math.h>
41848 main ()
41850 _modf(0, 0);
41852 return 0;
41854 _ACEOF
41855 if ac_fn_cxx_try_compile "$LINENO"; then :
41856 glibcxx_cv_func__modf_use=yes
41857 else
41858 glibcxx_cv_func__modf_use=no
41860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41861 ac_ext=c
41862 ac_cpp='$CPP $CPPFLAGS'
41863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41872 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41874 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41875 for ac_func in _modf
41876 do :
41877 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41878 if test "x$ac_cv_func__modf" = x""yes; then :
41879 cat >>confdefs.h <<_ACEOF
41880 #define HAVE__MODF 1
41881 _ACEOF
41884 done
41893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41894 $as_echo_n "checking for powf declaration... " >&6; }
41895 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41896 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41897 $as_echo_n "(cached) " >&6
41898 else
41901 ac_ext=cpp
41902 ac_cpp='$CXXCPP $CPPFLAGS'
41903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41908 /* end confdefs.h. */
41909 #include <math.h>
41911 main ()
41913 powf(0, 0);
41915 return 0;
41917 _ACEOF
41918 if ac_fn_cxx_try_compile "$LINENO"; then :
41919 glibcxx_cv_func_powf_use=yes
41920 else
41921 glibcxx_cv_func_powf_use=no
41923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41924 ac_ext=c
41925 ac_cpp='$CPP $CPPFLAGS'
41926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41935 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41937 if test x$glibcxx_cv_func_powf_use = x"yes"; then
41938 for ac_func in powf
41939 do :
41940 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41941 if test "x$ac_cv_func_powf" = x""yes; then :
41942 cat >>confdefs.h <<_ACEOF
41943 #define HAVE_POWF 1
41944 _ACEOF
41947 done
41949 else
41951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41952 $as_echo_n "checking for _powf declaration... " >&6; }
41953 if test x${glibcxx_cv_func__powf_use+set} != xset; then
41954 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41955 $as_echo_n "(cached) " >&6
41956 else
41959 ac_ext=cpp
41960 ac_cpp='$CXXCPP $CPPFLAGS'
41961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41966 /* end confdefs.h. */
41967 #include <math.h>
41969 main ()
41971 _powf(0, 0);
41973 return 0;
41975 _ACEOF
41976 if ac_fn_cxx_try_compile "$LINENO"; then :
41977 glibcxx_cv_func__powf_use=yes
41978 else
41979 glibcxx_cv_func__powf_use=no
41981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41982 ac_ext=c
41983 ac_cpp='$CPP $CPPFLAGS'
41984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
41993 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
41995 if test x$glibcxx_cv_func__powf_use = x"yes"; then
41996 for ac_func in _powf
41997 do :
41998 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
41999 if test "x$ac_cv_func__powf" = x""yes; then :
42000 cat >>confdefs.h <<_ACEOF
42001 #define HAVE__POWF 1
42002 _ACEOF
42005 done
42014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
42015 $as_echo_n "checking for sqrtf declaration... " >&6; }
42016 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
42017 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
42018 $as_echo_n "(cached) " >&6
42019 else
42022 ac_ext=cpp
42023 ac_cpp='$CXXCPP $CPPFLAGS'
42024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42029 /* end confdefs.h. */
42030 #include <math.h>
42031 #ifdef HAVE_IEEEFP_H
42032 #include <ieeefp.h>
42033 #endif
42036 main ()
42038 sqrtf(0);
42040 return 0;
42042 _ACEOF
42043 if ac_fn_cxx_try_compile "$LINENO"; then :
42044 glibcxx_cv_func_sqrtf_use=yes
42045 else
42046 glibcxx_cv_func_sqrtf_use=no
42048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42049 ac_ext=c
42050 ac_cpp='$CPP $CPPFLAGS'
42051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
42060 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
42062 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42063 for ac_func in sqrtf
42064 do :
42065 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
42066 if test "x$ac_cv_func_sqrtf" = x""yes; then :
42067 cat >>confdefs.h <<_ACEOF
42068 #define HAVE_SQRTF 1
42069 _ACEOF
42072 done
42074 else
42076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
42077 $as_echo_n "checking for _sqrtf declaration... " >&6; }
42078 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42079 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
42080 $as_echo_n "(cached) " >&6
42081 else
42084 ac_ext=cpp
42085 ac_cpp='$CXXCPP $CPPFLAGS'
42086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42091 /* end confdefs.h. */
42092 #include <math.h>
42093 #ifdef HAVE_IEEEFP_H
42094 #include <ieeefp.h>
42095 #endif
42098 main ()
42100 _sqrtf(0);
42102 return 0;
42104 _ACEOF
42105 if ac_fn_cxx_try_compile "$LINENO"; then :
42106 glibcxx_cv_func__sqrtf_use=yes
42107 else
42108 glibcxx_cv_func__sqrtf_use=no
42110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42111 ac_ext=c
42112 ac_cpp='$CPP $CPPFLAGS'
42113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
42122 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
42124 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42125 for ac_func in _sqrtf
42126 do :
42127 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
42128 if test "x$ac_cv_func__sqrtf" = x""yes; then :
42129 cat >>confdefs.h <<_ACEOF
42130 #define HAVE__SQRTF 1
42131 _ACEOF
42134 done
42143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
42144 $as_echo_n "checking for sincosf declaration... " >&6; }
42145 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42146 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
42147 $as_echo_n "(cached) " >&6
42148 else
42151 ac_ext=cpp
42152 ac_cpp='$CXXCPP $CPPFLAGS'
42153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42158 /* end confdefs.h. */
42159 #include <math.h>
42161 main ()
42163 sincosf(0, 0, 0);
42165 return 0;
42167 _ACEOF
42168 if ac_fn_cxx_try_compile "$LINENO"; then :
42169 glibcxx_cv_func_sincosf_use=yes
42170 else
42171 glibcxx_cv_func_sincosf_use=no
42173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42174 ac_ext=c
42175 ac_cpp='$CPP $CPPFLAGS'
42176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
42185 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
42187 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42188 for ac_func in sincosf
42189 do :
42190 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
42191 if test "x$ac_cv_func_sincosf" = x""yes; then :
42192 cat >>confdefs.h <<_ACEOF
42193 #define HAVE_SINCOSF 1
42194 _ACEOF
42197 done
42199 else
42201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
42202 $as_echo_n "checking for _sincosf declaration... " >&6; }
42203 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42204 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
42205 $as_echo_n "(cached) " >&6
42206 else
42209 ac_ext=cpp
42210 ac_cpp='$CXXCPP $CPPFLAGS'
42211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42216 /* end confdefs.h. */
42217 #include <math.h>
42219 main ()
42221 _sincosf(0, 0, 0);
42223 return 0;
42225 _ACEOF
42226 if ac_fn_cxx_try_compile "$LINENO"; then :
42227 glibcxx_cv_func__sincosf_use=yes
42228 else
42229 glibcxx_cv_func__sincosf_use=no
42231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42232 ac_ext=c
42233 ac_cpp='$CPP $CPPFLAGS'
42234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
42243 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
42245 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42246 for ac_func in _sincosf
42247 do :
42248 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
42249 if test "x$ac_cv_func__sincosf" = x""yes; then :
42250 cat >>confdefs.h <<_ACEOF
42251 #define HAVE__SINCOSF 1
42252 _ACEOF
42255 done
42264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
42265 $as_echo_n "checking for finitef declaration... " >&6; }
42266 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42267 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
42268 $as_echo_n "(cached) " >&6
42269 else
42272 ac_ext=cpp
42273 ac_cpp='$CXXCPP $CPPFLAGS'
42274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42279 /* end confdefs.h. */
42280 #include <math.h>
42281 #ifdef HAVE_IEEEFP_H
42282 #include <ieeefp.h>
42283 #endif
42286 main ()
42288 finitef(0);
42290 return 0;
42292 _ACEOF
42293 if ac_fn_cxx_try_compile "$LINENO"; then :
42294 glibcxx_cv_func_finitef_use=yes
42295 else
42296 glibcxx_cv_func_finitef_use=no
42298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42299 ac_ext=c
42300 ac_cpp='$CPP $CPPFLAGS'
42301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
42310 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
42312 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42313 for ac_func in finitef
42314 do :
42315 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
42316 if test "x$ac_cv_func_finitef" = x""yes; then :
42317 cat >>confdefs.h <<_ACEOF
42318 #define HAVE_FINITEF 1
42319 _ACEOF
42322 done
42324 else
42326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
42327 $as_echo_n "checking for _finitef declaration... " >&6; }
42328 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42329 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
42330 $as_echo_n "(cached) " >&6
42331 else
42334 ac_ext=cpp
42335 ac_cpp='$CXXCPP $CPPFLAGS'
42336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42341 /* end confdefs.h. */
42342 #include <math.h>
42343 #ifdef HAVE_IEEEFP_H
42344 #include <ieeefp.h>
42345 #endif
42348 main ()
42350 _finitef(0);
42352 return 0;
42354 _ACEOF
42355 if ac_fn_cxx_try_compile "$LINENO"; then :
42356 glibcxx_cv_func__finitef_use=yes
42357 else
42358 glibcxx_cv_func__finitef_use=no
42360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42361 ac_ext=c
42362 ac_cpp='$CPP $CPPFLAGS'
42363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
42372 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
42374 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42375 for ac_func in _finitef
42376 do :
42377 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
42378 if test "x$ac_cv_func__finitef" = x""yes; then :
42379 cat >>confdefs.h <<_ACEOF
42380 #define HAVE__FINITEF 1
42381 _ACEOF
42384 done
42393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
42394 $as_echo_n "checking for long double trig functions... " >&6; }
42395 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
42396 $as_echo_n "(cached) " >&6
42397 else
42400 ac_ext=cpp
42401 ac_cpp='$CXXCPP $CPPFLAGS'
42402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42407 /* end confdefs.h. */
42408 #include <math.h>
42410 main ()
42412 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
42414 return 0;
42416 _ACEOF
42417 if ac_fn_cxx_try_compile "$LINENO"; then :
42418 glibcxx_cv_func_long_double_trig_use=yes
42419 else
42420 glibcxx_cv_func_long_double_trig_use=no
42422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42423 ac_ext=c
42424 ac_cpp='$CPP $CPPFLAGS'
42425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
42432 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
42433 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
42434 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
42435 do :
42436 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42437 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42438 eval as_val=\$$as_ac_var
42439 if test "x$as_val" = x""yes; then :
42440 cat >>confdefs.h <<_ACEOF
42441 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42442 _ACEOF
42445 done
42447 else
42448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
42449 $as_echo_n "checking for _long double trig functions... " >&6; }
42450 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
42451 $as_echo_n "(cached) " >&6
42452 else
42455 ac_ext=cpp
42456 ac_cpp='$CXXCPP $CPPFLAGS'
42457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42462 /* end confdefs.h. */
42463 #include <math.h>
42465 main ()
42467 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
42469 return 0;
42471 _ACEOF
42472 if ac_fn_cxx_try_compile "$LINENO"; then :
42473 glibcxx_cv_func__long_double_trig_use=yes
42474 else
42475 glibcxx_cv_func__long_double_trig_use=no
42477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42478 ac_ext=c
42479 ac_cpp='$CPP $CPPFLAGS'
42480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
42487 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
42488 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
42489 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
42490 do :
42491 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42492 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42493 eval as_val=\$$as_ac_var
42494 if test "x$as_val" = x""yes; then :
42495 cat >>confdefs.h <<_ACEOF
42496 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42497 _ACEOF
42500 done
42509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
42510 $as_echo_n "checking for long double round functions... " >&6; }
42511 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
42512 $as_echo_n "(cached) " >&6
42513 else
42516 ac_ext=cpp
42517 ac_cpp='$CXXCPP $CPPFLAGS'
42518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42523 /* end confdefs.h. */
42524 #include <math.h>
42526 main ()
42528 ceill (0); floorl (0);
42530 return 0;
42532 _ACEOF
42533 if ac_fn_cxx_try_compile "$LINENO"; then :
42534 glibcxx_cv_func_long_double_round_use=yes
42535 else
42536 glibcxx_cv_func_long_double_round_use=no
42538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42539 ac_ext=c
42540 ac_cpp='$CPP $CPPFLAGS'
42541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
42548 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
42549 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
42550 for ac_func in ceill floorl
42551 do :
42552 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42553 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42554 eval as_val=\$$as_ac_var
42555 if test "x$as_val" = x""yes; then :
42556 cat >>confdefs.h <<_ACEOF
42557 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42558 _ACEOF
42561 done
42563 else
42564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
42565 $as_echo_n "checking for _long double round functions... " >&6; }
42566 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
42567 $as_echo_n "(cached) " >&6
42568 else
42571 ac_ext=cpp
42572 ac_cpp='$CXXCPP $CPPFLAGS'
42573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42578 /* end confdefs.h. */
42579 #include <math.h>
42581 main ()
42583 _ceill (0); _floorl (0);
42585 return 0;
42587 _ACEOF
42588 if ac_fn_cxx_try_compile "$LINENO"; then :
42589 glibcxx_cv_func__long_double_round_use=yes
42590 else
42591 glibcxx_cv_func__long_double_round_use=no
42593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42594 ac_ext=c
42595 ac_cpp='$CPP $CPPFLAGS'
42596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
42603 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
42604 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42605 for ac_func in _ceill _floorl
42606 do :
42607 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42608 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42609 eval as_val=\$$as_ac_var
42610 if test "x$as_val" = x""yes; then :
42611 cat >>confdefs.h <<_ACEOF
42612 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42613 _ACEOF
42616 done
42626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
42627 $as_echo_n "checking for isnanl declaration... " >&6; }
42628 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42629 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
42630 $as_echo_n "(cached) " >&6
42631 else
42634 ac_ext=cpp
42635 ac_cpp='$CXXCPP $CPPFLAGS'
42636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42641 /* end confdefs.h. */
42642 #include <math.h>
42643 #ifdef HAVE_IEEEFP_H
42644 #include <ieeefp.h>
42645 #endif
42648 main ()
42650 isnanl(0);
42652 return 0;
42654 _ACEOF
42655 if ac_fn_cxx_try_compile "$LINENO"; then :
42656 glibcxx_cv_func_isnanl_use=yes
42657 else
42658 glibcxx_cv_func_isnanl_use=no
42660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42661 ac_ext=c
42662 ac_cpp='$CPP $CPPFLAGS'
42663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
42672 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
42674 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42675 for ac_func in isnanl
42676 do :
42677 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
42678 if test "x$ac_cv_func_isnanl" = x""yes; then :
42679 cat >>confdefs.h <<_ACEOF
42680 #define HAVE_ISNANL 1
42681 _ACEOF
42684 done
42686 else
42688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
42689 $as_echo_n "checking for _isnanl declaration... " >&6; }
42690 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42691 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
42692 $as_echo_n "(cached) " >&6
42693 else
42696 ac_ext=cpp
42697 ac_cpp='$CXXCPP $CPPFLAGS'
42698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42703 /* end confdefs.h. */
42704 #include <math.h>
42705 #ifdef HAVE_IEEEFP_H
42706 #include <ieeefp.h>
42707 #endif
42710 main ()
42712 _isnanl(0);
42714 return 0;
42716 _ACEOF
42717 if ac_fn_cxx_try_compile "$LINENO"; then :
42718 glibcxx_cv_func__isnanl_use=yes
42719 else
42720 glibcxx_cv_func__isnanl_use=no
42722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42723 ac_ext=c
42724 ac_cpp='$CPP $CPPFLAGS'
42725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
42734 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
42736 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42737 for ac_func in _isnanl
42738 do :
42739 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
42740 if test "x$ac_cv_func__isnanl" = x""yes; then :
42741 cat >>confdefs.h <<_ACEOF
42742 #define HAVE__ISNANL 1
42743 _ACEOF
42746 done
42755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
42756 $as_echo_n "checking for isinfl declaration... " >&6; }
42757 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42758 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
42759 $as_echo_n "(cached) " >&6
42760 else
42763 ac_ext=cpp
42764 ac_cpp='$CXXCPP $CPPFLAGS'
42765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42770 /* end confdefs.h. */
42771 #include <math.h>
42772 #ifdef HAVE_IEEEFP_H
42773 #include <ieeefp.h>
42774 #endif
42777 main ()
42779 isinfl(0);
42781 return 0;
42783 _ACEOF
42784 if ac_fn_cxx_try_compile "$LINENO"; then :
42785 glibcxx_cv_func_isinfl_use=yes
42786 else
42787 glibcxx_cv_func_isinfl_use=no
42789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42790 ac_ext=c
42791 ac_cpp='$CPP $CPPFLAGS'
42792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
42801 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
42803 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42804 for ac_func in isinfl
42805 do :
42806 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
42807 if test "x$ac_cv_func_isinfl" = x""yes; then :
42808 cat >>confdefs.h <<_ACEOF
42809 #define HAVE_ISINFL 1
42810 _ACEOF
42813 done
42815 else
42817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42818 $as_echo_n "checking for _isinfl declaration... " >&6; }
42819 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42820 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42821 $as_echo_n "(cached) " >&6
42822 else
42825 ac_ext=cpp
42826 ac_cpp='$CXXCPP $CPPFLAGS'
42827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42832 /* end confdefs.h. */
42833 #include <math.h>
42834 #ifdef HAVE_IEEEFP_H
42835 #include <ieeefp.h>
42836 #endif
42839 main ()
42841 _isinfl(0);
42843 return 0;
42845 _ACEOF
42846 if ac_fn_cxx_try_compile "$LINENO"; then :
42847 glibcxx_cv_func__isinfl_use=yes
42848 else
42849 glibcxx_cv_func__isinfl_use=no
42851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42852 ac_ext=c
42853 ac_cpp='$CPP $CPPFLAGS'
42854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42863 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42865 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42866 for ac_func in _isinfl
42867 do :
42868 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42869 if test "x$ac_cv_func__isinfl" = x""yes; then :
42870 cat >>confdefs.h <<_ACEOF
42871 #define HAVE__ISINFL 1
42872 _ACEOF
42875 done
42884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42885 $as_echo_n "checking for atan2l declaration... " >&6; }
42886 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42887 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42888 $as_echo_n "(cached) " >&6
42889 else
42892 ac_ext=cpp
42893 ac_cpp='$CXXCPP $CPPFLAGS'
42894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42899 /* end confdefs.h. */
42900 #include <math.h>
42902 main ()
42904 atan2l(0, 0);
42906 return 0;
42908 _ACEOF
42909 if ac_fn_cxx_try_compile "$LINENO"; then :
42910 glibcxx_cv_func_atan2l_use=yes
42911 else
42912 glibcxx_cv_func_atan2l_use=no
42914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42915 ac_ext=c
42916 ac_cpp='$CPP $CPPFLAGS'
42917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42926 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42928 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42929 for ac_func in atan2l
42930 do :
42931 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42932 if test "x$ac_cv_func_atan2l" = x""yes; then :
42933 cat >>confdefs.h <<_ACEOF
42934 #define HAVE_ATAN2L 1
42935 _ACEOF
42938 done
42940 else
42942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42943 $as_echo_n "checking for _atan2l declaration... " >&6; }
42944 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42945 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42946 $as_echo_n "(cached) " >&6
42947 else
42950 ac_ext=cpp
42951 ac_cpp='$CXXCPP $CPPFLAGS'
42952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42957 /* end confdefs.h. */
42958 #include <math.h>
42960 main ()
42962 _atan2l(0, 0);
42964 return 0;
42966 _ACEOF
42967 if ac_fn_cxx_try_compile "$LINENO"; then :
42968 glibcxx_cv_func__atan2l_use=yes
42969 else
42970 glibcxx_cv_func__atan2l_use=no
42972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42973 ac_ext=c
42974 ac_cpp='$CPP $CPPFLAGS'
42975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
42984 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
42986 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42987 for ac_func in _atan2l
42988 do :
42989 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
42990 if test "x$ac_cv_func__atan2l" = x""yes; then :
42991 cat >>confdefs.h <<_ACEOF
42992 #define HAVE__ATAN2L 1
42993 _ACEOF
42996 done
43005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
43006 $as_echo_n "checking for expl declaration... " >&6; }
43007 if test x${glibcxx_cv_func_expl_use+set} != xset; then
43008 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
43009 $as_echo_n "(cached) " >&6
43010 else
43013 ac_ext=cpp
43014 ac_cpp='$CXXCPP $CPPFLAGS'
43015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43020 /* end confdefs.h. */
43021 #include <math.h>
43022 #ifdef HAVE_IEEEFP_H
43023 #include <ieeefp.h>
43024 #endif
43027 main ()
43029 expl(0);
43031 return 0;
43033 _ACEOF
43034 if ac_fn_cxx_try_compile "$LINENO"; then :
43035 glibcxx_cv_func_expl_use=yes
43036 else
43037 glibcxx_cv_func_expl_use=no
43039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43040 ac_ext=c
43041 ac_cpp='$CPP $CPPFLAGS'
43042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
43051 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
43053 if test x$glibcxx_cv_func_expl_use = x"yes"; then
43054 for ac_func in expl
43055 do :
43056 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
43057 if test "x$ac_cv_func_expl" = x""yes; then :
43058 cat >>confdefs.h <<_ACEOF
43059 #define HAVE_EXPL 1
43060 _ACEOF
43063 done
43065 else
43067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
43068 $as_echo_n "checking for _expl declaration... " >&6; }
43069 if test x${glibcxx_cv_func__expl_use+set} != xset; then
43070 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
43071 $as_echo_n "(cached) " >&6
43072 else
43075 ac_ext=cpp
43076 ac_cpp='$CXXCPP $CPPFLAGS'
43077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43082 /* end confdefs.h. */
43083 #include <math.h>
43084 #ifdef HAVE_IEEEFP_H
43085 #include <ieeefp.h>
43086 #endif
43089 main ()
43091 _expl(0);
43093 return 0;
43095 _ACEOF
43096 if ac_fn_cxx_try_compile "$LINENO"; then :
43097 glibcxx_cv_func__expl_use=yes
43098 else
43099 glibcxx_cv_func__expl_use=no
43101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43102 ac_ext=c
43103 ac_cpp='$CPP $CPPFLAGS'
43104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
43113 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
43115 if test x$glibcxx_cv_func__expl_use = x"yes"; then
43116 for ac_func in _expl
43117 do :
43118 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
43119 if test "x$ac_cv_func__expl" = x""yes; then :
43120 cat >>confdefs.h <<_ACEOF
43121 #define HAVE__EXPL 1
43122 _ACEOF
43125 done
43134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
43135 $as_echo_n "checking for fabsl declaration... " >&6; }
43136 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43137 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
43138 $as_echo_n "(cached) " >&6
43139 else
43142 ac_ext=cpp
43143 ac_cpp='$CXXCPP $CPPFLAGS'
43144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43149 /* end confdefs.h. */
43150 #include <math.h>
43151 #ifdef HAVE_IEEEFP_H
43152 #include <ieeefp.h>
43153 #endif
43156 main ()
43158 fabsl(0);
43160 return 0;
43162 _ACEOF
43163 if ac_fn_cxx_try_compile "$LINENO"; then :
43164 glibcxx_cv_func_fabsl_use=yes
43165 else
43166 glibcxx_cv_func_fabsl_use=no
43168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43169 ac_ext=c
43170 ac_cpp='$CPP $CPPFLAGS'
43171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
43180 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
43182 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43183 for ac_func in fabsl
43184 do :
43185 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
43186 if test "x$ac_cv_func_fabsl" = x""yes; then :
43187 cat >>confdefs.h <<_ACEOF
43188 #define HAVE_FABSL 1
43189 _ACEOF
43192 done
43194 else
43196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
43197 $as_echo_n "checking for _fabsl declaration... " >&6; }
43198 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43199 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
43200 $as_echo_n "(cached) " >&6
43201 else
43204 ac_ext=cpp
43205 ac_cpp='$CXXCPP $CPPFLAGS'
43206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43211 /* end confdefs.h. */
43212 #include <math.h>
43213 #ifdef HAVE_IEEEFP_H
43214 #include <ieeefp.h>
43215 #endif
43218 main ()
43220 _fabsl(0);
43222 return 0;
43224 _ACEOF
43225 if ac_fn_cxx_try_compile "$LINENO"; then :
43226 glibcxx_cv_func__fabsl_use=yes
43227 else
43228 glibcxx_cv_func__fabsl_use=no
43230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43231 ac_ext=c
43232 ac_cpp='$CPP $CPPFLAGS'
43233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
43242 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
43244 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43245 for ac_func in _fabsl
43246 do :
43247 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
43248 if test "x$ac_cv_func__fabsl" = x""yes; then :
43249 cat >>confdefs.h <<_ACEOF
43250 #define HAVE__FABSL 1
43251 _ACEOF
43254 done
43263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
43264 $as_echo_n "checking for fmodl declaration... " >&6; }
43265 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43266 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
43267 $as_echo_n "(cached) " >&6
43268 else
43271 ac_ext=cpp
43272 ac_cpp='$CXXCPP $CPPFLAGS'
43273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43278 /* end confdefs.h. */
43279 #include <math.h>
43281 main ()
43283 fmodl(0, 0);
43285 return 0;
43287 _ACEOF
43288 if ac_fn_cxx_try_compile "$LINENO"; then :
43289 glibcxx_cv_func_fmodl_use=yes
43290 else
43291 glibcxx_cv_func_fmodl_use=no
43293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43294 ac_ext=c
43295 ac_cpp='$CPP $CPPFLAGS'
43296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
43305 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
43307 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43308 for ac_func in fmodl
43309 do :
43310 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
43311 if test "x$ac_cv_func_fmodl" = x""yes; then :
43312 cat >>confdefs.h <<_ACEOF
43313 #define HAVE_FMODL 1
43314 _ACEOF
43317 done
43319 else
43321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
43322 $as_echo_n "checking for _fmodl declaration... " >&6; }
43323 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43324 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
43325 $as_echo_n "(cached) " >&6
43326 else
43329 ac_ext=cpp
43330 ac_cpp='$CXXCPP $CPPFLAGS'
43331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43336 /* end confdefs.h. */
43337 #include <math.h>
43339 main ()
43341 _fmodl(0, 0);
43343 return 0;
43345 _ACEOF
43346 if ac_fn_cxx_try_compile "$LINENO"; then :
43347 glibcxx_cv_func__fmodl_use=yes
43348 else
43349 glibcxx_cv_func__fmodl_use=no
43351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43352 ac_ext=c
43353 ac_cpp='$CPP $CPPFLAGS'
43354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
43363 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
43365 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43366 for ac_func in _fmodl
43367 do :
43368 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
43369 if test "x$ac_cv_func__fmodl" = x""yes; then :
43370 cat >>confdefs.h <<_ACEOF
43371 #define HAVE__FMODL 1
43372 _ACEOF
43375 done
43384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
43385 $as_echo_n "checking for frexpl declaration... " >&6; }
43386 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43387 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
43388 $as_echo_n "(cached) " >&6
43389 else
43392 ac_ext=cpp
43393 ac_cpp='$CXXCPP $CPPFLAGS'
43394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43399 /* end confdefs.h. */
43400 #include <math.h>
43402 main ()
43404 frexpl(0, 0);
43406 return 0;
43408 _ACEOF
43409 if ac_fn_cxx_try_compile "$LINENO"; then :
43410 glibcxx_cv_func_frexpl_use=yes
43411 else
43412 glibcxx_cv_func_frexpl_use=no
43414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43415 ac_ext=c
43416 ac_cpp='$CPP $CPPFLAGS'
43417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
43426 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
43428 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43429 for ac_func in frexpl
43430 do :
43431 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
43432 if test "x$ac_cv_func_frexpl" = x""yes; then :
43433 cat >>confdefs.h <<_ACEOF
43434 #define HAVE_FREXPL 1
43435 _ACEOF
43438 done
43440 else
43442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
43443 $as_echo_n "checking for _frexpl declaration... " >&6; }
43444 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43445 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
43446 $as_echo_n "(cached) " >&6
43447 else
43450 ac_ext=cpp
43451 ac_cpp='$CXXCPP $CPPFLAGS'
43452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43457 /* end confdefs.h. */
43458 #include <math.h>
43460 main ()
43462 _frexpl(0, 0);
43464 return 0;
43466 _ACEOF
43467 if ac_fn_cxx_try_compile "$LINENO"; then :
43468 glibcxx_cv_func__frexpl_use=yes
43469 else
43470 glibcxx_cv_func__frexpl_use=no
43472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43473 ac_ext=c
43474 ac_cpp='$CPP $CPPFLAGS'
43475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
43484 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
43486 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
43487 for ac_func in _frexpl
43488 do :
43489 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
43490 if test "x$ac_cv_func__frexpl" = x""yes; then :
43491 cat >>confdefs.h <<_ACEOF
43492 #define HAVE__FREXPL 1
43493 _ACEOF
43496 done
43505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
43506 $as_echo_n "checking for hypotl declaration... " >&6; }
43507 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
43508 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
43509 $as_echo_n "(cached) " >&6
43510 else
43513 ac_ext=cpp
43514 ac_cpp='$CXXCPP $CPPFLAGS'
43515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43520 /* end confdefs.h. */
43521 #include <math.h>
43523 main ()
43525 hypotl(0, 0);
43527 return 0;
43529 _ACEOF
43530 if ac_fn_cxx_try_compile "$LINENO"; then :
43531 glibcxx_cv_func_hypotl_use=yes
43532 else
43533 glibcxx_cv_func_hypotl_use=no
43535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43536 ac_ext=c
43537 ac_cpp='$CPP $CPPFLAGS'
43538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
43547 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
43549 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
43550 for ac_func in hypotl
43551 do :
43552 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
43553 if test "x$ac_cv_func_hypotl" = x""yes; then :
43554 cat >>confdefs.h <<_ACEOF
43555 #define HAVE_HYPOTL 1
43556 _ACEOF
43559 done
43561 else
43563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
43564 $as_echo_n "checking for _hypotl declaration... " >&6; }
43565 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
43566 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
43567 $as_echo_n "(cached) " >&6
43568 else
43571 ac_ext=cpp
43572 ac_cpp='$CXXCPP $CPPFLAGS'
43573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43578 /* end confdefs.h. */
43579 #include <math.h>
43581 main ()
43583 _hypotl(0, 0);
43585 return 0;
43587 _ACEOF
43588 if ac_fn_cxx_try_compile "$LINENO"; then :
43589 glibcxx_cv_func__hypotl_use=yes
43590 else
43591 glibcxx_cv_func__hypotl_use=no
43593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43594 ac_ext=c
43595 ac_cpp='$CPP $CPPFLAGS'
43596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
43605 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
43607 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
43608 for ac_func in _hypotl
43609 do :
43610 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
43611 if test "x$ac_cv_func__hypotl" = x""yes; then :
43612 cat >>confdefs.h <<_ACEOF
43613 #define HAVE__HYPOTL 1
43614 _ACEOF
43617 done
43626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
43627 $as_echo_n "checking for ldexpl declaration... " >&6; }
43628 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
43629 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
43630 $as_echo_n "(cached) " >&6
43631 else
43634 ac_ext=cpp
43635 ac_cpp='$CXXCPP $CPPFLAGS'
43636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43641 /* end confdefs.h. */
43642 #include <math.h>
43644 main ()
43646 ldexpl(0, 0);
43648 return 0;
43650 _ACEOF
43651 if ac_fn_cxx_try_compile "$LINENO"; then :
43652 glibcxx_cv_func_ldexpl_use=yes
43653 else
43654 glibcxx_cv_func_ldexpl_use=no
43656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43657 ac_ext=c
43658 ac_cpp='$CPP $CPPFLAGS'
43659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
43668 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
43670 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
43671 for ac_func in ldexpl
43672 do :
43673 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
43674 if test "x$ac_cv_func_ldexpl" = x""yes; then :
43675 cat >>confdefs.h <<_ACEOF
43676 #define HAVE_LDEXPL 1
43677 _ACEOF
43680 done
43682 else
43684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
43685 $as_echo_n "checking for _ldexpl declaration... " >&6; }
43686 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
43687 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
43688 $as_echo_n "(cached) " >&6
43689 else
43692 ac_ext=cpp
43693 ac_cpp='$CXXCPP $CPPFLAGS'
43694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43699 /* end confdefs.h. */
43700 #include <math.h>
43702 main ()
43704 _ldexpl(0, 0);
43706 return 0;
43708 _ACEOF
43709 if ac_fn_cxx_try_compile "$LINENO"; then :
43710 glibcxx_cv_func__ldexpl_use=yes
43711 else
43712 glibcxx_cv_func__ldexpl_use=no
43714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43715 ac_ext=c
43716 ac_cpp='$CPP $CPPFLAGS'
43717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
43726 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
43728 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
43729 for ac_func in _ldexpl
43730 do :
43731 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
43732 if test "x$ac_cv_func__ldexpl" = x""yes; then :
43733 cat >>confdefs.h <<_ACEOF
43734 #define HAVE__LDEXPL 1
43735 _ACEOF
43738 done
43747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
43748 $as_echo_n "checking for logl declaration... " >&6; }
43749 if test x${glibcxx_cv_func_logl_use+set} != xset; then
43750 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
43751 $as_echo_n "(cached) " >&6
43752 else
43755 ac_ext=cpp
43756 ac_cpp='$CXXCPP $CPPFLAGS'
43757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43762 /* end confdefs.h. */
43763 #include <math.h>
43764 #ifdef HAVE_IEEEFP_H
43765 #include <ieeefp.h>
43766 #endif
43769 main ()
43771 logl(0);
43773 return 0;
43775 _ACEOF
43776 if ac_fn_cxx_try_compile "$LINENO"; then :
43777 glibcxx_cv_func_logl_use=yes
43778 else
43779 glibcxx_cv_func_logl_use=no
43781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43782 ac_ext=c
43783 ac_cpp='$CPP $CPPFLAGS'
43784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
43793 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
43795 if test x$glibcxx_cv_func_logl_use = x"yes"; then
43796 for ac_func in logl
43797 do :
43798 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
43799 if test "x$ac_cv_func_logl" = x""yes; then :
43800 cat >>confdefs.h <<_ACEOF
43801 #define HAVE_LOGL 1
43802 _ACEOF
43805 done
43807 else
43809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
43810 $as_echo_n "checking for _logl declaration... " >&6; }
43811 if test x${glibcxx_cv_func__logl_use+set} != xset; then
43812 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43813 $as_echo_n "(cached) " >&6
43814 else
43817 ac_ext=cpp
43818 ac_cpp='$CXXCPP $CPPFLAGS'
43819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43824 /* end confdefs.h. */
43825 #include <math.h>
43826 #ifdef HAVE_IEEEFP_H
43827 #include <ieeefp.h>
43828 #endif
43831 main ()
43833 _logl(0);
43835 return 0;
43837 _ACEOF
43838 if ac_fn_cxx_try_compile "$LINENO"; then :
43839 glibcxx_cv_func__logl_use=yes
43840 else
43841 glibcxx_cv_func__logl_use=no
43843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43844 ac_ext=c
43845 ac_cpp='$CPP $CPPFLAGS'
43846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43855 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43857 if test x$glibcxx_cv_func__logl_use = x"yes"; then
43858 for ac_func in _logl
43859 do :
43860 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43861 if test "x$ac_cv_func__logl" = x""yes; then :
43862 cat >>confdefs.h <<_ACEOF
43863 #define HAVE__LOGL 1
43864 _ACEOF
43867 done
43876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43877 $as_echo_n "checking for log10l declaration... " >&6; }
43878 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43879 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43880 $as_echo_n "(cached) " >&6
43881 else
43884 ac_ext=cpp
43885 ac_cpp='$CXXCPP $CPPFLAGS'
43886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43891 /* end confdefs.h. */
43892 #include <math.h>
43893 #ifdef HAVE_IEEEFP_H
43894 #include <ieeefp.h>
43895 #endif
43898 main ()
43900 log10l(0);
43902 return 0;
43904 _ACEOF
43905 if ac_fn_cxx_try_compile "$LINENO"; then :
43906 glibcxx_cv_func_log10l_use=yes
43907 else
43908 glibcxx_cv_func_log10l_use=no
43910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43911 ac_ext=c
43912 ac_cpp='$CPP $CPPFLAGS'
43913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
43922 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43924 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43925 for ac_func in log10l
43926 do :
43927 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43928 if test "x$ac_cv_func_log10l" = x""yes; then :
43929 cat >>confdefs.h <<_ACEOF
43930 #define HAVE_LOG10L 1
43931 _ACEOF
43934 done
43936 else
43938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43939 $as_echo_n "checking for _log10l declaration... " >&6; }
43940 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43941 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43942 $as_echo_n "(cached) " >&6
43943 else
43946 ac_ext=cpp
43947 ac_cpp='$CXXCPP $CPPFLAGS'
43948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43953 /* end confdefs.h. */
43954 #include <math.h>
43955 #ifdef HAVE_IEEEFP_H
43956 #include <ieeefp.h>
43957 #endif
43960 main ()
43962 _log10l(0);
43964 return 0;
43966 _ACEOF
43967 if ac_fn_cxx_try_compile "$LINENO"; then :
43968 glibcxx_cv_func__log10l_use=yes
43969 else
43970 glibcxx_cv_func__log10l_use=no
43972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43973 ac_ext=c
43974 ac_cpp='$CPP $CPPFLAGS'
43975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
43984 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
43986 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
43987 for ac_func in _log10l
43988 do :
43989 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
43990 if test "x$ac_cv_func__log10l" = x""yes; then :
43991 cat >>confdefs.h <<_ACEOF
43992 #define HAVE__LOG10L 1
43993 _ACEOF
43996 done
44005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
44006 $as_echo_n "checking for modfl declaration... " >&6; }
44007 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
44008 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
44009 $as_echo_n "(cached) " >&6
44010 else
44013 ac_ext=cpp
44014 ac_cpp='$CXXCPP $CPPFLAGS'
44015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44020 /* end confdefs.h. */
44021 #include <math.h>
44023 main ()
44025 modfl(0, 0);
44027 return 0;
44029 _ACEOF
44030 if ac_fn_cxx_try_compile "$LINENO"; then :
44031 glibcxx_cv_func_modfl_use=yes
44032 else
44033 glibcxx_cv_func_modfl_use=no
44035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44036 ac_ext=c
44037 ac_cpp='$CPP $CPPFLAGS'
44038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
44047 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
44049 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
44050 for ac_func in modfl
44051 do :
44052 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
44053 if test "x$ac_cv_func_modfl" = x""yes; then :
44054 cat >>confdefs.h <<_ACEOF
44055 #define HAVE_MODFL 1
44056 _ACEOF
44059 done
44061 else
44063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
44064 $as_echo_n "checking for _modfl declaration... " >&6; }
44065 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
44066 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
44067 $as_echo_n "(cached) " >&6
44068 else
44071 ac_ext=cpp
44072 ac_cpp='$CXXCPP $CPPFLAGS'
44073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44078 /* end confdefs.h. */
44079 #include <math.h>
44081 main ()
44083 _modfl(0, 0);
44085 return 0;
44087 _ACEOF
44088 if ac_fn_cxx_try_compile "$LINENO"; then :
44089 glibcxx_cv_func__modfl_use=yes
44090 else
44091 glibcxx_cv_func__modfl_use=no
44093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44094 ac_ext=c
44095 ac_cpp='$CPP $CPPFLAGS'
44096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
44105 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
44107 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
44108 for ac_func in _modfl
44109 do :
44110 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
44111 if test "x$ac_cv_func__modfl" = x""yes; then :
44112 cat >>confdefs.h <<_ACEOF
44113 #define HAVE__MODFL 1
44114 _ACEOF
44117 done
44126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
44127 $as_echo_n "checking for powl declaration... " >&6; }
44128 if test x${glibcxx_cv_func_powl_use+set} != xset; then
44129 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
44130 $as_echo_n "(cached) " >&6
44131 else
44134 ac_ext=cpp
44135 ac_cpp='$CXXCPP $CPPFLAGS'
44136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44141 /* end confdefs.h. */
44142 #include <math.h>
44144 main ()
44146 powl(0, 0);
44148 return 0;
44150 _ACEOF
44151 if ac_fn_cxx_try_compile "$LINENO"; then :
44152 glibcxx_cv_func_powl_use=yes
44153 else
44154 glibcxx_cv_func_powl_use=no
44156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44157 ac_ext=c
44158 ac_cpp='$CPP $CPPFLAGS'
44159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
44168 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
44170 if test x$glibcxx_cv_func_powl_use = x"yes"; then
44171 for ac_func in powl
44172 do :
44173 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
44174 if test "x$ac_cv_func_powl" = x""yes; then :
44175 cat >>confdefs.h <<_ACEOF
44176 #define HAVE_POWL 1
44177 _ACEOF
44180 done
44182 else
44184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
44185 $as_echo_n "checking for _powl declaration... " >&6; }
44186 if test x${glibcxx_cv_func__powl_use+set} != xset; then
44187 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
44188 $as_echo_n "(cached) " >&6
44189 else
44192 ac_ext=cpp
44193 ac_cpp='$CXXCPP $CPPFLAGS'
44194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44199 /* end confdefs.h. */
44200 #include <math.h>
44202 main ()
44204 _powl(0, 0);
44206 return 0;
44208 _ACEOF
44209 if ac_fn_cxx_try_compile "$LINENO"; then :
44210 glibcxx_cv_func__powl_use=yes
44211 else
44212 glibcxx_cv_func__powl_use=no
44214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44215 ac_ext=c
44216 ac_cpp='$CPP $CPPFLAGS'
44217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
44226 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
44228 if test x$glibcxx_cv_func__powl_use = x"yes"; then
44229 for ac_func in _powl
44230 do :
44231 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
44232 if test "x$ac_cv_func__powl" = x""yes; then :
44233 cat >>confdefs.h <<_ACEOF
44234 #define HAVE__POWL 1
44235 _ACEOF
44238 done
44247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
44248 $as_echo_n "checking for sqrtl declaration... " >&6; }
44249 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
44250 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
44251 $as_echo_n "(cached) " >&6
44252 else
44255 ac_ext=cpp
44256 ac_cpp='$CXXCPP $CPPFLAGS'
44257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44262 /* end confdefs.h. */
44263 #include <math.h>
44264 #ifdef HAVE_IEEEFP_H
44265 #include <ieeefp.h>
44266 #endif
44269 main ()
44271 sqrtl(0);
44273 return 0;
44275 _ACEOF
44276 if ac_fn_cxx_try_compile "$LINENO"; then :
44277 glibcxx_cv_func_sqrtl_use=yes
44278 else
44279 glibcxx_cv_func_sqrtl_use=no
44281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44282 ac_ext=c
44283 ac_cpp='$CPP $CPPFLAGS'
44284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
44293 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
44295 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
44296 for ac_func in sqrtl
44297 do :
44298 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
44299 if test "x$ac_cv_func_sqrtl" = x""yes; then :
44300 cat >>confdefs.h <<_ACEOF
44301 #define HAVE_SQRTL 1
44302 _ACEOF
44305 done
44307 else
44309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
44310 $as_echo_n "checking for _sqrtl declaration... " >&6; }
44311 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
44312 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
44313 $as_echo_n "(cached) " >&6
44314 else
44317 ac_ext=cpp
44318 ac_cpp='$CXXCPP $CPPFLAGS'
44319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44324 /* end confdefs.h. */
44325 #include <math.h>
44326 #ifdef HAVE_IEEEFP_H
44327 #include <ieeefp.h>
44328 #endif
44331 main ()
44333 _sqrtl(0);
44335 return 0;
44337 _ACEOF
44338 if ac_fn_cxx_try_compile "$LINENO"; then :
44339 glibcxx_cv_func__sqrtl_use=yes
44340 else
44341 glibcxx_cv_func__sqrtl_use=no
44343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44344 ac_ext=c
44345 ac_cpp='$CPP $CPPFLAGS'
44346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
44355 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
44357 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
44358 for ac_func in _sqrtl
44359 do :
44360 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
44361 if test "x$ac_cv_func__sqrtl" = x""yes; then :
44362 cat >>confdefs.h <<_ACEOF
44363 #define HAVE__SQRTL 1
44364 _ACEOF
44367 done
44376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
44377 $as_echo_n "checking for sincosl declaration... " >&6; }
44378 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
44379 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
44380 $as_echo_n "(cached) " >&6
44381 else
44384 ac_ext=cpp
44385 ac_cpp='$CXXCPP $CPPFLAGS'
44386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44391 /* end confdefs.h. */
44392 #include <math.h>
44394 main ()
44396 sincosl(0, 0, 0);
44398 return 0;
44400 _ACEOF
44401 if ac_fn_cxx_try_compile "$LINENO"; then :
44402 glibcxx_cv_func_sincosl_use=yes
44403 else
44404 glibcxx_cv_func_sincosl_use=no
44406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44407 ac_ext=c
44408 ac_cpp='$CPP $CPPFLAGS'
44409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
44418 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
44420 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
44421 for ac_func in sincosl
44422 do :
44423 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
44424 if test "x$ac_cv_func_sincosl" = x""yes; then :
44425 cat >>confdefs.h <<_ACEOF
44426 #define HAVE_SINCOSL 1
44427 _ACEOF
44430 done
44432 else
44434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
44435 $as_echo_n "checking for _sincosl declaration... " >&6; }
44436 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
44437 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
44438 $as_echo_n "(cached) " >&6
44439 else
44442 ac_ext=cpp
44443 ac_cpp='$CXXCPP $CPPFLAGS'
44444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44449 /* end confdefs.h. */
44450 #include <math.h>
44452 main ()
44454 _sincosl(0, 0, 0);
44456 return 0;
44458 _ACEOF
44459 if ac_fn_cxx_try_compile "$LINENO"; then :
44460 glibcxx_cv_func__sincosl_use=yes
44461 else
44462 glibcxx_cv_func__sincosl_use=no
44464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44465 ac_ext=c
44466 ac_cpp='$CPP $CPPFLAGS'
44467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
44476 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
44478 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
44479 for ac_func in _sincosl
44480 do :
44481 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
44482 if test "x$ac_cv_func__sincosl" = x""yes; then :
44483 cat >>confdefs.h <<_ACEOF
44484 #define HAVE__SINCOSL 1
44485 _ACEOF
44488 done
44497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
44498 $as_echo_n "checking for finitel declaration... " >&6; }
44499 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
44500 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
44501 $as_echo_n "(cached) " >&6
44502 else
44505 ac_ext=cpp
44506 ac_cpp='$CXXCPP $CPPFLAGS'
44507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44512 /* end confdefs.h. */
44513 #include <math.h>
44514 #ifdef HAVE_IEEEFP_H
44515 #include <ieeefp.h>
44516 #endif
44519 main ()
44521 finitel(0);
44523 return 0;
44525 _ACEOF
44526 if ac_fn_cxx_try_compile "$LINENO"; then :
44527 glibcxx_cv_func_finitel_use=yes
44528 else
44529 glibcxx_cv_func_finitel_use=no
44531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44532 ac_ext=c
44533 ac_cpp='$CPP $CPPFLAGS'
44534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
44543 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
44545 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
44546 for ac_func in finitel
44547 do :
44548 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
44549 if test "x$ac_cv_func_finitel" = x""yes; then :
44550 cat >>confdefs.h <<_ACEOF
44551 #define HAVE_FINITEL 1
44552 _ACEOF
44555 done
44557 else
44559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
44560 $as_echo_n "checking for _finitel declaration... " >&6; }
44561 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
44562 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
44563 $as_echo_n "(cached) " >&6
44564 else
44567 ac_ext=cpp
44568 ac_cpp='$CXXCPP $CPPFLAGS'
44569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44574 /* end confdefs.h. */
44575 #include <math.h>
44576 #ifdef HAVE_IEEEFP_H
44577 #include <ieeefp.h>
44578 #endif
44581 main ()
44583 _finitel(0);
44585 return 0;
44587 _ACEOF
44588 if ac_fn_cxx_try_compile "$LINENO"; then :
44589 glibcxx_cv_func__finitel_use=yes
44590 else
44591 glibcxx_cv_func__finitel_use=no
44593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44594 ac_ext=c
44595 ac_cpp='$CPP $CPPFLAGS'
44596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
44605 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
44607 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
44608 for ac_func in _finitel
44609 do :
44610 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
44611 if test "x$ac_cv_func__finitel" = x""yes; then :
44612 cat >>confdefs.h <<_ACEOF
44613 #define HAVE__FINITEL 1
44614 _ACEOF
44617 done
44625 LIBS="$ac_save_LIBS"
44626 CXXFLAGS="$ac_save_CXXFLAGS"
44629 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44630 ac_save_CXXFLAGS="$CXXFLAGS"
44631 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
44635 $as_echo_n "checking for strtold declaration... " >&6; }
44636 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
44637 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
44638 $as_echo_n "(cached) " >&6
44639 else
44642 ac_ext=cpp
44643 ac_cpp='$CXXCPP $CPPFLAGS'
44644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44649 /* end confdefs.h. */
44650 #include <stdlib.h>
44652 main ()
44654 strtold(0, 0);
44656 return 0;
44658 _ACEOF
44659 if ac_fn_cxx_try_compile "$LINENO"; then :
44660 glibcxx_cv_func_strtold_use=yes
44661 else
44662 glibcxx_cv_func_strtold_use=no
44664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44665 ac_ext=c
44666 ac_cpp='$CPP $CPPFLAGS'
44667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
44676 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
44677 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
44678 for ac_func in strtold
44679 do :
44680 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
44681 if test "x$ac_cv_func_strtold" = x""yes; then :
44682 cat >>confdefs.h <<_ACEOF
44683 #define HAVE_STRTOLD 1
44684 _ACEOF
44687 done
44694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
44695 $as_echo_n "checking for strtof declaration... " >&6; }
44696 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
44697 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
44698 $as_echo_n "(cached) " >&6
44699 else
44702 ac_ext=cpp
44703 ac_cpp='$CXXCPP $CPPFLAGS'
44704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44709 /* end confdefs.h. */
44710 #include <stdlib.h>
44712 main ()
44714 strtof(0, 0);
44716 return 0;
44718 _ACEOF
44719 if ac_fn_cxx_try_compile "$LINENO"; then :
44720 glibcxx_cv_func_strtof_use=yes
44721 else
44722 glibcxx_cv_func_strtof_use=no
44724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44725 ac_ext=c
44726 ac_cpp='$CPP $CPPFLAGS'
44727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
44736 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
44737 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
44738 for ac_func in strtof
44739 do :
44740 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
44741 if test "x$ac_cv_func_strtof" = x""yes; then :
44742 cat >>confdefs.h <<_ACEOF
44743 #define HAVE_STRTOF 1
44744 _ACEOF
44747 done
44754 CXXFLAGS="$ac_save_CXXFLAGS"
44758 *djgpp)
44759 # GLIBCXX_CHECK_MATH_SUPPORT
44760 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44762 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44764 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44766 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
44768 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44772 *-freebsd*)
44773 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44776 # If we're not using GNU ld, then there's no point in even trying these
44777 # tests. Check for that first. We should have already tested for gld
44778 # by now (in libtool), but require it now just to be safe...
44779 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44780 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44784 # The name set by libtool depends on the version of libtool. Shame on us
44785 # for depending on an impl detail, but c'est la vie. Older versions used
44786 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44787 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44788 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44789 # set (hence we're using an older libtool), then set it.
44790 if test x${with_gnu_ld+set} != xset; then
44791 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44792 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44793 with_gnu_ld=no
44794 else
44795 with_gnu_ld=$ac_cv_prog_gnu_ld
44799 # Start by getting the version number. I think the libtool test already
44800 # does some of this, but throws away the result.
44801 glibcxx_ld_is_gold=no
44802 if test x"$with_gnu_ld" = x"yes"; then
44803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44804 $as_echo_n "checking for ld version... " >&6; }
44806 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44807 glibcxx_ld_is_gold=yes
44809 ldver=`$LD --version 2>/dev/null |
44810 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'`
44812 glibcxx_gnu_ld_version=`echo $ldver | \
44813 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44815 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44818 # Set --gc-sections.
44819 glibcxx_have_gc_sections=no
44820 if test "$glibcxx_ld_is_gold" = "yes"; then
44821 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44822 glibcxx_have_gc_sections=yes
44824 else
44825 glibcxx_gcsections_min_ld=21602
44826 if test x"$with_gnu_ld" = x"yes" &&
44827 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44828 glibcxx_have_gc_sections=yes
44831 if test "$glibcxx_have_gc_sections" = "yes"; then
44832 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44833 # NB: This flag only works reliably after 2.16.1. Configure tests
44834 # for this are difficult, so hard wire a value that should work.
44836 ac_test_CFLAGS="${CFLAGS+set}"
44837 ac_save_CFLAGS="$CFLAGS"
44838 CFLAGS='-Wl,--gc-sections'
44840 # Check for -Wl,--gc-sections
44841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44842 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44843 if test x$gcc_no_link = xyes; then
44844 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44847 /* end confdefs.h. */
44848 int one(void) { return 1; }
44849 int two(void) { return 2; }
44852 main ()
44854 two();
44856 return 0;
44858 _ACEOF
44859 if ac_fn_c_try_link "$LINENO"; then :
44860 ac_gcsections=yes
44861 else
44862 ac_gcsections=no
44864 rm -f core conftest.err conftest.$ac_objext \
44865 conftest$ac_exeext conftest.$ac_ext
44866 if test "$ac_gcsections" = "yes"; then
44867 rm -f conftest.c
44868 touch conftest.c
44869 if $CC -c conftest.c; then
44870 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44871 grep "Warning: gc-sections option ignored" > /dev/null; then
44872 ac_gcsections=no
44875 rm -f conftest.c conftest.o conftest
44877 if test "$ac_gcsections" = "yes"; then
44878 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44881 $as_echo "$ac_gcsections" >&6; }
44883 if test "$ac_test_CFLAGS" = set; then
44884 CFLAGS="$ac_save_CFLAGS"
44885 else
44886 # this is the suspicious part
44887 CFLAGS=''
44891 # Set -z,relro.
44892 # Note this is only for shared objects.
44893 ac_ld_relro=no
44894 if test x"$with_gnu_ld" = x"yes"; then
44895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44896 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44897 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44898 if test -n "$cxx_z_relo"; then
44899 OPT_LDFLAGS="-Wl,-z,relro"
44900 ac_ld_relro=yes
44902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44903 $as_echo "$ac_ld_relro" >&6; }
44906 # Set linker optimization flags.
44907 if test x"$with_gnu_ld" = x"yes"; then
44908 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44914 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44916 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44918 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44920 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44922 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44924 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44926 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44928 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44930 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44933 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44935 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44937 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44939 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44941 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44943 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44945 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44947 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44949 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44951 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44953 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44955 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44957 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44959 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44961 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44963 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
44965 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44967 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44969 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44971 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44973 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44975 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44977 if test x"long_double_math_on_this_cpu" = x"yes"; then
44978 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
44980 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
44982 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
44986 *-hpux*)
44987 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44990 # If we're not using GNU ld, then there's no point in even trying these
44991 # tests. Check for that first. We should have already tested for gld
44992 # by now (in libtool), but require it now just to be safe...
44993 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44994 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44998 # The name set by libtool depends on the version of libtool. Shame on us
44999 # for depending on an impl detail, but c'est la vie. Older versions used
45000 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45001 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45002 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45003 # set (hence we're using an older libtool), then set it.
45004 if test x${with_gnu_ld+set} != xset; then
45005 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45006 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45007 with_gnu_ld=no
45008 else
45009 with_gnu_ld=$ac_cv_prog_gnu_ld
45013 # Start by getting the version number. I think the libtool test already
45014 # does some of this, but throws away the result.
45015 glibcxx_ld_is_gold=no
45016 if test x"$with_gnu_ld" = x"yes"; then
45017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45018 $as_echo_n "checking for ld version... " >&6; }
45020 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45021 glibcxx_ld_is_gold=yes
45023 ldver=`$LD --version 2>/dev/null |
45024 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'`
45026 glibcxx_gnu_ld_version=`echo $ldver | \
45027 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45029 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45032 # Set --gc-sections.
45033 glibcxx_have_gc_sections=no
45034 if test "$glibcxx_ld_is_gold" = "yes"; then
45035 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45036 glibcxx_have_gc_sections=yes
45038 else
45039 glibcxx_gcsections_min_ld=21602
45040 if test x"$with_gnu_ld" = x"yes" &&
45041 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45042 glibcxx_have_gc_sections=yes
45045 if test "$glibcxx_have_gc_sections" = "yes"; then
45046 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45047 # NB: This flag only works reliably after 2.16.1. Configure tests
45048 # for this are difficult, so hard wire a value that should work.
45050 ac_test_CFLAGS="${CFLAGS+set}"
45051 ac_save_CFLAGS="$CFLAGS"
45052 CFLAGS='-Wl,--gc-sections'
45054 # Check for -Wl,--gc-sections
45055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45056 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45057 if test x$gcc_no_link = xyes; then
45058 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45061 /* end confdefs.h. */
45062 int one(void) { return 1; }
45063 int two(void) { return 2; }
45066 main ()
45068 two();
45070 return 0;
45072 _ACEOF
45073 if ac_fn_c_try_link "$LINENO"; then :
45074 ac_gcsections=yes
45075 else
45076 ac_gcsections=no
45078 rm -f core conftest.err conftest.$ac_objext \
45079 conftest$ac_exeext conftest.$ac_ext
45080 if test "$ac_gcsections" = "yes"; then
45081 rm -f conftest.c
45082 touch conftest.c
45083 if $CC -c conftest.c; then
45084 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45085 grep "Warning: gc-sections option ignored" > /dev/null; then
45086 ac_gcsections=no
45089 rm -f conftest.c conftest.o conftest
45091 if test "$ac_gcsections" = "yes"; then
45092 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45095 $as_echo "$ac_gcsections" >&6; }
45097 if test "$ac_test_CFLAGS" = set; then
45098 CFLAGS="$ac_save_CFLAGS"
45099 else
45100 # this is the suspicious part
45101 CFLAGS=''
45105 # Set -z,relro.
45106 # Note this is only for shared objects.
45107 ac_ld_relro=no
45108 if test x"$with_gnu_ld" = x"yes"; then
45109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45110 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45111 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45112 if test -n "$cxx_z_relo"; then
45113 OPT_LDFLAGS="-Wl,-z,relro"
45114 ac_ld_relro=yes
45116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45117 $as_echo "$ac_ld_relro" >&6; }
45120 # Set linker optimization flags.
45121 if test x"$with_gnu_ld" = x"yes"; then
45122 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45129 # GLIBCXX_CHECK_MATH_SUPPORT
45130 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45132 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45134 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45136 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45138 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45140 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45142 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45144 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45146 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45148 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45150 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45152 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45154 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45156 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45158 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45160 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45162 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45164 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45166 $as_echo "#define HAVE_MODF 1" >>confdefs.h
45168 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45170 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45173 # GLIBCXX_CHECK_STDLIB_SUPPORT
45174 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
45179 # Check whether --enable-tls was given.
45180 if test "${enable_tls+set}" = set; then :
45181 enableval=$enable_tls;
45182 case "$enableval" in
45183 yes|no) ;;
45184 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
45185 esac
45187 else
45188 enable_tls=yes
45192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
45193 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
45194 if test "${gcc_cv_have_tls+set}" = set; then :
45195 $as_echo_n "(cached) " >&6
45196 else
45198 if test "$cross_compiling" = yes; then :
45199 if test x$gcc_no_link = xyes; then
45200 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45203 /* end confdefs.h. */
45204 __thread int a; int b; int main() { return a = b; }
45205 _ACEOF
45206 if ac_fn_c_try_link "$LINENO"; then :
45207 chktls_save_LDFLAGS="$LDFLAGS"
45208 case $host in
45209 *-*-linux*)
45210 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
45212 esac
45213 chktls_save_CFLAGS="$CFLAGS"
45214 CFLAGS="-fPIC $CFLAGS"
45215 if test x$gcc_no_link = xyes; then
45216 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45219 /* end confdefs.h. */
45220 int f() { return 0; }
45221 _ACEOF
45222 if ac_fn_c_try_link "$LINENO"; then :
45223 if test x$gcc_no_link = xyes; then
45224 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45227 /* end confdefs.h. */
45228 __thread int a; int b; int f() { return a = b; }
45229 _ACEOF
45230 if ac_fn_c_try_link "$LINENO"; then :
45231 gcc_cv_have_tls=yes
45232 else
45233 gcc_cv_have_tls=no
45235 rm -f core conftest.err conftest.$ac_objext \
45236 conftest$ac_exeext conftest.$ac_ext
45237 else
45238 gcc_cv_have_tls=yes
45240 rm -f core conftest.err conftest.$ac_objext \
45241 conftest$ac_exeext conftest.$ac_ext
45242 CFLAGS="$chktls_save_CFLAGS"
45243 LDFLAGS="$chktls_save_LDFLAGS"
45244 else
45245 gcc_cv_have_tls=no
45247 rm -f core conftest.err conftest.$ac_objext \
45248 conftest$ac_exeext conftest.$ac_ext
45251 else
45252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45253 /* end confdefs.h. */
45254 __thread int a; int b; int main() { return a = b; }
45255 _ACEOF
45256 if ac_fn_c_try_run "$LINENO"; then :
45257 chktls_save_LDFLAGS="$LDFLAGS"
45258 LDFLAGS="-static $LDFLAGS"
45259 if test x$gcc_no_link = xyes; then
45260 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45263 /* end confdefs.h. */
45264 int main() { return 0; }
45265 _ACEOF
45266 if ac_fn_c_try_link "$LINENO"; then :
45267 if test "$cross_compiling" = yes; then :
45268 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45269 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45270 as_fn_error "cannot run test program while cross compiling
45271 See \`config.log' for more details." "$LINENO" 5; }
45272 else
45273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45274 /* end confdefs.h. */
45275 __thread int a; int b; int main() { return a = b; }
45276 _ACEOF
45277 if ac_fn_c_try_run "$LINENO"; then :
45278 gcc_cv_have_tls=yes
45279 else
45280 gcc_cv_have_tls=no
45282 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45283 conftest.$ac_objext conftest.beam conftest.$ac_ext
45286 else
45287 gcc_cv_have_tls=yes
45289 rm -f core conftest.err conftest.$ac_objext \
45290 conftest$ac_exeext conftest.$ac_ext
45291 LDFLAGS="$chktls_save_LDFLAGS"
45292 if test $gcc_cv_have_tls = yes; then
45293 chktls_save_CFLAGS="$CFLAGS"
45294 thread_CFLAGS=failed
45295 for flag in '' '-pthread' '-lpthread'; do
45296 CFLAGS="$flag $chktls_save_CFLAGS"
45297 if test x$gcc_no_link = xyes; then
45298 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45301 /* end confdefs.h. */
45302 #include <pthread.h>
45303 void *g(void *d) { return NULL; }
45305 main ()
45307 pthread_t t; pthread_create(&t,NULL,g,NULL);
45309 return 0;
45311 _ACEOF
45312 if ac_fn_c_try_link "$LINENO"; then :
45313 thread_CFLAGS="$flag"
45315 rm -f core conftest.err conftest.$ac_objext \
45316 conftest$ac_exeext conftest.$ac_ext
45317 if test "X$thread_CFLAGS" != Xfailed; then
45318 break
45320 done
45321 CFLAGS="$chktls_save_CFLAGS"
45322 if test "X$thread_CFLAGS" != Xfailed; then
45323 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
45324 if test "$cross_compiling" = yes; then :
45325 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45327 as_fn_error "cannot run test program while cross compiling
45328 See \`config.log' for more details." "$LINENO" 5; }
45329 else
45330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45331 /* end confdefs.h. */
45332 #include <pthread.h>
45333 __thread int a;
45334 static int *volatile a_in_other_thread;
45335 static void *
45336 thread_func (void *arg)
45338 a_in_other_thread = &a;
45339 return (void *)0;
45342 main ()
45344 pthread_t thread;
45345 void *thread_retval;
45346 int *volatile a_in_main_thread;
45347 a_in_main_thread = &a;
45348 if (pthread_create (&thread, (pthread_attr_t *)0,
45349 thread_func, (void *)0))
45350 return 0;
45351 if (pthread_join (thread, &thread_retval))
45352 return 0;
45353 return (a_in_other_thread == a_in_main_thread);
45355 return 0;
45357 _ACEOF
45358 if ac_fn_c_try_run "$LINENO"; then :
45359 gcc_cv_have_tls=yes
45360 else
45361 gcc_cv_have_tls=no
45363 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45364 conftest.$ac_objext conftest.beam conftest.$ac_ext
45367 CFLAGS="$chktls_save_CFLAGS"
45370 else
45371 gcc_cv_have_tls=no
45373 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45374 conftest.$ac_objext conftest.beam conftest.$ac_ext
45378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
45379 $as_echo "$gcc_cv_have_tls" >&6; }
45380 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
45382 $as_echo "#define HAVE_TLS 1" >>confdefs.h
45385 case "$target" in
45386 *-hpux10*)
45387 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45389 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
45391 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45393 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45395 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45398 esac
45400 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
45402 # All these tests are for C++; save the language and the compiler flags.
45403 # The CXXFLAGS thing is suspicious, but based on similar bits previously
45404 # found in GLIBCXX_CONFIGURE.
45406 ac_ext=cpp
45407 ac_cpp='$CXXCPP $CPPFLAGS'
45408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45412 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45413 ac_save_CXXFLAGS="$CXXFLAGS"
45415 # Check for maintainer-mode bits.
45416 if test x"$USE_MAINTAINER_MODE" = xno; then
45417 WERROR=''
45418 else
45419 WERROR='-Werror'
45422 # Check for -ffunction-sections -fdata-sections
45423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
45424 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
45425 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
45426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45427 /* end confdefs.h. */
45428 int foo; void bar() { };
45430 main ()
45434 return 0;
45436 _ACEOF
45437 if ac_fn_cxx_try_compile "$LINENO"; then :
45438 ac_fdsections=yes
45439 else
45440 ac_fdsections=no
45442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45443 if test "$ac_test_CXXFLAGS" = set; then
45444 CXXFLAGS="$ac_save_CXXFLAGS"
45445 else
45446 # this is the suspicious part
45447 CXXFLAGS=''
45449 if test x"$ac_fdsections" = x"yes"; then
45450 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
45453 $as_echo "$ac_fdsections" >&6; }
45455 ac_ext=c
45456 ac_cpp='$CPP $CPPFLAGS'
45457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45465 # If we're not using GNU ld, then there's no point in even trying these
45466 # tests. Check for that first. We should have already tested for gld
45467 # by now (in libtool), but require it now just to be safe...
45468 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45469 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45473 # The name set by libtool depends on the version of libtool. Shame on us
45474 # for depending on an impl detail, but c'est la vie. Older versions used
45475 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45476 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45477 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45478 # set (hence we're using an older libtool), then set it.
45479 if test x${with_gnu_ld+set} != xset; then
45480 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45481 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45482 with_gnu_ld=no
45483 else
45484 with_gnu_ld=$ac_cv_prog_gnu_ld
45488 # Start by getting the version number. I think the libtool test already
45489 # does some of this, but throws away the result.
45490 glibcxx_ld_is_gold=no
45491 if test x"$with_gnu_ld" = x"yes"; then
45492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45493 $as_echo_n "checking for ld version... " >&6; }
45495 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45496 glibcxx_ld_is_gold=yes
45498 ldver=`$LD --version 2>/dev/null |
45499 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'`
45501 glibcxx_gnu_ld_version=`echo $ldver | \
45502 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45504 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45507 # Set --gc-sections.
45508 glibcxx_have_gc_sections=no
45509 if test "$glibcxx_ld_is_gold" = "yes"; then
45510 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45511 glibcxx_have_gc_sections=yes
45513 else
45514 glibcxx_gcsections_min_ld=21602
45515 if test x"$with_gnu_ld" = x"yes" &&
45516 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45517 glibcxx_have_gc_sections=yes
45520 if test "$glibcxx_have_gc_sections" = "yes"; then
45521 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45522 # NB: This flag only works reliably after 2.16.1. Configure tests
45523 # for this are difficult, so hard wire a value that should work.
45525 ac_test_CFLAGS="${CFLAGS+set}"
45526 ac_save_CFLAGS="$CFLAGS"
45527 CFLAGS='-Wl,--gc-sections'
45529 # Check for -Wl,--gc-sections
45530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45531 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45532 if test x$gcc_no_link = xyes; then
45533 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45536 /* end confdefs.h. */
45537 int one(void) { return 1; }
45538 int two(void) { return 2; }
45541 main ()
45543 two();
45545 return 0;
45547 _ACEOF
45548 if ac_fn_c_try_link "$LINENO"; then :
45549 ac_gcsections=yes
45550 else
45551 ac_gcsections=no
45553 rm -f core conftest.err conftest.$ac_objext \
45554 conftest$ac_exeext conftest.$ac_ext
45555 if test "$ac_gcsections" = "yes"; then
45556 rm -f conftest.c
45557 touch conftest.c
45558 if $CC -c conftest.c; then
45559 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45560 grep "Warning: gc-sections option ignored" > /dev/null; then
45561 ac_gcsections=no
45564 rm -f conftest.c conftest.o conftest
45566 if test "$ac_gcsections" = "yes"; then
45567 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45570 $as_echo "$ac_gcsections" >&6; }
45572 if test "$ac_test_CFLAGS" = set; then
45573 CFLAGS="$ac_save_CFLAGS"
45574 else
45575 # this is the suspicious part
45576 CFLAGS=''
45580 # Set -z,relro.
45581 # Note this is only for shared objects.
45582 ac_ld_relro=no
45583 if test x"$with_gnu_ld" = x"yes"; then
45584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45585 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45586 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45587 if test -n "$cxx_z_relo"; then
45588 OPT_LDFLAGS="-Wl,-z,relro"
45589 ac_ld_relro=yes
45591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45592 $as_echo "$ac_ld_relro" >&6; }
45595 # Set linker optimization flags.
45596 if test x"$with_gnu_ld" = x"yes"; then
45597 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45604 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45605 ac_save_CXXFLAGS="$CXXFLAGS"
45606 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
45609 $as_echo_n "checking for sin in -lm... " >&6; }
45610 if test "${ac_cv_lib_m_sin+set}" = set; then :
45611 $as_echo_n "(cached) " >&6
45612 else
45613 ac_check_lib_save_LIBS=$LIBS
45614 LIBS="-lm $LIBS"
45615 if test x$gcc_no_link = xyes; then
45616 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45619 /* end confdefs.h. */
45621 /* Override any GCC internal prototype to avoid an error.
45622 Use char because int might match the return type of a GCC
45623 builtin and then its argument prototype would still apply. */
45624 #ifdef __cplusplus
45625 extern "C"
45626 #endif
45627 char sin ();
45629 main ()
45631 return sin ();
45633 return 0;
45635 _ACEOF
45636 if ac_fn_c_try_link "$LINENO"; then :
45637 ac_cv_lib_m_sin=yes
45638 else
45639 ac_cv_lib_m_sin=no
45641 rm -f core conftest.err conftest.$ac_objext \
45642 conftest$ac_exeext conftest.$ac_ext
45643 LIBS=$ac_check_lib_save_LIBS
45645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
45646 $as_echo "$ac_cv_lib_m_sin" >&6; }
45647 if test "x$ac_cv_lib_m_sin" = x""yes; then :
45648 libm="-lm"
45651 ac_save_LIBS="$LIBS"
45652 LIBS="$LIBS $libm"
45656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
45657 $as_echo_n "checking for isinf declaration... " >&6; }
45658 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
45659 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
45660 $as_echo_n "(cached) " >&6
45661 else
45664 ac_ext=cpp
45665 ac_cpp='$CXXCPP $CPPFLAGS'
45666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45671 /* end confdefs.h. */
45672 #include <math.h>
45673 #ifdef HAVE_IEEEFP_H
45674 #include <ieeefp.h>
45675 #endif
45678 main ()
45680 isinf(0);
45682 return 0;
45684 _ACEOF
45685 if ac_fn_cxx_try_compile "$LINENO"; then :
45686 glibcxx_cv_func_isinf_use=yes
45687 else
45688 glibcxx_cv_func_isinf_use=no
45690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45691 ac_ext=c
45692 ac_cpp='$CPP $CPPFLAGS'
45693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
45702 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
45704 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
45705 for ac_func in isinf
45706 do :
45707 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
45708 if test "x$ac_cv_func_isinf" = x""yes; then :
45709 cat >>confdefs.h <<_ACEOF
45710 #define HAVE_ISINF 1
45711 _ACEOF
45714 done
45716 else
45718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
45719 $as_echo_n "checking for _isinf declaration... " >&6; }
45720 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
45721 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
45722 $as_echo_n "(cached) " >&6
45723 else
45726 ac_ext=cpp
45727 ac_cpp='$CXXCPP $CPPFLAGS'
45728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45733 /* end confdefs.h. */
45734 #include <math.h>
45735 #ifdef HAVE_IEEEFP_H
45736 #include <ieeefp.h>
45737 #endif
45740 main ()
45742 _isinf(0);
45744 return 0;
45746 _ACEOF
45747 if ac_fn_cxx_try_compile "$LINENO"; then :
45748 glibcxx_cv_func__isinf_use=yes
45749 else
45750 glibcxx_cv_func__isinf_use=no
45752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45753 ac_ext=c
45754 ac_cpp='$CPP $CPPFLAGS'
45755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
45764 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
45766 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
45767 for ac_func in _isinf
45768 do :
45769 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
45770 if test "x$ac_cv_func__isinf" = x""yes; then :
45771 cat >>confdefs.h <<_ACEOF
45772 #define HAVE__ISINF 1
45773 _ACEOF
45776 done
45785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
45786 $as_echo_n "checking for isnan declaration... " >&6; }
45787 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
45788 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
45789 $as_echo_n "(cached) " >&6
45790 else
45793 ac_ext=cpp
45794 ac_cpp='$CXXCPP $CPPFLAGS'
45795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45800 /* end confdefs.h. */
45801 #include <math.h>
45802 #ifdef HAVE_IEEEFP_H
45803 #include <ieeefp.h>
45804 #endif
45807 main ()
45809 isnan(0);
45811 return 0;
45813 _ACEOF
45814 if ac_fn_cxx_try_compile "$LINENO"; then :
45815 glibcxx_cv_func_isnan_use=yes
45816 else
45817 glibcxx_cv_func_isnan_use=no
45819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45820 ac_ext=c
45821 ac_cpp='$CPP $CPPFLAGS'
45822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45831 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45833 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45834 for ac_func in isnan
45835 do :
45836 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45837 if test "x$ac_cv_func_isnan" = x""yes; then :
45838 cat >>confdefs.h <<_ACEOF
45839 #define HAVE_ISNAN 1
45840 _ACEOF
45843 done
45845 else
45847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45848 $as_echo_n "checking for _isnan declaration... " >&6; }
45849 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45850 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45851 $as_echo_n "(cached) " >&6
45852 else
45855 ac_ext=cpp
45856 ac_cpp='$CXXCPP $CPPFLAGS'
45857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45862 /* end confdefs.h. */
45863 #include <math.h>
45864 #ifdef HAVE_IEEEFP_H
45865 #include <ieeefp.h>
45866 #endif
45869 main ()
45871 _isnan(0);
45873 return 0;
45875 _ACEOF
45876 if ac_fn_cxx_try_compile "$LINENO"; then :
45877 glibcxx_cv_func__isnan_use=yes
45878 else
45879 glibcxx_cv_func__isnan_use=no
45881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45882 ac_ext=c
45883 ac_cpp='$CPP $CPPFLAGS'
45884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45893 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45895 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45896 for ac_func in _isnan
45897 do :
45898 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45899 if test "x$ac_cv_func__isnan" = x""yes; then :
45900 cat >>confdefs.h <<_ACEOF
45901 #define HAVE__ISNAN 1
45902 _ACEOF
45905 done
45914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45915 $as_echo_n "checking for finite declaration... " >&6; }
45916 if test x${glibcxx_cv_func_finite_use+set} != xset; then
45917 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45918 $as_echo_n "(cached) " >&6
45919 else
45922 ac_ext=cpp
45923 ac_cpp='$CXXCPP $CPPFLAGS'
45924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45929 /* end confdefs.h. */
45930 #include <math.h>
45931 #ifdef HAVE_IEEEFP_H
45932 #include <ieeefp.h>
45933 #endif
45936 main ()
45938 finite(0);
45940 return 0;
45942 _ACEOF
45943 if ac_fn_cxx_try_compile "$LINENO"; then :
45944 glibcxx_cv_func_finite_use=yes
45945 else
45946 glibcxx_cv_func_finite_use=no
45948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45949 ac_ext=c
45950 ac_cpp='$CPP $CPPFLAGS'
45951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
45960 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
45962 if test x$glibcxx_cv_func_finite_use = x"yes"; then
45963 for ac_func in finite
45964 do :
45965 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
45966 if test "x$ac_cv_func_finite" = x""yes; then :
45967 cat >>confdefs.h <<_ACEOF
45968 #define HAVE_FINITE 1
45969 _ACEOF
45972 done
45974 else
45976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
45977 $as_echo_n "checking for _finite declaration... " >&6; }
45978 if test x${glibcxx_cv_func__finite_use+set} != xset; then
45979 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
45980 $as_echo_n "(cached) " >&6
45981 else
45984 ac_ext=cpp
45985 ac_cpp='$CXXCPP $CPPFLAGS'
45986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45991 /* end confdefs.h. */
45992 #include <math.h>
45993 #ifdef HAVE_IEEEFP_H
45994 #include <ieeefp.h>
45995 #endif
45998 main ()
46000 _finite(0);
46002 return 0;
46004 _ACEOF
46005 if ac_fn_cxx_try_compile "$LINENO"; then :
46006 glibcxx_cv_func__finite_use=yes
46007 else
46008 glibcxx_cv_func__finite_use=no
46010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46011 ac_ext=c
46012 ac_cpp='$CPP $CPPFLAGS'
46013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46022 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46024 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46025 for ac_func in _finite
46026 do :
46027 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46028 if test "x$ac_cv_func__finite" = x""yes; then :
46029 cat >>confdefs.h <<_ACEOF
46030 #define HAVE__FINITE 1
46031 _ACEOF
46034 done
46043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46044 $as_echo_n "checking for sincos declaration... " >&6; }
46045 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46046 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46047 $as_echo_n "(cached) " >&6
46048 else
46051 ac_ext=cpp
46052 ac_cpp='$CXXCPP $CPPFLAGS'
46053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46058 /* end confdefs.h. */
46059 #include <math.h>
46061 main ()
46063 sincos(0, 0, 0);
46065 return 0;
46067 _ACEOF
46068 if ac_fn_cxx_try_compile "$LINENO"; then :
46069 glibcxx_cv_func_sincos_use=yes
46070 else
46071 glibcxx_cv_func_sincos_use=no
46073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46074 ac_ext=c
46075 ac_cpp='$CPP $CPPFLAGS'
46076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46085 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46087 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46088 for ac_func in sincos
46089 do :
46090 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46091 if test "x$ac_cv_func_sincos" = x""yes; then :
46092 cat >>confdefs.h <<_ACEOF
46093 #define HAVE_SINCOS 1
46094 _ACEOF
46097 done
46099 else
46101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46102 $as_echo_n "checking for _sincos declaration... " >&6; }
46103 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46104 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46105 $as_echo_n "(cached) " >&6
46106 else
46109 ac_ext=cpp
46110 ac_cpp='$CXXCPP $CPPFLAGS'
46111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46116 /* end confdefs.h. */
46117 #include <math.h>
46119 main ()
46121 _sincos(0, 0, 0);
46123 return 0;
46125 _ACEOF
46126 if ac_fn_cxx_try_compile "$LINENO"; then :
46127 glibcxx_cv_func__sincos_use=yes
46128 else
46129 glibcxx_cv_func__sincos_use=no
46131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46132 ac_ext=c
46133 ac_cpp='$CPP $CPPFLAGS'
46134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46143 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46145 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46146 for ac_func in _sincos
46147 do :
46148 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46149 if test "x$ac_cv_func__sincos" = x""yes; then :
46150 cat >>confdefs.h <<_ACEOF
46151 #define HAVE__SINCOS 1
46152 _ACEOF
46155 done
46164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46165 $as_echo_n "checking for fpclass declaration... " >&6; }
46166 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46167 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46168 $as_echo_n "(cached) " >&6
46169 else
46172 ac_ext=cpp
46173 ac_cpp='$CXXCPP $CPPFLAGS'
46174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46179 /* end confdefs.h. */
46180 #include <math.h>
46181 #ifdef HAVE_IEEEFP_H
46182 #include <ieeefp.h>
46183 #endif
46186 main ()
46188 fpclass(0);
46190 return 0;
46192 _ACEOF
46193 if ac_fn_cxx_try_compile "$LINENO"; then :
46194 glibcxx_cv_func_fpclass_use=yes
46195 else
46196 glibcxx_cv_func_fpclass_use=no
46198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46199 ac_ext=c
46200 ac_cpp='$CPP $CPPFLAGS'
46201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46210 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46212 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46213 for ac_func in fpclass
46214 do :
46215 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46216 if test "x$ac_cv_func_fpclass" = x""yes; then :
46217 cat >>confdefs.h <<_ACEOF
46218 #define HAVE_FPCLASS 1
46219 _ACEOF
46222 done
46224 else
46226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46227 $as_echo_n "checking for _fpclass declaration... " >&6; }
46228 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46229 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46230 $as_echo_n "(cached) " >&6
46231 else
46234 ac_ext=cpp
46235 ac_cpp='$CXXCPP $CPPFLAGS'
46236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46241 /* end confdefs.h. */
46242 #include <math.h>
46243 #ifdef HAVE_IEEEFP_H
46244 #include <ieeefp.h>
46245 #endif
46248 main ()
46250 _fpclass(0);
46252 return 0;
46254 _ACEOF
46255 if ac_fn_cxx_try_compile "$LINENO"; then :
46256 glibcxx_cv_func__fpclass_use=yes
46257 else
46258 glibcxx_cv_func__fpclass_use=no
46260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46261 ac_ext=c
46262 ac_cpp='$CPP $CPPFLAGS'
46263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46272 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46274 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46275 for ac_func in _fpclass
46276 do :
46277 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46278 if test "x$ac_cv_func__fpclass" = x""yes; then :
46279 cat >>confdefs.h <<_ACEOF
46280 #define HAVE__FPCLASS 1
46281 _ACEOF
46284 done
46293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46294 $as_echo_n "checking for qfpclass declaration... " >&6; }
46295 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46296 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46297 $as_echo_n "(cached) " >&6
46298 else
46301 ac_ext=cpp
46302 ac_cpp='$CXXCPP $CPPFLAGS'
46303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46308 /* end confdefs.h. */
46309 #include <math.h>
46310 #ifdef HAVE_IEEEFP_H
46311 #include <ieeefp.h>
46312 #endif
46315 main ()
46317 qfpclass(0);
46319 return 0;
46321 _ACEOF
46322 if ac_fn_cxx_try_compile "$LINENO"; then :
46323 glibcxx_cv_func_qfpclass_use=yes
46324 else
46325 glibcxx_cv_func_qfpclass_use=no
46327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46328 ac_ext=c
46329 ac_cpp='$CPP $CPPFLAGS'
46330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46339 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46341 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46342 for ac_func in qfpclass
46343 do :
46344 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46345 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46346 cat >>confdefs.h <<_ACEOF
46347 #define HAVE_QFPCLASS 1
46348 _ACEOF
46351 done
46353 else
46355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46356 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46357 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46358 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46359 $as_echo_n "(cached) " >&6
46360 else
46363 ac_ext=cpp
46364 ac_cpp='$CXXCPP $CPPFLAGS'
46365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46370 /* end confdefs.h. */
46371 #include <math.h>
46372 #ifdef HAVE_IEEEFP_H
46373 #include <ieeefp.h>
46374 #endif
46377 main ()
46379 _qfpclass(0);
46381 return 0;
46383 _ACEOF
46384 if ac_fn_cxx_try_compile "$LINENO"; then :
46385 glibcxx_cv_func__qfpclass_use=yes
46386 else
46387 glibcxx_cv_func__qfpclass_use=no
46389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46390 ac_ext=c
46391 ac_cpp='$CPP $CPPFLAGS'
46392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46401 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46403 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46404 for ac_func in _qfpclass
46405 do :
46406 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46407 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46408 cat >>confdefs.h <<_ACEOF
46409 #define HAVE__QFPCLASS 1
46410 _ACEOF
46413 done
46422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46423 $as_echo_n "checking for hypot declaration... " >&6; }
46424 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46425 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46426 $as_echo_n "(cached) " >&6
46427 else
46430 ac_ext=cpp
46431 ac_cpp='$CXXCPP $CPPFLAGS'
46432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46437 /* end confdefs.h. */
46438 #include <math.h>
46440 main ()
46442 hypot(0, 0);
46444 return 0;
46446 _ACEOF
46447 if ac_fn_cxx_try_compile "$LINENO"; then :
46448 glibcxx_cv_func_hypot_use=yes
46449 else
46450 glibcxx_cv_func_hypot_use=no
46452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46453 ac_ext=c
46454 ac_cpp='$CPP $CPPFLAGS'
46455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46464 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46466 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46467 for ac_func in hypot
46468 do :
46469 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46470 if test "x$ac_cv_func_hypot" = x""yes; then :
46471 cat >>confdefs.h <<_ACEOF
46472 #define HAVE_HYPOT 1
46473 _ACEOF
46476 done
46478 else
46480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46481 $as_echo_n "checking for _hypot declaration... " >&6; }
46482 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46483 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46484 $as_echo_n "(cached) " >&6
46485 else
46488 ac_ext=cpp
46489 ac_cpp='$CXXCPP $CPPFLAGS'
46490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46495 /* end confdefs.h. */
46496 #include <math.h>
46498 main ()
46500 _hypot(0, 0);
46502 return 0;
46504 _ACEOF
46505 if ac_fn_cxx_try_compile "$LINENO"; then :
46506 glibcxx_cv_func__hypot_use=yes
46507 else
46508 glibcxx_cv_func__hypot_use=no
46510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46511 ac_ext=c
46512 ac_cpp='$CPP $CPPFLAGS'
46513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
46522 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
46524 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46525 for ac_func in _hypot
46526 do :
46527 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
46528 if test "x$ac_cv_func__hypot" = x""yes; then :
46529 cat >>confdefs.h <<_ACEOF
46530 #define HAVE__HYPOT 1
46531 _ACEOF
46534 done
46543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
46544 $as_echo_n "checking for float trig functions... " >&6; }
46545 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
46546 $as_echo_n "(cached) " >&6
46547 else
46550 ac_ext=cpp
46551 ac_cpp='$CXXCPP $CPPFLAGS'
46552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46557 /* end confdefs.h. */
46558 #include <math.h>
46560 main ()
46562 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46564 return 0;
46566 _ACEOF
46567 if ac_fn_cxx_try_compile "$LINENO"; then :
46568 glibcxx_cv_func_float_trig_use=yes
46569 else
46570 glibcxx_cv_func_float_trig_use=no
46572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46573 ac_ext=c
46574 ac_cpp='$CPP $CPPFLAGS'
46575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
46582 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
46583 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46584 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46585 do :
46586 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46587 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46588 eval as_val=\$$as_ac_var
46589 if test "x$as_val" = x""yes; then :
46590 cat >>confdefs.h <<_ACEOF
46591 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46592 _ACEOF
46595 done
46597 else
46598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
46599 $as_echo_n "checking for _float trig functions... " >&6; }
46600 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
46601 $as_echo_n "(cached) " >&6
46602 else
46605 ac_ext=cpp
46606 ac_cpp='$CXXCPP $CPPFLAGS'
46607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46612 /* end confdefs.h. */
46613 #include <math.h>
46615 main ()
46617 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46619 return 0;
46621 _ACEOF
46622 if ac_fn_cxx_try_compile "$LINENO"; then :
46623 glibcxx_cv_func__float_trig_use=yes
46624 else
46625 glibcxx_cv_func__float_trig_use=no
46627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46628 ac_ext=c
46629 ac_cpp='$CPP $CPPFLAGS'
46630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
46637 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
46638 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46639 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46640 do :
46641 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46642 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46643 eval as_val=\$$as_ac_var
46644 if test "x$as_val" = x""yes; then :
46645 cat >>confdefs.h <<_ACEOF
46646 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46647 _ACEOF
46650 done
46659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
46660 $as_echo_n "checking for float round functions... " >&6; }
46661 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
46662 $as_echo_n "(cached) " >&6
46663 else
46666 ac_ext=cpp
46667 ac_cpp='$CXXCPP $CPPFLAGS'
46668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46673 /* end confdefs.h. */
46674 #include <math.h>
46676 main ()
46678 ceilf (0); floorf (0);
46680 return 0;
46682 _ACEOF
46683 if ac_fn_cxx_try_compile "$LINENO"; then :
46684 glibcxx_cv_func_float_round_use=yes
46685 else
46686 glibcxx_cv_func_float_round_use=no
46688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46689 ac_ext=c
46690 ac_cpp='$CPP $CPPFLAGS'
46691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
46698 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
46699 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46700 for ac_func in ceilf floorf
46701 do :
46702 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46703 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46704 eval as_val=\$$as_ac_var
46705 if test "x$as_val" = x""yes; then :
46706 cat >>confdefs.h <<_ACEOF
46707 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46708 _ACEOF
46711 done
46713 else
46714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
46715 $as_echo_n "checking for _float round functions... " >&6; }
46716 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
46717 $as_echo_n "(cached) " >&6
46718 else
46721 ac_ext=cpp
46722 ac_cpp='$CXXCPP $CPPFLAGS'
46723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46728 /* end confdefs.h. */
46729 #include <math.h>
46731 main ()
46733 _ceilf (0); _floorf (0);
46735 return 0;
46737 _ACEOF
46738 if ac_fn_cxx_try_compile "$LINENO"; then :
46739 glibcxx_cv_func__float_round_use=yes
46740 else
46741 glibcxx_cv_func__float_round_use=no
46743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46744 ac_ext=c
46745 ac_cpp='$CPP $CPPFLAGS'
46746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
46753 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
46754 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46755 for ac_func in _ceilf _floorf
46756 do :
46757 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46758 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46759 eval as_val=\$$as_ac_var
46760 if test "x$as_val" = x""yes; then :
46761 cat >>confdefs.h <<_ACEOF
46762 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46763 _ACEOF
46766 done
46776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
46777 $as_echo_n "checking for expf declaration... " >&6; }
46778 if test x${glibcxx_cv_func_expf_use+set} != xset; then
46779 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
46780 $as_echo_n "(cached) " >&6
46781 else
46784 ac_ext=cpp
46785 ac_cpp='$CXXCPP $CPPFLAGS'
46786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46791 /* end confdefs.h. */
46792 #include <math.h>
46793 #ifdef HAVE_IEEEFP_H
46794 #include <ieeefp.h>
46795 #endif
46798 main ()
46800 expf(0);
46802 return 0;
46804 _ACEOF
46805 if ac_fn_cxx_try_compile "$LINENO"; then :
46806 glibcxx_cv_func_expf_use=yes
46807 else
46808 glibcxx_cv_func_expf_use=no
46810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46811 ac_ext=c
46812 ac_cpp='$CPP $CPPFLAGS'
46813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46822 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46824 if test x$glibcxx_cv_func_expf_use = x"yes"; then
46825 for ac_func in expf
46826 do :
46827 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46828 if test "x$ac_cv_func_expf" = x""yes; then :
46829 cat >>confdefs.h <<_ACEOF
46830 #define HAVE_EXPF 1
46831 _ACEOF
46834 done
46836 else
46838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46839 $as_echo_n "checking for _expf declaration... " >&6; }
46840 if test x${glibcxx_cv_func__expf_use+set} != xset; then
46841 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46842 $as_echo_n "(cached) " >&6
46843 else
46846 ac_ext=cpp
46847 ac_cpp='$CXXCPP $CPPFLAGS'
46848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46853 /* end confdefs.h. */
46854 #include <math.h>
46855 #ifdef HAVE_IEEEFP_H
46856 #include <ieeefp.h>
46857 #endif
46860 main ()
46862 _expf(0);
46864 return 0;
46866 _ACEOF
46867 if ac_fn_cxx_try_compile "$LINENO"; then :
46868 glibcxx_cv_func__expf_use=yes
46869 else
46870 glibcxx_cv_func__expf_use=no
46872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46873 ac_ext=c
46874 ac_cpp='$CPP $CPPFLAGS'
46875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46884 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46886 if test x$glibcxx_cv_func__expf_use = x"yes"; then
46887 for ac_func in _expf
46888 do :
46889 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46890 if test "x$ac_cv_func__expf" = x""yes; then :
46891 cat >>confdefs.h <<_ACEOF
46892 #define HAVE__EXPF 1
46893 _ACEOF
46896 done
46905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46906 $as_echo_n "checking for isnanf declaration... " >&6; }
46907 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46908 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46909 $as_echo_n "(cached) " >&6
46910 else
46913 ac_ext=cpp
46914 ac_cpp='$CXXCPP $CPPFLAGS'
46915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46920 /* end confdefs.h. */
46921 #include <math.h>
46922 #ifdef HAVE_IEEEFP_H
46923 #include <ieeefp.h>
46924 #endif
46927 main ()
46929 isnanf(0);
46931 return 0;
46933 _ACEOF
46934 if ac_fn_cxx_try_compile "$LINENO"; then :
46935 glibcxx_cv_func_isnanf_use=yes
46936 else
46937 glibcxx_cv_func_isnanf_use=no
46939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46940 ac_ext=c
46941 ac_cpp='$CPP $CPPFLAGS'
46942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46951 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46953 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46954 for ac_func in isnanf
46955 do :
46956 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46957 if test "x$ac_cv_func_isnanf" = x""yes; then :
46958 cat >>confdefs.h <<_ACEOF
46959 #define HAVE_ISNANF 1
46960 _ACEOF
46963 done
46965 else
46967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
46968 $as_echo_n "checking for _isnanf declaration... " >&6; }
46969 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46970 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
46971 $as_echo_n "(cached) " >&6
46972 else
46975 ac_ext=cpp
46976 ac_cpp='$CXXCPP $CPPFLAGS'
46977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46982 /* end confdefs.h. */
46983 #include <math.h>
46984 #ifdef HAVE_IEEEFP_H
46985 #include <ieeefp.h>
46986 #endif
46989 main ()
46991 _isnanf(0);
46993 return 0;
46995 _ACEOF
46996 if ac_fn_cxx_try_compile "$LINENO"; then :
46997 glibcxx_cv_func__isnanf_use=yes
46998 else
46999 glibcxx_cv_func__isnanf_use=no
47001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47002 ac_ext=c
47003 ac_cpp='$CPP $CPPFLAGS'
47004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47013 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47015 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47016 for ac_func in _isnanf
47017 do :
47018 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47019 if test "x$ac_cv_func__isnanf" = x""yes; then :
47020 cat >>confdefs.h <<_ACEOF
47021 #define HAVE__ISNANF 1
47022 _ACEOF
47025 done
47034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47035 $as_echo_n "checking for isinff declaration... " >&6; }
47036 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47037 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47038 $as_echo_n "(cached) " >&6
47039 else
47042 ac_ext=cpp
47043 ac_cpp='$CXXCPP $CPPFLAGS'
47044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47049 /* end confdefs.h. */
47050 #include <math.h>
47051 #ifdef HAVE_IEEEFP_H
47052 #include <ieeefp.h>
47053 #endif
47056 main ()
47058 isinff(0);
47060 return 0;
47062 _ACEOF
47063 if ac_fn_cxx_try_compile "$LINENO"; then :
47064 glibcxx_cv_func_isinff_use=yes
47065 else
47066 glibcxx_cv_func_isinff_use=no
47068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47069 ac_ext=c
47070 ac_cpp='$CPP $CPPFLAGS'
47071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47080 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47082 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47083 for ac_func in isinff
47084 do :
47085 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47086 if test "x$ac_cv_func_isinff" = x""yes; then :
47087 cat >>confdefs.h <<_ACEOF
47088 #define HAVE_ISINFF 1
47089 _ACEOF
47092 done
47094 else
47096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47097 $as_echo_n "checking for _isinff declaration... " >&6; }
47098 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47099 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47100 $as_echo_n "(cached) " >&6
47101 else
47104 ac_ext=cpp
47105 ac_cpp='$CXXCPP $CPPFLAGS'
47106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47111 /* end confdefs.h. */
47112 #include <math.h>
47113 #ifdef HAVE_IEEEFP_H
47114 #include <ieeefp.h>
47115 #endif
47118 main ()
47120 _isinff(0);
47122 return 0;
47124 _ACEOF
47125 if ac_fn_cxx_try_compile "$LINENO"; then :
47126 glibcxx_cv_func__isinff_use=yes
47127 else
47128 glibcxx_cv_func__isinff_use=no
47130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47131 ac_ext=c
47132 ac_cpp='$CPP $CPPFLAGS'
47133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47142 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47144 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47145 for ac_func in _isinff
47146 do :
47147 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47148 if test "x$ac_cv_func__isinff" = x""yes; then :
47149 cat >>confdefs.h <<_ACEOF
47150 #define HAVE__ISINFF 1
47151 _ACEOF
47154 done
47163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47164 $as_echo_n "checking for atan2f declaration... " >&6; }
47165 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47166 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47167 $as_echo_n "(cached) " >&6
47168 else
47171 ac_ext=cpp
47172 ac_cpp='$CXXCPP $CPPFLAGS'
47173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47178 /* end confdefs.h. */
47179 #include <math.h>
47181 main ()
47183 atan2f(0, 0);
47185 return 0;
47187 _ACEOF
47188 if ac_fn_cxx_try_compile "$LINENO"; then :
47189 glibcxx_cv_func_atan2f_use=yes
47190 else
47191 glibcxx_cv_func_atan2f_use=no
47193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47194 ac_ext=c
47195 ac_cpp='$CPP $CPPFLAGS'
47196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47205 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47207 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47208 for ac_func in atan2f
47209 do :
47210 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47211 if test "x$ac_cv_func_atan2f" = x""yes; then :
47212 cat >>confdefs.h <<_ACEOF
47213 #define HAVE_ATAN2F 1
47214 _ACEOF
47217 done
47219 else
47221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47222 $as_echo_n "checking for _atan2f declaration... " >&6; }
47223 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47224 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47225 $as_echo_n "(cached) " >&6
47226 else
47229 ac_ext=cpp
47230 ac_cpp='$CXXCPP $CPPFLAGS'
47231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47236 /* end confdefs.h. */
47237 #include <math.h>
47239 main ()
47241 _atan2f(0, 0);
47243 return 0;
47245 _ACEOF
47246 if ac_fn_cxx_try_compile "$LINENO"; then :
47247 glibcxx_cv_func__atan2f_use=yes
47248 else
47249 glibcxx_cv_func__atan2f_use=no
47251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47252 ac_ext=c
47253 ac_cpp='$CPP $CPPFLAGS'
47254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47263 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47265 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47266 for ac_func in _atan2f
47267 do :
47268 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47269 if test "x$ac_cv_func__atan2f" = x""yes; then :
47270 cat >>confdefs.h <<_ACEOF
47271 #define HAVE__ATAN2F 1
47272 _ACEOF
47275 done
47284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47285 $as_echo_n "checking for fabsf declaration... " >&6; }
47286 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47287 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47288 $as_echo_n "(cached) " >&6
47289 else
47292 ac_ext=cpp
47293 ac_cpp='$CXXCPP $CPPFLAGS'
47294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47299 /* end confdefs.h. */
47300 #include <math.h>
47301 #ifdef HAVE_IEEEFP_H
47302 #include <ieeefp.h>
47303 #endif
47306 main ()
47308 fabsf(0);
47310 return 0;
47312 _ACEOF
47313 if ac_fn_cxx_try_compile "$LINENO"; then :
47314 glibcxx_cv_func_fabsf_use=yes
47315 else
47316 glibcxx_cv_func_fabsf_use=no
47318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47319 ac_ext=c
47320 ac_cpp='$CPP $CPPFLAGS'
47321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47330 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47332 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47333 for ac_func in fabsf
47334 do :
47335 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47336 if test "x$ac_cv_func_fabsf" = x""yes; then :
47337 cat >>confdefs.h <<_ACEOF
47338 #define HAVE_FABSF 1
47339 _ACEOF
47342 done
47344 else
47346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47347 $as_echo_n "checking for _fabsf declaration... " >&6; }
47348 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47349 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47350 $as_echo_n "(cached) " >&6
47351 else
47354 ac_ext=cpp
47355 ac_cpp='$CXXCPP $CPPFLAGS'
47356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47361 /* end confdefs.h. */
47362 #include <math.h>
47363 #ifdef HAVE_IEEEFP_H
47364 #include <ieeefp.h>
47365 #endif
47368 main ()
47370 _fabsf(0);
47372 return 0;
47374 _ACEOF
47375 if ac_fn_cxx_try_compile "$LINENO"; then :
47376 glibcxx_cv_func__fabsf_use=yes
47377 else
47378 glibcxx_cv_func__fabsf_use=no
47380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47381 ac_ext=c
47382 ac_cpp='$CPP $CPPFLAGS'
47383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47392 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47394 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47395 for ac_func in _fabsf
47396 do :
47397 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47398 if test "x$ac_cv_func__fabsf" = x""yes; then :
47399 cat >>confdefs.h <<_ACEOF
47400 #define HAVE__FABSF 1
47401 _ACEOF
47404 done
47413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47414 $as_echo_n "checking for fmodf declaration... " >&6; }
47415 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47416 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47417 $as_echo_n "(cached) " >&6
47418 else
47421 ac_ext=cpp
47422 ac_cpp='$CXXCPP $CPPFLAGS'
47423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47428 /* end confdefs.h. */
47429 #include <math.h>
47431 main ()
47433 fmodf(0, 0);
47435 return 0;
47437 _ACEOF
47438 if ac_fn_cxx_try_compile "$LINENO"; then :
47439 glibcxx_cv_func_fmodf_use=yes
47440 else
47441 glibcxx_cv_func_fmodf_use=no
47443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47444 ac_ext=c
47445 ac_cpp='$CPP $CPPFLAGS'
47446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47455 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47457 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47458 for ac_func in fmodf
47459 do :
47460 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47461 if test "x$ac_cv_func_fmodf" = x""yes; then :
47462 cat >>confdefs.h <<_ACEOF
47463 #define HAVE_FMODF 1
47464 _ACEOF
47467 done
47469 else
47471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47472 $as_echo_n "checking for _fmodf declaration... " >&6; }
47473 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47474 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47475 $as_echo_n "(cached) " >&6
47476 else
47479 ac_ext=cpp
47480 ac_cpp='$CXXCPP $CPPFLAGS'
47481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47486 /* end confdefs.h. */
47487 #include <math.h>
47489 main ()
47491 _fmodf(0, 0);
47493 return 0;
47495 _ACEOF
47496 if ac_fn_cxx_try_compile "$LINENO"; then :
47497 glibcxx_cv_func__fmodf_use=yes
47498 else
47499 glibcxx_cv_func__fmodf_use=no
47501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47502 ac_ext=c
47503 ac_cpp='$CPP $CPPFLAGS'
47504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
47513 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
47515 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47516 for ac_func in _fmodf
47517 do :
47518 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
47519 if test "x$ac_cv_func__fmodf" = x""yes; then :
47520 cat >>confdefs.h <<_ACEOF
47521 #define HAVE__FMODF 1
47522 _ACEOF
47525 done
47534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
47535 $as_echo_n "checking for frexpf declaration... " >&6; }
47536 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
47537 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
47538 $as_echo_n "(cached) " >&6
47539 else
47542 ac_ext=cpp
47543 ac_cpp='$CXXCPP $CPPFLAGS'
47544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47549 /* end confdefs.h. */
47550 #include <math.h>
47552 main ()
47554 frexpf(0, 0);
47556 return 0;
47558 _ACEOF
47559 if ac_fn_cxx_try_compile "$LINENO"; then :
47560 glibcxx_cv_func_frexpf_use=yes
47561 else
47562 glibcxx_cv_func_frexpf_use=no
47564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47565 ac_ext=c
47566 ac_cpp='$CPP $CPPFLAGS'
47567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
47576 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
47578 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
47579 for ac_func in frexpf
47580 do :
47581 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
47582 if test "x$ac_cv_func_frexpf" = x""yes; then :
47583 cat >>confdefs.h <<_ACEOF
47584 #define HAVE_FREXPF 1
47585 _ACEOF
47588 done
47590 else
47592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
47593 $as_echo_n "checking for _frexpf declaration... " >&6; }
47594 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
47595 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
47596 $as_echo_n "(cached) " >&6
47597 else
47600 ac_ext=cpp
47601 ac_cpp='$CXXCPP $CPPFLAGS'
47602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47607 /* end confdefs.h. */
47608 #include <math.h>
47610 main ()
47612 _frexpf(0, 0);
47614 return 0;
47616 _ACEOF
47617 if ac_fn_cxx_try_compile "$LINENO"; then :
47618 glibcxx_cv_func__frexpf_use=yes
47619 else
47620 glibcxx_cv_func__frexpf_use=no
47622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47623 ac_ext=c
47624 ac_cpp='$CPP $CPPFLAGS'
47625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
47634 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
47636 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
47637 for ac_func in _frexpf
47638 do :
47639 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
47640 if test "x$ac_cv_func__frexpf" = x""yes; then :
47641 cat >>confdefs.h <<_ACEOF
47642 #define HAVE__FREXPF 1
47643 _ACEOF
47646 done
47655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
47656 $as_echo_n "checking for hypotf declaration... " >&6; }
47657 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
47658 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
47659 $as_echo_n "(cached) " >&6
47660 else
47663 ac_ext=cpp
47664 ac_cpp='$CXXCPP $CPPFLAGS'
47665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47670 /* end confdefs.h. */
47671 #include <math.h>
47673 main ()
47675 hypotf(0, 0);
47677 return 0;
47679 _ACEOF
47680 if ac_fn_cxx_try_compile "$LINENO"; then :
47681 glibcxx_cv_func_hypotf_use=yes
47682 else
47683 glibcxx_cv_func_hypotf_use=no
47685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47686 ac_ext=c
47687 ac_cpp='$CPP $CPPFLAGS'
47688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
47697 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
47699 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
47700 for ac_func in hypotf
47701 do :
47702 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
47703 if test "x$ac_cv_func_hypotf" = x""yes; then :
47704 cat >>confdefs.h <<_ACEOF
47705 #define HAVE_HYPOTF 1
47706 _ACEOF
47709 done
47711 else
47713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
47714 $as_echo_n "checking for _hypotf declaration... " >&6; }
47715 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
47716 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
47717 $as_echo_n "(cached) " >&6
47718 else
47721 ac_ext=cpp
47722 ac_cpp='$CXXCPP $CPPFLAGS'
47723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47728 /* end confdefs.h. */
47729 #include <math.h>
47731 main ()
47733 _hypotf(0, 0);
47735 return 0;
47737 _ACEOF
47738 if ac_fn_cxx_try_compile "$LINENO"; then :
47739 glibcxx_cv_func__hypotf_use=yes
47740 else
47741 glibcxx_cv_func__hypotf_use=no
47743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47744 ac_ext=c
47745 ac_cpp='$CPP $CPPFLAGS'
47746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
47755 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
47757 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
47758 for ac_func in _hypotf
47759 do :
47760 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
47761 if test "x$ac_cv_func__hypotf" = x""yes; then :
47762 cat >>confdefs.h <<_ACEOF
47763 #define HAVE__HYPOTF 1
47764 _ACEOF
47767 done
47776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
47777 $as_echo_n "checking for ldexpf declaration... " >&6; }
47778 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
47779 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
47780 $as_echo_n "(cached) " >&6
47781 else
47784 ac_ext=cpp
47785 ac_cpp='$CXXCPP $CPPFLAGS'
47786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47791 /* end confdefs.h. */
47792 #include <math.h>
47794 main ()
47796 ldexpf(0, 0);
47798 return 0;
47800 _ACEOF
47801 if ac_fn_cxx_try_compile "$LINENO"; then :
47802 glibcxx_cv_func_ldexpf_use=yes
47803 else
47804 glibcxx_cv_func_ldexpf_use=no
47806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47807 ac_ext=c
47808 ac_cpp='$CPP $CPPFLAGS'
47809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47818 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47820 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47821 for ac_func in ldexpf
47822 do :
47823 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47824 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47825 cat >>confdefs.h <<_ACEOF
47826 #define HAVE_LDEXPF 1
47827 _ACEOF
47830 done
47832 else
47834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47835 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47836 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47837 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47838 $as_echo_n "(cached) " >&6
47839 else
47842 ac_ext=cpp
47843 ac_cpp='$CXXCPP $CPPFLAGS'
47844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47849 /* end confdefs.h. */
47850 #include <math.h>
47852 main ()
47854 _ldexpf(0, 0);
47856 return 0;
47858 _ACEOF
47859 if ac_fn_cxx_try_compile "$LINENO"; then :
47860 glibcxx_cv_func__ldexpf_use=yes
47861 else
47862 glibcxx_cv_func__ldexpf_use=no
47864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47865 ac_ext=c
47866 ac_cpp='$CPP $CPPFLAGS'
47867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47876 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47878 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47879 for ac_func in _ldexpf
47880 do :
47881 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47882 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47883 cat >>confdefs.h <<_ACEOF
47884 #define HAVE__LDEXPF 1
47885 _ACEOF
47888 done
47897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47898 $as_echo_n "checking for logf declaration... " >&6; }
47899 if test x${glibcxx_cv_func_logf_use+set} != xset; then
47900 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47901 $as_echo_n "(cached) " >&6
47902 else
47905 ac_ext=cpp
47906 ac_cpp='$CXXCPP $CPPFLAGS'
47907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47912 /* end confdefs.h. */
47913 #include <math.h>
47914 #ifdef HAVE_IEEEFP_H
47915 #include <ieeefp.h>
47916 #endif
47919 main ()
47921 logf(0);
47923 return 0;
47925 _ACEOF
47926 if ac_fn_cxx_try_compile "$LINENO"; then :
47927 glibcxx_cv_func_logf_use=yes
47928 else
47929 glibcxx_cv_func_logf_use=no
47931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47932 ac_ext=c
47933 ac_cpp='$CPP $CPPFLAGS'
47934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47943 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47945 if test x$glibcxx_cv_func_logf_use = x"yes"; then
47946 for ac_func in logf
47947 do :
47948 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47949 if test "x$ac_cv_func_logf" = x""yes; then :
47950 cat >>confdefs.h <<_ACEOF
47951 #define HAVE_LOGF 1
47952 _ACEOF
47955 done
47957 else
47959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
47960 $as_echo_n "checking for _logf declaration... " >&6; }
47961 if test x${glibcxx_cv_func__logf_use+set} != xset; then
47962 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
47963 $as_echo_n "(cached) " >&6
47964 else
47967 ac_ext=cpp
47968 ac_cpp='$CXXCPP $CPPFLAGS'
47969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47974 /* end confdefs.h. */
47975 #include <math.h>
47976 #ifdef HAVE_IEEEFP_H
47977 #include <ieeefp.h>
47978 #endif
47981 main ()
47983 _logf(0);
47985 return 0;
47987 _ACEOF
47988 if ac_fn_cxx_try_compile "$LINENO"; then :
47989 glibcxx_cv_func__logf_use=yes
47990 else
47991 glibcxx_cv_func__logf_use=no
47993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47994 ac_ext=c
47995 ac_cpp='$CPP $CPPFLAGS'
47996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48005 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48007 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48008 for ac_func in _logf
48009 do :
48010 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48011 if test "x$ac_cv_func__logf" = x""yes; then :
48012 cat >>confdefs.h <<_ACEOF
48013 #define HAVE__LOGF 1
48014 _ACEOF
48017 done
48026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48027 $as_echo_n "checking for log10f declaration... " >&6; }
48028 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48029 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48030 $as_echo_n "(cached) " >&6
48031 else
48034 ac_ext=cpp
48035 ac_cpp='$CXXCPP $CPPFLAGS'
48036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48041 /* end confdefs.h. */
48042 #include <math.h>
48043 #ifdef HAVE_IEEEFP_H
48044 #include <ieeefp.h>
48045 #endif
48048 main ()
48050 log10f(0);
48052 return 0;
48054 _ACEOF
48055 if ac_fn_cxx_try_compile "$LINENO"; then :
48056 glibcxx_cv_func_log10f_use=yes
48057 else
48058 glibcxx_cv_func_log10f_use=no
48060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48061 ac_ext=c
48062 ac_cpp='$CPP $CPPFLAGS'
48063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48072 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48074 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48075 for ac_func in log10f
48076 do :
48077 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48078 if test "x$ac_cv_func_log10f" = x""yes; then :
48079 cat >>confdefs.h <<_ACEOF
48080 #define HAVE_LOG10F 1
48081 _ACEOF
48084 done
48086 else
48088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48089 $as_echo_n "checking for _log10f declaration... " >&6; }
48090 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48091 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48092 $as_echo_n "(cached) " >&6
48093 else
48096 ac_ext=cpp
48097 ac_cpp='$CXXCPP $CPPFLAGS'
48098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48103 /* end confdefs.h. */
48104 #include <math.h>
48105 #ifdef HAVE_IEEEFP_H
48106 #include <ieeefp.h>
48107 #endif
48110 main ()
48112 _log10f(0);
48114 return 0;
48116 _ACEOF
48117 if ac_fn_cxx_try_compile "$LINENO"; then :
48118 glibcxx_cv_func__log10f_use=yes
48119 else
48120 glibcxx_cv_func__log10f_use=no
48122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48123 ac_ext=c
48124 ac_cpp='$CPP $CPPFLAGS'
48125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48134 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48136 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48137 for ac_func in _log10f
48138 do :
48139 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48140 if test "x$ac_cv_func__log10f" = x""yes; then :
48141 cat >>confdefs.h <<_ACEOF
48142 #define HAVE__LOG10F 1
48143 _ACEOF
48146 done
48155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48156 $as_echo_n "checking for modff declaration... " >&6; }
48157 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48158 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48159 $as_echo_n "(cached) " >&6
48160 else
48163 ac_ext=cpp
48164 ac_cpp='$CXXCPP $CPPFLAGS'
48165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48170 /* end confdefs.h. */
48171 #include <math.h>
48173 main ()
48175 modff(0, 0);
48177 return 0;
48179 _ACEOF
48180 if ac_fn_cxx_try_compile "$LINENO"; then :
48181 glibcxx_cv_func_modff_use=yes
48182 else
48183 glibcxx_cv_func_modff_use=no
48185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48186 ac_ext=c
48187 ac_cpp='$CPP $CPPFLAGS'
48188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48197 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48199 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48200 for ac_func in modff
48201 do :
48202 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48203 if test "x$ac_cv_func_modff" = x""yes; then :
48204 cat >>confdefs.h <<_ACEOF
48205 #define HAVE_MODFF 1
48206 _ACEOF
48209 done
48211 else
48213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48214 $as_echo_n "checking for _modff declaration... " >&6; }
48215 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48216 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48217 $as_echo_n "(cached) " >&6
48218 else
48221 ac_ext=cpp
48222 ac_cpp='$CXXCPP $CPPFLAGS'
48223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48228 /* end confdefs.h. */
48229 #include <math.h>
48231 main ()
48233 _modff(0, 0);
48235 return 0;
48237 _ACEOF
48238 if ac_fn_cxx_try_compile "$LINENO"; then :
48239 glibcxx_cv_func__modff_use=yes
48240 else
48241 glibcxx_cv_func__modff_use=no
48243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48244 ac_ext=c
48245 ac_cpp='$CPP $CPPFLAGS'
48246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48255 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48257 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48258 for ac_func in _modff
48259 do :
48260 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48261 if test "x$ac_cv_func__modff" = x""yes; then :
48262 cat >>confdefs.h <<_ACEOF
48263 #define HAVE__MODFF 1
48264 _ACEOF
48267 done
48276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48277 $as_echo_n "checking for modf declaration... " >&6; }
48278 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48279 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48280 $as_echo_n "(cached) " >&6
48281 else
48284 ac_ext=cpp
48285 ac_cpp='$CXXCPP $CPPFLAGS'
48286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48291 /* end confdefs.h. */
48292 #include <math.h>
48294 main ()
48296 modf(0, 0);
48298 return 0;
48300 _ACEOF
48301 if ac_fn_cxx_try_compile "$LINENO"; then :
48302 glibcxx_cv_func_modf_use=yes
48303 else
48304 glibcxx_cv_func_modf_use=no
48306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48307 ac_ext=c
48308 ac_cpp='$CPP $CPPFLAGS'
48309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48318 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48320 if test x$glibcxx_cv_func_modf_use = x"yes"; then
48321 for ac_func in modf
48322 do :
48323 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48324 if test "x$ac_cv_func_modf" = x""yes; then :
48325 cat >>confdefs.h <<_ACEOF
48326 #define HAVE_MODF 1
48327 _ACEOF
48330 done
48332 else
48334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48335 $as_echo_n "checking for _modf declaration... " >&6; }
48336 if test x${glibcxx_cv_func__modf_use+set} != xset; then
48337 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48338 $as_echo_n "(cached) " >&6
48339 else
48342 ac_ext=cpp
48343 ac_cpp='$CXXCPP $CPPFLAGS'
48344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48349 /* end confdefs.h. */
48350 #include <math.h>
48352 main ()
48354 _modf(0, 0);
48356 return 0;
48358 _ACEOF
48359 if ac_fn_cxx_try_compile "$LINENO"; then :
48360 glibcxx_cv_func__modf_use=yes
48361 else
48362 glibcxx_cv_func__modf_use=no
48364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48365 ac_ext=c
48366 ac_cpp='$CPP $CPPFLAGS'
48367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48376 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48378 if test x$glibcxx_cv_func__modf_use = x"yes"; then
48379 for ac_func in _modf
48380 do :
48381 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48382 if test "x$ac_cv_func__modf" = x""yes; then :
48383 cat >>confdefs.h <<_ACEOF
48384 #define HAVE__MODF 1
48385 _ACEOF
48388 done
48397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48398 $as_echo_n "checking for powf declaration... " >&6; }
48399 if test x${glibcxx_cv_func_powf_use+set} != xset; then
48400 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48401 $as_echo_n "(cached) " >&6
48402 else
48405 ac_ext=cpp
48406 ac_cpp='$CXXCPP $CPPFLAGS'
48407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48412 /* end confdefs.h. */
48413 #include <math.h>
48415 main ()
48417 powf(0, 0);
48419 return 0;
48421 _ACEOF
48422 if ac_fn_cxx_try_compile "$LINENO"; then :
48423 glibcxx_cv_func_powf_use=yes
48424 else
48425 glibcxx_cv_func_powf_use=no
48427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48428 ac_ext=c
48429 ac_cpp='$CPP $CPPFLAGS'
48430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48439 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48441 if test x$glibcxx_cv_func_powf_use = x"yes"; then
48442 for ac_func in powf
48443 do :
48444 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48445 if test "x$ac_cv_func_powf" = x""yes; then :
48446 cat >>confdefs.h <<_ACEOF
48447 #define HAVE_POWF 1
48448 _ACEOF
48451 done
48453 else
48455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48456 $as_echo_n "checking for _powf declaration... " >&6; }
48457 if test x${glibcxx_cv_func__powf_use+set} != xset; then
48458 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
48459 $as_echo_n "(cached) " >&6
48460 else
48463 ac_ext=cpp
48464 ac_cpp='$CXXCPP $CPPFLAGS'
48465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48470 /* end confdefs.h. */
48471 #include <math.h>
48473 main ()
48475 _powf(0, 0);
48477 return 0;
48479 _ACEOF
48480 if ac_fn_cxx_try_compile "$LINENO"; then :
48481 glibcxx_cv_func__powf_use=yes
48482 else
48483 glibcxx_cv_func__powf_use=no
48485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48486 ac_ext=c
48487 ac_cpp='$CPP $CPPFLAGS'
48488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
48497 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
48499 if test x$glibcxx_cv_func__powf_use = x"yes"; then
48500 for ac_func in _powf
48501 do :
48502 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
48503 if test "x$ac_cv_func__powf" = x""yes; then :
48504 cat >>confdefs.h <<_ACEOF
48505 #define HAVE__POWF 1
48506 _ACEOF
48509 done
48518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
48519 $as_echo_n "checking for sqrtf declaration... " >&6; }
48520 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
48521 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
48522 $as_echo_n "(cached) " >&6
48523 else
48526 ac_ext=cpp
48527 ac_cpp='$CXXCPP $CPPFLAGS'
48528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48533 /* end confdefs.h. */
48534 #include <math.h>
48535 #ifdef HAVE_IEEEFP_H
48536 #include <ieeefp.h>
48537 #endif
48540 main ()
48542 sqrtf(0);
48544 return 0;
48546 _ACEOF
48547 if ac_fn_cxx_try_compile "$LINENO"; then :
48548 glibcxx_cv_func_sqrtf_use=yes
48549 else
48550 glibcxx_cv_func_sqrtf_use=no
48552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48553 ac_ext=c
48554 ac_cpp='$CPP $CPPFLAGS'
48555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
48564 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
48566 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
48567 for ac_func in sqrtf
48568 do :
48569 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
48570 if test "x$ac_cv_func_sqrtf" = x""yes; then :
48571 cat >>confdefs.h <<_ACEOF
48572 #define HAVE_SQRTF 1
48573 _ACEOF
48576 done
48578 else
48580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
48581 $as_echo_n "checking for _sqrtf declaration... " >&6; }
48582 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
48583 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
48584 $as_echo_n "(cached) " >&6
48585 else
48588 ac_ext=cpp
48589 ac_cpp='$CXXCPP $CPPFLAGS'
48590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48595 /* end confdefs.h. */
48596 #include <math.h>
48597 #ifdef HAVE_IEEEFP_H
48598 #include <ieeefp.h>
48599 #endif
48602 main ()
48604 _sqrtf(0);
48606 return 0;
48608 _ACEOF
48609 if ac_fn_cxx_try_compile "$LINENO"; then :
48610 glibcxx_cv_func__sqrtf_use=yes
48611 else
48612 glibcxx_cv_func__sqrtf_use=no
48614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48615 ac_ext=c
48616 ac_cpp='$CPP $CPPFLAGS'
48617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
48626 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
48628 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
48629 for ac_func in _sqrtf
48630 do :
48631 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
48632 if test "x$ac_cv_func__sqrtf" = x""yes; then :
48633 cat >>confdefs.h <<_ACEOF
48634 #define HAVE__SQRTF 1
48635 _ACEOF
48638 done
48647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
48648 $as_echo_n "checking for sincosf declaration... " >&6; }
48649 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
48650 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
48651 $as_echo_n "(cached) " >&6
48652 else
48655 ac_ext=cpp
48656 ac_cpp='$CXXCPP $CPPFLAGS'
48657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48662 /* end confdefs.h. */
48663 #include <math.h>
48665 main ()
48667 sincosf(0, 0, 0);
48669 return 0;
48671 _ACEOF
48672 if ac_fn_cxx_try_compile "$LINENO"; then :
48673 glibcxx_cv_func_sincosf_use=yes
48674 else
48675 glibcxx_cv_func_sincosf_use=no
48677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48678 ac_ext=c
48679 ac_cpp='$CPP $CPPFLAGS'
48680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
48689 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
48691 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
48692 for ac_func in sincosf
48693 do :
48694 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
48695 if test "x$ac_cv_func_sincosf" = x""yes; then :
48696 cat >>confdefs.h <<_ACEOF
48697 #define HAVE_SINCOSF 1
48698 _ACEOF
48701 done
48703 else
48705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
48706 $as_echo_n "checking for _sincosf declaration... " >&6; }
48707 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
48708 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
48709 $as_echo_n "(cached) " >&6
48710 else
48713 ac_ext=cpp
48714 ac_cpp='$CXXCPP $CPPFLAGS'
48715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48720 /* end confdefs.h. */
48721 #include <math.h>
48723 main ()
48725 _sincosf(0, 0, 0);
48727 return 0;
48729 _ACEOF
48730 if ac_fn_cxx_try_compile "$LINENO"; then :
48731 glibcxx_cv_func__sincosf_use=yes
48732 else
48733 glibcxx_cv_func__sincosf_use=no
48735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48736 ac_ext=c
48737 ac_cpp='$CPP $CPPFLAGS'
48738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
48747 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
48749 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
48750 for ac_func in _sincosf
48751 do :
48752 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
48753 if test "x$ac_cv_func__sincosf" = x""yes; then :
48754 cat >>confdefs.h <<_ACEOF
48755 #define HAVE__SINCOSF 1
48756 _ACEOF
48759 done
48768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
48769 $as_echo_n "checking for finitef declaration... " >&6; }
48770 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
48771 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
48772 $as_echo_n "(cached) " >&6
48773 else
48776 ac_ext=cpp
48777 ac_cpp='$CXXCPP $CPPFLAGS'
48778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48783 /* end confdefs.h. */
48784 #include <math.h>
48785 #ifdef HAVE_IEEEFP_H
48786 #include <ieeefp.h>
48787 #endif
48790 main ()
48792 finitef(0);
48794 return 0;
48796 _ACEOF
48797 if ac_fn_cxx_try_compile "$LINENO"; then :
48798 glibcxx_cv_func_finitef_use=yes
48799 else
48800 glibcxx_cv_func_finitef_use=no
48802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48803 ac_ext=c
48804 ac_cpp='$CPP $CPPFLAGS'
48805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48814 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48816 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48817 for ac_func in finitef
48818 do :
48819 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48820 if test "x$ac_cv_func_finitef" = x""yes; then :
48821 cat >>confdefs.h <<_ACEOF
48822 #define HAVE_FINITEF 1
48823 _ACEOF
48826 done
48828 else
48830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48831 $as_echo_n "checking for _finitef declaration... " >&6; }
48832 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48833 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48834 $as_echo_n "(cached) " >&6
48835 else
48838 ac_ext=cpp
48839 ac_cpp='$CXXCPP $CPPFLAGS'
48840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48845 /* end confdefs.h. */
48846 #include <math.h>
48847 #ifdef HAVE_IEEEFP_H
48848 #include <ieeefp.h>
48849 #endif
48852 main ()
48854 _finitef(0);
48856 return 0;
48858 _ACEOF
48859 if ac_fn_cxx_try_compile "$LINENO"; then :
48860 glibcxx_cv_func__finitef_use=yes
48861 else
48862 glibcxx_cv_func__finitef_use=no
48864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48865 ac_ext=c
48866 ac_cpp='$CPP $CPPFLAGS'
48867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48876 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48878 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48879 for ac_func in _finitef
48880 do :
48881 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48882 if test "x$ac_cv_func__finitef" = x""yes; then :
48883 cat >>confdefs.h <<_ACEOF
48884 #define HAVE__FINITEF 1
48885 _ACEOF
48888 done
48897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48898 $as_echo_n "checking for long double trig functions... " >&6; }
48899 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48900 $as_echo_n "(cached) " >&6
48901 else
48904 ac_ext=cpp
48905 ac_cpp='$CXXCPP $CPPFLAGS'
48906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48911 /* end confdefs.h. */
48912 #include <math.h>
48914 main ()
48916 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48918 return 0;
48920 _ACEOF
48921 if ac_fn_cxx_try_compile "$LINENO"; then :
48922 glibcxx_cv_func_long_double_trig_use=yes
48923 else
48924 glibcxx_cv_func_long_double_trig_use=no
48926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48927 ac_ext=c
48928 ac_cpp='$CPP $CPPFLAGS'
48929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48936 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48937 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48938 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48939 do :
48940 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48941 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48942 eval as_val=\$$as_ac_var
48943 if test "x$as_val" = x""yes; then :
48944 cat >>confdefs.h <<_ACEOF
48945 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48946 _ACEOF
48949 done
48951 else
48952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48953 $as_echo_n "checking for _long double trig functions... " >&6; }
48954 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
48955 $as_echo_n "(cached) " >&6
48956 else
48959 ac_ext=cpp
48960 ac_cpp='$CXXCPP $CPPFLAGS'
48961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48966 /* end confdefs.h. */
48967 #include <math.h>
48969 main ()
48971 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
48973 return 0;
48975 _ACEOF
48976 if ac_fn_cxx_try_compile "$LINENO"; then :
48977 glibcxx_cv_func__long_double_trig_use=yes
48978 else
48979 glibcxx_cv_func__long_double_trig_use=no
48981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48982 ac_ext=c
48983 ac_cpp='$CPP $CPPFLAGS'
48984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
48991 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
48992 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
48993 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
48994 do :
48995 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48996 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48997 eval as_val=\$$as_ac_var
48998 if test "x$as_val" = x""yes; then :
48999 cat >>confdefs.h <<_ACEOF
49000 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49001 _ACEOF
49004 done
49013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49014 $as_echo_n "checking for long double round functions... " >&6; }
49015 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49016 $as_echo_n "(cached) " >&6
49017 else
49020 ac_ext=cpp
49021 ac_cpp='$CXXCPP $CPPFLAGS'
49022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49027 /* end confdefs.h. */
49028 #include <math.h>
49030 main ()
49032 ceill (0); floorl (0);
49034 return 0;
49036 _ACEOF
49037 if ac_fn_cxx_try_compile "$LINENO"; then :
49038 glibcxx_cv_func_long_double_round_use=yes
49039 else
49040 glibcxx_cv_func_long_double_round_use=no
49042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49043 ac_ext=c
49044 ac_cpp='$CPP $CPPFLAGS'
49045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49052 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49053 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49054 for ac_func in ceill floorl
49055 do :
49056 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49057 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49058 eval as_val=\$$as_ac_var
49059 if test "x$as_val" = x""yes; then :
49060 cat >>confdefs.h <<_ACEOF
49061 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49062 _ACEOF
49065 done
49067 else
49068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49069 $as_echo_n "checking for _long double round functions... " >&6; }
49070 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49071 $as_echo_n "(cached) " >&6
49072 else
49075 ac_ext=cpp
49076 ac_cpp='$CXXCPP $CPPFLAGS'
49077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49082 /* end confdefs.h. */
49083 #include <math.h>
49085 main ()
49087 _ceill (0); _floorl (0);
49089 return 0;
49091 _ACEOF
49092 if ac_fn_cxx_try_compile "$LINENO"; then :
49093 glibcxx_cv_func__long_double_round_use=yes
49094 else
49095 glibcxx_cv_func__long_double_round_use=no
49097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49098 ac_ext=c
49099 ac_cpp='$CPP $CPPFLAGS'
49100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49107 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49108 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49109 for ac_func in _ceill _floorl
49110 do :
49111 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49112 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49113 eval as_val=\$$as_ac_var
49114 if test "x$as_val" = x""yes; then :
49115 cat >>confdefs.h <<_ACEOF
49116 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49117 _ACEOF
49120 done
49130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49131 $as_echo_n "checking for isnanl declaration... " >&6; }
49132 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49133 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49134 $as_echo_n "(cached) " >&6
49135 else
49138 ac_ext=cpp
49139 ac_cpp='$CXXCPP $CPPFLAGS'
49140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49145 /* end confdefs.h. */
49146 #include <math.h>
49147 #ifdef HAVE_IEEEFP_H
49148 #include <ieeefp.h>
49149 #endif
49152 main ()
49154 isnanl(0);
49156 return 0;
49158 _ACEOF
49159 if ac_fn_cxx_try_compile "$LINENO"; then :
49160 glibcxx_cv_func_isnanl_use=yes
49161 else
49162 glibcxx_cv_func_isnanl_use=no
49164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49165 ac_ext=c
49166 ac_cpp='$CPP $CPPFLAGS'
49167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49176 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49178 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49179 for ac_func in isnanl
49180 do :
49181 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49182 if test "x$ac_cv_func_isnanl" = x""yes; then :
49183 cat >>confdefs.h <<_ACEOF
49184 #define HAVE_ISNANL 1
49185 _ACEOF
49188 done
49190 else
49192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49193 $as_echo_n "checking for _isnanl declaration... " >&6; }
49194 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49195 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49196 $as_echo_n "(cached) " >&6
49197 else
49200 ac_ext=cpp
49201 ac_cpp='$CXXCPP $CPPFLAGS'
49202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49207 /* end confdefs.h. */
49208 #include <math.h>
49209 #ifdef HAVE_IEEEFP_H
49210 #include <ieeefp.h>
49211 #endif
49214 main ()
49216 _isnanl(0);
49218 return 0;
49220 _ACEOF
49221 if ac_fn_cxx_try_compile "$LINENO"; then :
49222 glibcxx_cv_func__isnanl_use=yes
49223 else
49224 glibcxx_cv_func__isnanl_use=no
49226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49227 ac_ext=c
49228 ac_cpp='$CPP $CPPFLAGS'
49229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49238 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49240 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49241 for ac_func in _isnanl
49242 do :
49243 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49244 if test "x$ac_cv_func__isnanl" = x""yes; then :
49245 cat >>confdefs.h <<_ACEOF
49246 #define HAVE__ISNANL 1
49247 _ACEOF
49250 done
49259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49260 $as_echo_n "checking for isinfl declaration... " >&6; }
49261 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49262 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49263 $as_echo_n "(cached) " >&6
49264 else
49267 ac_ext=cpp
49268 ac_cpp='$CXXCPP $CPPFLAGS'
49269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49274 /* end confdefs.h. */
49275 #include <math.h>
49276 #ifdef HAVE_IEEEFP_H
49277 #include <ieeefp.h>
49278 #endif
49281 main ()
49283 isinfl(0);
49285 return 0;
49287 _ACEOF
49288 if ac_fn_cxx_try_compile "$LINENO"; then :
49289 glibcxx_cv_func_isinfl_use=yes
49290 else
49291 glibcxx_cv_func_isinfl_use=no
49293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49294 ac_ext=c
49295 ac_cpp='$CPP $CPPFLAGS'
49296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49305 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49307 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49308 for ac_func in isinfl
49309 do :
49310 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49311 if test "x$ac_cv_func_isinfl" = x""yes; then :
49312 cat >>confdefs.h <<_ACEOF
49313 #define HAVE_ISINFL 1
49314 _ACEOF
49317 done
49319 else
49321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49322 $as_echo_n "checking for _isinfl declaration... " >&6; }
49323 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49324 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49325 $as_echo_n "(cached) " >&6
49326 else
49329 ac_ext=cpp
49330 ac_cpp='$CXXCPP $CPPFLAGS'
49331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49336 /* end confdefs.h. */
49337 #include <math.h>
49338 #ifdef HAVE_IEEEFP_H
49339 #include <ieeefp.h>
49340 #endif
49343 main ()
49345 _isinfl(0);
49347 return 0;
49349 _ACEOF
49350 if ac_fn_cxx_try_compile "$LINENO"; then :
49351 glibcxx_cv_func__isinfl_use=yes
49352 else
49353 glibcxx_cv_func__isinfl_use=no
49355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49356 ac_ext=c
49357 ac_cpp='$CPP $CPPFLAGS'
49358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49367 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49369 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49370 for ac_func in _isinfl
49371 do :
49372 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49373 if test "x$ac_cv_func__isinfl" = x""yes; then :
49374 cat >>confdefs.h <<_ACEOF
49375 #define HAVE__ISINFL 1
49376 _ACEOF
49379 done
49388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49389 $as_echo_n "checking for atan2l declaration... " >&6; }
49390 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49391 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49392 $as_echo_n "(cached) " >&6
49393 else
49396 ac_ext=cpp
49397 ac_cpp='$CXXCPP $CPPFLAGS'
49398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49403 /* end confdefs.h. */
49404 #include <math.h>
49406 main ()
49408 atan2l(0, 0);
49410 return 0;
49412 _ACEOF
49413 if ac_fn_cxx_try_compile "$LINENO"; then :
49414 glibcxx_cv_func_atan2l_use=yes
49415 else
49416 glibcxx_cv_func_atan2l_use=no
49418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49419 ac_ext=c
49420 ac_cpp='$CPP $CPPFLAGS'
49421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49430 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49432 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49433 for ac_func in atan2l
49434 do :
49435 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49436 if test "x$ac_cv_func_atan2l" = x""yes; then :
49437 cat >>confdefs.h <<_ACEOF
49438 #define HAVE_ATAN2L 1
49439 _ACEOF
49442 done
49444 else
49446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49447 $as_echo_n "checking for _atan2l declaration... " >&6; }
49448 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49449 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49450 $as_echo_n "(cached) " >&6
49451 else
49454 ac_ext=cpp
49455 ac_cpp='$CXXCPP $CPPFLAGS'
49456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49461 /* end confdefs.h. */
49462 #include <math.h>
49464 main ()
49466 _atan2l(0, 0);
49468 return 0;
49470 _ACEOF
49471 if ac_fn_cxx_try_compile "$LINENO"; then :
49472 glibcxx_cv_func__atan2l_use=yes
49473 else
49474 glibcxx_cv_func__atan2l_use=no
49476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49477 ac_ext=c
49478 ac_cpp='$CPP $CPPFLAGS'
49479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49488 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49490 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49491 for ac_func in _atan2l
49492 do :
49493 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49494 if test "x$ac_cv_func__atan2l" = x""yes; then :
49495 cat >>confdefs.h <<_ACEOF
49496 #define HAVE__ATAN2L 1
49497 _ACEOF
49500 done
49509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49510 $as_echo_n "checking for expl declaration... " >&6; }
49511 if test x${glibcxx_cv_func_expl_use+set} != xset; then
49512 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
49513 $as_echo_n "(cached) " >&6
49514 else
49517 ac_ext=cpp
49518 ac_cpp='$CXXCPP $CPPFLAGS'
49519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49524 /* end confdefs.h. */
49525 #include <math.h>
49526 #ifdef HAVE_IEEEFP_H
49527 #include <ieeefp.h>
49528 #endif
49531 main ()
49533 expl(0);
49535 return 0;
49537 _ACEOF
49538 if ac_fn_cxx_try_compile "$LINENO"; then :
49539 glibcxx_cv_func_expl_use=yes
49540 else
49541 glibcxx_cv_func_expl_use=no
49543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49544 ac_ext=c
49545 ac_cpp='$CPP $CPPFLAGS'
49546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
49555 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
49557 if test x$glibcxx_cv_func_expl_use = x"yes"; then
49558 for ac_func in expl
49559 do :
49560 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
49561 if test "x$ac_cv_func_expl" = x""yes; then :
49562 cat >>confdefs.h <<_ACEOF
49563 #define HAVE_EXPL 1
49564 _ACEOF
49567 done
49569 else
49571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
49572 $as_echo_n "checking for _expl declaration... " >&6; }
49573 if test x${glibcxx_cv_func__expl_use+set} != xset; then
49574 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
49575 $as_echo_n "(cached) " >&6
49576 else
49579 ac_ext=cpp
49580 ac_cpp='$CXXCPP $CPPFLAGS'
49581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49586 /* end confdefs.h. */
49587 #include <math.h>
49588 #ifdef HAVE_IEEEFP_H
49589 #include <ieeefp.h>
49590 #endif
49593 main ()
49595 _expl(0);
49597 return 0;
49599 _ACEOF
49600 if ac_fn_cxx_try_compile "$LINENO"; then :
49601 glibcxx_cv_func__expl_use=yes
49602 else
49603 glibcxx_cv_func__expl_use=no
49605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49606 ac_ext=c
49607 ac_cpp='$CPP $CPPFLAGS'
49608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
49617 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
49619 if test x$glibcxx_cv_func__expl_use = x"yes"; then
49620 for ac_func in _expl
49621 do :
49622 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
49623 if test "x$ac_cv_func__expl" = x""yes; then :
49624 cat >>confdefs.h <<_ACEOF
49625 #define HAVE__EXPL 1
49626 _ACEOF
49629 done
49638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
49639 $as_echo_n "checking for fabsl declaration... " >&6; }
49640 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
49641 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
49642 $as_echo_n "(cached) " >&6
49643 else
49646 ac_ext=cpp
49647 ac_cpp='$CXXCPP $CPPFLAGS'
49648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49653 /* end confdefs.h. */
49654 #include <math.h>
49655 #ifdef HAVE_IEEEFP_H
49656 #include <ieeefp.h>
49657 #endif
49660 main ()
49662 fabsl(0);
49664 return 0;
49666 _ACEOF
49667 if ac_fn_cxx_try_compile "$LINENO"; then :
49668 glibcxx_cv_func_fabsl_use=yes
49669 else
49670 glibcxx_cv_func_fabsl_use=no
49672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49673 ac_ext=c
49674 ac_cpp='$CPP $CPPFLAGS'
49675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
49684 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
49686 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
49687 for ac_func in fabsl
49688 do :
49689 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
49690 if test "x$ac_cv_func_fabsl" = x""yes; then :
49691 cat >>confdefs.h <<_ACEOF
49692 #define HAVE_FABSL 1
49693 _ACEOF
49696 done
49698 else
49700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
49701 $as_echo_n "checking for _fabsl declaration... " >&6; }
49702 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
49703 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
49704 $as_echo_n "(cached) " >&6
49705 else
49708 ac_ext=cpp
49709 ac_cpp='$CXXCPP $CPPFLAGS'
49710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49715 /* end confdefs.h. */
49716 #include <math.h>
49717 #ifdef HAVE_IEEEFP_H
49718 #include <ieeefp.h>
49719 #endif
49722 main ()
49724 _fabsl(0);
49726 return 0;
49728 _ACEOF
49729 if ac_fn_cxx_try_compile "$LINENO"; then :
49730 glibcxx_cv_func__fabsl_use=yes
49731 else
49732 glibcxx_cv_func__fabsl_use=no
49734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49735 ac_ext=c
49736 ac_cpp='$CPP $CPPFLAGS'
49737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
49746 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
49748 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
49749 for ac_func in _fabsl
49750 do :
49751 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
49752 if test "x$ac_cv_func__fabsl" = x""yes; then :
49753 cat >>confdefs.h <<_ACEOF
49754 #define HAVE__FABSL 1
49755 _ACEOF
49758 done
49767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
49768 $as_echo_n "checking for fmodl declaration... " >&6; }
49769 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
49770 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
49771 $as_echo_n "(cached) " >&6
49772 else
49775 ac_ext=cpp
49776 ac_cpp='$CXXCPP $CPPFLAGS'
49777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49782 /* end confdefs.h. */
49783 #include <math.h>
49785 main ()
49787 fmodl(0, 0);
49789 return 0;
49791 _ACEOF
49792 if ac_fn_cxx_try_compile "$LINENO"; then :
49793 glibcxx_cv_func_fmodl_use=yes
49794 else
49795 glibcxx_cv_func_fmodl_use=no
49797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49798 ac_ext=c
49799 ac_cpp='$CPP $CPPFLAGS'
49800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49809 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49811 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
49812 for ac_func in fmodl
49813 do :
49814 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49815 if test "x$ac_cv_func_fmodl" = x""yes; then :
49816 cat >>confdefs.h <<_ACEOF
49817 #define HAVE_FMODL 1
49818 _ACEOF
49821 done
49823 else
49825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49826 $as_echo_n "checking for _fmodl declaration... " >&6; }
49827 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49828 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49829 $as_echo_n "(cached) " >&6
49830 else
49833 ac_ext=cpp
49834 ac_cpp='$CXXCPP $CPPFLAGS'
49835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49840 /* end confdefs.h. */
49841 #include <math.h>
49843 main ()
49845 _fmodl(0, 0);
49847 return 0;
49849 _ACEOF
49850 if ac_fn_cxx_try_compile "$LINENO"; then :
49851 glibcxx_cv_func__fmodl_use=yes
49852 else
49853 glibcxx_cv_func__fmodl_use=no
49855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49856 ac_ext=c
49857 ac_cpp='$CPP $CPPFLAGS'
49858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49867 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49869 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49870 for ac_func in _fmodl
49871 do :
49872 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49873 if test "x$ac_cv_func__fmodl" = x""yes; then :
49874 cat >>confdefs.h <<_ACEOF
49875 #define HAVE__FMODL 1
49876 _ACEOF
49879 done
49888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49889 $as_echo_n "checking for frexpl declaration... " >&6; }
49890 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49891 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49892 $as_echo_n "(cached) " >&6
49893 else
49896 ac_ext=cpp
49897 ac_cpp='$CXXCPP $CPPFLAGS'
49898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49903 /* end confdefs.h. */
49904 #include <math.h>
49906 main ()
49908 frexpl(0, 0);
49910 return 0;
49912 _ACEOF
49913 if ac_fn_cxx_try_compile "$LINENO"; then :
49914 glibcxx_cv_func_frexpl_use=yes
49915 else
49916 glibcxx_cv_func_frexpl_use=no
49918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49919 ac_ext=c
49920 ac_cpp='$CPP $CPPFLAGS'
49921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49930 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49932 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49933 for ac_func in frexpl
49934 do :
49935 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49936 if test "x$ac_cv_func_frexpl" = x""yes; then :
49937 cat >>confdefs.h <<_ACEOF
49938 #define HAVE_FREXPL 1
49939 _ACEOF
49942 done
49944 else
49946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49947 $as_echo_n "checking for _frexpl declaration... " >&6; }
49948 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49949 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
49950 $as_echo_n "(cached) " >&6
49951 else
49954 ac_ext=cpp
49955 ac_cpp='$CXXCPP $CPPFLAGS'
49956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49961 /* end confdefs.h. */
49962 #include <math.h>
49964 main ()
49966 _frexpl(0, 0);
49968 return 0;
49970 _ACEOF
49971 if ac_fn_cxx_try_compile "$LINENO"; then :
49972 glibcxx_cv_func__frexpl_use=yes
49973 else
49974 glibcxx_cv_func__frexpl_use=no
49976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49977 ac_ext=c
49978 ac_cpp='$CPP $CPPFLAGS'
49979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
49988 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
49990 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
49991 for ac_func in _frexpl
49992 do :
49993 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
49994 if test "x$ac_cv_func__frexpl" = x""yes; then :
49995 cat >>confdefs.h <<_ACEOF
49996 #define HAVE__FREXPL 1
49997 _ACEOF
50000 done
50009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50010 $as_echo_n "checking for hypotl declaration... " >&6; }
50011 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50012 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50013 $as_echo_n "(cached) " >&6
50014 else
50017 ac_ext=cpp
50018 ac_cpp='$CXXCPP $CPPFLAGS'
50019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50024 /* end confdefs.h. */
50025 #include <math.h>
50027 main ()
50029 hypotl(0, 0);
50031 return 0;
50033 _ACEOF
50034 if ac_fn_cxx_try_compile "$LINENO"; then :
50035 glibcxx_cv_func_hypotl_use=yes
50036 else
50037 glibcxx_cv_func_hypotl_use=no
50039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50040 ac_ext=c
50041 ac_cpp='$CPP $CPPFLAGS'
50042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50051 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50053 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50054 for ac_func in hypotl
50055 do :
50056 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50057 if test "x$ac_cv_func_hypotl" = x""yes; then :
50058 cat >>confdefs.h <<_ACEOF
50059 #define HAVE_HYPOTL 1
50060 _ACEOF
50063 done
50065 else
50067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50068 $as_echo_n "checking for _hypotl declaration... " >&6; }
50069 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50070 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50071 $as_echo_n "(cached) " >&6
50072 else
50075 ac_ext=cpp
50076 ac_cpp='$CXXCPP $CPPFLAGS'
50077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50082 /* end confdefs.h. */
50083 #include <math.h>
50085 main ()
50087 _hypotl(0, 0);
50089 return 0;
50091 _ACEOF
50092 if ac_fn_cxx_try_compile "$LINENO"; then :
50093 glibcxx_cv_func__hypotl_use=yes
50094 else
50095 glibcxx_cv_func__hypotl_use=no
50097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50098 ac_ext=c
50099 ac_cpp='$CPP $CPPFLAGS'
50100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50109 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50111 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50112 for ac_func in _hypotl
50113 do :
50114 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50115 if test "x$ac_cv_func__hypotl" = x""yes; then :
50116 cat >>confdefs.h <<_ACEOF
50117 #define HAVE__HYPOTL 1
50118 _ACEOF
50121 done
50130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50131 $as_echo_n "checking for ldexpl declaration... " >&6; }
50132 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50133 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50134 $as_echo_n "(cached) " >&6
50135 else
50138 ac_ext=cpp
50139 ac_cpp='$CXXCPP $CPPFLAGS'
50140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50145 /* end confdefs.h. */
50146 #include <math.h>
50148 main ()
50150 ldexpl(0, 0);
50152 return 0;
50154 _ACEOF
50155 if ac_fn_cxx_try_compile "$LINENO"; then :
50156 glibcxx_cv_func_ldexpl_use=yes
50157 else
50158 glibcxx_cv_func_ldexpl_use=no
50160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50161 ac_ext=c
50162 ac_cpp='$CPP $CPPFLAGS'
50163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50172 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50174 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50175 for ac_func in ldexpl
50176 do :
50177 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50178 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50179 cat >>confdefs.h <<_ACEOF
50180 #define HAVE_LDEXPL 1
50181 _ACEOF
50184 done
50186 else
50188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50189 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50190 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50191 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50192 $as_echo_n "(cached) " >&6
50193 else
50196 ac_ext=cpp
50197 ac_cpp='$CXXCPP $CPPFLAGS'
50198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50203 /* end confdefs.h. */
50204 #include <math.h>
50206 main ()
50208 _ldexpl(0, 0);
50210 return 0;
50212 _ACEOF
50213 if ac_fn_cxx_try_compile "$LINENO"; then :
50214 glibcxx_cv_func__ldexpl_use=yes
50215 else
50216 glibcxx_cv_func__ldexpl_use=no
50218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50219 ac_ext=c
50220 ac_cpp='$CPP $CPPFLAGS'
50221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50230 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50232 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50233 for ac_func in _ldexpl
50234 do :
50235 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50236 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50237 cat >>confdefs.h <<_ACEOF
50238 #define HAVE__LDEXPL 1
50239 _ACEOF
50242 done
50251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50252 $as_echo_n "checking for logl declaration... " >&6; }
50253 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50254 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50255 $as_echo_n "(cached) " >&6
50256 else
50259 ac_ext=cpp
50260 ac_cpp='$CXXCPP $CPPFLAGS'
50261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50266 /* end confdefs.h. */
50267 #include <math.h>
50268 #ifdef HAVE_IEEEFP_H
50269 #include <ieeefp.h>
50270 #endif
50273 main ()
50275 logl(0);
50277 return 0;
50279 _ACEOF
50280 if ac_fn_cxx_try_compile "$LINENO"; then :
50281 glibcxx_cv_func_logl_use=yes
50282 else
50283 glibcxx_cv_func_logl_use=no
50285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50286 ac_ext=c
50287 ac_cpp='$CPP $CPPFLAGS'
50288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50297 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50299 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50300 for ac_func in logl
50301 do :
50302 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50303 if test "x$ac_cv_func_logl" = x""yes; then :
50304 cat >>confdefs.h <<_ACEOF
50305 #define HAVE_LOGL 1
50306 _ACEOF
50309 done
50311 else
50313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50314 $as_echo_n "checking for _logl declaration... " >&6; }
50315 if test x${glibcxx_cv_func__logl_use+set} != xset; then
50316 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50317 $as_echo_n "(cached) " >&6
50318 else
50321 ac_ext=cpp
50322 ac_cpp='$CXXCPP $CPPFLAGS'
50323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50328 /* end confdefs.h. */
50329 #include <math.h>
50330 #ifdef HAVE_IEEEFP_H
50331 #include <ieeefp.h>
50332 #endif
50335 main ()
50337 _logl(0);
50339 return 0;
50341 _ACEOF
50342 if ac_fn_cxx_try_compile "$LINENO"; then :
50343 glibcxx_cv_func__logl_use=yes
50344 else
50345 glibcxx_cv_func__logl_use=no
50347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50348 ac_ext=c
50349 ac_cpp='$CPP $CPPFLAGS'
50350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50359 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50361 if test x$glibcxx_cv_func__logl_use = x"yes"; then
50362 for ac_func in _logl
50363 do :
50364 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50365 if test "x$ac_cv_func__logl" = x""yes; then :
50366 cat >>confdefs.h <<_ACEOF
50367 #define HAVE__LOGL 1
50368 _ACEOF
50371 done
50380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50381 $as_echo_n "checking for log10l declaration... " >&6; }
50382 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50383 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50384 $as_echo_n "(cached) " >&6
50385 else
50388 ac_ext=cpp
50389 ac_cpp='$CXXCPP $CPPFLAGS'
50390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50395 /* end confdefs.h. */
50396 #include <math.h>
50397 #ifdef HAVE_IEEEFP_H
50398 #include <ieeefp.h>
50399 #endif
50402 main ()
50404 log10l(0);
50406 return 0;
50408 _ACEOF
50409 if ac_fn_cxx_try_compile "$LINENO"; then :
50410 glibcxx_cv_func_log10l_use=yes
50411 else
50412 glibcxx_cv_func_log10l_use=no
50414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50415 ac_ext=c
50416 ac_cpp='$CPP $CPPFLAGS'
50417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50426 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50428 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50429 for ac_func in log10l
50430 do :
50431 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50432 if test "x$ac_cv_func_log10l" = x""yes; then :
50433 cat >>confdefs.h <<_ACEOF
50434 #define HAVE_LOG10L 1
50435 _ACEOF
50438 done
50440 else
50442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50443 $as_echo_n "checking for _log10l declaration... " >&6; }
50444 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50445 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50446 $as_echo_n "(cached) " >&6
50447 else
50450 ac_ext=cpp
50451 ac_cpp='$CXXCPP $CPPFLAGS'
50452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50457 /* end confdefs.h. */
50458 #include <math.h>
50459 #ifdef HAVE_IEEEFP_H
50460 #include <ieeefp.h>
50461 #endif
50464 main ()
50466 _log10l(0);
50468 return 0;
50470 _ACEOF
50471 if ac_fn_cxx_try_compile "$LINENO"; then :
50472 glibcxx_cv_func__log10l_use=yes
50473 else
50474 glibcxx_cv_func__log10l_use=no
50476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50477 ac_ext=c
50478 ac_cpp='$CPP $CPPFLAGS'
50479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50488 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50490 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50491 for ac_func in _log10l
50492 do :
50493 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50494 if test "x$ac_cv_func__log10l" = x""yes; then :
50495 cat >>confdefs.h <<_ACEOF
50496 #define HAVE__LOG10L 1
50497 _ACEOF
50500 done
50509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
50510 $as_echo_n "checking for modfl declaration... " >&6; }
50511 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
50512 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
50513 $as_echo_n "(cached) " >&6
50514 else
50517 ac_ext=cpp
50518 ac_cpp='$CXXCPP $CPPFLAGS'
50519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50524 /* end confdefs.h. */
50525 #include <math.h>
50527 main ()
50529 modfl(0, 0);
50531 return 0;
50533 _ACEOF
50534 if ac_fn_cxx_try_compile "$LINENO"; then :
50535 glibcxx_cv_func_modfl_use=yes
50536 else
50537 glibcxx_cv_func_modfl_use=no
50539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50540 ac_ext=c
50541 ac_cpp='$CPP $CPPFLAGS'
50542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
50551 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
50553 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
50554 for ac_func in modfl
50555 do :
50556 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
50557 if test "x$ac_cv_func_modfl" = x""yes; then :
50558 cat >>confdefs.h <<_ACEOF
50559 #define HAVE_MODFL 1
50560 _ACEOF
50563 done
50565 else
50567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
50568 $as_echo_n "checking for _modfl declaration... " >&6; }
50569 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
50570 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
50571 $as_echo_n "(cached) " >&6
50572 else
50575 ac_ext=cpp
50576 ac_cpp='$CXXCPP $CPPFLAGS'
50577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50582 /* end confdefs.h. */
50583 #include <math.h>
50585 main ()
50587 _modfl(0, 0);
50589 return 0;
50591 _ACEOF
50592 if ac_fn_cxx_try_compile "$LINENO"; then :
50593 glibcxx_cv_func__modfl_use=yes
50594 else
50595 glibcxx_cv_func__modfl_use=no
50597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50598 ac_ext=c
50599 ac_cpp='$CPP $CPPFLAGS'
50600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
50609 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
50611 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
50612 for ac_func in _modfl
50613 do :
50614 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
50615 if test "x$ac_cv_func__modfl" = x""yes; then :
50616 cat >>confdefs.h <<_ACEOF
50617 #define HAVE__MODFL 1
50618 _ACEOF
50621 done
50630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
50631 $as_echo_n "checking for powl declaration... " >&6; }
50632 if test x${glibcxx_cv_func_powl_use+set} != xset; then
50633 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
50634 $as_echo_n "(cached) " >&6
50635 else
50638 ac_ext=cpp
50639 ac_cpp='$CXXCPP $CPPFLAGS'
50640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50645 /* end confdefs.h. */
50646 #include <math.h>
50648 main ()
50650 powl(0, 0);
50652 return 0;
50654 _ACEOF
50655 if ac_fn_cxx_try_compile "$LINENO"; then :
50656 glibcxx_cv_func_powl_use=yes
50657 else
50658 glibcxx_cv_func_powl_use=no
50660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50661 ac_ext=c
50662 ac_cpp='$CPP $CPPFLAGS'
50663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
50672 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
50674 if test x$glibcxx_cv_func_powl_use = x"yes"; then
50675 for ac_func in powl
50676 do :
50677 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
50678 if test "x$ac_cv_func_powl" = x""yes; then :
50679 cat >>confdefs.h <<_ACEOF
50680 #define HAVE_POWL 1
50681 _ACEOF
50684 done
50686 else
50688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
50689 $as_echo_n "checking for _powl declaration... " >&6; }
50690 if test x${glibcxx_cv_func__powl_use+set} != xset; then
50691 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
50692 $as_echo_n "(cached) " >&6
50693 else
50696 ac_ext=cpp
50697 ac_cpp='$CXXCPP $CPPFLAGS'
50698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50703 /* end confdefs.h. */
50704 #include <math.h>
50706 main ()
50708 _powl(0, 0);
50710 return 0;
50712 _ACEOF
50713 if ac_fn_cxx_try_compile "$LINENO"; then :
50714 glibcxx_cv_func__powl_use=yes
50715 else
50716 glibcxx_cv_func__powl_use=no
50718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50719 ac_ext=c
50720 ac_cpp='$CPP $CPPFLAGS'
50721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
50730 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
50732 if test x$glibcxx_cv_func__powl_use = x"yes"; then
50733 for ac_func in _powl
50734 do :
50735 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
50736 if test "x$ac_cv_func__powl" = x""yes; then :
50737 cat >>confdefs.h <<_ACEOF
50738 #define HAVE__POWL 1
50739 _ACEOF
50742 done
50751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
50752 $as_echo_n "checking for sqrtl declaration... " >&6; }
50753 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
50754 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
50755 $as_echo_n "(cached) " >&6
50756 else
50759 ac_ext=cpp
50760 ac_cpp='$CXXCPP $CPPFLAGS'
50761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50766 /* end confdefs.h. */
50767 #include <math.h>
50768 #ifdef HAVE_IEEEFP_H
50769 #include <ieeefp.h>
50770 #endif
50773 main ()
50775 sqrtl(0);
50777 return 0;
50779 _ACEOF
50780 if ac_fn_cxx_try_compile "$LINENO"; then :
50781 glibcxx_cv_func_sqrtl_use=yes
50782 else
50783 glibcxx_cv_func_sqrtl_use=no
50785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50786 ac_ext=c
50787 ac_cpp='$CPP $CPPFLAGS'
50788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
50797 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
50799 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
50800 for ac_func in sqrtl
50801 do :
50802 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
50803 if test "x$ac_cv_func_sqrtl" = x""yes; then :
50804 cat >>confdefs.h <<_ACEOF
50805 #define HAVE_SQRTL 1
50806 _ACEOF
50809 done
50811 else
50813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50814 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50815 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50816 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50817 $as_echo_n "(cached) " >&6
50818 else
50821 ac_ext=cpp
50822 ac_cpp='$CXXCPP $CPPFLAGS'
50823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50828 /* end confdefs.h. */
50829 #include <math.h>
50830 #ifdef HAVE_IEEEFP_H
50831 #include <ieeefp.h>
50832 #endif
50835 main ()
50837 _sqrtl(0);
50839 return 0;
50841 _ACEOF
50842 if ac_fn_cxx_try_compile "$LINENO"; then :
50843 glibcxx_cv_func__sqrtl_use=yes
50844 else
50845 glibcxx_cv_func__sqrtl_use=no
50847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50848 ac_ext=c
50849 ac_cpp='$CPP $CPPFLAGS'
50850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50859 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50861 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50862 for ac_func in _sqrtl
50863 do :
50864 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50865 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50866 cat >>confdefs.h <<_ACEOF
50867 #define HAVE__SQRTL 1
50868 _ACEOF
50871 done
50880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50881 $as_echo_n "checking for sincosl declaration... " >&6; }
50882 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50883 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50884 $as_echo_n "(cached) " >&6
50885 else
50888 ac_ext=cpp
50889 ac_cpp='$CXXCPP $CPPFLAGS'
50890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50895 /* end confdefs.h. */
50896 #include <math.h>
50898 main ()
50900 sincosl(0, 0, 0);
50902 return 0;
50904 _ACEOF
50905 if ac_fn_cxx_try_compile "$LINENO"; then :
50906 glibcxx_cv_func_sincosl_use=yes
50907 else
50908 glibcxx_cv_func_sincosl_use=no
50910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50911 ac_ext=c
50912 ac_cpp='$CPP $CPPFLAGS'
50913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50922 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50924 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50925 for ac_func in sincosl
50926 do :
50927 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50928 if test "x$ac_cv_func_sincosl" = x""yes; then :
50929 cat >>confdefs.h <<_ACEOF
50930 #define HAVE_SINCOSL 1
50931 _ACEOF
50934 done
50936 else
50938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50939 $as_echo_n "checking for _sincosl declaration... " >&6; }
50940 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50941 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50942 $as_echo_n "(cached) " >&6
50943 else
50946 ac_ext=cpp
50947 ac_cpp='$CXXCPP $CPPFLAGS'
50948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50953 /* end confdefs.h. */
50954 #include <math.h>
50956 main ()
50958 _sincosl(0, 0, 0);
50960 return 0;
50962 _ACEOF
50963 if ac_fn_cxx_try_compile "$LINENO"; then :
50964 glibcxx_cv_func__sincosl_use=yes
50965 else
50966 glibcxx_cv_func__sincosl_use=no
50968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50969 ac_ext=c
50970 ac_cpp='$CPP $CPPFLAGS'
50971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
50980 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
50982 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
50983 for ac_func in _sincosl
50984 do :
50985 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
50986 if test "x$ac_cv_func__sincosl" = x""yes; then :
50987 cat >>confdefs.h <<_ACEOF
50988 #define HAVE__SINCOSL 1
50989 _ACEOF
50992 done
51001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51002 $as_echo_n "checking for finitel declaration... " >&6; }
51003 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51004 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51005 $as_echo_n "(cached) " >&6
51006 else
51009 ac_ext=cpp
51010 ac_cpp='$CXXCPP $CPPFLAGS'
51011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51016 /* end confdefs.h. */
51017 #include <math.h>
51018 #ifdef HAVE_IEEEFP_H
51019 #include <ieeefp.h>
51020 #endif
51023 main ()
51025 finitel(0);
51027 return 0;
51029 _ACEOF
51030 if ac_fn_cxx_try_compile "$LINENO"; then :
51031 glibcxx_cv_func_finitel_use=yes
51032 else
51033 glibcxx_cv_func_finitel_use=no
51035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51036 ac_ext=c
51037 ac_cpp='$CPP $CPPFLAGS'
51038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51047 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51049 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51050 for ac_func in finitel
51051 do :
51052 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51053 if test "x$ac_cv_func_finitel" = x""yes; then :
51054 cat >>confdefs.h <<_ACEOF
51055 #define HAVE_FINITEL 1
51056 _ACEOF
51059 done
51061 else
51063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51064 $as_echo_n "checking for _finitel declaration... " >&6; }
51065 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51066 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51067 $as_echo_n "(cached) " >&6
51068 else
51071 ac_ext=cpp
51072 ac_cpp='$CXXCPP $CPPFLAGS'
51073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51078 /* end confdefs.h. */
51079 #include <math.h>
51080 #ifdef HAVE_IEEEFP_H
51081 #include <ieeefp.h>
51082 #endif
51085 main ()
51087 _finitel(0);
51089 return 0;
51091 _ACEOF
51092 if ac_fn_cxx_try_compile "$LINENO"; then :
51093 glibcxx_cv_func__finitel_use=yes
51094 else
51095 glibcxx_cv_func__finitel_use=no
51097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51098 ac_ext=c
51099 ac_cpp='$CPP $CPPFLAGS'
51100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51109 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51111 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51112 for ac_func in _finitel
51113 do :
51114 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51115 if test "x$ac_cv_func__finitel" = x""yes; then :
51116 cat >>confdefs.h <<_ACEOF
51117 #define HAVE__FINITEL 1
51118 _ACEOF
51121 done
51129 LIBS="$ac_save_LIBS"
51130 CXXFLAGS="$ac_save_CXXFLAGS"
51133 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51134 ac_save_CXXFLAGS="$CXXFLAGS"
51135 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51139 $as_echo_n "checking for strtold declaration... " >&6; }
51140 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51141 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51142 $as_echo_n "(cached) " >&6
51143 else
51146 ac_ext=cpp
51147 ac_cpp='$CXXCPP $CPPFLAGS'
51148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51153 /* end confdefs.h. */
51154 #include <stdlib.h>
51156 main ()
51158 strtold(0, 0);
51160 return 0;
51162 _ACEOF
51163 if ac_fn_cxx_try_compile "$LINENO"; then :
51164 glibcxx_cv_func_strtold_use=yes
51165 else
51166 glibcxx_cv_func_strtold_use=no
51168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51169 ac_ext=c
51170 ac_cpp='$CPP $CPPFLAGS'
51171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51180 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51181 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51182 for ac_func in strtold
51183 do :
51184 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51185 if test "x$ac_cv_func_strtold" = x""yes; then :
51186 cat >>confdefs.h <<_ACEOF
51187 #define HAVE_STRTOLD 1
51188 _ACEOF
51191 done
51198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51199 $as_echo_n "checking for strtof declaration... " >&6; }
51200 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51201 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51202 $as_echo_n "(cached) " >&6
51203 else
51206 ac_ext=cpp
51207 ac_cpp='$CXXCPP $CPPFLAGS'
51208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51213 /* end confdefs.h. */
51214 #include <stdlib.h>
51216 main ()
51218 strtof(0, 0);
51220 return 0;
51222 _ACEOF
51223 if ac_fn_cxx_try_compile "$LINENO"; then :
51224 glibcxx_cv_func_strtof_use=yes
51225 else
51226 glibcxx_cv_func_strtof_use=no
51228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51229 ac_ext=c
51230 ac_cpp='$CPP $CPPFLAGS'
51231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51240 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51241 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51242 for ac_func in strtof
51243 do :
51244 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51245 if test "x$ac_cv_func_strtof" = x""yes; then :
51246 cat >>confdefs.h <<_ACEOF
51247 #define HAVE_STRTOF 1
51248 _ACEOF
51251 done
51258 CXXFLAGS="$ac_save_CXXFLAGS"
51260 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
51264 # Check whether --enable-tls was given.
51265 if test "${enable_tls+set}" = set; then :
51266 enableval=$enable_tls;
51267 case "$enableval" in
51268 yes|no) ;;
51269 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
51270 esac
51272 else
51273 enable_tls=yes
51277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
51278 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
51279 if test "${gcc_cv_have_tls+set}" = set; then :
51280 $as_echo_n "(cached) " >&6
51281 else
51283 if test "$cross_compiling" = yes; then :
51284 if test x$gcc_no_link = xyes; then
51285 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51288 /* end confdefs.h. */
51289 __thread int a; int b; int main() { return a = b; }
51290 _ACEOF
51291 if ac_fn_c_try_link "$LINENO"; then :
51292 chktls_save_LDFLAGS="$LDFLAGS"
51293 case $host in
51294 *-*-linux*)
51295 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
51297 esac
51298 chktls_save_CFLAGS="$CFLAGS"
51299 CFLAGS="-fPIC $CFLAGS"
51300 if test x$gcc_no_link = xyes; then
51301 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51304 /* end confdefs.h. */
51305 int f() { return 0; }
51306 _ACEOF
51307 if ac_fn_c_try_link "$LINENO"; then :
51308 if test x$gcc_no_link = xyes; then
51309 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51312 /* end confdefs.h. */
51313 __thread int a; int b; int f() { return a = b; }
51314 _ACEOF
51315 if ac_fn_c_try_link "$LINENO"; then :
51316 gcc_cv_have_tls=yes
51317 else
51318 gcc_cv_have_tls=no
51320 rm -f core conftest.err conftest.$ac_objext \
51321 conftest$ac_exeext conftest.$ac_ext
51322 else
51323 gcc_cv_have_tls=yes
51325 rm -f core conftest.err conftest.$ac_objext \
51326 conftest$ac_exeext conftest.$ac_ext
51327 CFLAGS="$chktls_save_CFLAGS"
51328 LDFLAGS="$chktls_save_LDFLAGS"
51329 else
51330 gcc_cv_have_tls=no
51332 rm -f core conftest.err conftest.$ac_objext \
51333 conftest$ac_exeext conftest.$ac_ext
51336 else
51337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51338 /* end confdefs.h. */
51339 __thread int a; int b; int main() { return a = b; }
51340 _ACEOF
51341 if ac_fn_c_try_run "$LINENO"; then :
51342 chktls_save_LDFLAGS="$LDFLAGS"
51343 LDFLAGS="-static $LDFLAGS"
51344 if test x$gcc_no_link = xyes; then
51345 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51348 /* end confdefs.h. */
51349 int main() { return 0; }
51350 _ACEOF
51351 if ac_fn_c_try_link "$LINENO"; then :
51352 if test "$cross_compiling" = yes; then :
51353 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51354 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51355 as_fn_error "cannot run test program while cross compiling
51356 See \`config.log' for more details." "$LINENO" 5; }
51357 else
51358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51359 /* end confdefs.h. */
51360 __thread int a; int b; int main() { return a = b; }
51361 _ACEOF
51362 if ac_fn_c_try_run "$LINENO"; then :
51363 gcc_cv_have_tls=yes
51364 else
51365 gcc_cv_have_tls=no
51367 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51368 conftest.$ac_objext conftest.beam conftest.$ac_ext
51371 else
51372 gcc_cv_have_tls=yes
51374 rm -f core conftest.err conftest.$ac_objext \
51375 conftest$ac_exeext conftest.$ac_ext
51376 LDFLAGS="$chktls_save_LDFLAGS"
51377 if test $gcc_cv_have_tls = yes; then
51378 chktls_save_CFLAGS="$CFLAGS"
51379 thread_CFLAGS=failed
51380 for flag in '' '-pthread' '-lpthread'; do
51381 CFLAGS="$flag $chktls_save_CFLAGS"
51382 if test x$gcc_no_link = xyes; then
51383 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51386 /* end confdefs.h. */
51387 #include <pthread.h>
51388 void *g(void *d) { return NULL; }
51390 main ()
51392 pthread_t t; pthread_create(&t,NULL,g,NULL);
51394 return 0;
51396 _ACEOF
51397 if ac_fn_c_try_link "$LINENO"; then :
51398 thread_CFLAGS="$flag"
51400 rm -f core conftest.err conftest.$ac_objext \
51401 conftest$ac_exeext conftest.$ac_ext
51402 if test "X$thread_CFLAGS" != Xfailed; then
51403 break
51405 done
51406 CFLAGS="$chktls_save_CFLAGS"
51407 if test "X$thread_CFLAGS" != Xfailed; then
51408 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
51409 if test "$cross_compiling" = yes; then :
51410 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51411 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51412 as_fn_error "cannot run test program while cross compiling
51413 See \`config.log' for more details." "$LINENO" 5; }
51414 else
51415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51416 /* end confdefs.h. */
51417 #include <pthread.h>
51418 __thread int a;
51419 static int *volatile a_in_other_thread;
51420 static void *
51421 thread_func (void *arg)
51423 a_in_other_thread = &a;
51424 return (void *)0;
51427 main ()
51429 pthread_t thread;
51430 void *thread_retval;
51431 int *volatile a_in_main_thread;
51432 a_in_main_thread = &a;
51433 if (pthread_create (&thread, (pthread_attr_t *)0,
51434 thread_func, (void *)0))
51435 return 0;
51436 if (pthread_join (thread, &thread_retval))
51437 return 0;
51438 return (a_in_other_thread == a_in_main_thread);
51440 return 0;
51442 _ACEOF
51443 if ac_fn_c_try_run "$LINENO"; then :
51444 gcc_cv_have_tls=yes
51445 else
51446 gcc_cv_have_tls=no
51448 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51449 conftest.$ac_objext conftest.beam conftest.$ac_ext
51452 CFLAGS="$chktls_save_CFLAGS"
51455 else
51456 gcc_cv_have_tls=no
51458 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51459 conftest.$ac_objext conftest.beam conftest.$ac_ext
51463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
51464 $as_echo "$gcc_cv_have_tls" >&6; }
51465 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
51467 $as_echo "#define HAVE_TLS 1" >>confdefs.h
51475 am_save_CPPFLAGS="$CPPFLAGS"
51477 for element in $INCICONV; do
51478 haveit=
51479 for x in $CPPFLAGS; do
51481 acl_save_prefix="$prefix"
51482 prefix="$acl_final_prefix"
51483 acl_save_exec_prefix="$exec_prefix"
51484 exec_prefix="$acl_final_exec_prefix"
51485 eval x=\"$x\"
51486 exec_prefix="$acl_save_exec_prefix"
51487 prefix="$acl_save_prefix"
51489 if test "X$x" = "X$element"; then
51490 haveit=yes
51491 break
51493 done
51494 if test -z "$haveit"; then
51495 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
51497 done
51500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
51501 $as_echo_n "checking for iconv... " >&6; }
51502 if test "${am_cv_func_iconv+set}" = set; then :
51503 $as_echo_n "(cached) " >&6
51504 else
51506 am_cv_func_iconv="no, consider installing GNU libiconv"
51507 am_cv_lib_iconv=no
51508 if test x$gcc_no_link = xyes; then
51509 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51512 /* end confdefs.h. */
51513 #include <stdlib.h>
51514 #include <iconv.h>
51516 main ()
51518 iconv_t cd = iconv_open("","");
51519 iconv(cd,NULL,NULL,NULL,NULL);
51520 iconv_close(cd);
51522 return 0;
51524 _ACEOF
51525 if ac_fn_c_try_link "$LINENO"; then :
51526 am_cv_func_iconv=yes
51528 rm -f core conftest.err conftest.$ac_objext \
51529 conftest$ac_exeext conftest.$ac_ext
51530 if test "$am_cv_func_iconv" != yes; then
51531 am_save_LIBS="$LIBS"
51532 LIBS="$LIBS $LIBICONV"
51533 if test x$gcc_no_link = xyes; then
51534 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51537 /* end confdefs.h. */
51538 #include <stdlib.h>
51539 #include <iconv.h>
51541 main ()
51543 iconv_t cd = iconv_open("","");
51544 iconv(cd,NULL,NULL,NULL,NULL);
51545 iconv_close(cd);
51547 return 0;
51549 _ACEOF
51550 if ac_fn_c_try_link "$LINENO"; then :
51551 am_cv_lib_iconv=yes
51552 am_cv_func_iconv=yes
51554 rm -f core conftest.err conftest.$ac_objext \
51555 conftest$ac_exeext conftest.$ac_ext
51556 LIBS="$am_save_LIBS"
51560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
51561 $as_echo "$am_cv_func_iconv" >&6; }
51562 if test "$am_cv_func_iconv" = yes; then
51564 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
51567 if test "$am_cv_lib_iconv" = yes; then
51568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
51569 $as_echo_n "checking how to link with libiconv... " >&6; }
51570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
51571 $as_echo "$LIBICONV" >&6; }
51572 else
51573 CPPFLAGS="$am_save_CPPFLAGS"
51574 LIBICONV=
51575 LTLIBICONV=
51580 if test "$am_cv_func_iconv" = yes; then
51581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
51582 $as_echo_n "checking for iconv declaration... " >&6; }
51583 if test "${am_cv_proto_iconv+set}" = set; then :
51584 $as_echo_n "(cached) " >&6
51585 else
51587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51588 /* end confdefs.h. */
51590 #include <stdlib.h>
51591 #include <iconv.h>
51592 extern
51593 #ifdef __cplusplus
51595 #endif
51596 #if defined(__STDC__) || defined(__cplusplus)
51597 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
51598 #else
51599 size_t iconv();
51600 #endif
51603 main ()
51607 return 0;
51609 _ACEOF
51610 if ac_fn_c_try_compile "$LINENO"; then :
51611 am_cv_proto_iconv_arg1=""
51612 else
51613 am_cv_proto_iconv_arg1="const"
51615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51616 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);"
51619 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
51620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
51621 }$am_cv_proto_iconv" >&5
51622 $as_echo "${ac_t:-
51623 }$am_cv_proto_iconv" >&6; }
51625 cat >>confdefs.h <<_ACEOF
51626 #define ICONV_CONST $am_cv_proto_iconv_arg1
51627 _ACEOF
51632 *-mingw32*)
51634 # If we're not using GNU ld, then there's no point in even trying these
51635 # tests. Check for that first. We should have already tested for gld
51636 # by now (in libtool), but require it now just to be safe...
51637 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51638 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51642 # The name set by libtool depends on the version of libtool. Shame on us
51643 # for depending on an impl detail, but c'est la vie. Older versions used
51644 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51645 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51646 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51647 # set (hence we're using an older libtool), then set it.
51648 if test x${with_gnu_ld+set} != xset; then
51649 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51650 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51651 with_gnu_ld=no
51652 else
51653 with_gnu_ld=$ac_cv_prog_gnu_ld
51657 # Start by getting the version number. I think the libtool test already
51658 # does some of this, but throws away the result.
51659 glibcxx_ld_is_gold=no
51660 if test x"$with_gnu_ld" = x"yes"; then
51661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51662 $as_echo_n "checking for ld version... " >&6; }
51664 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51665 glibcxx_ld_is_gold=yes
51667 ldver=`$LD --version 2>/dev/null |
51668 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'`
51670 glibcxx_gnu_ld_version=`echo $ldver | \
51671 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51673 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51676 # Set --gc-sections.
51677 glibcxx_have_gc_sections=no
51678 if test "$glibcxx_ld_is_gold" = "yes"; then
51679 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51680 glibcxx_have_gc_sections=yes
51682 else
51683 glibcxx_gcsections_min_ld=21602
51684 if test x"$with_gnu_ld" = x"yes" &&
51685 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51686 glibcxx_have_gc_sections=yes
51689 if test "$glibcxx_have_gc_sections" = "yes"; then
51690 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
51691 # NB: This flag only works reliably after 2.16.1. Configure tests
51692 # for this are difficult, so hard wire a value that should work.
51694 ac_test_CFLAGS="${CFLAGS+set}"
51695 ac_save_CFLAGS="$CFLAGS"
51696 CFLAGS='-Wl,--gc-sections'
51698 # Check for -Wl,--gc-sections
51699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51700 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51701 if test x$gcc_no_link = xyes; then
51702 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51705 /* end confdefs.h. */
51706 int one(void) { return 1; }
51707 int two(void) { return 2; }
51710 main ()
51712 two();
51714 return 0;
51716 _ACEOF
51717 if ac_fn_c_try_link "$LINENO"; then :
51718 ac_gcsections=yes
51719 else
51720 ac_gcsections=no
51722 rm -f core conftest.err conftest.$ac_objext \
51723 conftest$ac_exeext conftest.$ac_ext
51724 if test "$ac_gcsections" = "yes"; then
51725 rm -f conftest.c
51726 touch conftest.c
51727 if $CC -c conftest.c; then
51728 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51729 grep "Warning: gc-sections option ignored" > /dev/null; then
51730 ac_gcsections=no
51733 rm -f conftest.c conftest.o conftest
51735 if test "$ac_gcsections" = "yes"; then
51736 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51739 $as_echo "$ac_gcsections" >&6; }
51741 if test "$ac_test_CFLAGS" = set; then
51742 CFLAGS="$ac_save_CFLAGS"
51743 else
51744 # this is the suspicious part
51745 CFLAGS=''
51749 # Set -z,relro.
51750 # Note this is only for shared objects.
51751 ac_ld_relro=no
51752 if test x"$with_gnu_ld" = x"yes"; then
51753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51754 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51755 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51756 if test -n "$cxx_z_relo"; then
51757 OPT_LDFLAGS="-Wl,-z,relro"
51758 ac_ld_relro=yes
51760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51761 $as_echo "$ac_ld_relro" >&6; }
51764 # Set linker optimization flags.
51765 if test x"$with_gnu_ld" = x"yes"; then
51766 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51773 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51774 ac_save_CXXFLAGS="$CXXFLAGS"
51775 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
51778 $as_echo_n "checking for sin in -lm... " >&6; }
51779 if test "${ac_cv_lib_m_sin+set}" = set; then :
51780 $as_echo_n "(cached) " >&6
51781 else
51782 ac_check_lib_save_LIBS=$LIBS
51783 LIBS="-lm $LIBS"
51784 if test x$gcc_no_link = xyes; then
51785 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51788 /* end confdefs.h. */
51790 /* Override any GCC internal prototype to avoid an error.
51791 Use char because int might match the return type of a GCC
51792 builtin and then its argument prototype would still apply. */
51793 #ifdef __cplusplus
51794 extern "C"
51795 #endif
51796 char sin ();
51798 main ()
51800 return sin ();
51802 return 0;
51804 _ACEOF
51805 if ac_fn_c_try_link "$LINENO"; then :
51806 ac_cv_lib_m_sin=yes
51807 else
51808 ac_cv_lib_m_sin=no
51810 rm -f core conftest.err conftest.$ac_objext \
51811 conftest$ac_exeext conftest.$ac_ext
51812 LIBS=$ac_check_lib_save_LIBS
51814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51815 $as_echo "$ac_cv_lib_m_sin" >&6; }
51816 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51817 libm="-lm"
51820 ac_save_LIBS="$LIBS"
51821 LIBS="$LIBS $libm"
51825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51826 $as_echo_n "checking for isinf declaration... " >&6; }
51827 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51828 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51829 $as_echo_n "(cached) " >&6
51830 else
51833 ac_ext=cpp
51834 ac_cpp='$CXXCPP $CPPFLAGS'
51835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51840 /* end confdefs.h. */
51841 #include <math.h>
51842 #ifdef HAVE_IEEEFP_H
51843 #include <ieeefp.h>
51844 #endif
51847 main ()
51849 isinf(0);
51851 return 0;
51853 _ACEOF
51854 if ac_fn_cxx_try_compile "$LINENO"; then :
51855 glibcxx_cv_func_isinf_use=yes
51856 else
51857 glibcxx_cv_func_isinf_use=no
51859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51860 ac_ext=c
51861 ac_cpp='$CPP $CPPFLAGS'
51862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51871 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51873 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51874 for ac_func in isinf
51875 do :
51876 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51877 if test "x$ac_cv_func_isinf" = x""yes; then :
51878 cat >>confdefs.h <<_ACEOF
51879 #define HAVE_ISINF 1
51880 _ACEOF
51883 done
51885 else
51887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51888 $as_echo_n "checking for _isinf declaration... " >&6; }
51889 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51890 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51891 $as_echo_n "(cached) " >&6
51892 else
51895 ac_ext=cpp
51896 ac_cpp='$CXXCPP $CPPFLAGS'
51897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51902 /* end confdefs.h. */
51903 #include <math.h>
51904 #ifdef HAVE_IEEEFP_H
51905 #include <ieeefp.h>
51906 #endif
51909 main ()
51911 _isinf(0);
51913 return 0;
51915 _ACEOF
51916 if ac_fn_cxx_try_compile "$LINENO"; then :
51917 glibcxx_cv_func__isinf_use=yes
51918 else
51919 glibcxx_cv_func__isinf_use=no
51921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51922 ac_ext=c
51923 ac_cpp='$CPP $CPPFLAGS'
51924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
51933 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51935 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51936 for ac_func in _isinf
51937 do :
51938 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51939 if test "x$ac_cv_func__isinf" = x""yes; then :
51940 cat >>confdefs.h <<_ACEOF
51941 #define HAVE__ISINF 1
51942 _ACEOF
51945 done
51954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51955 $as_echo_n "checking for isnan declaration... " >&6; }
51956 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51957 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51958 $as_echo_n "(cached) " >&6
51959 else
51962 ac_ext=cpp
51963 ac_cpp='$CXXCPP $CPPFLAGS'
51964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51969 /* end confdefs.h. */
51970 #include <math.h>
51971 #ifdef HAVE_IEEEFP_H
51972 #include <ieeefp.h>
51973 #endif
51976 main ()
51978 isnan(0);
51980 return 0;
51982 _ACEOF
51983 if ac_fn_cxx_try_compile "$LINENO"; then :
51984 glibcxx_cv_func_isnan_use=yes
51985 else
51986 glibcxx_cv_func_isnan_use=no
51988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51989 ac_ext=c
51990 ac_cpp='$CPP $CPPFLAGS'
51991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52000 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52002 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52003 for ac_func in isnan
52004 do :
52005 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52006 if test "x$ac_cv_func_isnan" = x""yes; then :
52007 cat >>confdefs.h <<_ACEOF
52008 #define HAVE_ISNAN 1
52009 _ACEOF
52012 done
52014 else
52016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52017 $as_echo_n "checking for _isnan declaration... " >&6; }
52018 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52019 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52020 $as_echo_n "(cached) " >&6
52021 else
52024 ac_ext=cpp
52025 ac_cpp='$CXXCPP $CPPFLAGS'
52026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52031 /* end confdefs.h. */
52032 #include <math.h>
52033 #ifdef HAVE_IEEEFP_H
52034 #include <ieeefp.h>
52035 #endif
52038 main ()
52040 _isnan(0);
52042 return 0;
52044 _ACEOF
52045 if ac_fn_cxx_try_compile "$LINENO"; then :
52046 glibcxx_cv_func__isnan_use=yes
52047 else
52048 glibcxx_cv_func__isnan_use=no
52050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52051 ac_ext=c
52052 ac_cpp='$CPP $CPPFLAGS'
52053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52062 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52064 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52065 for ac_func in _isnan
52066 do :
52067 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
52068 if test "x$ac_cv_func__isnan" = x""yes; then :
52069 cat >>confdefs.h <<_ACEOF
52070 #define HAVE__ISNAN 1
52071 _ACEOF
52074 done
52083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
52084 $as_echo_n "checking for finite declaration... " >&6; }
52085 if test x${glibcxx_cv_func_finite_use+set} != xset; then
52086 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
52087 $as_echo_n "(cached) " >&6
52088 else
52091 ac_ext=cpp
52092 ac_cpp='$CXXCPP $CPPFLAGS'
52093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52098 /* end confdefs.h. */
52099 #include <math.h>
52100 #ifdef HAVE_IEEEFP_H
52101 #include <ieeefp.h>
52102 #endif
52105 main ()
52107 finite(0);
52109 return 0;
52111 _ACEOF
52112 if ac_fn_cxx_try_compile "$LINENO"; then :
52113 glibcxx_cv_func_finite_use=yes
52114 else
52115 glibcxx_cv_func_finite_use=no
52117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52118 ac_ext=c
52119 ac_cpp='$CPP $CPPFLAGS'
52120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
52129 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
52131 if test x$glibcxx_cv_func_finite_use = x"yes"; then
52132 for ac_func in finite
52133 do :
52134 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
52135 if test "x$ac_cv_func_finite" = x""yes; then :
52136 cat >>confdefs.h <<_ACEOF
52137 #define HAVE_FINITE 1
52138 _ACEOF
52141 done
52143 else
52145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
52146 $as_echo_n "checking for _finite declaration... " >&6; }
52147 if test x${glibcxx_cv_func__finite_use+set} != xset; then
52148 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
52149 $as_echo_n "(cached) " >&6
52150 else
52153 ac_ext=cpp
52154 ac_cpp='$CXXCPP $CPPFLAGS'
52155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52160 /* end confdefs.h. */
52161 #include <math.h>
52162 #ifdef HAVE_IEEEFP_H
52163 #include <ieeefp.h>
52164 #endif
52167 main ()
52169 _finite(0);
52171 return 0;
52173 _ACEOF
52174 if ac_fn_cxx_try_compile "$LINENO"; then :
52175 glibcxx_cv_func__finite_use=yes
52176 else
52177 glibcxx_cv_func__finite_use=no
52179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52180 ac_ext=c
52181 ac_cpp='$CPP $CPPFLAGS'
52182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
52191 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
52193 if test x$glibcxx_cv_func__finite_use = x"yes"; then
52194 for ac_func in _finite
52195 do :
52196 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
52197 if test "x$ac_cv_func__finite" = x""yes; then :
52198 cat >>confdefs.h <<_ACEOF
52199 #define HAVE__FINITE 1
52200 _ACEOF
52203 done
52212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
52213 $as_echo_n "checking for sincos declaration... " >&6; }
52214 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
52215 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
52216 $as_echo_n "(cached) " >&6
52217 else
52220 ac_ext=cpp
52221 ac_cpp='$CXXCPP $CPPFLAGS'
52222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52227 /* end confdefs.h. */
52228 #include <math.h>
52230 main ()
52232 sincos(0, 0, 0);
52234 return 0;
52236 _ACEOF
52237 if ac_fn_cxx_try_compile "$LINENO"; then :
52238 glibcxx_cv_func_sincos_use=yes
52239 else
52240 glibcxx_cv_func_sincos_use=no
52242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52243 ac_ext=c
52244 ac_cpp='$CPP $CPPFLAGS'
52245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
52254 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
52256 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
52257 for ac_func in sincos
52258 do :
52259 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
52260 if test "x$ac_cv_func_sincos" = x""yes; then :
52261 cat >>confdefs.h <<_ACEOF
52262 #define HAVE_SINCOS 1
52263 _ACEOF
52266 done
52268 else
52270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
52271 $as_echo_n "checking for _sincos declaration... " >&6; }
52272 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
52273 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
52274 $as_echo_n "(cached) " >&6
52275 else
52278 ac_ext=cpp
52279 ac_cpp='$CXXCPP $CPPFLAGS'
52280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52285 /* end confdefs.h. */
52286 #include <math.h>
52288 main ()
52290 _sincos(0, 0, 0);
52292 return 0;
52294 _ACEOF
52295 if ac_fn_cxx_try_compile "$LINENO"; then :
52296 glibcxx_cv_func__sincos_use=yes
52297 else
52298 glibcxx_cv_func__sincos_use=no
52300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52301 ac_ext=c
52302 ac_cpp='$CPP $CPPFLAGS'
52303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
52312 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
52314 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
52315 for ac_func in _sincos
52316 do :
52317 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
52318 if test "x$ac_cv_func__sincos" = x""yes; then :
52319 cat >>confdefs.h <<_ACEOF
52320 #define HAVE__SINCOS 1
52321 _ACEOF
52324 done
52333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
52334 $as_echo_n "checking for fpclass declaration... " >&6; }
52335 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
52336 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
52337 $as_echo_n "(cached) " >&6
52338 else
52341 ac_ext=cpp
52342 ac_cpp='$CXXCPP $CPPFLAGS'
52343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52348 /* end confdefs.h. */
52349 #include <math.h>
52350 #ifdef HAVE_IEEEFP_H
52351 #include <ieeefp.h>
52352 #endif
52355 main ()
52357 fpclass(0);
52359 return 0;
52361 _ACEOF
52362 if ac_fn_cxx_try_compile "$LINENO"; then :
52363 glibcxx_cv_func_fpclass_use=yes
52364 else
52365 glibcxx_cv_func_fpclass_use=no
52367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52368 ac_ext=c
52369 ac_cpp='$CPP $CPPFLAGS'
52370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
52379 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
52381 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
52382 for ac_func in fpclass
52383 do :
52384 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
52385 if test "x$ac_cv_func_fpclass" = x""yes; then :
52386 cat >>confdefs.h <<_ACEOF
52387 #define HAVE_FPCLASS 1
52388 _ACEOF
52391 done
52393 else
52395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
52396 $as_echo_n "checking for _fpclass declaration... " >&6; }
52397 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
52398 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
52399 $as_echo_n "(cached) " >&6
52400 else
52403 ac_ext=cpp
52404 ac_cpp='$CXXCPP $CPPFLAGS'
52405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52410 /* end confdefs.h. */
52411 #include <math.h>
52412 #ifdef HAVE_IEEEFP_H
52413 #include <ieeefp.h>
52414 #endif
52417 main ()
52419 _fpclass(0);
52421 return 0;
52423 _ACEOF
52424 if ac_fn_cxx_try_compile "$LINENO"; then :
52425 glibcxx_cv_func__fpclass_use=yes
52426 else
52427 glibcxx_cv_func__fpclass_use=no
52429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52430 ac_ext=c
52431 ac_cpp='$CPP $CPPFLAGS'
52432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
52441 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
52443 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
52444 for ac_func in _fpclass
52445 do :
52446 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
52447 if test "x$ac_cv_func__fpclass" = x""yes; then :
52448 cat >>confdefs.h <<_ACEOF
52449 #define HAVE__FPCLASS 1
52450 _ACEOF
52453 done
52462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
52463 $as_echo_n "checking for qfpclass declaration... " >&6; }
52464 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
52465 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
52466 $as_echo_n "(cached) " >&6
52467 else
52470 ac_ext=cpp
52471 ac_cpp='$CXXCPP $CPPFLAGS'
52472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52477 /* end confdefs.h. */
52478 #include <math.h>
52479 #ifdef HAVE_IEEEFP_H
52480 #include <ieeefp.h>
52481 #endif
52484 main ()
52486 qfpclass(0);
52488 return 0;
52490 _ACEOF
52491 if ac_fn_cxx_try_compile "$LINENO"; then :
52492 glibcxx_cv_func_qfpclass_use=yes
52493 else
52494 glibcxx_cv_func_qfpclass_use=no
52496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52497 ac_ext=c
52498 ac_cpp='$CPP $CPPFLAGS'
52499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
52508 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
52510 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
52511 for ac_func in qfpclass
52512 do :
52513 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
52514 if test "x$ac_cv_func_qfpclass" = x""yes; then :
52515 cat >>confdefs.h <<_ACEOF
52516 #define HAVE_QFPCLASS 1
52517 _ACEOF
52520 done
52522 else
52524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
52525 $as_echo_n "checking for _qfpclass declaration... " >&6; }
52526 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
52527 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
52528 $as_echo_n "(cached) " >&6
52529 else
52532 ac_ext=cpp
52533 ac_cpp='$CXXCPP $CPPFLAGS'
52534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52539 /* end confdefs.h. */
52540 #include <math.h>
52541 #ifdef HAVE_IEEEFP_H
52542 #include <ieeefp.h>
52543 #endif
52546 main ()
52548 _qfpclass(0);
52550 return 0;
52552 _ACEOF
52553 if ac_fn_cxx_try_compile "$LINENO"; then :
52554 glibcxx_cv_func__qfpclass_use=yes
52555 else
52556 glibcxx_cv_func__qfpclass_use=no
52558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52559 ac_ext=c
52560 ac_cpp='$CPP $CPPFLAGS'
52561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
52570 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
52572 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
52573 for ac_func in _qfpclass
52574 do :
52575 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
52576 if test "x$ac_cv_func__qfpclass" = x""yes; then :
52577 cat >>confdefs.h <<_ACEOF
52578 #define HAVE__QFPCLASS 1
52579 _ACEOF
52582 done
52591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
52592 $as_echo_n "checking for hypot declaration... " >&6; }
52593 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
52594 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
52595 $as_echo_n "(cached) " >&6
52596 else
52599 ac_ext=cpp
52600 ac_cpp='$CXXCPP $CPPFLAGS'
52601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52606 /* end confdefs.h. */
52607 #include <math.h>
52609 main ()
52611 hypot(0, 0);
52613 return 0;
52615 _ACEOF
52616 if ac_fn_cxx_try_compile "$LINENO"; then :
52617 glibcxx_cv_func_hypot_use=yes
52618 else
52619 glibcxx_cv_func_hypot_use=no
52621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52622 ac_ext=c
52623 ac_cpp='$CPP $CPPFLAGS'
52624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
52633 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
52635 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
52636 for ac_func in hypot
52637 do :
52638 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
52639 if test "x$ac_cv_func_hypot" = x""yes; then :
52640 cat >>confdefs.h <<_ACEOF
52641 #define HAVE_HYPOT 1
52642 _ACEOF
52645 done
52647 else
52649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
52650 $as_echo_n "checking for _hypot declaration... " >&6; }
52651 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
52652 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
52653 $as_echo_n "(cached) " >&6
52654 else
52657 ac_ext=cpp
52658 ac_cpp='$CXXCPP $CPPFLAGS'
52659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52664 /* end confdefs.h. */
52665 #include <math.h>
52667 main ()
52669 _hypot(0, 0);
52671 return 0;
52673 _ACEOF
52674 if ac_fn_cxx_try_compile "$LINENO"; then :
52675 glibcxx_cv_func__hypot_use=yes
52676 else
52677 glibcxx_cv_func__hypot_use=no
52679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52680 ac_ext=c
52681 ac_cpp='$CPP $CPPFLAGS'
52682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
52691 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
52693 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
52694 for ac_func in _hypot
52695 do :
52696 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
52697 if test "x$ac_cv_func__hypot" = x""yes; then :
52698 cat >>confdefs.h <<_ACEOF
52699 #define HAVE__HYPOT 1
52700 _ACEOF
52703 done
52712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
52713 $as_echo_n "checking for float trig functions... " >&6; }
52714 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
52715 $as_echo_n "(cached) " >&6
52716 else
52719 ac_ext=cpp
52720 ac_cpp='$CXXCPP $CPPFLAGS'
52721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52726 /* end confdefs.h. */
52727 #include <math.h>
52729 main ()
52731 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
52733 return 0;
52735 _ACEOF
52736 if ac_fn_cxx_try_compile "$LINENO"; then :
52737 glibcxx_cv_func_float_trig_use=yes
52738 else
52739 glibcxx_cv_func_float_trig_use=no
52741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52742 ac_ext=c
52743 ac_cpp='$CPP $CPPFLAGS'
52744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
52751 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
52752 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
52753 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
52754 do :
52755 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52756 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52757 eval as_val=\$$as_ac_var
52758 if test "x$as_val" = x""yes; then :
52759 cat >>confdefs.h <<_ACEOF
52760 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52761 _ACEOF
52764 done
52766 else
52767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
52768 $as_echo_n "checking for _float trig functions... " >&6; }
52769 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
52770 $as_echo_n "(cached) " >&6
52771 else
52774 ac_ext=cpp
52775 ac_cpp='$CXXCPP $CPPFLAGS'
52776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52781 /* end confdefs.h. */
52782 #include <math.h>
52784 main ()
52786 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
52788 return 0;
52790 _ACEOF
52791 if ac_fn_cxx_try_compile "$LINENO"; then :
52792 glibcxx_cv_func__float_trig_use=yes
52793 else
52794 glibcxx_cv_func__float_trig_use=no
52796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52797 ac_ext=c
52798 ac_cpp='$CPP $CPPFLAGS'
52799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
52806 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
52807 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
52808 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
52809 do :
52810 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52811 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52812 eval as_val=\$$as_ac_var
52813 if test "x$as_val" = x""yes; then :
52814 cat >>confdefs.h <<_ACEOF
52815 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52816 _ACEOF
52819 done
52828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52829 $as_echo_n "checking for float round functions... " >&6; }
52830 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52831 $as_echo_n "(cached) " >&6
52832 else
52835 ac_ext=cpp
52836 ac_cpp='$CXXCPP $CPPFLAGS'
52837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52842 /* end confdefs.h. */
52843 #include <math.h>
52845 main ()
52847 ceilf (0); floorf (0);
52849 return 0;
52851 _ACEOF
52852 if ac_fn_cxx_try_compile "$LINENO"; then :
52853 glibcxx_cv_func_float_round_use=yes
52854 else
52855 glibcxx_cv_func_float_round_use=no
52857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52858 ac_ext=c
52859 ac_cpp='$CPP $CPPFLAGS'
52860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52867 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52868 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52869 for ac_func in ceilf floorf
52870 do :
52871 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52872 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52873 eval as_val=\$$as_ac_var
52874 if test "x$as_val" = x""yes; then :
52875 cat >>confdefs.h <<_ACEOF
52876 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52877 _ACEOF
52880 done
52882 else
52883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52884 $as_echo_n "checking for _float round functions... " >&6; }
52885 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52886 $as_echo_n "(cached) " >&6
52887 else
52890 ac_ext=cpp
52891 ac_cpp='$CXXCPP $CPPFLAGS'
52892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52897 /* end confdefs.h. */
52898 #include <math.h>
52900 main ()
52902 _ceilf (0); _floorf (0);
52904 return 0;
52906 _ACEOF
52907 if ac_fn_cxx_try_compile "$LINENO"; then :
52908 glibcxx_cv_func__float_round_use=yes
52909 else
52910 glibcxx_cv_func__float_round_use=no
52912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52913 ac_ext=c
52914 ac_cpp='$CPP $CPPFLAGS'
52915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52922 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52923 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52924 for ac_func in _ceilf _floorf
52925 do :
52926 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52927 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52928 eval as_val=\$$as_ac_var
52929 if test "x$as_val" = x""yes; then :
52930 cat >>confdefs.h <<_ACEOF
52931 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52932 _ACEOF
52935 done
52945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52946 $as_echo_n "checking for expf declaration... " >&6; }
52947 if test x${glibcxx_cv_func_expf_use+set} != xset; then
52948 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52949 $as_echo_n "(cached) " >&6
52950 else
52953 ac_ext=cpp
52954 ac_cpp='$CXXCPP $CPPFLAGS'
52955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52960 /* end confdefs.h. */
52961 #include <math.h>
52962 #ifdef HAVE_IEEEFP_H
52963 #include <ieeefp.h>
52964 #endif
52967 main ()
52969 expf(0);
52971 return 0;
52973 _ACEOF
52974 if ac_fn_cxx_try_compile "$LINENO"; then :
52975 glibcxx_cv_func_expf_use=yes
52976 else
52977 glibcxx_cv_func_expf_use=no
52979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52980 ac_ext=c
52981 ac_cpp='$CPP $CPPFLAGS'
52982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
52991 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
52993 if test x$glibcxx_cv_func_expf_use = x"yes"; then
52994 for ac_func in expf
52995 do :
52996 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
52997 if test "x$ac_cv_func_expf" = x""yes; then :
52998 cat >>confdefs.h <<_ACEOF
52999 #define HAVE_EXPF 1
53000 _ACEOF
53003 done
53005 else
53007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53008 $as_echo_n "checking for _expf declaration... " >&6; }
53009 if test x${glibcxx_cv_func__expf_use+set} != xset; then
53010 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53011 $as_echo_n "(cached) " >&6
53012 else
53015 ac_ext=cpp
53016 ac_cpp='$CXXCPP $CPPFLAGS'
53017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53022 /* end confdefs.h. */
53023 #include <math.h>
53024 #ifdef HAVE_IEEEFP_H
53025 #include <ieeefp.h>
53026 #endif
53029 main ()
53031 _expf(0);
53033 return 0;
53035 _ACEOF
53036 if ac_fn_cxx_try_compile "$LINENO"; then :
53037 glibcxx_cv_func__expf_use=yes
53038 else
53039 glibcxx_cv_func__expf_use=no
53041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53042 ac_ext=c
53043 ac_cpp='$CPP $CPPFLAGS'
53044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53053 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53055 if test x$glibcxx_cv_func__expf_use = x"yes"; then
53056 for ac_func in _expf
53057 do :
53058 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53059 if test "x$ac_cv_func__expf" = x""yes; then :
53060 cat >>confdefs.h <<_ACEOF
53061 #define HAVE__EXPF 1
53062 _ACEOF
53065 done
53074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
53075 $as_echo_n "checking for isnanf declaration... " >&6; }
53076 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
53077 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
53078 $as_echo_n "(cached) " >&6
53079 else
53082 ac_ext=cpp
53083 ac_cpp='$CXXCPP $CPPFLAGS'
53084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53089 /* end confdefs.h. */
53090 #include <math.h>
53091 #ifdef HAVE_IEEEFP_H
53092 #include <ieeefp.h>
53093 #endif
53096 main ()
53098 isnanf(0);
53100 return 0;
53102 _ACEOF
53103 if ac_fn_cxx_try_compile "$LINENO"; then :
53104 glibcxx_cv_func_isnanf_use=yes
53105 else
53106 glibcxx_cv_func_isnanf_use=no
53108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53109 ac_ext=c
53110 ac_cpp='$CPP $CPPFLAGS'
53111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
53120 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
53122 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
53123 for ac_func in isnanf
53124 do :
53125 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
53126 if test "x$ac_cv_func_isnanf" = x""yes; then :
53127 cat >>confdefs.h <<_ACEOF
53128 #define HAVE_ISNANF 1
53129 _ACEOF
53132 done
53134 else
53136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
53137 $as_echo_n "checking for _isnanf declaration... " >&6; }
53138 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
53139 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
53140 $as_echo_n "(cached) " >&6
53141 else
53144 ac_ext=cpp
53145 ac_cpp='$CXXCPP $CPPFLAGS'
53146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53151 /* end confdefs.h. */
53152 #include <math.h>
53153 #ifdef HAVE_IEEEFP_H
53154 #include <ieeefp.h>
53155 #endif
53158 main ()
53160 _isnanf(0);
53162 return 0;
53164 _ACEOF
53165 if ac_fn_cxx_try_compile "$LINENO"; then :
53166 glibcxx_cv_func__isnanf_use=yes
53167 else
53168 glibcxx_cv_func__isnanf_use=no
53170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53171 ac_ext=c
53172 ac_cpp='$CPP $CPPFLAGS'
53173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
53182 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
53184 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
53185 for ac_func in _isnanf
53186 do :
53187 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
53188 if test "x$ac_cv_func__isnanf" = x""yes; then :
53189 cat >>confdefs.h <<_ACEOF
53190 #define HAVE__ISNANF 1
53191 _ACEOF
53194 done
53203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
53204 $as_echo_n "checking for isinff declaration... " >&6; }
53205 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
53206 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
53207 $as_echo_n "(cached) " >&6
53208 else
53211 ac_ext=cpp
53212 ac_cpp='$CXXCPP $CPPFLAGS'
53213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53218 /* end confdefs.h. */
53219 #include <math.h>
53220 #ifdef HAVE_IEEEFP_H
53221 #include <ieeefp.h>
53222 #endif
53225 main ()
53227 isinff(0);
53229 return 0;
53231 _ACEOF
53232 if ac_fn_cxx_try_compile "$LINENO"; then :
53233 glibcxx_cv_func_isinff_use=yes
53234 else
53235 glibcxx_cv_func_isinff_use=no
53237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53238 ac_ext=c
53239 ac_cpp='$CPP $CPPFLAGS'
53240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
53249 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
53251 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
53252 for ac_func in isinff
53253 do :
53254 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
53255 if test "x$ac_cv_func_isinff" = x""yes; then :
53256 cat >>confdefs.h <<_ACEOF
53257 #define HAVE_ISINFF 1
53258 _ACEOF
53261 done
53263 else
53265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
53266 $as_echo_n "checking for _isinff declaration... " >&6; }
53267 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
53268 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
53269 $as_echo_n "(cached) " >&6
53270 else
53273 ac_ext=cpp
53274 ac_cpp='$CXXCPP $CPPFLAGS'
53275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53280 /* end confdefs.h. */
53281 #include <math.h>
53282 #ifdef HAVE_IEEEFP_H
53283 #include <ieeefp.h>
53284 #endif
53287 main ()
53289 _isinff(0);
53291 return 0;
53293 _ACEOF
53294 if ac_fn_cxx_try_compile "$LINENO"; then :
53295 glibcxx_cv_func__isinff_use=yes
53296 else
53297 glibcxx_cv_func__isinff_use=no
53299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53300 ac_ext=c
53301 ac_cpp='$CPP $CPPFLAGS'
53302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
53311 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
53313 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
53314 for ac_func in _isinff
53315 do :
53316 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
53317 if test "x$ac_cv_func__isinff" = x""yes; then :
53318 cat >>confdefs.h <<_ACEOF
53319 #define HAVE__ISINFF 1
53320 _ACEOF
53323 done
53332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
53333 $as_echo_n "checking for atan2f declaration... " >&6; }
53334 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
53335 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
53336 $as_echo_n "(cached) " >&6
53337 else
53340 ac_ext=cpp
53341 ac_cpp='$CXXCPP $CPPFLAGS'
53342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53347 /* end confdefs.h. */
53348 #include <math.h>
53350 main ()
53352 atan2f(0, 0);
53354 return 0;
53356 _ACEOF
53357 if ac_fn_cxx_try_compile "$LINENO"; then :
53358 glibcxx_cv_func_atan2f_use=yes
53359 else
53360 glibcxx_cv_func_atan2f_use=no
53362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53363 ac_ext=c
53364 ac_cpp='$CPP $CPPFLAGS'
53365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
53374 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
53376 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
53377 for ac_func in atan2f
53378 do :
53379 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
53380 if test "x$ac_cv_func_atan2f" = x""yes; then :
53381 cat >>confdefs.h <<_ACEOF
53382 #define HAVE_ATAN2F 1
53383 _ACEOF
53386 done
53388 else
53390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
53391 $as_echo_n "checking for _atan2f declaration... " >&6; }
53392 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
53393 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
53394 $as_echo_n "(cached) " >&6
53395 else
53398 ac_ext=cpp
53399 ac_cpp='$CXXCPP $CPPFLAGS'
53400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53405 /* end confdefs.h. */
53406 #include <math.h>
53408 main ()
53410 _atan2f(0, 0);
53412 return 0;
53414 _ACEOF
53415 if ac_fn_cxx_try_compile "$LINENO"; then :
53416 glibcxx_cv_func__atan2f_use=yes
53417 else
53418 glibcxx_cv_func__atan2f_use=no
53420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53421 ac_ext=c
53422 ac_cpp='$CPP $CPPFLAGS'
53423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
53432 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
53434 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
53435 for ac_func in _atan2f
53436 do :
53437 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
53438 if test "x$ac_cv_func__atan2f" = x""yes; then :
53439 cat >>confdefs.h <<_ACEOF
53440 #define HAVE__ATAN2F 1
53441 _ACEOF
53444 done
53453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
53454 $as_echo_n "checking for fabsf declaration... " >&6; }
53455 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
53456 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
53457 $as_echo_n "(cached) " >&6
53458 else
53461 ac_ext=cpp
53462 ac_cpp='$CXXCPP $CPPFLAGS'
53463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53468 /* end confdefs.h. */
53469 #include <math.h>
53470 #ifdef HAVE_IEEEFP_H
53471 #include <ieeefp.h>
53472 #endif
53475 main ()
53477 fabsf(0);
53479 return 0;
53481 _ACEOF
53482 if ac_fn_cxx_try_compile "$LINENO"; then :
53483 glibcxx_cv_func_fabsf_use=yes
53484 else
53485 glibcxx_cv_func_fabsf_use=no
53487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53488 ac_ext=c
53489 ac_cpp='$CPP $CPPFLAGS'
53490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
53499 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
53501 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
53502 for ac_func in fabsf
53503 do :
53504 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
53505 if test "x$ac_cv_func_fabsf" = x""yes; then :
53506 cat >>confdefs.h <<_ACEOF
53507 #define HAVE_FABSF 1
53508 _ACEOF
53511 done
53513 else
53515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
53516 $as_echo_n "checking for _fabsf declaration... " >&6; }
53517 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
53518 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
53519 $as_echo_n "(cached) " >&6
53520 else
53523 ac_ext=cpp
53524 ac_cpp='$CXXCPP $CPPFLAGS'
53525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53530 /* end confdefs.h. */
53531 #include <math.h>
53532 #ifdef HAVE_IEEEFP_H
53533 #include <ieeefp.h>
53534 #endif
53537 main ()
53539 _fabsf(0);
53541 return 0;
53543 _ACEOF
53544 if ac_fn_cxx_try_compile "$LINENO"; then :
53545 glibcxx_cv_func__fabsf_use=yes
53546 else
53547 glibcxx_cv_func__fabsf_use=no
53549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53550 ac_ext=c
53551 ac_cpp='$CPP $CPPFLAGS'
53552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
53561 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
53563 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
53564 for ac_func in _fabsf
53565 do :
53566 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
53567 if test "x$ac_cv_func__fabsf" = x""yes; then :
53568 cat >>confdefs.h <<_ACEOF
53569 #define HAVE__FABSF 1
53570 _ACEOF
53573 done
53582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
53583 $as_echo_n "checking for fmodf declaration... " >&6; }
53584 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
53585 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
53586 $as_echo_n "(cached) " >&6
53587 else
53590 ac_ext=cpp
53591 ac_cpp='$CXXCPP $CPPFLAGS'
53592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53597 /* end confdefs.h. */
53598 #include <math.h>
53600 main ()
53602 fmodf(0, 0);
53604 return 0;
53606 _ACEOF
53607 if ac_fn_cxx_try_compile "$LINENO"; then :
53608 glibcxx_cv_func_fmodf_use=yes
53609 else
53610 glibcxx_cv_func_fmodf_use=no
53612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53613 ac_ext=c
53614 ac_cpp='$CPP $CPPFLAGS'
53615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
53624 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
53626 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
53627 for ac_func in fmodf
53628 do :
53629 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
53630 if test "x$ac_cv_func_fmodf" = x""yes; then :
53631 cat >>confdefs.h <<_ACEOF
53632 #define HAVE_FMODF 1
53633 _ACEOF
53636 done
53638 else
53640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
53641 $as_echo_n "checking for _fmodf declaration... " >&6; }
53642 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
53643 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
53644 $as_echo_n "(cached) " >&6
53645 else
53648 ac_ext=cpp
53649 ac_cpp='$CXXCPP $CPPFLAGS'
53650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53655 /* end confdefs.h. */
53656 #include <math.h>
53658 main ()
53660 _fmodf(0, 0);
53662 return 0;
53664 _ACEOF
53665 if ac_fn_cxx_try_compile "$LINENO"; then :
53666 glibcxx_cv_func__fmodf_use=yes
53667 else
53668 glibcxx_cv_func__fmodf_use=no
53670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53671 ac_ext=c
53672 ac_cpp='$CPP $CPPFLAGS'
53673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
53682 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
53684 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
53685 for ac_func in _fmodf
53686 do :
53687 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
53688 if test "x$ac_cv_func__fmodf" = x""yes; then :
53689 cat >>confdefs.h <<_ACEOF
53690 #define HAVE__FMODF 1
53691 _ACEOF
53694 done
53703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
53704 $as_echo_n "checking for frexpf declaration... " >&6; }
53705 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
53706 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
53707 $as_echo_n "(cached) " >&6
53708 else
53711 ac_ext=cpp
53712 ac_cpp='$CXXCPP $CPPFLAGS'
53713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53718 /* end confdefs.h. */
53719 #include <math.h>
53721 main ()
53723 frexpf(0, 0);
53725 return 0;
53727 _ACEOF
53728 if ac_fn_cxx_try_compile "$LINENO"; then :
53729 glibcxx_cv_func_frexpf_use=yes
53730 else
53731 glibcxx_cv_func_frexpf_use=no
53733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53734 ac_ext=c
53735 ac_cpp='$CPP $CPPFLAGS'
53736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
53745 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
53747 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
53748 for ac_func in frexpf
53749 do :
53750 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
53751 if test "x$ac_cv_func_frexpf" = x""yes; then :
53752 cat >>confdefs.h <<_ACEOF
53753 #define HAVE_FREXPF 1
53754 _ACEOF
53757 done
53759 else
53761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
53762 $as_echo_n "checking for _frexpf declaration... " >&6; }
53763 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
53764 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
53765 $as_echo_n "(cached) " >&6
53766 else
53769 ac_ext=cpp
53770 ac_cpp='$CXXCPP $CPPFLAGS'
53771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53776 /* end confdefs.h. */
53777 #include <math.h>
53779 main ()
53781 _frexpf(0, 0);
53783 return 0;
53785 _ACEOF
53786 if ac_fn_cxx_try_compile "$LINENO"; then :
53787 glibcxx_cv_func__frexpf_use=yes
53788 else
53789 glibcxx_cv_func__frexpf_use=no
53791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53792 ac_ext=c
53793 ac_cpp='$CPP $CPPFLAGS'
53794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
53803 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
53805 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
53806 for ac_func in _frexpf
53807 do :
53808 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
53809 if test "x$ac_cv_func__frexpf" = x""yes; then :
53810 cat >>confdefs.h <<_ACEOF
53811 #define HAVE__FREXPF 1
53812 _ACEOF
53815 done
53824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53825 $as_echo_n "checking for hypotf declaration... " >&6; }
53826 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53827 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53828 $as_echo_n "(cached) " >&6
53829 else
53832 ac_ext=cpp
53833 ac_cpp='$CXXCPP $CPPFLAGS'
53834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53839 /* end confdefs.h. */
53840 #include <math.h>
53842 main ()
53844 hypotf(0, 0);
53846 return 0;
53848 _ACEOF
53849 if ac_fn_cxx_try_compile "$LINENO"; then :
53850 glibcxx_cv_func_hypotf_use=yes
53851 else
53852 glibcxx_cv_func_hypotf_use=no
53854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53855 ac_ext=c
53856 ac_cpp='$CPP $CPPFLAGS'
53857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53866 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53868 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53869 for ac_func in hypotf
53870 do :
53871 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53872 if test "x$ac_cv_func_hypotf" = x""yes; then :
53873 cat >>confdefs.h <<_ACEOF
53874 #define HAVE_HYPOTF 1
53875 _ACEOF
53878 done
53880 else
53882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53883 $as_echo_n "checking for _hypotf declaration... " >&6; }
53884 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53885 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53886 $as_echo_n "(cached) " >&6
53887 else
53890 ac_ext=cpp
53891 ac_cpp='$CXXCPP $CPPFLAGS'
53892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53897 /* end confdefs.h. */
53898 #include <math.h>
53900 main ()
53902 _hypotf(0, 0);
53904 return 0;
53906 _ACEOF
53907 if ac_fn_cxx_try_compile "$LINENO"; then :
53908 glibcxx_cv_func__hypotf_use=yes
53909 else
53910 glibcxx_cv_func__hypotf_use=no
53912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53913 ac_ext=c
53914 ac_cpp='$CPP $CPPFLAGS'
53915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
53924 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53926 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53927 for ac_func in _hypotf
53928 do :
53929 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53930 if test "x$ac_cv_func__hypotf" = x""yes; then :
53931 cat >>confdefs.h <<_ACEOF
53932 #define HAVE__HYPOTF 1
53933 _ACEOF
53936 done
53945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
53946 $as_echo_n "checking for ldexpf declaration... " >&6; }
53947 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53948 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
53949 $as_echo_n "(cached) " >&6
53950 else
53953 ac_ext=cpp
53954 ac_cpp='$CXXCPP $CPPFLAGS'
53955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53960 /* end confdefs.h. */
53961 #include <math.h>
53963 main ()
53965 ldexpf(0, 0);
53967 return 0;
53969 _ACEOF
53970 if ac_fn_cxx_try_compile "$LINENO"; then :
53971 glibcxx_cv_func_ldexpf_use=yes
53972 else
53973 glibcxx_cv_func_ldexpf_use=no
53975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53976 ac_ext=c
53977 ac_cpp='$CPP $CPPFLAGS'
53978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
53987 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
53989 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
53990 for ac_func in ldexpf
53991 do :
53992 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
53993 if test "x$ac_cv_func_ldexpf" = x""yes; then :
53994 cat >>confdefs.h <<_ACEOF
53995 #define HAVE_LDEXPF 1
53996 _ACEOF
53999 done
54001 else
54003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54004 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54005 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54006 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54007 $as_echo_n "(cached) " >&6
54008 else
54011 ac_ext=cpp
54012 ac_cpp='$CXXCPP $CPPFLAGS'
54013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54018 /* end confdefs.h. */
54019 #include <math.h>
54021 main ()
54023 _ldexpf(0, 0);
54025 return 0;
54027 _ACEOF
54028 if ac_fn_cxx_try_compile "$LINENO"; then :
54029 glibcxx_cv_func__ldexpf_use=yes
54030 else
54031 glibcxx_cv_func__ldexpf_use=no
54033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54034 ac_ext=c
54035 ac_cpp='$CPP $CPPFLAGS'
54036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54045 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54047 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54048 for ac_func in _ldexpf
54049 do :
54050 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54051 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54052 cat >>confdefs.h <<_ACEOF
54053 #define HAVE__LDEXPF 1
54054 _ACEOF
54057 done
54066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
54067 $as_echo_n "checking for logf declaration... " >&6; }
54068 if test x${glibcxx_cv_func_logf_use+set} != xset; then
54069 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
54070 $as_echo_n "(cached) " >&6
54071 else
54074 ac_ext=cpp
54075 ac_cpp='$CXXCPP $CPPFLAGS'
54076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54081 /* end confdefs.h. */
54082 #include <math.h>
54083 #ifdef HAVE_IEEEFP_H
54084 #include <ieeefp.h>
54085 #endif
54088 main ()
54090 logf(0);
54092 return 0;
54094 _ACEOF
54095 if ac_fn_cxx_try_compile "$LINENO"; then :
54096 glibcxx_cv_func_logf_use=yes
54097 else
54098 glibcxx_cv_func_logf_use=no
54100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54101 ac_ext=c
54102 ac_cpp='$CPP $CPPFLAGS'
54103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
54112 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
54114 if test x$glibcxx_cv_func_logf_use = x"yes"; then
54115 for ac_func in logf
54116 do :
54117 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
54118 if test "x$ac_cv_func_logf" = x""yes; then :
54119 cat >>confdefs.h <<_ACEOF
54120 #define HAVE_LOGF 1
54121 _ACEOF
54124 done
54126 else
54128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
54129 $as_echo_n "checking for _logf declaration... " >&6; }
54130 if test x${glibcxx_cv_func__logf_use+set} != xset; then
54131 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
54132 $as_echo_n "(cached) " >&6
54133 else
54136 ac_ext=cpp
54137 ac_cpp='$CXXCPP $CPPFLAGS'
54138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54143 /* end confdefs.h. */
54144 #include <math.h>
54145 #ifdef HAVE_IEEEFP_H
54146 #include <ieeefp.h>
54147 #endif
54150 main ()
54152 _logf(0);
54154 return 0;
54156 _ACEOF
54157 if ac_fn_cxx_try_compile "$LINENO"; then :
54158 glibcxx_cv_func__logf_use=yes
54159 else
54160 glibcxx_cv_func__logf_use=no
54162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54163 ac_ext=c
54164 ac_cpp='$CPP $CPPFLAGS'
54165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
54174 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
54176 if test x$glibcxx_cv_func__logf_use = x"yes"; then
54177 for ac_func in _logf
54178 do :
54179 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
54180 if test "x$ac_cv_func__logf" = x""yes; then :
54181 cat >>confdefs.h <<_ACEOF
54182 #define HAVE__LOGF 1
54183 _ACEOF
54186 done
54195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
54196 $as_echo_n "checking for log10f declaration... " >&6; }
54197 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
54198 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
54199 $as_echo_n "(cached) " >&6
54200 else
54203 ac_ext=cpp
54204 ac_cpp='$CXXCPP $CPPFLAGS'
54205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54210 /* end confdefs.h. */
54211 #include <math.h>
54212 #ifdef HAVE_IEEEFP_H
54213 #include <ieeefp.h>
54214 #endif
54217 main ()
54219 log10f(0);
54221 return 0;
54223 _ACEOF
54224 if ac_fn_cxx_try_compile "$LINENO"; then :
54225 glibcxx_cv_func_log10f_use=yes
54226 else
54227 glibcxx_cv_func_log10f_use=no
54229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54230 ac_ext=c
54231 ac_cpp='$CPP $CPPFLAGS'
54232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
54241 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
54243 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
54244 for ac_func in log10f
54245 do :
54246 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
54247 if test "x$ac_cv_func_log10f" = x""yes; then :
54248 cat >>confdefs.h <<_ACEOF
54249 #define HAVE_LOG10F 1
54250 _ACEOF
54253 done
54255 else
54257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
54258 $as_echo_n "checking for _log10f declaration... " >&6; }
54259 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
54260 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
54261 $as_echo_n "(cached) " >&6
54262 else
54265 ac_ext=cpp
54266 ac_cpp='$CXXCPP $CPPFLAGS'
54267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54272 /* end confdefs.h. */
54273 #include <math.h>
54274 #ifdef HAVE_IEEEFP_H
54275 #include <ieeefp.h>
54276 #endif
54279 main ()
54281 _log10f(0);
54283 return 0;
54285 _ACEOF
54286 if ac_fn_cxx_try_compile "$LINENO"; then :
54287 glibcxx_cv_func__log10f_use=yes
54288 else
54289 glibcxx_cv_func__log10f_use=no
54291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54292 ac_ext=c
54293 ac_cpp='$CPP $CPPFLAGS'
54294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
54303 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
54305 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
54306 for ac_func in _log10f
54307 do :
54308 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
54309 if test "x$ac_cv_func__log10f" = x""yes; then :
54310 cat >>confdefs.h <<_ACEOF
54311 #define HAVE__LOG10F 1
54312 _ACEOF
54315 done
54324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
54325 $as_echo_n "checking for modff declaration... " >&6; }
54326 if test x${glibcxx_cv_func_modff_use+set} != xset; then
54327 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
54328 $as_echo_n "(cached) " >&6
54329 else
54332 ac_ext=cpp
54333 ac_cpp='$CXXCPP $CPPFLAGS'
54334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54339 /* end confdefs.h. */
54340 #include <math.h>
54342 main ()
54344 modff(0, 0);
54346 return 0;
54348 _ACEOF
54349 if ac_fn_cxx_try_compile "$LINENO"; then :
54350 glibcxx_cv_func_modff_use=yes
54351 else
54352 glibcxx_cv_func_modff_use=no
54354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54355 ac_ext=c
54356 ac_cpp='$CPP $CPPFLAGS'
54357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
54366 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
54368 if test x$glibcxx_cv_func_modff_use = x"yes"; then
54369 for ac_func in modff
54370 do :
54371 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
54372 if test "x$ac_cv_func_modff" = x""yes; then :
54373 cat >>confdefs.h <<_ACEOF
54374 #define HAVE_MODFF 1
54375 _ACEOF
54378 done
54380 else
54382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
54383 $as_echo_n "checking for _modff declaration... " >&6; }
54384 if test x${glibcxx_cv_func__modff_use+set} != xset; then
54385 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
54386 $as_echo_n "(cached) " >&6
54387 else
54390 ac_ext=cpp
54391 ac_cpp='$CXXCPP $CPPFLAGS'
54392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54397 /* end confdefs.h. */
54398 #include <math.h>
54400 main ()
54402 _modff(0, 0);
54404 return 0;
54406 _ACEOF
54407 if ac_fn_cxx_try_compile "$LINENO"; then :
54408 glibcxx_cv_func__modff_use=yes
54409 else
54410 glibcxx_cv_func__modff_use=no
54412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54413 ac_ext=c
54414 ac_cpp='$CPP $CPPFLAGS'
54415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
54424 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
54426 if test x$glibcxx_cv_func__modff_use = x"yes"; then
54427 for ac_func in _modff
54428 do :
54429 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
54430 if test "x$ac_cv_func__modff" = x""yes; then :
54431 cat >>confdefs.h <<_ACEOF
54432 #define HAVE__MODFF 1
54433 _ACEOF
54436 done
54445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
54446 $as_echo_n "checking for modf declaration... " >&6; }
54447 if test x${glibcxx_cv_func_modf_use+set} != xset; then
54448 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
54449 $as_echo_n "(cached) " >&6
54450 else
54453 ac_ext=cpp
54454 ac_cpp='$CXXCPP $CPPFLAGS'
54455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54460 /* end confdefs.h. */
54461 #include <math.h>
54463 main ()
54465 modf(0, 0);
54467 return 0;
54469 _ACEOF
54470 if ac_fn_cxx_try_compile "$LINENO"; then :
54471 glibcxx_cv_func_modf_use=yes
54472 else
54473 glibcxx_cv_func_modf_use=no
54475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54476 ac_ext=c
54477 ac_cpp='$CPP $CPPFLAGS'
54478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
54487 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
54489 if test x$glibcxx_cv_func_modf_use = x"yes"; then
54490 for ac_func in modf
54491 do :
54492 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
54493 if test "x$ac_cv_func_modf" = x""yes; then :
54494 cat >>confdefs.h <<_ACEOF
54495 #define HAVE_MODF 1
54496 _ACEOF
54499 done
54501 else
54503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
54504 $as_echo_n "checking for _modf declaration... " >&6; }
54505 if test x${glibcxx_cv_func__modf_use+set} != xset; then
54506 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
54507 $as_echo_n "(cached) " >&6
54508 else
54511 ac_ext=cpp
54512 ac_cpp='$CXXCPP $CPPFLAGS'
54513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54518 /* end confdefs.h. */
54519 #include <math.h>
54521 main ()
54523 _modf(0, 0);
54525 return 0;
54527 _ACEOF
54528 if ac_fn_cxx_try_compile "$LINENO"; then :
54529 glibcxx_cv_func__modf_use=yes
54530 else
54531 glibcxx_cv_func__modf_use=no
54533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54534 ac_ext=c
54535 ac_cpp='$CPP $CPPFLAGS'
54536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
54545 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
54547 if test x$glibcxx_cv_func__modf_use = x"yes"; then
54548 for ac_func in _modf
54549 do :
54550 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
54551 if test "x$ac_cv_func__modf" = x""yes; then :
54552 cat >>confdefs.h <<_ACEOF
54553 #define HAVE__MODF 1
54554 _ACEOF
54557 done
54566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
54567 $as_echo_n "checking for powf declaration... " >&6; }
54568 if test x${glibcxx_cv_func_powf_use+set} != xset; then
54569 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
54570 $as_echo_n "(cached) " >&6
54571 else
54574 ac_ext=cpp
54575 ac_cpp='$CXXCPP $CPPFLAGS'
54576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54581 /* end confdefs.h. */
54582 #include <math.h>
54584 main ()
54586 powf(0, 0);
54588 return 0;
54590 _ACEOF
54591 if ac_fn_cxx_try_compile "$LINENO"; then :
54592 glibcxx_cv_func_powf_use=yes
54593 else
54594 glibcxx_cv_func_powf_use=no
54596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54597 ac_ext=c
54598 ac_cpp='$CPP $CPPFLAGS'
54599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
54608 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
54610 if test x$glibcxx_cv_func_powf_use = x"yes"; then
54611 for ac_func in powf
54612 do :
54613 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
54614 if test "x$ac_cv_func_powf" = x""yes; then :
54615 cat >>confdefs.h <<_ACEOF
54616 #define HAVE_POWF 1
54617 _ACEOF
54620 done
54622 else
54624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
54625 $as_echo_n "checking for _powf declaration... " >&6; }
54626 if test x${glibcxx_cv_func__powf_use+set} != xset; then
54627 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
54628 $as_echo_n "(cached) " >&6
54629 else
54632 ac_ext=cpp
54633 ac_cpp='$CXXCPP $CPPFLAGS'
54634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54639 /* end confdefs.h. */
54640 #include <math.h>
54642 main ()
54644 _powf(0, 0);
54646 return 0;
54648 _ACEOF
54649 if ac_fn_cxx_try_compile "$LINENO"; then :
54650 glibcxx_cv_func__powf_use=yes
54651 else
54652 glibcxx_cv_func__powf_use=no
54654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54655 ac_ext=c
54656 ac_cpp='$CPP $CPPFLAGS'
54657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
54666 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
54668 if test x$glibcxx_cv_func__powf_use = x"yes"; then
54669 for ac_func in _powf
54670 do :
54671 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
54672 if test "x$ac_cv_func__powf" = x""yes; then :
54673 cat >>confdefs.h <<_ACEOF
54674 #define HAVE__POWF 1
54675 _ACEOF
54678 done
54687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
54688 $as_echo_n "checking for sqrtf declaration... " >&6; }
54689 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
54690 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
54691 $as_echo_n "(cached) " >&6
54692 else
54695 ac_ext=cpp
54696 ac_cpp='$CXXCPP $CPPFLAGS'
54697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54702 /* end confdefs.h. */
54703 #include <math.h>
54704 #ifdef HAVE_IEEEFP_H
54705 #include <ieeefp.h>
54706 #endif
54709 main ()
54711 sqrtf(0);
54713 return 0;
54715 _ACEOF
54716 if ac_fn_cxx_try_compile "$LINENO"; then :
54717 glibcxx_cv_func_sqrtf_use=yes
54718 else
54719 glibcxx_cv_func_sqrtf_use=no
54721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54722 ac_ext=c
54723 ac_cpp='$CPP $CPPFLAGS'
54724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
54733 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
54735 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
54736 for ac_func in sqrtf
54737 do :
54738 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
54739 if test "x$ac_cv_func_sqrtf" = x""yes; then :
54740 cat >>confdefs.h <<_ACEOF
54741 #define HAVE_SQRTF 1
54742 _ACEOF
54745 done
54747 else
54749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
54750 $as_echo_n "checking for _sqrtf declaration... " >&6; }
54751 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
54752 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
54753 $as_echo_n "(cached) " >&6
54754 else
54757 ac_ext=cpp
54758 ac_cpp='$CXXCPP $CPPFLAGS'
54759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54764 /* end confdefs.h. */
54765 #include <math.h>
54766 #ifdef HAVE_IEEEFP_H
54767 #include <ieeefp.h>
54768 #endif
54771 main ()
54773 _sqrtf(0);
54775 return 0;
54777 _ACEOF
54778 if ac_fn_cxx_try_compile "$LINENO"; then :
54779 glibcxx_cv_func__sqrtf_use=yes
54780 else
54781 glibcxx_cv_func__sqrtf_use=no
54783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54784 ac_ext=c
54785 ac_cpp='$CPP $CPPFLAGS'
54786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
54795 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
54797 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
54798 for ac_func in _sqrtf
54799 do :
54800 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
54801 if test "x$ac_cv_func__sqrtf" = x""yes; then :
54802 cat >>confdefs.h <<_ACEOF
54803 #define HAVE__SQRTF 1
54804 _ACEOF
54807 done
54816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54817 $as_echo_n "checking for sincosf declaration... " >&6; }
54818 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54819 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54820 $as_echo_n "(cached) " >&6
54821 else
54824 ac_ext=cpp
54825 ac_cpp='$CXXCPP $CPPFLAGS'
54826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54831 /* end confdefs.h. */
54832 #include <math.h>
54834 main ()
54836 sincosf(0, 0, 0);
54838 return 0;
54840 _ACEOF
54841 if ac_fn_cxx_try_compile "$LINENO"; then :
54842 glibcxx_cv_func_sincosf_use=yes
54843 else
54844 glibcxx_cv_func_sincosf_use=no
54846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54847 ac_ext=c
54848 ac_cpp='$CPP $CPPFLAGS'
54849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54858 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54860 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54861 for ac_func in sincosf
54862 do :
54863 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54864 if test "x$ac_cv_func_sincosf" = x""yes; then :
54865 cat >>confdefs.h <<_ACEOF
54866 #define HAVE_SINCOSF 1
54867 _ACEOF
54870 done
54872 else
54874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54875 $as_echo_n "checking for _sincosf declaration... " >&6; }
54876 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54877 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54878 $as_echo_n "(cached) " >&6
54879 else
54882 ac_ext=cpp
54883 ac_cpp='$CXXCPP $CPPFLAGS'
54884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54889 /* end confdefs.h. */
54890 #include <math.h>
54892 main ()
54894 _sincosf(0, 0, 0);
54896 return 0;
54898 _ACEOF
54899 if ac_fn_cxx_try_compile "$LINENO"; then :
54900 glibcxx_cv_func__sincosf_use=yes
54901 else
54902 glibcxx_cv_func__sincosf_use=no
54904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54905 ac_ext=c
54906 ac_cpp='$CPP $CPPFLAGS'
54907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54916 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54918 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54919 for ac_func in _sincosf
54920 do :
54921 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54922 if test "x$ac_cv_func__sincosf" = x""yes; then :
54923 cat >>confdefs.h <<_ACEOF
54924 #define HAVE__SINCOSF 1
54925 _ACEOF
54928 done
54937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54938 $as_echo_n "checking for finitef declaration... " >&6; }
54939 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54940 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54941 $as_echo_n "(cached) " >&6
54942 else
54945 ac_ext=cpp
54946 ac_cpp='$CXXCPP $CPPFLAGS'
54947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54952 /* end confdefs.h. */
54953 #include <math.h>
54954 #ifdef HAVE_IEEEFP_H
54955 #include <ieeefp.h>
54956 #endif
54959 main ()
54961 finitef(0);
54963 return 0;
54965 _ACEOF
54966 if ac_fn_cxx_try_compile "$LINENO"; then :
54967 glibcxx_cv_func_finitef_use=yes
54968 else
54969 glibcxx_cv_func_finitef_use=no
54971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54972 ac_ext=c
54973 ac_cpp='$CPP $CPPFLAGS'
54974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
54983 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
54985 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
54986 for ac_func in finitef
54987 do :
54988 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
54989 if test "x$ac_cv_func_finitef" = x""yes; then :
54990 cat >>confdefs.h <<_ACEOF
54991 #define HAVE_FINITEF 1
54992 _ACEOF
54995 done
54997 else
54999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55000 $as_echo_n "checking for _finitef declaration... " >&6; }
55001 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55002 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55003 $as_echo_n "(cached) " >&6
55004 else
55007 ac_ext=cpp
55008 ac_cpp='$CXXCPP $CPPFLAGS'
55009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55014 /* end confdefs.h. */
55015 #include <math.h>
55016 #ifdef HAVE_IEEEFP_H
55017 #include <ieeefp.h>
55018 #endif
55021 main ()
55023 _finitef(0);
55025 return 0;
55027 _ACEOF
55028 if ac_fn_cxx_try_compile "$LINENO"; then :
55029 glibcxx_cv_func__finitef_use=yes
55030 else
55031 glibcxx_cv_func__finitef_use=no
55033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55034 ac_ext=c
55035 ac_cpp='$CPP $CPPFLAGS'
55036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55045 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55047 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55048 for ac_func in _finitef
55049 do :
55050 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55051 if test "x$ac_cv_func__finitef" = x""yes; then :
55052 cat >>confdefs.h <<_ACEOF
55053 #define HAVE__FINITEF 1
55054 _ACEOF
55057 done
55066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
55067 $as_echo_n "checking for long double trig functions... " >&6; }
55068 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
55069 $as_echo_n "(cached) " >&6
55070 else
55073 ac_ext=cpp
55074 ac_cpp='$CXXCPP $CPPFLAGS'
55075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55080 /* end confdefs.h. */
55081 #include <math.h>
55083 main ()
55085 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
55087 return 0;
55089 _ACEOF
55090 if ac_fn_cxx_try_compile "$LINENO"; then :
55091 glibcxx_cv_func_long_double_trig_use=yes
55092 else
55093 glibcxx_cv_func_long_double_trig_use=no
55095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55096 ac_ext=c
55097 ac_cpp='$CPP $CPPFLAGS'
55098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
55105 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
55106 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
55107 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
55108 do :
55109 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55110 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55111 eval as_val=\$$as_ac_var
55112 if test "x$as_val" = x""yes; then :
55113 cat >>confdefs.h <<_ACEOF
55114 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55115 _ACEOF
55118 done
55120 else
55121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
55122 $as_echo_n "checking for _long double trig functions... " >&6; }
55123 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
55124 $as_echo_n "(cached) " >&6
55125 else
55128 ac_ext=cpp
55129 ac_cpp='$CXXCPP $CPPFLAGS'
55130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55135 /* end confdefs.h. */
55136 #include <math.h>
55138 main ()
55140 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
55142 return 0;
55144 _ACEOF
55145 if ac_fn_cxx_try_compile "$LINENO"; then :
55146 glibcxx_cv_func__long_double_trig_use=yes
55147 else
55148 glibcxx_cv_func__long_double_trig_use=no
55150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55151 ac_ext=c
55152 ac_cpp='$CPP $CPPFLAGS'
55153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
55160 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
55161 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
55162 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
55163 do :
55164 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55165 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55166 eval as_val=\$$as_ac_var
55167 if test "x$as_val" = x""yes; then :
55168 cat >>confdefs.h <<_ACEOF
55169 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55170 _ACEOF
55173 done
55182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
55183 $as_echo_n "checking for long double round functions... " >&6; }
55184 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
55185 $as_echo_n "(cached) " >&6
55186 else
55189 ac_ext=cpp
55190 ac_cpp='$CXXCPP $CPPFLAGS'
55191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55196 /* end confdefs.h. */
55197 #include <math.h>
55199 main ()
55201 ceill (0); floorl (0);
55203 return 0;
55205 _ACEOF
55206 if ac_fn_cxx_try_compile "$LINENO"; then :
55207 glibcxx_cv_func_long_double_round_use=yes
55208 else
55209 glibcxx_cv_func_long_double_round_use=no
55211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55212 ac_ext=c
55213 ac_cpp='$CPP $CPPFLAGS'
55214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
55221 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
55222 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
55223 for ac_func in ceill floorl
55224 do :
55225 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55226 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55227 eval as_val=\$$as_ac_var
55228 if test "x$as_val" = x""yes; then :
55229 cat >>confdefs.h <<_ACEOF
55230 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55231 _ACEOF
55234 done
55236 else
55237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
55238 $as_echo_n "checking for _long double round functions... " >&6; }
55239 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
55240 $as_echo_n "(cached) " >&6
55241 else
55244 ac_ext=cpp
55245 ac_cpp='$CXXCPP $CPPFLAGS'
55246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55251 /* end confdefs.h. */
55252 #include <math.h>
55254 main ()
55256 _ceill (0); _floorl (0);
55258 return 0;
55260 _ACEOF
55261 if ac_fn_cxx_try_compile "$LINENO"; then :
55262 glibcxx_cv_func__long_double_round_use=yes
55263 else
55264 glibcxx_cv_func__long_double_round_use=no
55266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55267 ac_ext=c
55268 ac_cpp='$CPP $CPPFLAGS'
55269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
55276 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
55277 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
55278 for ac_func in _ceill _floorl
55279 do :
55280 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55281 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55282 eval as_val=\$$as_ac_var
55283 if test "x$as_val" = x""yes; then :
55284 cat >>confdefs.h <<_ACEOF
55285 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55286 _ACEOF
55289 done
55299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
55300 $as_echo_n "checking for isnanl declaration... " >&6; }
55301 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
55302 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
55303 $as_echo_n "(cached) " >&6
55304 else
55307 ac_ext=cpp
55308 ac_cpp='$CXXCPP $CPPFLAGS'
55309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55314 /* end confdefs.h. */
55315 #include <math.h>
55316 #ifdef HAVE_IEEEFP_H
55317 #include <ieeefp.h>
55318 #endif
55321 main ()
55323 isnanl(0);
55325 return 0;
55327 _ACEOF
55328 if ac_fn_cxx_try_compile "$LINENO"; then :
55329 glibcxx_cv_func_isnanl_use=yes
55330 else
55331 glibcxx_cv_func_isnanl_use=no
55333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55334 ac_ext=c
55335 ac_cpp='$CPP $CPPFLAGS'
55336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
55345 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
55347 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
55348 for ac_func in isnanl
55349 do :
55350 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
55351 if test "x$ac_cv_func_isnanl" = x""yes; then :
55352 cat >>confdefs.h <<_ACEOF
55353 #define HAVE_ISNANL 1
55354 _ACEOF
55357 done
55359 else
55361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
55362 $as_echo_n "checking for _isnanl declaration... " >&6; }
55363 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
55364 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
55365 $as_echo_n "(cached) " >&6
55366 else
55369 ac_ext=cpp
55370 ac_cpp='$CXXCPP $CPPFLAGS'
55371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55376 /* end confdefs.h. */
55377 #include <math.h>
55378 #ifdef HAVE_IEEEFP_H
55379 #include <ieeefp.h>
55380 #endif
55383 main ()
55385 _isnanl(0);
55387 return 0;
55389 _ACEOF
55390 if ac_fn_cxx_try_compile "$LINENO"; then :
55391 glibcxx_cv_func__isnanl_use=yes
55392 else
55393 glibcxx_cv_func__isnanl_use=no
55395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55396 ac_ext=c
55397 ac_cpp='$CPP $CPPFLAGS'
55398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
55407 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
55409 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
55410 for ac_func in _isnanl
55411 do :
55412 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
55413 if test "x$ac_cv_func__isnanl" = x""yes; then :
55414 cat >>confdefs.h <<_ACEOF
55415 #define HAVE__ISNANL 1
55416 _ACEOF
55419 done
55428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
55429 $as_echo_n "checking for isinfl declaration... " >&6; }
55430 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
55431 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
55432 $as_echo_n "(cached) " >&6
55433 else
55436 ac_ext=cpp
55437 ac_cpp='$CXXCPP $CPPFLAGS'
55438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55443 /* end confdefs.h. */
55444 #include <math.h>
55445 #ifdef HAVE_IEEEFP_H
55446 #include <ieeefp.h>
55447 #endif
55450 main ()
55452 isinfl(0);
55454 return 0;
55456 _ACEOF
55457 if ac_fn_cxx_try_compile "$LINENO"; then :
55458 glibcxx_cv_func_isinfl_use=yes
55459 else
55460 glibcxx_cv_func_isinfl_use=no
55462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55463 ac_ext=c
55464 ac_cpp='$CPP $CPPFLAGS'
55465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
55474 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
55476 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
55477 for ac_func in isinfl
55478 do :
55479 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
55480 if test "x$ac_cv_func_isinfl" = x""yes; then :
55481 cat >>confdefs.h <<_ACEOF
55482 #define HAVE_ISINFL 1
55483 _ACEOF
55486 done
55488 else
55490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
55491 $as_echo_n "checking for _isinfl declaration... " >&6; }
55492 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
55493 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
55494 $as_echo_n "(cached) " >&6
55495 else
55498 ac_ext=cpp
55499 ac_cpp='$CXXCPP $CPPFLAGS'
55500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55505 /* end confdefs.h. */
55506 #include <math.h>
55507 #ifdef HAVE_IEEEFP_H
55508 #include <ieeefp.h>
55509 #endif
55512 main ()
55514 _isinfl(0);
55516 return 0;
55518 _ACEOF
55519 if ac_fn_cxx_try_compile "$LINENO"; then :
55520 glibcxx_cv_func__isinfl_use=yes
55521 else
55522 glibcxx_cv_func__isinfl_use=no
55524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55525 ac_ext=c
55526 ac_cpp='$CPP $CPPFLAGS'
55527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
55536 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
55538 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
55539 for ac_func in _isinfl
55540 do :
55541 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
55542 if test "x$ac_cv_func__isinfl" = x""yes; then :
55543 cat >>confdefs.h <<_ACEOF
55544 #define HAVE__ISINFL 1
55545 _ACEOF
55548 done
55557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
55558 $as_echo_n "checking for atan2l declaration... " >&6; }
55559 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55560 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
55561 $as_echo_n "(cached) " >&6
55562 else
55565 ac_ext=cpp
55566 ac_cpp='$CXXCPP $CPPFLAGS'
55567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55572 /* end confdefs.h. */
55573 #include <math.h>
55575 main ()
55577 atan2l(0, 0);
55579 return 0;
55581 _ACEOF
55582 if ac_fn_cxx_try_compile "$LINENO"; then :
55583 glibcxx_cv_func_atan2l_use=yes
55584 else
55585 glibcxx_cv_func_atan2l_use=no
55587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55588 ac_ext=c
55589 ac_cpp='$CPP $CPPFLAGS'
55590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
55599 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
55601 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55602 for ac_func in atan2l
55603 do :
55604 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
55605 if test "x$ac_cv_func_atan2l" = x""yes; then :
55606 cat >>confdefs.h <<_ACEOF
55607 #define HAVE_ATAN2L 1
55608 _ACEOF
55611 done
55613 else
55615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
55616 $as_echo_n "checking for _atan2l declaration... " >&6; }
55617 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55618 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
55619 $as_echo_n "(cached) " >&6
55620 else
55623 ac_ext=cpp
55624 ac_cpp='$CXXCPP $CPPFLAGS'
55625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55630 /* end confdefs.h. */
55631 #include <math.h>
55633 main ()
55635 _atan2l(0, 0);
55637 return 0;
55639 _ACEOF
55640 if ac_fn_cxx_try_compile "$LINENO"; then :
55641 glibcxx_cv_func__atan2l_use=yes
55642 else
55643 glibcxx_cv_func__atan2l_use=no
55645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55646 ac_ext=c
55647 ac_cpp='$CPP $CPPFLAGS'
55648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
55657 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
55659 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55660 for ac_func in _atan2l
55661 do :
55662 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
55663 if test "x$ac_cv_func__atan2l" = x""yes; then :
55664 cat >>confdefs.h <<_ACEOF
55665 #define HAVE__ATAN2L 1
55666 _ACEOF
55669 done
55678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
55679 $as_echo_n "checking for expl declaration... " >&6; }
55680 if test x${glibcxx_cv_func_expl_use+set} != xset; then
55681 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
55682 $as_echo_n "(cached) " >&6
55683 else
55686 ac_ext=cpp
55687 ac_cpp='$CXXCPP $CPPFLAGS'
55688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55693 /* end confdefs.h. */
55694 #include <math.h>
55695 #ifdef HAVE_IEEEFP_H
55696 #include <ieeefp.h>
55697 #endif
55700 main ()
55702 expl(0);
55704 return 0;
55706 _ACEOF
55707 if ac_fn_cxx_try_compile "$LINENO"; then :
55708 glibcxx_cv_func_expl_use=yes
55709 else
55710 glibcxx_cv_func_expl_use=no
55712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55713 ac_ext=c
55714 ac_cpp='$CPP $CPPFLAGS'
55715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
55724 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
55726 if test x$glibcxx_cv_func_expl_use = x"yes"; then
55727 for ac_func in expl
55728 do :
55729 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
55730 if test "x$ac_cv_func_expl" = x""yes; then :
55731 cat >>confdefs.h <<_ACEOF
55732 #define HAVE_EXPL 1
55733 _ACEOF
55736 done
55738 else
55740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
55741 $as_echo_n "checking for _expl declaration... " >&6; }
55742 if test x${glibcxx_cv_func__expl_use+set} != xset; then
55743 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
55744 $as_echo_n "(cached) " >&6
55745 else
55748 ac_ext=cpp
55749 ac_cpp='$CXXCPP $CPPFLAGS'
55750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55755 /* end confdefs.h. */
55756 #include <math.h>
55757 #ifdef HAVE_IEEEFP_H
55758 #include <ieeefp.h>
55759 #endif
55762 main ()
55764 _expl(0);
55766 return 0;
55768 _ACEOF
55769 if ac_fn_cxx_try_compile "$LINENO"; then :
55770 glibcxx_cv_func__expl_use=yes
55771 else
55772 glibcxx_cv_func__expl_use=no
55774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55775 ac_ext=c
55776 ac_cpp='$CPP $CPPFLAGS'
55777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
55786 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
55788 if test x$glibcxx_cv_func__expl_use = x"yes"; then
55789 for ac_func in _expl
55790 do :
55791 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
55792 if test "x$ac_cv_func__expl" = x""yes; then :
55793 cat >>confdefs.h <<_ACEOF
55794 #define HAVE__EXPL 1
55795 _ACEOF
55798 done
55807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
55808 $as_echo_n "checking for fabsl declaration... " >&6; }
55809 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55810 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
55811 $as_echo_n "(cached) " >&6
55812 else
55815 ac_ext=cpp
55816 ac_cpp='$CXXCPP $CPPFLAGS'
55817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55822 /* end confdefs.h. */
55823 #include <math.h>
55824 #ifdef HAVE_IEEEFP_H
55825 #include <ieeefp.h>
55826 #endif
55829 main ()
55831 fabsl(0);
55833 return 0;
55835 _ACEOF
55836 if ac_fn_cxx_try_compile "$LINENO"; then :
55837 glibcxx_cv_func_fabsl_use=yes
55838 else
55839 glibcxx_cv_func_fabsl_use=no
55841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55842 ac_ext=c
55843 ac_cpp='$CPP $CPPFLAGS'
55844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55853 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55855 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55856 for ac_func in fabsl
55857 do :
55858 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55859 if test "x$ac_cv_func_fabsl" = x""yes; then :
55860 cat >>confdefs.h <<_ACEOF
55861 #define HAVE_FABSL 1
55862 _ACEOF
55865 done
55867 else
55869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55870 $as_echo_n "checking for _fabsl declaration... " >&6; }
55871 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55872 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55873 $as_echo_n "(cached) " >&6
55874 else
55877 ac_ext=cpp
55878 ac_cpp='$CXXCPP $CPPFLAGS'
55879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55884 /* end confdefs.h. */
55885 #include <math.h>
55886 #ifdef HAVE_IEEEFP_H
55887 #include <ieeefp.h>
55888 #endif
55891 main ()
55893 _fabsl(0);
55895 return 0;
55897 _ACEOF
55898 if ac_fn_cxx_try_compile "$LINENO"; then :
55899 glibcxx_cv_func__fabsl_use=yes
55900 else
55901 glibcxx_cv_func__fabsl_use=no
55903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55904 ac_ext=c
55905 ac_cpp='$CPP $CPPFLAGS'
55906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55915 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55917 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55918 for ac_func in _fabsl
55919 do :
55920 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55921 if test "x$ac_cv_func__fabsl" = x""yes; then :
55922 cat >>confdefs.h <<_ACEOF
55923 #define HAVE__FABSL 1
55924 _ACEOF
55927 done
55936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55937 $as_echo_n "checking for fmodl declaration... " >&6; }
55938 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55939 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55940 $as_echo_n "(cached) " >&6
55941 else
55944 ac_ext=cpp
55945 ac_cpp='$CXXCPP $CPPFLAGS'
55946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55951 /* end confdefs.h. */
55952 #include <math.h>
55954 main ()
55956 fmodl(0, 0);
55958 return 0;
55960 _ACEOF
55961 if ac_fn_cxx_try_compile "$LINENO"; then :
55962 glibcxx_cv_func_fmodl_use=yes
55963 else
55964 glibcxx_cv_func_fmodl_use=no
55966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55967 ac_ext=c
55968 ac_cpp='$CPP $CPPFLAGS'
55969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
55978 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
55980 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55981 for ac_func in fmodl
55982 do :
55983 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
55984 if test "x$ac_cv_func_fmodl" = x""yes; then :
55985 cat >>confdefs.h <<_ACEOF
55986 #define HAVE_FMODL 1
55987 _ACEOF
55990 done
55992 else
55994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
55995 $as_echo_n "checking for _fmodl declaration... " >&6; }
55996 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55997 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
55998 $as_echo_n "(cached) " >&6
55999 else
56002 ac_ext=cpp
56003 ac_cpp='$CXXCPP $CPPFLAGS'
56004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56009 /* end confdefs.h. */
56010 #include <math.h>
56012 main ()
56014 _fmodl(0, 0);
56016 return 0;
56018 _ACEOF
56019 if ac_fn_cxx_try_compile "$LINENO"; then :
56020 glibcxx_cv_func__fmodl_use=yes
56021 else
56022 glibcxx_cv_func__fmodl_use=no
56024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56025 ac_ext=c
56026 ac_cpp='$CPP $CPPFLAGS'
56027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56036 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56038 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56039 for ac_func in _fmodl
56040 do :
56041 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56042 if test "x$ac_cv_func__fmodl" = x""yes; then :
56043 cat >>confdefs.h <<_ACEOF
56044 #define HAVE__FMODL 1
56045 _ACEOF
56048 done
56057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56058 $as_echo_n "checking for frexpl declaration... " >&6; }
56059 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56060 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56061 $as_echo_n "(cached) " >&6
56062 else
56065 ac_ext=cpp
56066 ac_cpp='$CXXCPP $CPPFLAGS'
56067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56072 /* end confdefs.h. */
56073 #include <math.h>
56075 main ()
56077 frexpl(0, 0);
56079 return 0;
56081 _ACEOF
56082 if ac_fn_cxx_try_compile "$LINENO"; then :
56083 glibcxx_cv_func_frexpl_use=yes
56084 else
56085 glibcxx_cv_func_frexpl_use=no
56087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56088 ac_ext=c
56089 ac_cpp='$CPP $CPPFLAGS'
56090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
56099 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
56101 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
56102 for ac_func in frexpl
56103 do :
56104 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
56105 if test "x$ac_cv_func_frexpl" = x""yes; then :
56106 cat >>confdefs.h <<_ACEOF
56107 #define HAVE_FREXPL 1
56108 _ACEOF
56111 done
56113 else
56115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
56116 $as_echo_n "checking for _frexpl declaration... " >&6; }
56117 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
56118 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
56119 $as_echo_n "(cached) " >&6
56120 else
56123 ac_ext=cpp
56124 ac_cpp='$CXXCPP $CPPFLAGS'
56125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56130 /* end confdefs.h. */
56131 #include <math.h>
56133 main ()
56135 _frexpl(0, 0);
56137 return 0;
56139 _ACEOF
56140 if ac_fn_cxx_try_compile "$LINENO"; then :
56141 glibcxx_cv_func__frexpl_use=yes
56142 else
56143 glibcxx_cv_func__frexpl_use=no
56145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56146 ac_ext=c
56147 ac_cpp='$CPP $CPPFLAGS'
56148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
56157 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
56159 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
56160 for ac_func in _frexpl
56161 do :
56162 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
56163 if test "x$ac_cv_func__frexpl" = x""yes; then :
56164 cat >>confdefs.h <<_ACEOF
56165 #define HAVE__FREXPL 1
56166 _ACEOF
56169 done
56178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
56179 $as_echo_n "checking for hypotl declaration... " >&6; }
56180 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
56181 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
56182 $as_echo_n "(cached) " >&6
56183 else
56186 ac_ext=cpp
56187 ac_cpp='$CXXCPP $CPPFLAGS'
56188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56193 /* end confdefs.h. */
56194 #include <math.h>
56196 main ()
56198 hypotl(0, 0);
56200 return 0;
56202 _ACEOF
56203 if ac_fn_cxx_try_compile "$LINENO"; then :
56204 glibcxx_cv_func_hypotl_use=yes
56205 else
56206 glibcxx_cv_func_hypotl_use=no
56208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56209 ac_ext=c
56210 ac_cpp='$CPP $CPPFLAGS'
56211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
56220 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
56222 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
56223 for ac_func in hypotl
56224 do :
56225 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
56226 if test "x$ac_cv_func_hypotl" = x""yes; then :
56227 cat >>confdefs.h <<_ACEOF
56228 #define HAVE_HYPOTL 1
56229 _ACEOF
56232 done
56234 else
56236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
56237 $as_echo_n "checking for _hypotl declaration... " >&6; }
56238 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
56239 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
56240 $as_echo_n "(cached) " >&6
56241 else
56244 ac_ext=cpp
56245 ac_cpp='$CXXCPP $CPPFLAGS'
56246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56251 /* end confdefs.h. */
56252 #include <math.h>
56254 main ()
56256 _hypotl(0, 0);
56258 return 0;
56260 _ACEOF
56261 if ac_fn_cxx_try_compile "$LINENO"; then :
56262 glibcxx_cv_func__hypotl_use=yes
56263 else
56264 glibcxx_cv_func__hypotl_use=no
56266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56267 ac_ext=c
56268 ac_cpp='$CPP $CPPFLAGS'
56269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
56278 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
56280 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
56281 for ac_func in _hypotl
56282 do :
56283 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
56284 if test "x$ac_cv_func__hypotl" = x""yes; then :
56285 cat >>confdefs.h <<_ACEOF
56286 #define HAVE__HYPOTL 1
56287 _ACEOF
56290 done
56299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
56300 $as_echo_n "checking for ldexpl declaration... " >&6; }
56301 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
56302 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
56303 $as_echo_n "(cached) " >&6
56304 else
56307 ac_ext=cpp
56308 ac_cpp='$CXXCPP $CPPFLAGS'
56309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56314 /* end confdefs.h. */
56315 #include <math.h>
56317 main ()
56319 ldexpl(0, 0);
56321 return 0;
56323 _ACEOF
56324 if ac_fn_cxx_try_compile "$LINENO"; then :
56325 glibcxx_cv_func_ldexpl_use=yes
56326 else
56327 glibcxx_cv_func_ldexpl_use=no
56329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56330 ac_ext=c
56331 ac_cpp='$CPP $CPPFLAGS'
56332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
56341 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
56343 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
56344 for ac_func in ldexpl
56345 do :
56346 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
56347 if test "x$ac_cv_func_ldexpl" = x""yes; then :
56348 cat >>confdefs.h <<_ACEOF
56349 #define HAVE_LDEXPL 1
56350 _ACEOF
56353 done
56355 else
56357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
56358 $as_echo_n "checking for _ldexpl declaration... " >&6; }
56359 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
56360 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
56361 $as_echo_n "(cached) " >&6
56362 else
56365 ac_ext=cpp
56366 ac_cpp='$CXXCPP $CPPFLAGS'
56367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56372 /* end confdefs.h. */
56373 #include <math.h>
56375 main ()
56377 _ldexpl(0, 0);
56379 return 0;
56381 _ACEOF
56382 if ac_fn_cxx_try_compile "$LINENO"; then :
56383 glibcxx_cv_func__ldexpl_use=yes
56384 else
56385 glibcxx_cv_func__ldexpl_use=no
56387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56388 ac_ext=c
56389 ac_cpp='$CPP $CPPFLAGS'
56390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
56399 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
56401 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
56402 for ac_func in _ldexpl
56403 do :
56404 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
56405 if test "x$ac_cv_func__ldexpl" = x""yes; then :
56406 cat >>confdefs.h <<_ACEOF
56407 #define HAVE__LDEXPL 1
56408 _ACEOF
56411 done
56420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
56421 $as_echo_n "checking for logl declaration... " >&6; }
56422 if test x${glibcxx_cv_func_logl_use+set} != xset; then
56423 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
56424 $as_echo_n "(cached) " >&6
56425 else
56428 ac_ext=cpp
56429 ac_cpp='$CXXCPP $CPPFLAGS'
56430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56435 /* end confdefs.h. */
56436 #include <math.h>
56437 #ifdef HAVE_IEEEFP_H
56438 #include <ieeefp.h>
56439 #endif
56442 main ()
56444 logl(0);
56446 return 0;
56448 _ACEOF
56449 if ac_fn_cxx_try_compile "$LINENO"; then :
56450 glibcxx_cv_func_logl_use=yes
56451 else
56452 glibcxx_cv_func_logl_use=no
56454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56455 ac_ext=c
56456 ac_cpp='$CPP $CPPFLAGS'
56457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
56466 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
56468 if test x$glibcxx_cv_func_logl_use = x"yes"; then
56469 for ac_func in logl
56470 do :
56471 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
56472 if test "x$ac_cv_func_logl" = x""yes; then :
56473 cat >>confdefs.h <<_ACEOF
56474 #define HAVE_LOGL 1
56475 _ACEOF
56478 done
56480 else
56482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
56483 $as_echo_n "checking for _logl declaration... " >&6; }
56484 if test x${glibcxx_cv_func__logl_use+set} != xset; then
56485 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
56486 $as_echo_n "(cached) " >&6
56487 else
56490 ac_ext=cpp
56491 ac_cpp='$CXXCPP $CPPFLAGS'
56492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56497 /* end confdefs.h. */
56498 #include <math.h>
56499 #ifdef HAVE_IEEEFP_H
56500 #include <ieeefp.h>
56501 #endif
56504 main ()
56506 _logl(0);
56508 return 0;
56510 _ACEOF
56511 if ac_fn_cxx_try_compile "$LINENO"; then :
56512 glibcxx_cv_func__logl_use=yes
56513 else
56514 glibcxx_cv_func__logl_use=no
56516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56517 ac_ext=c
56518 ac_cpp='$CPP $CPPFLAGS'
56519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
56528 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
56530 if test x$glibcxx_cv_func__logl_use = x"yes"; then
56531 for ac_func in _logl
56532 do :
56533 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
56534 if test "x$ac_cv_func__logl" = x""yes; then :
56535 cat >>confdefs.h <<_ACEOF
56536 #define HAVE__LOGL 1
56537 _ACEOF
56540 done
56549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
56550 $as_echo_n "checking for log10l declaration... " >&6; }
56551 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
56552 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
56553 $as_echo_n "(cached) " >&6
56554 else
56557 ac_ext=cpp
56558 ac_cpp='$CXXCPP $CPPFLAGS'
56559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56564 /* end confdefs.h. */
56565 #include <math.h>
56566 #ifdef HAVE_IEEEFP_H
56567 #include <ieeefp.h>
56568 #endif
56571 main ()
56573 log10l(0);
56575 return 0;
56577 _ACEOF
56578 if ac_fn_cxx_try_compile "$LINENO"; then :
56579 glibcxx_cv_func_log10l_use=yes
56580 else
56581 glibcxx_cv_func_log10l_use=no
56583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56584 ac_ext=c
56585 ac_cpp='$CPP $CPPFLAGS'
56586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
56595 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
56597 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
56598 for ac_func in log10l
56599 do :
56600 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
56601 if test "x$ac_cv_func_log10l" = x""yes; then :
56602 cat >>confdefs.h <<_ACEOF
56603 #define HAVE_LOG10L 1
56604 _ACEOF
56607 done
56609 else
56611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
56612 $as_echo_n "checking for _log10l declaration... " >&6; }
56613 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
56614 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
56615 $as_echo_n "(cached) " >&6
56616 else
56619 ac_ext=cpp
56620 ac_cpp='$CXXCPP $CPPFLAGS'
56621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56626 /* end confdefs.h. */
56627 #include <math.h>
56628 #ifdef HAVE_IEEEFP_H
56629 #include <ieeefp.h>
56630 #endif
56633 main ()
56635 _log10l(0);
56637 return 0;
56639 _ACEOF
56640 if ac_fn_cxx_try_compile "$LINENO"; then :
56641 glibcxx_cv_func__log10l_use=yes
56642 else
56643 glibcxx_cv_func__log10l_use=no
56645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56646 ac_ext=c
56647 ac_cpp='$CPP $CPPFLAGS'
56648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
56657 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
56659 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
56660 for ac_func in _log10l
56661 do :
56662 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
56663 if test "x$ac_cv_func__log10l" = x""yes; then :
56664 cat >>confdefs.h <<_ACEOF
56665 #define HAVE__LOG10L 1
56666 _ACEOF
56669 done
56678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
56679 $as_echo_n "checking for modfl declaration... " >&6; }
56680 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
56681 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
56682 $as_echo_n "(cached) " >&6
56683 else
56686 ac_ext=cpp
56687 ac_cpp='$CXXCPP $CPPFLAGS'
56688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56693 /* end confdefs.h. */
56694 #include <math.h>
56696 main ()
56698 modfl(0, 0);
56700 return 0;
56702 _ACEOF
56703 if ac_fn_cxx_try_compile "$LINENO"; then :
56704 glibcxx_cv_func_modfl_use=yes
56705 else
56706 glibcxx_cv_func_modfl_use=no
56708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56709 ac_ext=c
56710 ac_cpp='$CPP $CPPFLAGS'
56711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
56720 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
56722 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
56723 for ac_func in modfl
56724 do :
56725 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
56726 if test "x$ac_cv_func_modfl" = x""yes; then :
56727 cat >>confdefs.h <<_ACEOF
56728 #define HAVE_MODFL 1
56729 _ACEOF
56732 done
56734 else
56736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
56737 $as_echo_n "checking for _modfl declaration... " >&6; }
56738 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
56739 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
56740 $as_echo_n "(cached) " >&6
56741 else
56744 ac_ext=cpp
56745 ac_cpp='$CXXCPP $CPPFLAGS'
56746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56751 /* end confdefs.h. */
56752 #include <math.h>
56754 main ()
56756 _modfl(0, 0);
56758 return 0;
56760 _ACEOF
56761 if ac_fn_cxx_try_compile "$LINENO"; then :
56762 glibcxx_cv_func__modfl_use=yes
56763 else
56764 glibcxx_cv_func__modfl_use=no
56766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56767 ac_ext=c
56768 ac_cpp='$CPP $CPPFLAGS'
56769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
56778 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
56780 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
56781 for ac_func in _modfl
56782 do :
56783 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
56784 if test "x$ac_cv_func__modfl" = x""yes; then :
56785 cat >>confdefs.h <<_ACEOF
56786 #define HAVE__MODFL 1
56787 _ACEOF
56790 done
56799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
56800 $as_echo_n "checking for powl declaration... " >&6; }
56801 if test x${glibcxx_cv_func_powl_use+set} != xset; then
56802 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
56803 $as_echo_n "(cached) " >&6
56804 else
56807 ac_ext=cpp
56808 ac_cpp='$CXXCPP $CPPFLAGS'
56809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56814 /* end confdefs.h. */
56815 #include <math.h>
56817 main ()
56819 powl(0, 0);
56821 return 0;
56823 _ACEOF
56824 if ac_fn_cxx_try_compile "$LINENO"; then :
56825 glibcxx_cv_func_powl_use=yes
56826 else
56827 glibcxx_cv_func_powl_use=no
56829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56830 ac_ext=c
56831 ac_cpp='$CPP $CPPFLAGS'
56832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56841 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56843 if test x$glibcxx_cv_func_powl_use = x"yes"; then
56844 for ac_func in powl
56845 do :
56846 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56847 if test "x$ac_cv_func_powl" = x""yes; then :
56848 cat >>confdefs.h <<_ACEOF
56849 #define HAVE_POWL 1
56850 _ACEOF
56853 done
56855 else
56857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56858 $as_echo_n "checking for _powl declaration... " >&6; }
56859 if test x${glibcxx_cv_func__powl_use+set} != xset; then
56860 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56861 $as_echo_n "(cached) " >&6
56862 else
56865 ac_ext=cpp
56866 ac_cpp='$CXXCPP $CPPFLAGS'
56867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56872 /* end confdefs.h. */
56873 #include <math.h>
56875 main ()
56877 _powl(0, 0);
56879 return 0;
56881 _ACEOF
56882 if ac_fn_cxx_try_compile "$LINENO"; then :
56883 glibcxx_cv_func__powl_use=yes
56884 else
56885 glibcxx_cv_func__powl_use=no
56887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56888 ac_ext=c
56889 ac_cpp='$CPP $CPPFLAGS'
56890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56899 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56901 if test x$glibcxx_cv_func__powl_use = x"yes"; then
56902 for ac_func in _powl
56903 do :
56904 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56905 if test "x$ac_cv_func__powl" = x""yes; then :
56906 cat >>confdefs.h <<_ACEOF
56907 #define HAVE__POWL 1
56908 _ACEOF
56911 done
56920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56921 $as_echo_n "checking for sqrtl declaration... " >&6; }
56922 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56923 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56924 $as_echo_n "(cached) " >&6
56925 else
56928 ac_ext=cpp
56929 ac_cpp='$CXXCPP $CPPFLAGS'
56930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56935 /* end confdefs.h. */
56936 #include <math.h>
56937 #ifdef HAVE_IEEEFP_H
56938 #include <ieeefp.h>
56939 #endif
56942 main ()
56944 sqrtl(0);
56946 return 0;
56948 _ACEOF
56949 if ac_fn_cxx_try_compile "$LINENO"; then :
56950 glibcxx_cv_func_sqrtl_use=yes
56951 else
56952 glibcxx_cv_func_sqrtl_use=no
56954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56955 ac_ext=c
56956 ac_cpp='$CPP $CPPFLAGS'
56957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
56966 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
56968 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
56969 for ac_func in sqrtl
56970 do :
56971 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
56972 if test "x$ac_cv_func_sqrtl" = x""yes; then :
56973 cat >>confdefs.h <<_ACEOF
56974 #define HAVE_SQRTL 1
56975 _ACEOF
56978 done
56980 else
56982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
56983 $as_echo_n "checking for _sqrtl declaration... " >&6; }
56984 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
56985 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
56986 $as_echo_n "(cached) " >&6
56987 else
56990 ac_ext=cpp
56991 ac_cpp='$CXXCPP $CPPFLAGS'
56992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56997 /* end confdefs.h. */
56998 #include <math.h>
56999 #ifdef HAVE_IEEEFP_H
57000 #include <ieeefp.h>
57001 #endif
57004 main ()
57006 _sqrtl(0);
57008 return 0;
57010 _ACEOF
57011 if ac_fn_cxx_try_compile "$LINENO"; then :
57012 glibcxx_cv_func__sqrtl_use=yes
57013 else
57014 glibcxx_cv_func__sqrtl_use=no
57016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57017 ac_ext=c
57018 ac_cpp='$CPP $CPPFLAGS'
57019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57028 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57030 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57031 for ac_func in _sqrtl
57032 do :
57033 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57034 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57035 cat >>confdefs.h <<_ACEOF
57036 #define HAVE__SQRTL 1
57037 _ACEOF
57040 done
57049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57050 $as_echo_n "checking for sincosl declaration... " >&6; }
57051 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57052 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57053 $as_echo_n "(cached) " >&6
57054 else
57057 ac_ext=cpp
57058 ac_cpp='$CXXCPP $CPPFLAGS'
57059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57064 /* end confdefs.h. */
57065 #include <math.h>
57067 main ()
57069 sincosl(0, 0, 0);
57071 return 0;
57073 _ACEOF
57074 if ac_fn_cxx_try_compile "$LINENO"; then :
57075 glibcxx_cv_func_sincosl_use=yes
57076 else
57077 glibcxx_cv_func_sincosl_use=no
57079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57080 ac_ext=c
57081 ac_cpp='$CPP $CPPFLAGS'
57082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
57091 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
57093 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
57094 for ac_func in sincosl
57095 do :
57096 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
57097 if test "x$ac_cv_func_sincosl" = x""yes; then :
57098 cat >>confdefs.h <<_ACEOF
57099 #define HAVE_SINCOSL 1
57100 _ACEOF
57103 done
57105 else
57107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
57108 $as_echo_n "checking for _sincosl declaration... " >&6; }
57109 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
57110 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
57111 $as_echo_n "(cached) " >&6
57112 else
57115 ac_ext=cpp
57116 ac_cpp='$CXXCPP $CPPFLAGS'
57117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57122 /* end confdefs.h. */
57123 #include <math.h>
57125 main ()
57127 _sincosl(0, 0, 0);
57129 return 0;
57131 _ACEOF
57132 if ac_fn_cxx_try_compile "$LINENO"; then :
57133 glibcxx_cv_func__sincosl_use=yes
57134 else
57135 glibcxx_cv_func__sincosl_use=no
57137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57138 ac_ext=c
57139 ac_cpp='$CPP $CPPFLAGS'
57140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
57149 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
57151 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
57152 for ac_func in _sincosl
57153 do :
57154 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
57155 if test "x$ac_cv_func__sincosl" = x""yes; then :
57156 cat >>confdefs.h <<_ACEOF
57157 #define HAVE__SINCOSL 1
57158 _ACEOF
57161 done
57170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
57171 $as_echo_n "checking for finitel declaration... " >&6; }
57172 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
57173 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
57174 $as_echo_n "(cached) " >&6
57175 else
57178 ac_ext=cpp
57179 ac_cpp='$CXXCPP $CPPFLAGS'
57180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57185 /* end confdefs.h. */
57186 #include <math.h>
57187 #ifdef HAVE_IEEEFP_H
57188 #include <ieeefp.h>
57189 #endif
57192 main ()
57194 finitel(0);
57196 return 0;
57198 _ACEOF
57199 if ac_fn_cxx_try_compile "$LINENO"; then :
57200 glibcxx_cv_func_finitel_use=yes
57201 else
57202 glibcxx_cv_func_finitel_use=no
57204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57205 ac_ext=c
57206 ac_cpp='$CPP $CPPFLAGS'
57207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
57216 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
57218 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
57219 for ac_func in finitel
57220 do :
57221 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
57222 if test "x$ac_cv_func_finitel" = x""yes; then :
57223 cat >>confdefs.h <<_ACEOF
57224 #define HAVE_FINITEL 1
57225 _ACEOF
57228 done
57230 else
57232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
57233 $as_echo_n "checking for _finitel declaration... " >&6; }
57234 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
57235 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
57236 $as_echo_n "(cached) " >&6
57237 else
57240 ac_ext=cpp
57241 ac_cpp='$CXXCPP $CPPFLAGS'
57242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57247 /* end confdefs.h. */
57248 #include <math.h>
57249 #ifdef HAVE_IEEEFP_H
57250 #include <ieeefp.h>
57251 #endif
57254 main ()
57256 _finitel(0);
57258 return 0;
57260 _ACEOF
57261 if ac_fn_cxx_try_compile "$LINENO"; then :
57262 glibcxx_cv_func__finitel_use=yes
57263 else
57264 glibcxx_cv_func__finitel_use=no
57266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57267 ac_ext=c
57268 ac_cpp='$CPP $CPPFLAGS'
57269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
57278 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
57280 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
57281 for ac_func in _finitel
57282 do :
57283 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
57284 if test "x$ac_cv_func__finitel" = x""yes; then :
57285 cat >>confdefs.h <<_ACEOF
57286 #define HAVE__FINITEL 1
57287 _ACEOF
57290 done
57298 LIBS="$ac_save_LIBS"
57299 CXXFLAGS="$ac_save_CXXFLAGS"
57302 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57303 ac_save_CXXFLAGS="$CXXFLAGS"
57304 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
57308 $as_echo_n "checking for strtold declaration... " >&6; }
57309 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
57310 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
57311 $as_echo_n "(cached) " >&6
57312 else
57315 ac_ext=cpp
57316 ac_cpp='$CXXCPP $CPPFLAGS'
57317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57322 /* end confdefs.h. */
57323 #include <stdlib.h>
57325 main ()
57327 strtold(0, 0);
57329 return 0;
57331 _ACEOF
57332 if ac_fn_cxx_try_compile "$LINENO"; then :
57333 glibcxx_cv_func_strtold_use=yes
57334 else
57335 glibcxx_cv_func_strtold_use=no
57337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57338 ac_ext=c
57339 ac_cpp='$CPP $CPPFLAGS'
57340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
57349 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
57350 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
57351 for ac_func in strtold
57352 do :
57353 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
57354 if test "x$ac_cv_func_strtold" = x""yes; then :
57355 cat >>confdefs.h <<_ACEOF
57356 #define HAVE_STRTOLD 1
57357 _ACEOF
57360 done
57367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
57368 $as_echo_n "checking for strtof declaration... " >&6; }
57369 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
57370 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
57371 $as_echo_n "(cached) " >&6
57372 else
57375 ac_ext=cpp
57376 ac_cpp='$CXXCPP $CPPFLAGS'
57377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57382 /* end confdefs.h. */
57383 #include <stdlib.h>
57385 main ()
57387 strtof(0, 0);
57389 return 0;
57391 _ACEOF
57392 if ac_fn_cxx_try_compile "$LINENO"; then :
57393 glibcxx_cv_func_strtof_use=yes
57394 else
57395 glibcxx_cv_func_strtof_use=no
57397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57398 ac_ext=c
57399 ac_cpp='$CPP $CPPFLAGS'
57400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
57409 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
57410 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
57411 for ac_func in strtof
57412 do :
57413 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
57414 if test "x$ac_cv_func_strtof" = x""yes; then :
57415 cat >>confdefs.h <<_ACEOF
57416 #define HAVE_STRTOF 1
57417 _ACEOF
57420 done
57427 CXXFLAGS="$ac_save_CXXFLAGS"
57430 *-netbsd*)
57431 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57434 # If we're not using GNU ld, then there's no point in even trying these
57435 # tests. Check for that first. We should have already tested for gld
57436 # by now (in libtool), but require it now just to be safe...
57437 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57438 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57442 # The name set by libtool depends on the version of libtool. Shame on us
57443 # for depending on an impl detail, but c'est la vie. Older versions used
57444 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57445 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57446 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57447 # set (hence we're using an older libtool), then set it.
57448 if test x${with_gnu_ld+set} != xset; then
57449 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57450 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57451 with_gnu_ld=no
57452 else
57453 with_gnu_ld=$ac_cv_prog_gnu_ld
57457 # Start by getting the version number. I think the libtool test already
57458 # does some of this, but throws away the result.
57459 glibcxx_ld_is_gold=no
57460 if test x"$with_gnu_ld" = x"yes"; then
57461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57462 $as_echo_n "checking for ld version... " >&6; }
57464 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57465 glibcxx_ld_is_gold=yes
57467 ldver=`$LD --version 2>/dev/null |
57468 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'`
57470 glibcxx_gnu_ld_version=`echo $ldver | \
57471 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57473 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57476 # Set --gc-sections.
57477 glibcxx_have_gc_sections=no
57478 if test "$glibcxx_ld_is_gold" = "yes"; then
57479 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57480 glibcxx_have_gc_sections=yes
57482 else
57483 glibcxx_gcsections_min_ld=21602
57484 if test x"$with_gnu_ld" = x"yes" &&
57485 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57486 glibcxx_have_gc_sections=yes
57489 if test "$glibcxx_have_gc_sections" = "yes"; then
57490 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57491 # NB: This flag only works reliably after 2.16.1. Configure tests
57492 # for this are difficult, so hard wire a value that should work.
57494 ac_test_CFLAGS="${CFLAGS+set}"
57495 ac_save_CFLAGS="$CFLAGS"
57496 CFLAGS='-Wl,--gc-sections'
57498 # Check for -Wl,--gc-sections
57499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57500 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57501 if test x$gcc_no_link = xyes; then
57502 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57505 /* end confdefs.h. */
57506 int one(void) { return 1; }
57507 int two(void) { return 2; }
57510 main ()
57512 two();
57514 return 0;
57516 _ACEOF
57517 if ac_fn_c_try_link "$LINENO"; then :
57518 ac_gcsections=yes
57519 else
57520 ac_gcsections=no
57522 rm -f core conftest.err conftest.$ac_objext \
57523 conftest$ac_exeext conftest.$ac_ext
57524 if test "$ac_gcsections" = "yes"; then
57525 rm -f conftest.c
57526 touch conftest.c
57527 if $CC -c conftest.c; then
57528 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57529 grep "Warning: gc-sections option ignored" > /dev/null; then
57530 ac_gcsections=no
57533 rm -f conftest.c conftest.o conftest
57535 if test "$ac_gcsections" = "yes"; then
57536 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57539 $as_echo "$ac_gcsections" >&6; }
57541 if test "$ac_test_CFLAGS" = set; then
57542 CFLAGS="$ac_save_CFLAGS"
57543 else
57544 # this is the suspicious part
57545 CFLAGS=''
57549 # Set -z,relro.
57550 # Note this is only for shared objects.
57551 ac_ld_relro=no
57552 if test x"$with_gnu_ld" = x"yes"; then
57553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57554 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57555 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57556 if test -n "$cxx_z_relo"; then
57557 OPT_LDFLAGS="-Wl,-z,relro"
57558 ac_ld_relro=yes
57560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57561 $as_echo "$ac_ld_relro" >&6; }
57564 # Set linker optimization flags.
57565 if test x"$with_gnu_ld" = x"yes"; then
57566 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57572 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57574 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57576 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57578 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57580 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57582 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57584 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57586 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57588 if test x"long_double_math_on_this_cpu" = x"yes"; then
57589 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57591 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57593 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57597 *-qnx6.1* | *-qnx6.2*)
57598 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57601 # If we're not using GNU ld, then there's no point in even trying these
57602 # tests. Check for that first. We should have already tested for gld
57603 # by now (in libtool), but require it now just to be safe...
57604 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57605 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57609 # The name set by libtool depends on the version of libtool. Shame on us
57610 # for depending on an impl detail, but c'est la vie. Older versions used
57611 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57612 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57613 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57614 # set (hence we're using an older libtool), then set it.
57615 if test x${with_gnu_ld+set} != xset; then
57616 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57617 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57618 with_gnu_ld=no
57619 else
57620 with_gnu_ld=$ac_cv_prog_gnu_ld
57624 # Start by getting the version number. I think the libtool test already
57625 # does some of this, but throws away the result.
57626 glibcxx_ld_is_gold=no
57627 if test x"$with_gnu_ld" = x"yes"; then
57628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57629 $as_echo_n "checking for ld version... " >&6; }
57631 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57632 glibcxx_ld_is_gold=yes
57634 ldver=`$LD --version 2>/dev/null |
57635 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'`
57637 glibcxx_gnu_ld_version=`echo $ldver | \
57638 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57640 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57643 # Set --gc-sections.
57644 glibcxx_have_gc_sections=no
57645 if test "$glibcxx_ld_is_gold" = "yes"; then
57646 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57647 glibcxx_have_gc_sections=yes
57649 else
57650 glibcxx_gcsections_min_ld=21602
57651 if test x"$with_gnu_ld" = x"yes" &&
57652 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57653 glibcxx_have_gc_sections=yes
57656 if test "$glibcxx_have_gc_sections" = "yes"; then
57657 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57658 # NB: This flag only works reliably after 2.16.1. Configure tests
57659 # for this are difficult, so hard wire a value that should work.
57661 ac_test_CFLAGS="${CFLAGS+set}"
57662 ac_save_CFLAGS="$CFLAGS"
57663 CFLAGS='-Wl,--gc-sections'
57665 # Check for -Wl,--gc-sections
57666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57667 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57668 if test x$gcc_no_link = xyes; then
57669 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57672 /* end confdefs.h. */
57673 int one(void) { return 1; }
57674 int two(void) { return 2; }
57677 main ()
57679 two();
57681 return 0;
57683 _ACEOF
57684 if ac_fn_c_try_link "$LINENO"; then :
57685 ac_gcsections=yes
57686 else
57687 ac_gcsections=no
57689 rm -f core conftest.err conftest.$ac_objext \
57690 conftest$ac_exeext conftest.$ac_ext
57691 if test "$ac_gcsections" = "yes"; then
57692 rm -f conftest.c
57693 touch conftest.c
57694 if $CC -c conftest.c; then
57695 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57696 grep "Warning: gc-sections option ignored" > /dev/null; then
57697 ac_gcsections=no
57700 rm -f conftest.c conftest.o conftest
57702 if test "$ac_gcsections" = "yes"; then
57703 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57706 $as_echo "$ac_gcsections" >&6; }
57708 if test "$ac_test_CFLAGS" = set; then
57709 CFLAGS="$ac_save_CFLAGS"
57710 else
57711 # this is the suspicious part
57712 CFLAGS=''
57716 # Set -z,relro.
57717 # Note this is only for shared objects.
57718 ac_ld_relro=no
57719 if test x"$with_gnu_ld" = x"yes"; then
57720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57721 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57722 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57723 if test -n "$cxx_z_relo"; then
57724 OPT_LDFLAGS="-Wl,-z,relro"
57725 ac_ld_relro=yes
57727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57728 $as_echo "$ac_ld_relro" >&6; }
57731 # Set linker optimization flags.
57732 if test x"$with_gnu_ld" = x"yes"; then
57733 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57739 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57741 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57743 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57745 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57747 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57749 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57751 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57753 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57755 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57757 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57759 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57761 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57764 *-rtems*)
57766 # All these tests are for C++; save the language and the compiler flags.
57767 # The CXXFLAGS thing is suspicious, but based on similar bits previously
57768 # found in GLIBCXX_CONFIGURE.
57770 ac_ext=cpp
57771 ac_cpp='$CXXCPP $CPPFLAGS'
57772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57776 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57777 ac_save_CXXFLAGS="$CXXFLAGS"
57779 # Check for maintainer-mode bits.
57780 if test x"$USE_MAINTAINER_MODE" = xno; then
57781 WERROR=''
57782 else
57783 WERROR='-Werror'
57786 # Check for -ffunction-sections -fdata-sections
57787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
57788 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
57789 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
57790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57791 /* end confdefs.h. */
57792 int foo; void bar() { };
57794 main ()
57798 return 0;
57800 _ACEOF
57801 if ac_fn_cxx_try_compile "$LINENO"; then :
57802 ac_fdsections=yes
57803 else
57804 ac_fdsections=no
57806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57807 if test "$ac_test_CXXFLAGS" = set; then
57808 CXXFLAGS="$ac_save_CXXFLAGS"
57809 else
57810 # this is the suspicious part
57811 CXXFLAGS=''
57813 if test x"$ac_fdsections" = x"yes"; then
57814 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
57817 $as_echo "$ac_fdsections" >&6; }
57819 ac_ext=c
57820 ac_cpp='$CPP $CPPFLAGS'
57821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57829 # If we're not using GNU ld, then there's no point in even trying these
57830 # tests. Check for that first. We should have already tested for gld
57831 # by now (in libtool), but require it now just to be safe...
57832 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57833 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57837 # The name set by libtool depends on the version of libtool. Shame on us
57838 # for depending on an impl detail, but c'est la vie. Older versions used
57839 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57840 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57841 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57842 # set (hence we're using an older libtool), then set it.
57843 if test x${with_gnu_ld+set} != xset; then
57844 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57845 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57846 with_gnu_ld=no
57847 else
57848 with_gnu_ld=$ac_cv_prog_gnu_ld
57852 # Start by getting the version number. I think the libtool test already
57853 # does some of this, but throws away the result.
57854 glibcxx_ld_is_gold=no
57855 if test x"$with_gnu_ld" = x"yes"; then
57856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57857 $as_echo_n "checking for ld version... " >&6; }
57859 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57860 glibcxx_ld_is_gold=yes
57862 ldver=`$LD --version 2>/dev/null |
57863 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'`
57865 glibcxx_gnu_ld_version=`echo $ldver | \
57866 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57868 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57871 # Set --gc-sections.
57872 glibcxx_have_gc_sections=no
57873 if test "$glibcxx_ld_is_gold" = "yes"; then
57874 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57875 glibcxx_have_gc_sections=yes
57877 else
57878 glibcxx_gcsections_min_ld=21602
57879 if test x"$with_gnu_ld" = x"yes" &&
57880 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57881 glibcxx_have_gc_sections=yes
57884 if test "$glibcxx_have_gc_sections" = "yes"; then
57885 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57886 # NB: This flag only works reliably after 2.16.1. Configure tests
57887 # for this are difficult, so hard wire a value that should work.
57889 ac_test_CFLAGS="${CFLAGS+set}"
57890 ac_save_CFLAGS="$CFLAGS"
57891 CFLAGS='-Wl,--gc-sections'
57893 # Check for -Wl,--gc-sections
57894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57895 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57896 if test x$gcc_no_link = xyes; then
57897 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57900 /* end confdefs.h. */
57901 int one(void) { return 1; }
57902 int two(void) { return 2; }
57905 main ()
57907 two();
57909 return 0;
57911 _ACEOF
57912 if ac_fn_c_try_link "$LINENO"; then :
57913 ac_gcsections=yes
57914 else
57915 ac_gcsections=no
57917 rm -f core conftest.err conftest.$ac_objext \
57918 conftest$ac_exeext conftest.$ac_ext
57919 if test "$ac_gcsections" = "yes"; then
57920 rm -f conftest.c
57921 touch conftest.c
57922 if $CC -c conftest.c; then
57923 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57924 grep "Warning: gc-sections option ignored" > /dev/null; then
57925 ac_gcsections=no
57928 rm -f conftest.c conftest.o conftest
57930 if test "$ac_gcsections" = "yes"; then
57931 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57934 $as_echo "$ac_gcsections" >&6; }
57936 if test "$ac_test_CFLAGS" = set; then
57937 CFLAGS="$ac_save_CFLAGS"
57938 else
57939 # this is the suspicious part
57940 CFLAGS=''
57944 # Set -z,relro.
57945 # Note this is only for shared objects.
57946 ac_ld_relro=no
57947 if test x"$with_gnu_ld" = x"yes"; then
57948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57949 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57950 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57951 if test -n "$cxx_z_relo"; then
57952 OPT_LDFLAGS="-Wl,-z,relro"
57953 ac_ld_relro=yes
57955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57956 $as_echo "$ac_ld_relro" >&6; }
57959 # Set linker optimization flags.
57960 if test x"$with_gnu_ld" = x"yes"; then
57961 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57968 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57969 ac_save_CXXFLAGS="$CXXFLAGS"
57970 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
57973 $as_echo_n "checking for sin in -lm... " >&6; }
57974 if test "${ac_cv_lib_m_sin+set}" = set; then :
57975 $as_echo_n "(cached) " >&6
57976 else
57977 ac_check_lib_save_LIBS=$LIBS
57978 LIBS="-lm $LIBS"
57979 if test x$gcc_no_link = xyes; then
57980 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57983 /* end confdefs.h. */
57985 /* Override any GCC internal prototype to avoid an error.
57986 Use char because int might match the return type of a GCC
57987 builtin and then its argument prototype would still apply. */
57988 #ifdef __cplusplus
57989 extern "C"
57990 #endif
57991 char sin ();
57993 main ()
57995 return sin ();
57997 return 0;
57999 _ACEOF
58000 if ac_fn_c_try_link "$LINENO"; then :
58001 ac_cv_lib_m_sin=yes
58002 else
58003 ac_cv_lib_m_sin=no
58005 rm -f core conftest.err conftest.$ac_objext \
58006 conftest$ac_exeext conftest.$ac_ext
58007 LIBS=$ac_check_lib_save_LIBS
58009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
58010 $as_echo "$ac_cv_lib_m_sin" >&6; }
58011 if test "x$ac_cv_lib_m_sin" = x""yes; then :
58012 libm="-lm"
58015 ac_save_LIBS="$LIBS"
58016 LIBS="$LIBS $libm"
58020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
58021 $as_echo_n "checking for isinf declaration... " >&6; }
58022 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
58023 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
58024 $as_echo_n "(cached) " >&6
58025 else
58028 ac_ext=cpp
58029 ac_cpp='$CXXCPP $CPPFLAGS'
58030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58035 /* end confdefs.h. */
58036 #include <math.h>
58037 #ifdef HAVE_IEEEFP_H
58038 #include <ieeefp.h>
58039 #endif
58042 main ()
58044 isinf(0);
58046 return 0;
58048 _ACEOF
58049 if ac_fn_cxx_try_compile "$LINENO"; then :
58050 glibcxx_cv_func_isinf_use=yes
58051 else
58052 glibcxx_cv_func_isinf_use=no
58054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58055 ac_ext=c
58056 ac_cpp='$CPP $CPPFLAGS'
58057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
58066 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
58068 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
58069 for ac_func in isinf
58070 do :
58071 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
58072 if test "x$ac_cv_func_isinf" = x""yes; then :
58073 cat >>confdefs.h <<_ACEOF
58074 #define HAVE_ISINF 1
58075 _ACEOF
58078 done
58080 else
58082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
58083 $as_echo_n "checking for _isinf declaration... " >&6; }
58084 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
58085 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
58086 $as_echo_n "(cached) " >&6
58087 else
58090 ac_ext=cpp
58091 ac_cpp='$CXXCPP $CPPFLAGS'
58092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58097 /* end confdefs.h. */
58098 #include <math.h>
58099 #ifdef HAVE_IEEEFP_H
58100 #include <ieeefp.h>
58101 #endif
58104 main ()
58106 _isinf(0);
58108 return 0;
58110 _ACEOF
58111 if ac_fn_cxx_try_compile "$LINENO"; then :
58112 glibcxx_cv_func__isinf_use=yes
58113 else
58114 glibcxx_cv_func__isinf_use=no
58116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58117 ac_ext=c
58118 ac_cpp='$CPP $CPPFLAGS'
58119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
58128 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
58130 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
58131 for ac_func in _isinf
58132 do :
58133 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
58134 if test "x$ac_cv_func__isinf" = x""yes; then :
58135 cat >>confdefs.h <<_ACEOF
58136 #define HAVE__ISINF 1
58137 _ACEOF
58140 done
58149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
58150 $as_echo_n "checking for isnan declaration... " >&6; }
58151 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
58152 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
58153 $as_echo_n "(cached) " >&6
58154 else
58157 ac_ext=cpp
58158 ac_cpp='$CXXCPP $CPPFLAGS'
58159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58164 /* end confdefs.h. */
58165 #include <math.h>
58166 #ifdef HAVE_IEEEFP_H
58167 #include <ieeefp.h>
58168 #endif
58171 main ()
58173 isnan(0);
58175 return 0;
58177 _ACEOF
58178 if ac_fn_cxx_try_compile "$LINENO"; then :
58179 glibcxx_cv_func_isnan_use=yes
58180 else
58181 glibcxx_cv_func_isnan_use=no
58183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58184 ac_ext=c
58185 ac_cpp='$CPP $CPPFLAGS'
58186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
58195 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
58197 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
58198 for ac_func in isnan
58199 do :
58200 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
58201 if test "x$ac_cv_func_isnan" = x""yes; then :
58202 cat >>confdefs.h <<_ACEOF
58203 #define HAVE_ISNAN 1
58204 _ACEOF
58207 done
58209 else
58211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
58212 $as_echo_n "checking for _isnan declaration... " >&6; }
58213 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
58214 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
58215 $as_echo_n "(cached) " >&6
58216 else
58219 ac_ext=cpp
58220 ac_cpp='$CXXCPP $CPPFLAGS'
58221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58226 /* end confdefs.h. */
58227 #include <math.h>
58228 #ifdef HAVE_IEEEFP_H
58229 #include <ieeefp.h>
58230 #endif
58233 main ()
58235 _isnan(0);
58237 return 0;
58239 _ACEOF
58240 if ac_fn_cxx_try_compile "$LINENO"; then :
58241 glibcxx_cv_func__isnan_use=yes
58242 else
58243 glibcxx_cv_func__isnan_use=no
58245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58246 ac_ext=c
58247 ac_cpp='$CPP $CPPFLAGS'
58248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
58257 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
58259 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
58260 for ac_func in _isnan
58261 do :
58262 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
58263 if test "x$ac_cv_func__isnan" = x""yes; then :
58264 cat >>confdefs.h <<_ACEOF
58265 #define HAVE__ISNAN 1
58266 _ACEOF
58269 done
58278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
58279 $as_echo_n "checking for finite declaration... " >&6; }
58280 if test x${glibcxx_cv_func_finite_use+set} != xset; then
58281 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
58282 $as_echo_n "(cached) " >&6
58283 else
58286 ac_ext=cpp
58287 ac_cpp='$CXXCPP $CPPFLAGS'
58288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58293 /* end confdefs.h. */
58294 #include <math.h>
58295 #ifdef HAVE_IEEEFP_H
58296 #include <ieeefp.h>
58297 #endif
58300 main ()
58302 finite(0);
58304 return 0;
58306 _ACEOF
58307 if ac_fn_cxx_try_compile "$LINENO"; then :
58308 glibcxx_cv_func_finite_use=yes
58309 else
58310 glibcxx_cv_func_finite_use=no
58312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58313 ac_ext=c
58314 ac_cpp='$CPP $CPPFLAGS'
58315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
58324 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
58326 if test x$glibcxx_cv_func_finite_use = x"yes"; then
58327 for ac_func in finite
58328 do :
58329 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
58330 if test "x$ac_cv_func_finite" = x""yes; then :
58331 cat >>confdefs.h <<_ACEOF
58332 #define HAVE_FINITE 1
58333 _ACEOF
58336 done
58338 else
58340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
58341 $as_echo_n "checking for _finite declaration... " >&6; }
58342 if test x${glibcxx_cv_func__finite_use+set} != xset; then
58343 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
58344 $as_echo_n "(cached) " >&6
58345 else
58348 ac_ext=cpp
58349 ac_cpp='$CXXCPP $CPPFLAGS'
58350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58355 /* end confdefs.h. */
58356 #include <math.h>
58357 #ifdef HAVE_IEEEFP_H
58358 #include <ieeefp.h>
58359 #endif
58362 main ()
58364 _finite(0);
58366 return 0;
58368 _ACEOF
58369 if ac_fn_cxx_try_compile "$LINENO"; then :
58370 glibcxx_cv_func__finite_use=yes
58371 else
58372 glibcxx_cv_func__finite_use=no
58374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58375 ac_ext=c
58376 ac_cpp='$CPP $CPPFLAGS'
58377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
58386 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
58388 if test x$glibcxx_cv_func__finite_use = x"yes"; then
58389 for ac_func in _finite
58390 do :
58391 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
58392 if test "x$ac_cv_func__finite" = x""yes; then :
58393 cat >>confdefs.h <<_ACEOF
58394 #define HAVE__FINITE 1
58395 _ACEOF
58398 done
58407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
58408 $as_echo_n "checking for sincos declaration... " >&6; }
58409 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
58410 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
58411 $as_echo_n "(cached) " >&6
58412 else
58415 ac_ext=cpp
58416 ac_cpp='$CXXCPP $CPPFLAGS'
58417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58422 /* end confdefs.h. */
58423 #include <math.h>
58425 main ()
58427 sincos(0, 0, 0);
58429 return 0;
58431 _ACEOF
58432 if ac_fn_cxx_try_compile "$LINENO"; then :
58433 glibcxx_cv_func_sincos_use=yes
58434 else
58435 glibcxx_cv_func_sincos_use=no
58437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58438 ac_ext=c
58439 ac_cpp='$CPP $CPPFLAGS'
58440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
58449 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
58451 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
58452 for ac_func in sincos
58453 do :
58454 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
58455 if test "x$ac_cv_func_sincos" = x""yes; then :
58456 cat >>confdefs.h <<_ACEOF
58457 #define HAVE_SINCOS 1
58458 _ACEOF
58461 done
58463 else
58465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
58466 $as_echo_n "checking for _sincos declaration... " >&6; }
58467 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
58468 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
58469 $as_echo_n "(cached) " >&6
58470 else
58473 ac_ext=cpp
58474 ac_cpp='$CXXCPP $CPPFLAGS'
58475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58480 /* end confdefs.h. */
58481 #include <math.h>
58483 main ()
58485 _sincos(0, 0, 0);
58487 return 0;
58489 _ACEOF
58490 if ac_fn_cxx_try_compile "$LINENO"; then :
58491 glibcxx_cv_func__sincos_use=yes
58492 else
58493 glibcxx_cv_func__sincos_use=no
58495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58496 ac_ext=c
58497 ac_cpp='$CPP $CPPFLAGS'
58498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
58507 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
58509 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
58510 for ac_func in _sincos
58511 do :
58512 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
58513 if test "x$ac_cv_func__sincos" = x""yes; then :
58514 cat >>confdefs.h <<_ACEOF
58515 #define HAVE__SINCOS 1
58516 _ACEOF
58519 done
58528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
58529 $as_echo_n "checking for fpclass declaration... " >&6; }
58530 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
58531 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
58532 $as_echo_n "(cached) " >&6
58533 else
58536 ac_ext=cpp
58537 ac_cpp='$CXXCPP $CPPFLAGS'
58538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58543 /* end confdefs.h. */
58544 #include <math.h>
58545 #ifdef HAVE_IEEEFP_H
58546 #include <ieeefp.h>
58547 #endif
58550 main ()
58552 fpclass(0);
58554 return 0;
58556 _ACEOF
58557 if ac_fn_cxx_try_compile "$LINENO"; then :
58558 glibcxx_cv_func_fpclass_use=yes
58559 else
58560 glibcxx_cv_func_fpclass_use=no
58562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58563 ac_ext=c
58564 ac_cpp='$CPP $CPPFLAGS'
58565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
58574 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
58576 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
58577 for ac_func in fpclass
58578 do :
58579 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
58580 if test "x$ac_cv_func_fpclass" = x""yes; then :
58581 cat >>confdefs.h <<_ACEOF
58582 #define HAVE_FPCLASS 1
58583 _ACEOF
58586 done
58588 else
58590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
58591 $as_echo_n "checking for _fpclass declaration... " >&6; }
58592 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
58593 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
58594 $as_echo_n "(cached) " >&6
58595 else
58598 ac_ext=cpp
58599 ac_cpp='$CXXCPP $CPPFLAGS'
58600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58605 /* end confdefs.h. */
58606 #include <math.h>
58607 #ifdef HAVE_IEEEFP_H
58608 #include <ieeefp.h>
58609 #endif
58612 main ()
58614 _fpclass(0);
58616 return 0;
58618 _ACEOF
58619 if ac_fn_cxx_try_compile "$LINENO"; then :
58620 glibcxx_cv_func__fpclass_use=yes
58621 else
58622 glibcxx_cv_func__fpclass_use=no
58624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58625 ac_ext=c
58626 ac_cpp='$CPP $CPPFLAGS'
58627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
58636 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
58638 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
58639 for ac_func in _fpclass
58640 do :
58641 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
58642 if test "x$ac_cv_func__fpclass" = x""yes; then :
58643 cat >>confdefs.h <<_ACEOF
58644 #define HAVE__FPCLASS 1
58645 _ACEOF
58648 done
58657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
58658 $as_echo_n "checking for qfpclass declaration... " >&6; }
58659 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
58660 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
58661 $as_echo_n "(cached) " >&6
58662 else
58665 ac_ext=cpp
58666 ac_cpp='$CXXCPP $CPPFLAGS'
58667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58672 /* end confdefs.h. */
58673 #include <math.h>
58674 #ifdef HAVE_IEEEFP_H
58675 #include <ieeefp.h>
58676 #endif
58679 main ()
58681 qfpclass(0);
58683 return 0;
58685 _ACEOF
58686 if ac_fn_cxx_try_compile "$LINENO"; then :
58687 glibcxx_cv_func_qfpclass_use=yes
58688 else
58689 glibcxx_cv_func_qfpclass_use=no
58691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58692 ac_ext=c
58693 ac_cpp='$CPP $CPPFLAGS'
58694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
58703 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
58705 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
58706 for ac_func in qfpclass
58707 do :
58708 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
58709 if test "x$ac_cv_func_qfpclass" = x""yes; then :
58710 cat >>confdefs.h <<_ACEOF
58711 #define HAVE_QFPCLASS 1
58712 _ACEOF
58715 done
58717 else
58719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
58720 $as_echo_n "checking for _qfpclass declaration... " >&6; }
58721 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
58722 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
58723 $as_echo_n "(cached) " >&6
58724 else
58727 ac_ext=cpp
58728 ac_cpp='$CXXCPP $CPPFLAGS'
58729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58734 /* end confdefs.h. */
58735 #include <math.h>
58736 #ifdef HAVE_IEEEFP_H
58737 #include <ieeefp.h>
58738 #endif
58741 main ()
58743 _qfpclass(0);
58745 return 0;
58747 _ACEOF
58748 if ac_fn_cxx_try_compile "$LINENO"; then :
58749 glibcxx_cv_func__qfpclass_use=yes
58750 else
58751 glibcxx_cv_func__qfpclass_use=no
58753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58754 ac_ext=c
58755 ac_cpp='$CPP $CPPFLAGS'
58756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
58765 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
58767 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
58768 for ac_func in _qfpclass
58769 do :
58770 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
58771 if test "x$ac_cv_func__qfpclass" = x""yes; then :
58772 cat >>confdefs.h <<_ACEOF
58773 #define HAVE__QFPCLASS 1
58774 _ACEOF
58777 done
58786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
58787 $as_echo_n "checking for hypot declaration... " >&6; }
58788 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
58789 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
58790 $as_echo_n "(cached) " >&6
58791 else
58794 ac_ext=cpp
58795 ac_cpp='$CXXCPP $CPPFLAGS'
58796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58801 /* end confdefs.h. */
58802 #include <math.h>
58804 main ()
58806 hypot(0, 0);
58808 return 0;
58810 _ACEOF
58811 if ac_fn_cxx_try_compile "$LINENO"; then :
58812 glibcxx_cv_func_hypot_use=yes
58813 else
58814 glibcxx_cv_func_hypot_use=no
58816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58817 ac_ext=c
58818 ac_cpp='$CPP $CPPFLAGS'
58819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
58828 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
58830 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
58831 for ac_func in hypot
58832 do :
58833 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
58834 if test "x$ac_cv_func_hypot" = x""yes; then :
58835 cat >>confdefs.h <<_ACEOF
58836 #define HAVE_HYPOT 1
58837 _ACEOF
58840 done
58842 else
58844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
58845 $as_echo_n "checking for _hypot declaration... " >&6; }
58846 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
58847 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
58848 $as_echo_n "(cached) " >&6
58849 else
58852 ac_ext=cpp
58853 ac_cpp='$CXXCPP $CPPFLAGS'
58854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58859 /* end confdefs.h. */
58860 #include <math.h>
58862 main ()
58864 _hypot(0, 0);
58866 return 0;
58868 _ACEOF
58869 if ac_fn_cxx_try_compile "$LINENO"; then :
58870 glibcxx_cv_func__hypot_use=yes
58871 else
58872 glibcxx_cv_func__hypot_use=no
58874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58875 ac_ext=c
58876 ac_cpp='$CPP $CPPFLAGS'
58877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
58886 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
58888 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
58889 for ac_func in _hypot
58890 do :
58891 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
58892 if test "x$ac_cv_func__hypot" = x""yes; then :
58893 cat >>confdefs.h <<_ACEOF
58894 #define HAVE__HYPOT 1
58895 _ACEOF
58898 done
58907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
58908 $as_echo_n "checking for float trig functions... " >&6; }
58909 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
58910 $as_echo_n "(cached) " >&6
58911 else
58914 ac_ext=cpp
58915 ac_cpp='$CXXCPP $CPPFLAGS'
58916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58921 /* end confdefs.h. */
58922 #include <math.h>
58924 main ()
58926 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
58928 return 0;
58930 _ACEOF
58931 if ac_fn_cxx_try_compile "$LINENO"; then :
58932 glibcxx_cv_func_float_trig_use=yes
58933 else
58934 glibcxx_cv_func_float_trig_use=no
58936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58937 ac_ext=c
58938 ac_cpp='$CPP $CPPFLAGS'
58939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
58946 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
58947 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
58948 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
58949 do :
58950 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58951 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58952 eval as_val=\$$as_ac_var
58953 if test "x$as_val" = x""yes; then :
58954 cat >>confdefs.h <<_ACEOF
58955 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58956 _ACEOF
58959 done
58961 else
58962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
58963 $as_echo_n "checking for _float trig functions... " >&6; }
58964 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
58965 $as_echo_n "(cached) " >&6
58966 else
58969 ac_ext=cpp
58970 ac_cpp='$CXXCPP $CPPFLAGS'
58971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58976 /* end confdefs.h. */
58977 #include <math.h>
58979 main ()
58981 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
58983 return 0;
58985 _ACEOF
58986 if ac_fn_cxx_try_compile "$LINENO"; then :
58987 glibcxx_cv_func__float_trig_use=yes
58988 else
58989 glibcxx_cv_func__float_trig_use=no
58991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58992 ac_ext=c
58993 ac_cpp='$CPP $CPPFLAGS'
58994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
59001 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
59002 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
59003 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
59004 do :
59005 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59006 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59007 eval as_val=\$$as_ac_var
59008 if test "x$as_val" = x""yes; then :
59009 cat >>confdefs.h <<_ACEOF
59010 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59011 _ACEOF
59014 done
59023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
59024 $as_echo_n "checking for float round functions... " >&6; }
59025 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
59026 $as_echo_n "(cached) " >&6
59027 else
59030 ac_ext=cpp
59031 ac_cpp='$CXXCPP $CPPFLAGS'
59032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59037 /* end confdefs.h. */
59038 #include <math.h>
59040 main ()
59042 ceilf (0); floorf (0);
59044 return 0;
59046 _ACEOF
59047 if ac_fn_cxx_try_compile "$LINENO"; then :
59048 glibcxx_cv_func_float_round_use=yes
59049 else
59050 glibcxx_cv_func_float_round_use=no
59052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59053 ac_ext=c
59054 ac_cpp='$CPP $CPPFLAGS'
59055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
59062 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
59063 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
59064 for ac_func in ceilf floorf
59065 do :
59066 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59067 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59068 eval as_val=\$$as_ac_var
59069 if test "x$as_val" = x""yes; then :
59070 cat >>confdefs.h <<_ACEOF
59071 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59072 _ACEOF
59075 done
59077 else
59078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
59079 $as_echo_n "checking for _float round functions... " >&6; }
59080 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
59081 $as_echo_n "(cached) " >&6
59082 else
59085 ac_ext=cpp
59086 ac_cpp='$CXXCPP $CPPFLAGS'
59087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59092 /* end confdefs.h. */
59093 #include <math.h>
59095 main ()
59097 _ceilf (0); _floorf (0);
59099 return 0;
59101 _ACEOF
59102 if ac_fn_cxx_try_compile "$LINENO"; then :
59103 glibcxx_cv_func__float_round_use=yes
59104 else
59105 glibcxx_cv_func__float_round_use=no
59107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59108 ac_ext=c
59109 ac_cpp='$CPP $CPPFLAGS'
59110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
59117 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
59118 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
59119 for ac_func in _ceilf _floorf
59120 do :
59121 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59122 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59123 eval as_val=\$$as_ac_var
59124 if test "x$as_val" = x""yes; then :
59125 cat >>confdefs.h <<_ACEOF
59126 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59127 _ACEOF
59130 done
59140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
59141 $as_echo_n "checking for expf declaration... " >&6; }
59142 if test x${glibcxx_cv_func_expf_use+set} != xset; then
59143 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
59144 $as_echo_n "(cached) " >&6
59145 else
59148 ac_ext=cpp
59149 ac_cpp='$CXXCPP $CPPFLAGS'
59150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59155 /* end confdefs.h. */
59156 #include <math.h>
59157 #ifdef HAVE_IEEEFP_H
59158 #include <ieeefp.h>
59159 #endif
59162 main ()
59164 expf(0);
59166 return 0;
59168 _ACEOF
59169 if ac_fn_cxx_try_compile "$LINENO"; then :
59170 glibcxx_cv_func_expf_use=yes
59171 else
59172 glibcxx_cv_func_expf_use=no
59174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59175 ac_ext=c
59176 ac_cpp='$CPP $CPPFLAGS'
59177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
59186 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
59188 if test x$glibcxx_cv_func_expf_use = x"yes"; then
59189 for ac_func in expf
59190 do :
59191 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
59192 if test "x$ac_cv_func_expf" = x""yes; then :
59193 cat >>confdefs.h <<_ACEOF
59194 #define HAVE_EXPF 1
59195 _ACEOF
59198 done
59200 else
59202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
59203 $as_echo_n "checking for _expf declaration... " >&6; }
59204 if test x${glibcxx_cv_func__expf_use+set} != xset; then
59205 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
59206 $as_echo_n "(cached) " >&6
59207 else
59210 ac_ext=cpp
59211 ac_cpp='$CXXCPP $CPPFLAGS'
59212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59217 /* end confdefs.h. */
59218 #include <math.h>
59219 #ifdef HAVE_IEEEFP_H
59220 #include <ieeefp.h>
59221 #endif
59224 main ()
59226 _expf(0);
59228 return 0;
59230 _ACEOF
59231 if ac_fn_cxx_try_compile "$LINENO"; then :
59232 glibcxx_cv_func__expf_use=yes
59233 else
59234 glibcxx_cv_func__expf_use=no
59236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59237 ac_ext=c
59238 ac_cpp='$CPP $CPPFLAGS'
59239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
59248 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
59250 if test x$glibcxx_cv_func__expf_use = x"yes"; then
59251 for ac_func in _expf
59252 do :
59253 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
59254 if test "x$ac_cv_func__expf" = x""yes; then :
59255 cat >>confdefs.h <<_ACEOF
59256 #define HAVE__EXPF 1
59257 _ACEOF
59260 done
59269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
59270 $as_echo_n "checking for isnanf declaration... " >&6; }
59271 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
59272 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
59273 $as_echo_n "(cached) " >&6
59274 else
59277 ac_ext=cpp
59278 ac_cpp='$CXXCPP $CPPFLAGS'
59279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59284 /* end confdefs.h. */
59285 #include <math.h>
59286 #ifdef HAVE_IEEEFP_H
59287 #include <ieeefp.h>
59288 #endif
59291 main ()
59293 isnanf(0);
59295 return 0;
59297 _ACEOF
59298 if ac_fn_cxx_try_compile "$LINENO"; then :
59299 glibcxx_cv_func_isnanf_use=yes
59300 else
59301 glibcxx_cv_func_isnanf_use=no
59303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59304 ac_ext=c
59305 ac_cpp='$CPP $CPPFLAGS'
59306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
59315 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
59317 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
59318 for ac_func in isnanf
59319 do :
59320 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
59321 if test "x$ac_cv_func_isnanf" = x""yes; then :
59322 cat >>confdefs.h <<_ACEOF
59323 #define HAVE_ISNANF 1
59324 _ACEOF
59327 done
59329 else
59331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
59332 $as_echo_n "checking for _isnanf declaration... " >&6; }
59333 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
59334 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
59335 $as_echo_n "(cached) " >&6
59336 else
59339 ac_ext=cpp
59340 ac_cpp='$CXXCPP $CPPFLAGS'
59341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59346 /* end confdefs.h. */
59347 #include <math.h>
59348 #ifdef HAVE_IEEEFP_H
59349 #include <ieeefp.h>
59350 #endif
59353 main ()
59355 _isnanf(0);
59357 return 0;
59359 _ACEOF
59360 if ac_fn_cxx_try_compile "$LINENO"; then :
59361 glibcxx_cv_func__isnanf_use=yes
59362 else
59363 glibcxx_cv_func__isnanf_use=no
59365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59366 ac_ext=c
59367 ac_cpp='$CPP $CPPFLAGS'
59368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
59377 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
59379 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
59380 for ac_func in _isnanf
59381 do :
59382 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
59383 if test "x$ac_cv_func__isnanf" = x""yes; then :
59384 cat >>confdefs.h <<_ACEOF
59385 #define HAVE__ISNANF 1
59386 _ACEOF
59389 done
59398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
59399 $as_echo_n "checking for isinff declaration... " >&6; }
59400 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
59401 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
59402 $as_echo_n "(cached) " >&6
59403 else
59406 ac_ext=cpp
59407 ac_cpp='$CXXCPP $CPPFLAGS'
59408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59413 /* end confdefs.h. */
59414 #include <math.h>
59415 #ifdef HAVE_IEEEFP_H
59416 #include <ieeefp.h>
59417 #endif
59420 main ()
59422 isinff(0);
59424 return 0;
59426 _ACEOF
59427 if ac_fn_cxx_try_compile "$LINENO"; then :
59428 glibcxx_cv_func_isinff_use=yes
59429 else
59430 glibcxx_cv_func_isinff_use=no
59432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59433 ac_ext=c
59434 ac_cpp='$CPP $CPPFLAGS'
59435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
59444 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
59446 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
59447 for ac_func in isinff
59448 do :
59449 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
59450 if test "x$ac_cv_func_isinff" = x""yes; then :
59451 cat >>confdefs.h <<_ACEOF
59452 #define HAVE_ISINFF 1
59453 _ACEOF
59456 done
59458 else
59460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
59461 $as_echo_n "checking for _isinff declaration... " >&6; }
59462 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
59463 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
59464 $as_echo_n "(cached) " >&6
59465 else
59468 ac_ext=cpp
59469 ac_cpp='$CXXCPP $CPPFLAGS'
59470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59475 /* end confdefs.h. */
59476 #include <math.h>
59477 #ifdef HAVE_IEEEFP_H
59478 #include <ieeefp.h>
59479 #endif
59482 main ()
59484 _isinff(0);
59486 return 0;
59488 _ACEOF
59489 if ac_fn_cxx_try_compile "$LINENO"; then :
59490 glibcxx_cv_func__isinff_use=yes
59491 else
59492 glibcxx_cv_func__isinff_use=no
59494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59495 ac_ext=c
59496 ac_cpp='$CPP $CPPFLAGS'
59497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
59506 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
59508 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
59509 for ac_func in _isinff
59510 do :
59511 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
59512 if test "x$ac_cv_func__isinff" = x""yes; then :
59513 cat >>confdefs.h <<_ACEOF
59514 #define HAVE__ISINFF 1
59515 _ACEOF
59518 done
59527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
59528 $as_echo_n "checking for atan2f declaration... " >&6; }
59529 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59530 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
59531 $as_echo_n "(cached) " >&6
59532 else
59535 ac_ext=cpp
59536 ac_cpp='$CXXCPP $CPPFLAGS'
59537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59542 /* end confdefs.h. */
59543 #include <math.h>
59545 main ()
59547 atan2f(0, 0);
59549 return 0;
59551 _ACEOF
59552 if ac_fn_cxx_try_compile "$LINENO"; then :
59553 glibcxx_cv_func_atan2f_use=yes
59554 else
59555 glibcxx_cv_func_atan2f_use=no
59557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59558 ac_ext=c
59559 ac_cpp='$CPP $CPPFLAGS'
59560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
59569 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
59571 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59572 for ac_func in atan2f
59573 do :
59574 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
59575 if test "x$ac_cv_func_atan2f" = x""yes; then :
59576 cat >>confdefs.h <<_ACEOF
59577 #define HAVE_ATAN2F 1
59578 _ACEOF
59581 done
59583 else
59585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
59586 $as_echo_n "checking for _atan2f declaration... " >&6; }
59587 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59588 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
59589 $as_echo_n "(cached) " >&6
59590 else
59593 ac_ext=cpp
59594 ac_cpp='$CXXCPP $CPPFLAGS'
59595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59600 /* end confdefs.h. */
59601 #include <math.h>
59603 main ()
59605 _atan2f(0, 0);
59607 return 0;
59609 _ACEOF
59610 if ac_fn_cxx_try_compile "$LINENO"; then :
59611 glibcxx_cv_func__atan2f_use=yes
59612 else
59613 glibcxx_cv_func__atan2f_use=no
59615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59616 ac_ext=c
59617 ac_cpp='$CPP $CPPFLAGS'
59618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
59627 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
59629 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59630 for ac_func in _atan2f
59631 do :
59632 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
59633 if test "x$ac_cv_func__atan2f" = x""yes; then :
59634 cat >>confdefs.h <<_ACEOF
59635 #define HAVE__ATAN2F 1
59636 _ACEOF
59639 done
59648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
59649 $as_echo_n "checking for fabsf declaration... " >&6; }
59650 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59651 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
59652 $as_echo_n "(cached) " >&6
59653 else
59656 ac_ext=cpp
59657 ac_cpp='$CXXCPP $CPPFLAGS'
59658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59663 /* end confdefs.h. */
59664 #include <math.h>
59665 #ifdef HAVE_IEEEFP_H
59666 #include <ieeefp.h>
59667 #endif
59670 main ()
59672 fabsf(0);
59674 return 0;
59676 _ACEOF
59677 if ac_fn_cxx_try_compile "$LINENO"; then :
59678 glibcxx_cv_func_fabsf_use=yes
59679 else
59680 glibcxx_cv_func_fabsf_use=no
59682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59683 ac_ext=c
59684 ac_cpp='$CPP $CPPFLAGS'
59685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
59694 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
59696 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59697 for ac_func in fabsf
59698 do :
59699 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
59700 if test "x$ac_cv_func_fabsf" = x""yes; then :
59701 cat >>confdefs.h <<_ACEOF
59702 #define HAVE_FABSF 1
59703 _ACEOF
59706 done
59708 else
59710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
59711 $as_echo_n "checking for _fabsf declaration... " >&6; }
59712 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59713 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
59714 $as_echo_n "(cached) " >&6
59715 else
59718 ac_ext=cpp
59719 ac_cpp='$CXXCPP $CPPFLAGS'
59720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59725 /* end confdefs.h. */
59726 #include <math.h>
59727 #ifdef HAVE_IEEEFP_H
59728 #include <ieeefp.h>
59729 #endif
59732 main ()
59734 _fabsf(0);
59736 return 0;
59738 _ACEOF
59739 if ac_fn_cxx_try_compile "$LINENO"; then :
59740 glibcxx_cv_func__fabsf_use=yes
59741 else
59742 glibcxx_cv_func__fabsf_use=no
59744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59745 ac_ext=c
59746 ac_cpp='$CPP $CPPFLAGS'
59747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
59756 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
59758 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59759 for ac_func in _fabsf
59760 do :
59761 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
59762 if test "x$ac_cv_func__fabsf" = x""yes; then :
59763 cat >>confdefs.h <<_ACEOF
59764 #define HAVE__FABSF 1
59765 _ACEOF
59768 done
59777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
59778 $as_echo_n "checking for fmodf declaration... " >&6; }
59779 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
59780 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
59781 $as_echo_n "(cached) " >&6
59782 else
59785 ac_ext=cpp
59786 ac_cpp='$CXXCPP $CPPFLAGS'
59787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59792 /* end confdefs.h. */
59793 #include <math.h>
59795 main ()
59797 fmodf(0, 0);
59799 return 0;
59801 _ACEOF
59802 if ac_fn_cxx_try_compile "$LINENO"; then :
59803 glibcxx_cv_func_fmodf_use=yes
59804 else
59805 glibcxx_cv_func_fmodf_use=no
59807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59808 ac_ext=c
59809 ac_cpp='$CPP $CPPFLAGS'
59810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
59819 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
59821 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59822 for ac_func in fmodf
59823 do :
59824 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
59825 if test "x$ac_cv_func_fmodf" = x""yes; then :
59826 cat >>confdefs.h <<_ACEOF
59827 #define HAVE_FMODF 1
59828 _ACEOF
59831 done
59833 else
59835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
59836 $as_echo_n "checking for _fmodf declaration... " >&6; }
59837 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59838 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
59839 $as_echo_n "(cached) " >&6
59840 else
59843 ac_ext=cpp
59844 ac_cpp='$CXXCPP $CPPFLAGS'
59845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59850 /* end confdefs.h. */
59851 #include <math.h>
59853 main ()
59855 _fmodf(0, 0);
59857 return 0;
59859 _ACEOF
59860 if ac_fn_cxx_try_compile "$LINENO"; then :
59861 glibcxx_cv_func__fmodf_use=yes
59862 else
59863 glibcxx_cv_func__fmodf_use=no
59865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59866 ac_ext=c
59867 ac_cpp='$CPP $CPPFLAGS'
59868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
59877 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
59879 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59880 for ac_func in _fmodf
59881 do :
59882 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
59883 if test "x$ac_cv_func__fmodf" = x""yes; then :
59884 cat >>confdefs.h <<_ACEOF
59885 #define HAVE__FMODF 1
59886 _ACEOF
59889 done
59898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
59899 $as_echo_n "checking for frexpf declaration... " >&6; }
59900 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59901 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
59902 $as_echo_n "(cached) " >&6
59903 else
59906 ac_ext=cpp
59907 ac_cpp='$CXXCPP $CPPFLAGS'
59908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59913 /* end confdefs.h. */
59914 #include <math.h>
59916 main ()
59918 frexpf(0, 0);
59920 return 0;
59922 _ACEOF
59923 if ac_fn_cxx_try_compile "$LINENO"; then :
59924 glibcxx_cv_func_frexpf_use=yes
59925 else
59926 glibcxx_cv_func_frexpf_use=no
59928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59929 ac_ext=c
59930 ac_cpp='$CPP $CPPFLAGS'
59931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
59940 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
59942 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59943 for ac_func in frexpf
59944 do :
59945 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
59946 if test "x$ac_cv_func_frexpf" = x""yes; then :
59947 cat >>confdefs.h <<_ACEOF
59948 #define HAVE_FREXPF 1
59949 _ACEOF
59952 done
59954 else
59956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
59957 $as_echo_n "checking for _frexpf declaration... " >&6; }
59958 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59959 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
59960 $as_echo_n "(cached) " >&6
59961 else
59964 ac_ext=cpp
59965 ac_cpp='$CXXCPP $CPPFLAGS'
59966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59971 /* end confdefs.h. */
59972 #include <math.h>
59974 main ()
59976 _frexpf(0, 0);
59978 return 0;
59980 _ACEOF
59981 if ac_fn_cxx_try_compile "$LINENO"; then :
59982 glibcxx_cv_func__frexpf_use=yes
59983 else
59984 glibcxx_cv_func__frexpf_use=no
59986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59987 ac_ext=c
59988 ac_cpp='$CPP $CPPFLAGS'
59989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
59998 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
60000 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
60001 for ac_func in _frexpf
60002 do :
60003 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
60004 if test "x$ac_cv_func__frexpf" = x""yes; then :
60005 cat >>confdefs.h <<_ACEOF
60006 #define HAVE__FREXPF 1
60007 _ACEOF
60010 done
60019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
60020 $as_echo_n "checking for hypotf declaration... " >&6; }
60021 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
60022 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
60023 $as_echo_n "(cached) " >&6
60024 else
60027 ac_ext=cpp
60028 ac_cpp='$CXXCPP $CPPFLAGS'
60029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60034 /* end confdefs.h. */
60035 #include <math.h>
60037 main ()
60039 hypotf(0, 0);
60041 return 0;
60043 _ACEOF
60044 if ac_fn_cxx_try_compile "$LINENO"; then :
60045 glibcxx_cv_func_hypotf_use=yes
60046 else
60047 glibcxx_cv_func_hypotf_use=no
60049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60050 ac_ext=c
60051 ac_cpp='$CPP $CPPFLAGS'
60052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
60061 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
60063 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
60064 for ac_func in hypotf
60065 do :
60066 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
60067 if test "x$ac_cv_func_hypotf" = x""yes; then :
60068 cat >>confdefs.h <<_ACEOF
60069 #define HAVE_HYPOTF 1
60070 _ACEOF
60073 done
60075 else
60077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
60078 $as_echo_n "checking for _hypotf declaration... " >&6; }
60079 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
60080 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
60081 $as_echo_n "(cached) " >&6
60082 else
60085 ac_ext=cpp
60086 ac_cpp='$CXXCPP $CPPFLAGS'
60087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60092 /* end confdefs.h. */
60093 #include <math.h>
60095 main ()
60097 _hypotf(0, 0);
60099 return 0;
60101 _ACEOF
60102 if ac_fn_cxx_try_compile "$LINENO"; then :
60103 glibcxx_cv_func__hypotf_use=yes
60104 else
60105 glibcxx_cv_func__hypotf_use=no
60107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60108 ac_ext=c
60109 ac_cpp='$CPP $CPPFLAGS'
60110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
60119 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
60121 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
60122 for ac_func in _hypotf
60123 do :
60124 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
60125 if test "x$ac_cv_func__hypotf" = x""yes; then :
60126 cat >>confdefs.h <<_ACEOF
60127 #define HAVE__HYPOTF 1
60128 _ACEOF
60131 done
60140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
60141 $as_echo_n "checking for ldexpf declaration... " >&6; }
60142 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60143 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
60144 $as_echo_n "(cached) " >&6
60145 else
60148 ac_ext=cpp
60149 ac_cpp='$CXXCPP $CPPFLAGS'
60150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60155 /* end confdefs.h. */
60156 #include <math.h>
60158 main ()
60160 ldexpf(0, 0);
60162 return 0;
60164 _ACEOF
60165 if ac_fn_cxx_try_compile "$LINENO"; then :
60166 glibcxx_cv_func_ldexpf_use=yes
60167 else
60168 glibcxx_cv_func_ldexpf_use=no
60170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60171 ac_ext=c
60172 ac_cpp='$CPP $CPPFLAGS'
60173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
60182 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
60184 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60185 for ac_func in ldexpf
60186 do :
60187 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
60188 if test "x$ac_cv_func_ldexpf" = x""yes; then :
60189 cat >>confdefs.h <<_ACEOF
60190 #define HAVE_LDEXPF 1
60191 _ACEOF
60194 done
60196 else
60198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
60199 $as_echo_n "checking for _ldexpf declaration... " >&6; }
60200 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60201 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
60202 $as_echo_n "(cached) " >&6
60203 else
60206 ac_ext=cpp
60207 ac_cpp='$CXXCPP $CPPFLAGS'
60208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60213 /* end confdefs.h. */
60214 #include <math.h>
60216 main ()
60218 _ldexpf(0, 0);
60220 return 0;
60222 _ACEOF
60223 if ac_fn_cxx_try_compile "$LINENO"; then :
60224 glibcxx_cv_func__ldexpf_use=yes
60225 else
60226 glibcxx_cv_func__ldexpf_use=no
60228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60229 ac_ext=c
60230 ac_cpp='$CPP $CPPFLAGS'
60231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
60240 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
60242 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60243 for ac_func in _ldexpf
60244 do :
60245 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
60246 if test "x$ac_cv_func__ldexpf" = x""yes; then :
60247 cat >>confdefs.h <<_ACEOF
60248 #define HAVE__LDEXPF 1
60249 _ACEOF
60252 done
60261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
60262 $as_echo_n "checking for logf declaration... " >&6; }
60263 if test x${glibcxx_cv_func_logf_use+set} != xset; then
60264 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
60265 $as_echo_n "(cached) " >&6
60266 else
60269 ac_ext=cpp
60270 ac_cpp='$CXXCPP $CPPFLAGS'
60271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60276 /* end confdefs.h. */
60277 #include <math.h>
60278 #ifdef HAVE_IEEEFP_H
60279 #include <ieeefp.h>
60280 #endif
60283 main ()
60285 logf(0);
60287 return 0;
60289 _ACEOF
60290 if ac_fn_cxx_try_compile "$LINENO"; then :
60291 glibcxx_cv_func_logf_use=yes
60292 else
60293 glibcxx_cv_func_logf_use=no
60295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60296 ac_ext=c
60297 ac_cpp='$CPP $CPPFLAGS'
60298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
60307 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
60309 if test x$glibcxx_cv_func_logf_use = x"yes"; then
60310 for ac_func in logf
60311 do :
60312 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
60313 if test "x$ac_cv_func_logf" = x""yes; then :
60314 cat >>confdefs.h <<_ACEOF
60315 #define HAVE_LOGF 1
60316 _ACEOF
60319 done
60321 else
60323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
60324 $as_echo_n "checking for _logf declaration... " >&6; }
60325 if test x${glibcxx_cv_func__logf_use+set} != xset; then
60326 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
60327 $as_echo_n "(cached) " >&6
60328 else
60331 ac_ext=cpp
60332 ac_cpp='$CXXCPP $CPPFLAGS'
60333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60338 /* end confdefs.h. */
60339 #include <math.h>
60340 #ifdef HAVE_IEEEFP_H
60341 #include <ieeefp.h>
60342 #endif
60345 main ()
60347 _logf(0);
60349 return 0;
60351 _ACEOF
60352 if ac_fn_cxx_try_compile "$LINENO"; then :
60353 glibcxx_cv_func__logf_use=yes
60354 else
60355 glibcxx_cv_func__logf_use=no
60357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60358 ac_ext=c
60359 ac_cpp='$CPP $CPPFLAGS'
60360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
60369 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
60371 if test x$glibcxx_cv_func__logf_use = x"yes"; then
60372 for ac_func in _logf
60373 do :
60374 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
60375 if test "x$ac_cv_func__logf" = x""yes; then :
60376 cat >>confdefs.h <<_ACEOF
60377 #define HAVE__LOGF 1
60378 _ACEOF
60381 done
60390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
60391 $as_echo_n "checking for log10f declaration... " >&6; }
60392 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60393 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
60394 $as_echo_n "(cached) " >&6
60395 else
60398 ac_ext=cpp
60399 ac_cpp='$CXXCPP $CPPFLAGS'
60400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60405 /* end confdefs.h. */
60406 #include <math.h>
60407 #ifdef HAVE_IEEEFP_H
60408 #include <ieeefp.h>
60409 #endif
60412 main ()
60414 log10f(0);
60416 return 0;
60418 _ACEOF
60419 if ac_fn_cxx_try_compile "$LINENO"; then :
60420 glibcxx_cv_func_log10f_use=yes
60421 else
60422 glibcxx_cv_func_log10f_use=no
60424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60425 ac_ext=c
60426 ac_cpp='$CPP $CPPFLAGS'
60427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
60436 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
60438 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60439 for ac_func in log10f
60440 do :
60441 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
60442 if test "x$ac_cv_func_log10f" = x""yes; then :
60443 cat >>confdefs.h <<_ACEOF
60444 #define HAVE_LOG10F 1
60445 _ACEOF
60448 done
60450 else
60452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
60453 $as_echo_n "checking for _log10f declaration... " >&6; }
60454 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60455 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
60456 $as_echo_n "(cached) " >&6
60457 else
60460 ac_ext=cpp
60461 ac_cpp='$CXXCPP $CPPFLAGS'
60462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60467 /* end confdefs.h. */
60468 #include <math.h>
60469 #ifdef HAVE_IEEEFP_H
60470 #include <ieeefp.h>
60471 #endif
60474 main ()
60476 _log10f(0);
60478 return 0;
60480 _ACEOF
60481 if ac_fn_cxx_try_compile "$LINENO"; then :
60482 glibcxx_cv_func__log10f_use=yes
60483 else
60484 glibcxx_cv_func__log10f_use=no
60486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60487 ac_ext=c
60488 ac_cpp='$CPP $CPPFLAGS'
60489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
60498 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
60500 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
60501 for ac_func in _log10f
60502 do :
60503 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
60504 if test "x$ac_cv_func__log10f" = x""yes; then :
60505 cat >>confdefs.h <<_ACEOF
60506 #define HAVE__LOG10F 1
60507 _ACEOF
60510 done
60519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
60520 $as_echo_n "checking for modff declaration... " >&6; }
60521 if test x${glibcxx_cv_func_modff_use+set} != xset; then
60522 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
60523 $as_echo_n "(cached) " >&6
60524 else
60527 ac_ext=cpp
60528 ac_cpp='$CXXCPP $CPPFLAGS'
60529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60534 /* end confdefs.h. */
60535 #include <math.h>
60537 main ()
60539 modff(0, 0);
60541 return 0;
60543 _ACEOF
60544 if ac_fn_cxx_try_compile "$LINENO"; then :
60545 glibcxx_cv_func_modff_use=yes
60546 else
60547 glibcxx_cv_func_modff_use=no
60549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60550 ac_ext=c
60551 ac_cpp='$CPP $CPPFLAGS'
60552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
60561 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
60563 if test x$glibcxx_cv_func_modff_use = x"yes"; then
60564 for ac_func in modff
60565 do :
60566 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
60567 if test "x$ac_cv_func_modff" = x""yes; then :
60568 cat >>confdefs.h <<_ACEOF
60569 #define HAVE_MODFF 1
60570 _ACEOF
60573 done
60575 else
60577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
60578 $as_echo_n "checking for _modff declaration... " >&6; }
60579 if test x${glibcxx_cv_func__modff_use+set} != xset; then
60580 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
60581 $as_echo_n "(cached) " >&6
60582 else
60585 ac_ext=cpp
60586 ac_cpp='$CXXCPP $CPPFLAGS'
60587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60592 /* end confdefs.h. */
60593 #include <math.h>
60595 main ()
60597 _modff(0, 0);
60599 return 0;
60601 _ACEOF
60602 if ac_fn_cxx_try_compile "$LINENO"; then :
60603 glibcxx_cv_func__modff_use=yes
60604 else
60605 glibcxx_cv_func__modff_use=no
60607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60608 ac_ext=c
60609 ac_cpp='$CPP $CPPFLAGS'
60610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
60619 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
60621 if test x$glibcxx_cv_func__modff_use = x"yes"; then
60622 for ac_func in _modff
60623 do :
60624 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
60625 if test "x$ac_cv_func__modff" = x""yes; then :
60626 cat >>confdefs.h <<_ACEOF
60627 #define HAVE__MODFF 1
60628 _ACEOF
60631 done
60640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
60641 $as_echo_n "checking for modf declaration... " >&6; }
60642 if test x${glibcxx_cv_func_modf_use+set} != xset; then
60643 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
60644 $as_echo_n "(cached) " >&6
60645 else
60648 ac_ext=cpp
60649 ac_cpp='$CXXCPP $CPPFLAGS'
60650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60655 /* end confdefs.h. */
60656 #include <math.h>
60658 main ()
60660 modf(0, 0);
60662 return 0;
60664 _ACEOF
60665 if ac_fn_cxx_try_compile "$LINENO"; then :
60666 glibcxx_cv_func_modf_use=yes
60667 else
60668 glibcxx_cv_func_modf_use=no
60670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60671 ac_ext=c
60672 ac_cpp='$CPP $CPPFLAGS'
60673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
60682 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
60684 if test x$glibcxx_cv_func_modf_use = x"yes"; then
60685 for ac_func in modf
60686 do :
60687 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
60688 if test "x$ac_cv_func_modf" = x""yes; then :
60689 cat >>confdefs.h <<_ACEOF
60690 #define HAVE_MODF 1
60691 _ACEOF
60694 done
60696 else
60698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
60699 $as_echo_n "checking for _modf declaration... " >&6; }
60700 if test x${glibcxx_cv_func__modf_use+set} != xset; then
60701 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
60702 $as_echo_n "(cached) " >&6
60703 else
60706 ac_ext=cpp
60707 ac_cpp='$CXXCPP $CPPFLAGS'
60708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60713 /* end confdefs.h. */
60714 #include <math.h>
60716 main ()
60718 _modf(0, 0);
60720 return 0;
60722 _ACEOF
60723 if ac_fn_cxx_try_compile "$LINENO"; then :
60724 glibcxx_cv_func__modf_use=yes
60725 else
60726 glibcxx_cv_func__modf_use=no
60728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60729 ac_ext=c
60730 ac_cpp='$CPP $CPPFLAGS'
60731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
60740 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
60742 if test x$glibcxx_cv_func__modf_use = x"yes"; then
60743 for ac_func in _modf
60744 do :
60745 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
60746 if test "x$ac_cv_func__modf" = x""yes; then :
60747 cat >>confdefs.h <<_ACEOF
60748 #define HAVE__MODF 1
60749 _ACEOF
60752 done
60761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
60762 $as_echo_n "checking for powf declaration... " >&6; }
60763 if test x${glibcxx_cv_func_powf_use+set} != xset; then
60764 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
60765 $as_echo_n "(cached) " >&6
60766 else
60769 ac_ext=cpp
60770 ac_cpp='$CXXCPP $CPPFLAGS'
60771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60776 /* end confdefs.h. */
60777 #include <math.h>
60779 main ()
60781 powf(0, 0);
60783 return 0;
60785 _ACEOF
60786 if ac_fn_cxx_try_compile "$LINENO"; then :
60787 glibcxx_cv_func_powf_use=yes
60788 else
60789 glibcxx_cv_func_powf_use=no
60791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60792 ac_ext=c
60793 ac_cpp='$CPP $CPPFLAGS'
60794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
60803 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
60805 if test x$glibcxx_cv_func_powf_use = x"yes"; then
60806 for ac_func in powf
60807 do :
60808 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
60809 if test "x$ac_cv_func_powf" = x""yes; then :
60810 cat >>confdefs.h <<_ACEOF
60811 #define HAVE_POWF 1
60812 _ACEOF
60815 done
60817 else
60819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
60820 $as_echo_n "checking for _powf declaration... " >&6; }
60821 if test x${glibcxx_cv_func__powf_use+set} != xset; then
60822 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
60823 $as_echo_n "(cached) " >&6
60824 else
60827 ac_ext=cpp
60828 ac_cpp='$CXXCPP $CPPFLAGS'
60829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60834 /* end confdefs.h. */
60835 #include <math.h>
60837 main ()
60839 _powf(0, 0);
60841 return 0;
60843 _ACEOF
60844 if ac_fn_cxx_try_compile "$LINENO"; then :
60845 glibcxx_cv_func__powf_use=yes
60846 else
60847 glibcxx_cv_func__powf_use=no
60849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60850 ac_ext=c
60851 ac_cpp='$CPP $CPPFLAGS'
60852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
60861 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
60863 if test x$glibcxx_cv_func__powf_use = x"yes"; then
60864 for ac_func in _powf
60865 do :
60866 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
60867 if test "x$ac_cv_func__powf" = x""yes; then :
60868 cat >>confdefs.h <<_ACEOF
60869 #define HAVE__POWF 1
60870 _ACEOF
60873 done
60882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
60883 $as_echo_n "checking for sqrtf declaration... " >&6; }
60884 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
60885 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
60886 $as_echo_n "(cached) " >&6
60887 else
60890 ac_ext=cpp
60891 ac_cpp='$CXXCPP $CPPFLAGS'
60892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60897 /* end confdefs.h. */
60898 #include <math.h>
60899 #ifdef HAVE_IEEEFP_H
60900 #include <ieeefp.h>
60901 #endif
60904 main ()
60906 sqrtf(0);
60908 return 0;
60910 _ACEOF
60911 if ac_fn_cxx_try_compile "$LINENO"; then :
60912 glibcxx_cv_func_sqrtf_use=yes
60913 else
60914 glibcxx_cv_func_sqrtf_use=no
60916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60917 ac_ext=c
60918 ac_cpp='$CPP $CPPFLAGS'
60919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
60928 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
60930 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
60931 for ac_func in sqrtf
60932 do :
60933 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
60934 if test "x$ac_cv_func_sqrtf" = x""yes; then :
60935 cat >>confdefs.h <<_ACEOF
60936 #define HAVE_SQRTF 1
60937 _ACEOF
60940 done
60942 else
60944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
60945 $as_echo_n "checking for _sqrtf declaration... " >&6; }
60946 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
60947 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
60948 $as_echo_n "(cached) " >&6
60949 else
60952 ac_ext=cpp
60953 ac_cpp='$CXXCPP $CPPFLAGS'
60954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60959 /* end confdefs.h. */
60960 #include <math.h>
60961 #ifdef HAVE_IEEEFP_H
60962 #include <ieeefp.h>
60963 #endif
60966 main ()
60968 _sqrtf(0);
60970 return 0;
60972 _ACEOF
60973 if ac_fn_cxx_try_compile "$LINENO"; then :
60974 glibcxx_cv_func__sqrtf_use=yes
60975 else
60976 glibcxx_cv_func__sqrtf_use=no
60978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60979 ac_ext=c
60980 ac_cpp='$CPP $CPPFLAGS'
60981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
60990 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
60992 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
60993 for ac_func in _sqrtf
60994 do :
60995 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
60996 if test "x$ac_cv_func__sqrtf" = x""yes; then :
60997 cat >>confdefs.h <<_ACEOF
60998 #define HAVE__SQRTF 1
60999 _ACEOF
61002 done
61011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
61012 $as_echo_n "checking for sincosf declaration... " >&6; }
61013 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
61014 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
61015 $as_echo_n "(cached) " >&6
61016 else
61019 ac_ext=cpp
61020 ac_cpp='$CXXCPP $CPPFLAGS'
61021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61026 /* end confdefs.h. */
61027 #include <math.h>
61029 main ()
61031 sincosf(0, 0, 0);
61033 return 0;
61035 _ACEOF
61036 if ac_fn_cxx_try_compile "$LINENO"; then :
61037 glibcxx_cv_func_sincosf_use=yes
61038 else
61039 glibcxx_cv_func_sincosf_use=no
61041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61042 ac_ext=c
61043 ac_cpp='$CPP $CPPFLAGS'
61044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
61053 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
61055 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
61056 for ac_func in sincosf
61057 do :
61058 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
61059 if test "x$ac_cv_func_sincosf" = x""yes; then :
61060 cat >>confdefs.h <<_ACEOF
61061 #define HAVE_SINCOSF 1
61062 _ACEOF
61065 done
61067 else
61069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
61070 $as_echo_n "checking for _sincosf declaration... " >&6; }
61071 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
61072 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
61073 $as_echo_n "(cached) " >&6
61074 else
61077 ac_ext=cpp
61078 ac_cpp='$CXXCPP $CPPFLAGS'
61079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61084 /* end confdefs.h. */
61085 #include <math.h>
61087 main ()
61089 _sincosf(0, 0, 0);
61091 return 0;
61093 _ACEOF
61094 if ac_fn_cxx_try_compile "$LINENO"; then :
61095 glibcxx_cv_func__sincosf_use=yes
61096 else
61097 glibcxx_cv_func__sincosf_use=no
61099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61100 ac_ext=c
61101 ac_cpp='$CPP $CPPFLAGS'
61102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
61111 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
61113 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
61114 for ac_func in _sincosf
61115 do :
61116 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
61117 if test "x$ac_cv_func__sincosf" = x""yes; then :
61118 cat >>confdefs.h <<_ACEOF
61119 #define HAVE__SINCOSF 1
61120 _ACEOF
61123 done
61132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
61133 $as_echo_n "checking for finitef declaration... " >&6; }
61134 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
61135 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
61136 $as_echo_n "(cached) " >&6
61137 else
61140 ac_ext=cpp
61141 ac_cpp='$CXXCPP $CPPFLAGS'
61142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61147 /* end confdefs.h. */
61148 #include <math.h>
61149 #ifdef HAVE_IEEEFP_H
61150 #include <ieeefp.h>
61151 #endif
61154 main ()
61156 finitef(0);
61158 return 0;
61160 _ACEOF
61161 if ac_fn_cxx_try_compile "$LINENO"; then :
61162 glibcxx_cv_func_finitef_use=yes
61163 else
61164 glibcxx_cv_func_finitef_use=no
61166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61167 ac_ext=c
61168 ac_cpp='$CPP $CPPFLAGS'
61169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
61178 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
61180 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
61181 for ac_func in finitef
61182 do :
61183 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
61184 if test "x$ac_cv_func_finitef" = x""yes; then :
61185 cat >>confdefs.h <<_ACEOF
61186 #define HAVE_FINITEF 1
61187 _ACEOF
61190 done
61192 else
61194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
61195 $as_echo_n "checking for _finitef declaration... " >&6; }
61196 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
61197 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
61198 $as_echo_n "(cached) " >&6
61199 else
61202 ac_ext=cpp
61203 ac_cpp='$CXXCPP $CPPFLAGS'
61204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61209 /* end confdefs.h. */
61210 #include <math.h>
61211 #ifdef HAVE_IEEEFP_H
61212 #include <ieeefp.h>
61213 #endif
61216 main ()
61218 _finitef(0);
61220 return 0;
61222 _ACEOF
61223 if ac_fn_cxx_try_compile "$LINENO"; then :
61224 glibcxx_cv_func__finitef_use=yes
61225 else
61226 glibcxx_cv_func__finitef_use=no
61228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61229 ac_ext=c
61230 ac_cpp='$CPP $CPPFLAGS'
61231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
61240 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
61242 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
61243 for ac_func in _finitef
61244 do :
61245 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
61246 if test "x$ac_cv_func__finitef" = x""yes; then :
61247 cat >>confdefs.h <<_ACEOF
61248 #define HAVE__FINITEF 1
61249 _ACEOF
61252 done
61261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
61262 $as_echo_n "checking for long double trig functions... " >&6; }
61263 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
61264 $as_echo_n "(cached) " >&6
61265 else
61268 ac_ext=cpp
61269 ac_cpp='$CXXCPP $CPPFLAGS'
61270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61275 /* end confdefs.h. */
61276 #include <math.h>
61278 main ()
61280 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
61282 return 0;
61284 _ACEOF
61285 if ac_fn_cxx_try_compile "$LINENO"; then :
61286 glibcxx_cv_func_long_double_trig_use=yes
61287 else
61288 glibcxx_cv_func_long_double_trig_use=no
61290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61291 ac_ext=c
61292 ac_cpp='$CPP $CPPFLAGS'
61293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
61300 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
61301 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
61302 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
61303 do :
61304 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61305 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61306 eval as_val=\$$as_ac_var
61307 if test "x$as_val" = x""yes; then :
61308 cat >>confdefs.h <<_ACEOF
61309 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61310 _ACEOF
61313 done
61315 else
61316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
61317 $as_echo_n "checking for _long double trig functions... " >&6; }
61318 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
61319 $as_echo_n "(cached) " >&6
61320 else
61323 ac_ext=cpp
61324 ac_cpp='$CXXCPP $CPPFLAGS'
61325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61330 /* end confdefs.h. */
61331 #include <math.h>
61333 main ()
61335 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
61337 return 0;
61339 _ACEOF
61340 if ac_fn_cxx_try_compile "$LINENO"; then :
61341 glibcxx_cv_func__long_double_trig_use=yes
61342 else
61343 glibcxx_cv_func__long_double_trig_use=no
61345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61346 ac_ext=c
61347 ac_cpp='$CPP $CPPFLAGS'
61348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
61355 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
61356 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
61357 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
61358 do :
61359 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61360 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61361 eval as_val=\$$as_ac_var
61362 if test "x$as_val" = x""yes; then :
61363 cat >>confdefs.h <<_ACEOF
61364 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61365 _ACEOF
61368 done
61377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
61378 $as_echo_n "checking for long double round functions... " >&6; }
61379 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
61380 $as_echo_n "(cached) " >&6
61381 else
61384 ac_ext=cpp
61385 ac_cpp='$CXXCPP $CPPFLAGS'
61386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61391 /* end confdefs.h. */
61392 #include <math.h>
61394 main ()
61396 ceill (0); floorl (0);
61398 return 0;
61400 _ACEOF
61401 if ac_fn_cxx_try_compile "$LINENO"; then :
61402 glibcxx_cv_func_long_double_round_use=yes
61403 else
61404 glibcxx_cv_func_long_double_round_use=no
61406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61407 ac_ext=c
61408 ac_cpp='$CPP $CPPFLAGS'
61409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
61416 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
61417 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
61418 for ac_func in ceill floorl
61419 do :
61420 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61421 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61422 eval as_val=\$$as_ac_var
61423 if test "x$as_val" = x""yes; then :
61424 cat >>confdefs.h <<_ACEOF
61425 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61426 _ACEOF
61429 done
61431 else
61432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
61433 $as_echo_n "checking for _long double round functions... " >&6; }
61434 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
61435 $as_echo_n "(cached) " >&6
61436 else
61439 ac_ext=cpp
61440 ac_cpp='$CXXCPP $CPPFLAGS'
61441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61446 /* end confdefs.h. */
61447 #include <math.h>
61449 main ()
61451 _ceill (0); _floorl (0);
61453 return 0;
61455 _ACEOF
61456 if ac_fn_cxx_try_compile "$LINENO"; then :
61457 glibcxx_cv_func__long_double_round_use=yes
61458 else
61459 glibcxx_cv_func__long_double_round_use=no
61461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61462 ac_ext=c
61463 ac_cpp='$CPP $CPPFLAGS'
61464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
61471 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
61472 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
61473 for ac_func in _ceill _floorl
61474 do :
61475 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61476 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61477 eval as_val=\$$as_ac_var
61478 if test "x$as_val" = x""yes; then :
61479 cat >>confdefs.h <<_ACEOF
61480 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61481 _ACEOF
61484 done
61494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
61495 $as_echo_n "checking for isnanl declaration... " >&6; }
61496 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
61497 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
61498 $as_echo_n "(cached) " >&6
61499 else
61502 ac_ext=cpp
61503 ac_cpp='$CXXCPP $CPPFLAGS'
61504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61509 /* end confdefs.h. */
61510 #include <math.h>
61511 #ifdef HAVE_IEEEFP_H
61512 #include <ieeefp.h>
61513 #endif
61516 main ()
61518 isnanl(0);
61520 return 0;
61522 _ACEOF
61523 if ac_fn_cxx_try_compile "$LINENO"; then :
61524 glibcxx_cv_func_isnanl_use=yes
61525 else
61526 glibcxx_cv_func_isnanl_use=no
61528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61529 ac_ext=c
61530 ac_cpp='$CPP $CPPFLAGS'
61531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
61540 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
61542 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
61543 for ac_func in isnanl
61544 do :
61545 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
61546 if test "x$ac_cv_func_isnanl" = x""yes; then :
61547 cat >>confdefs.h <<_ACEOF
61548 #define HAVE_ISNANL 1
61549 _ACEOF
61552 done
61554 else
61556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
61557 $as_echo_n "checking for _isnanl declaration... " >&6; }
61558 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
61559 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
61560 $as_echo_n "(cached) " >&6
61561 else
61564 ac_ext=cpp
61565 ac_cpp='$CXXCPP $CPPFLAGS'
61566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61571 /* end confdefs.h. */
61572 #include <math.h>
61573 #ifdef HAVE_IEEEFP_H
61574 #include <ieeefp.h>
61575 #endif
61578 main ()
61580 _isnanl(0);
61582 return 0;
61584 _ACEOF
61585 if ac_fn_cxx_try_compile "$LINENO"; then :
61586 glibcxx_cv_func__isnanl_use=yes
61587 else
61588 glibcxx_cv_func__isnanl_use=no
61590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61591 ac_ext=c
61592 ac_cpp='$CPP $CPPFLAGS'
61593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
61602 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
61604 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
61605 for ac_func in _isnanl
61606 do :
61607 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
61608 if test "x$ac_cv_func__isnanl" = x""yes; then :
61609 cat >>confdefs.h <<_ACEOF
61610 #define HAVE__ISNANL 1
61611 _ACEOF
61614 done
61623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
61624 $as_echo_n "checking for isinfl declaration... " >&6; }
61625 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
61626 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
61627 $as_echo_n "(cached) " >&6
61628 else
61631 ac_ext=cpp
61632 ac_cpp='$CXXCPP $CPPFLAGS'
61633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61638 /* end confdefs.h. */
61639 #include <math.h>
61640 #ifdef HAVE_IEEEFP_H
61641 #include <ieeefp.h>
61642 #endif
61645 main ()
61647 isinfl(0);
61649 return 0;
61651 _ACEOF
61652 if ac_fn_cxx_try_compile "$LINENO"; then :
61653 glibcxx_cv_func_isinfl_use=yes
61654 else
61655 glibcxx_cv_func_isinfl_use=no
61657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61658 ac_ext=c
61659 ac_cpp='$CPP $CPPFLAGS'
61660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
61669 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
61671 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
61672 for ac_func in isinfl
61673 do :
61674 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
61675 if test "x$ac_cv_func_isinfl" = x""yes; then :
61676 cat >>confdefs.h <<_ACEOF
61677 #define HAVE_ISINFL 1
61678 _ACEOF
61681 done
61683 else
61685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
61686 $as_echo_n "checking for _isinfl declaration... " >&6; }
61687 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
61688 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
61689 $as_echo_n "(cached) " >&6
61690 else
61693 ac_ext=cpp
61694 ac_cpp='$CXXCPP $CPPFLAGS'
61695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61700 /* end confdefs.h. */
61701 #include <math.h>
61702 #ifdef HAVE_IEEEFP_H
61703 #include <ieeefp.h>
61704 #endif
61707 main ()
61709 _isinfl(0);
61711 return 0;
61713 _ACEOF
61714 if ac_fn_cxx_try_compile "$LINENO"; then :
61715 glibcxx_cv_func__isinfl_use=yes
61716 else
61717 glibcxx_cv_func__isinfl_use=no
61719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61720 ac_ext=c
61721 ac_cpp='$CPP $CPPFLAGS'
61722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
61731 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
61733 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
61734 for ac_func in _isinfl
61735 do :
61736 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
61737 if test "x$ac_cv_func__isinfl" = x""yes; then :
61738 cat >>confdefs.h <<_ACEOF
61739 #define HAVE__ISINFL 1
61740 _ACEOF
61743 done
61752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
61753 $as_echo_n "checking for atan2l declaration... " >&6; }
61754 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
61755 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
61756 $as_echo_n "(cached) " >&6
61757 else
61760 ac_ext=cpp
61761 ac_cpp='$CXXCPP $CPPFLAGS'
61762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61767 /* end confdefs.h. */
61768 #include <math.h>
61770 main ()
61772 atan2l(0, 0);
61774 return 0;
61776 _ACEOF
61777 if ac_fn_cxx_try_compile "$LINENO"; then :
61778 glibcxx_cv_func_atan2l_use=yes
61779 else
61780 glibcxx_cv_func_atan2l_use=no
61782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61783 ac_ext=c
61784 ac_cpp='$CPP $CPPFLAGS'
61785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
61794 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
61796 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
61797 for ac_func in atan2l
61798 do :
61799 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
61800 if test "x$ac_cv_func_atan2l" = x""yes; then :
61801 cat >>confdefs.h <<_ACEOF
61802 #define HAVE_ATAN2L 1
61803 _ACEOF
61806 done
61808 else
61810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
61811 $as_echo_n "checking for _atan2l declaration... " >&6; }
61812 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
61813 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
61814 $as_echo_n "(cached) " >&6
61815 else
61818 ac_ext=cpp
61819 ac_cpp='$CXXCPP $CPPFLAGS'
61820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61825 /* end confdefs.h. */
61826 #include <math.h>
61828 main ()
61830 _atan2l(0, 0);
61832 return 0;
61834 _ACEOF
61835 if ac_fn_cxx_try_compile "$LINENO"; then :
61836 glibcxx_cv_func__atan2l_use=yes
61837 else
61838 glibcxx_cv_func__atan2l_use=no
61840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61841 ac_ext=c
61842 ac_cpp='$CPP $CPPFLAGS'
61843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
61852 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
61854 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
61855 for ac_func in _atan2l
61856 do :
61857 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
61858 if test "x$ac_cv_func__atan2l" = x""yes; then :
61859 cat >>confdefs.h <<_ACEOF
61860 #define HAVE__ATAN2L 1
61861 _ACEOF
61864 done
61873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
61874 $as_echo_n "checking for expl declaration... " >&6; }
61875 if test x${glibcxx_cv_func_expl_use+set} != xset; then
61876 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
61877 $as_echo_n "(cached) " >&6
61878 else
61881 ac_ext=cpp
61882 ac_cpp='$CXXCPP $CPPFLAGS'
61883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61888 /* end confdefs.h. */
61889 #include <math.h>
61890 #ifdef HAVE_IEEEFP_H
61891 #include <ieeefp.h>
61892 #endif
61895 main ()
61897 expl(0);
61899 return 0;
61901 _ACEOF
61902 if ac_fn_cxx_try_compile "$LINENO"; then :
61903 glibcxx_cv_func_expl_use=yes
61904 else
61905 glibcxx_cv_func_expl_use=no
61907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61908 ac_ext=c
61909 ac_cpp='$CPP $CPPFLAGS'
61910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
61919 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
61921 if test x$glibcxx_cv_func_expl_use = x"yes"; then
61922 for ac_func in expl
61923 do :
61924 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
61925 if test "x$ac_cv_func_expl" = x""yes; then :
61926 cat >>confdefs.h <<_ACEOF
61927 #define HAVE_EXPL 1
61928 _ACEOF
61931 done
61933 else
61935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
61936 $as_echo_n "checking for _expl declaration... " >&6; }
61937 if test x${glibcxx_cv_func__expl_use+set} != xset; then
61938 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
61939 $as_echo_n "(cached) " >&6
61940 else
61943 ac_ext=cpp
61944 ac_cpp='$CXXCPP $CPPFLAGS'
61945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61950 /* end confdefs.h. */
61951 #include <math.h>
61952 #ifdef HAVE_IEEEFP_H
61953 #include <ieeefp.h>
61954 #endif
61957 main ()
61959 _expl(0);
61961 return 0;
61963 _ACEOF
61964 if ac_fn_cxx_try_compile "$LINENO"; then :
61965 glibcxx_cv_func__expl_use=yes
61966 else
61967 glibcxx_cv_func__expl_use=no
61969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61970 ac_ext=c
61971 ac_cpp='$CPP $CPPFLAGS'
61972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
61981 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
61983 if test x$glibcxx_cv_func__expl_use = x"yes"; then
61984 for ac_func in _expl
61985 do :
61986 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
61987 if test "x$ac_cv_func__expl" = x""yes; then :
61988 cat >>confdefs.h <<_ACEOF
61989 #define HAVE__EXPL 1
61990 _ACEOF
61993 done
62002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
62003 $as_echo_n "checking for fabsl declaration... " >&6; }
62004 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
62005 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
62006 $as_echo_n "(cached) " >&6
62007 else
62010 ac_ext=cpp
62011 ac_cpp='$CXXCPP $CPPFLAGS'
62012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62017 /* end confdefs.h. */
62018 #include <math.h>
62019 #ifdef HAVE_IEEEFP_H
62020 #include <ieeefp.h>
62021 #endif
62024 main ()
62026 fabsl(0);
62028 return 0;
62030 _ACEOF
62031 if ac_fn_cxx_try_compile "$LINENO"; then :
62032 glibcxx_cv_func_fabsl_use=yes
62033 else
62034 glibcxx_cv_func_fabsl_use=no
62036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62037 ac_ext=c
62038 ac_cpp='$CPP $CPPFLAGS'
62039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
62048 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
62050 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
62051 for ac_func in fabsl
62052 do :
62053 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
62054 if test "x$ac_cv_func_fabsl" = x""yes; then :
62055 cat >>confdefs.h <<_ACEOF
62056 #define HAVE_FABSL 1
62057 _ACEOF
62060 done
62062 else
62064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
62065 $as_echo_n "checking for _fabsl declaration... " >&6; }
62066 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
62067 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
62068 $as_echo_n "(cached) " >&6
62069 else
62072 ac_ext=cpp
62073 ac_cpp='$CXXCPP $CPPFLAGS'
62074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62079 /* end confdefs.h. */
62080 #include <math.h>
62081 #ifdef HAVE_IEEEFP_H
62082 #include <ieeefp.h>
62083 #endif
62086 main ()
62088 _fabsl(0);
62090 return 0;
62092 _ACEOF
62093 if ac_fn_cxx_try_compile "$LINENO"; then :
62094 glibcxx_cv_func__fabsl_use=yes
62095 else
62096 glibcxx_cv_func__fabsl_use=no
62098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62099 ac_ext=c
62100 ac_cpp='$CPP $CPPFLAGS'
62101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
62110 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
62112 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
62113 for ac_func in _fabsl
62114 do :
62115 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
62116 if test "x$ac_cv_func__fabsl" = x""yes; then :
62117 cat >>confdefs.h <<_ACEOF
62118 #define HAVE__FABSL 1
62119 _ACEOF
62122 done
62131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
62132 $as_echo_n "checking for fmodl declaration... " >&6; }
62133 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
62134 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
62135 $as_echo_n "(cached) " >&6
62136 else
62139 ac_ext=cpp
62140 ac_cpp='$CXXCPP $CPPFLAGS'
62141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62146 /* end confdefs.h. */
62147 #include <math.h>
62149 main ()
62151 fmodl(0, 0);
62153 return 0;
62155 _ACEOF
62156 if ac_fn_cxx_try_compile "$LINENO"; then :
62157 glibcxx_cv_func_fmodl_use=yes
62158 else
62159 glibcxx_cv_func_fmodl_use=no
62161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62162 ac_ext=c
62163 ac_cpp='$CPP $CPPFLAGS'
62164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
62173 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
62175 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
62176 for ac_func in fmodl
62177 do :
62178 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
62179 if test "x$ac_cv_func_fmodl" = x""yes; then :
62180 cat >>confdefs.h <<_ACEOF
62181 #define HAVE_FMODL 1
62182 _ACEOF
62185 done
62187 else
62189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
62190 $as_echo_n "checking for _fmodl declaration... " >&6; }
62191 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
62192 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
62193 $as_echo_n "(cached) " >&6
62194 else
62197 ac_ext=cpp
62198 ac_cpp='$CXXCPP $CPPFLAGS'
62199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62204 /* end confdefs.h. */
62205 #include <math.h>
62207 main ()
62209 _fmodl(0, 0);
62211 return 0;
62213 _ACEOF
62214 if ac_fn_cxx_try_compile "$LINENO"; then :
62215 glibcxx_cv_func__fmodl_use=yes
62216 else
62217 glibcxx_cv_func__fmodl_use=no
62219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62220 ac_ext=c
62221 ac_cpp='$CPP $CPPFLAGS'
62222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
62231 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
62233 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
62234 for ac_func in _fmodl
62235 do :
62236 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
62237 if test "x$ac_cv_func__fmodl" = x""yes; then :
62238 cat >>confdefs.h <<_ACEOF
62239 #define HAVE__FMODL 1
62240 _ACEOF
62243 done
62252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
62253 $as_echo_n "checking for frexpl declaration... " >&6; }
62254 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
62255 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
62256 $as_echo_n "(cached) " >&6
62257 else
62260 ac_ext=cpp
62261 ac_cpp='$CXXCPP $CPPFLAGS'
62262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62267 /* end confdefs.h. */
62268 #include <math.h>
62270 main ()
62272 frexpl(0, 0);
62274 return 0;
62276 _ACEOF
62277 if ac_fn_cxx_try_compile "$LINENO"; then :
62278 glibcxx_cv_func_frexpl_use=yes
62279 else
62280 glibcxx_cv_func_frexpl_use=no
62282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62283 ac_ext=c
62284 ac_cpp='$CPP $CPPFLAGS'
62285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
62294 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
62296 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
62297 for ac_func in frexpl
62298 do :
62299 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
62300 if test "x$ac_cv_func_frexpl" = x""yes; then :
62301 cat >>confdefs.h <<_ACEOF
62302 #define HAVE_FREXPL 1
62303 _ACEOF
62306 done
62308 else
62310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
62311 $as_echo_n "checking for _frexpl declaration... " >&6; }
62312 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
62313 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
62314 $as_echo_n "(cached) " >&6
62315 else
62318 ac_ext=cpp
62319 ac_cpp='$CXXCPP $CPPFLAGS'
62320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62325 /* end confdefs.h. */
62326 #include <math.h>
62328 main ()
62330 _frexpl(0, 0);
62332 return 0;
62334 _ACEOF
62335 if ac_fn_cxx_try_compile "$LINENO"; then :
62336 glibcxx_cv_func__frexpl_use=yes
62337 else
62338 glibcxx_cv_func__frexpl_use=no
62340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62341 ac_ext=c
62342 ac_cpp='$CPP $CPPFLAGS'
62343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
62352 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
62354 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
62355 for ac_func in _frexpl
62356 do :
62357 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
62358 if test "x$ac_cv_func__frexpl" = x""yes; then :
62359 cat >>confdefs.h <<_ACEOF
62360 #define HAVE__FREXPL 1
62361 _ACEOF
62364 done
62373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
62374 $as_echo_n "checking for hypotl declaration... " >&6; }
62375 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
62376 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
62377 $as_echo_n "(cached) " >&6
62378 else
62381 ac_ext=cpp
62382 ac_cpp='$CXXCPP $CPPFLAGS'
62383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62388 /* end confdefs.h. */
62389 #include <math.h>
62391 main ()
62393 hypotl(0, 0);
62395 return 0;
62397 _ACEOF
62398 if ac_fn_cxx_try_compile "$LINENO"; then :
62399 glibcxx_cv_func_hypotl_use=yes
62400 else
62401 glibcxx_cv_func_hypotl_use=no
62403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62404 ac_ext=c
62405 ac_cpp='$CPP $CPPFLAGS'
62406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
62415 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
62417 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
62418 for ac_func in hypotl
62419 do :
62420 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
62421 if test "x$ac_cv_func_hypotl" = x""yes; then :
62422 cat >>confdefs.h <<_ACEOF
62423 #define HAVE_HYPOTL 1
62424 _ACEOF
62427 done
62429 else
62431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
62432 $as_echo_n "checking for _hypotl declaration... " >&6; }
62433 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
62434 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
62435 $as_echo_n "(cached) " >&6
62436 else
62439 ac_ext=cpp
62440 ac_cpp='$CXXCPP $CPPFLAGS'
62441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62446 /* end confdefs.h. */
62447 #include <math.h>
62449 main ()
62451 _hypotl(0, 0);
62453 return 0;
62455 _ACEOF
62456 if ac_fn_cxx_try_compile "$LINENO"; then :
62457 glibcxx_cv_func__hypotl_use=yes
62458 else
62459 glibcxx_cv_func__hypotl_use=no
62461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62462 ac_ext=c
62463 ac_cpp='$CPP $CPPFLAGS'
62464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
62473 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
62475 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
62476 for ac_func in _hypotl
62477 do :
62478 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
62479 if test "x$ac_cv_func__hypotl" = x""yes; then :
62480 cat >>confdefs.h <<_ACEOF
62481 #define HAVE__HYPOTL 1
62482 _ACEOF
62485 done
62494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
62495 $as_echo_n "checking for ldexpl declaration... " >&6; }
62496 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
62497 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
62498 $as_echo_n "(cached) " >&6
62499 else
62502 ac_ext=cpp
62503 ac_cpp='$CXXCPP $CPPFLAGS'
62504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62509 /* end confdefs.h. */
62510 #include <math.h>
62512 main ()
62514 ldexpl(0, 0);
62516 return 0;
62518 _ACEOF
62519 if ac_fn_cxx_try_compile "$LINENO"; then :
62520 glibcxx_cv_func_ldexpl_use=yes
62521 else
62522 glibcxx_cv_func_ldexpl_use=no
62524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62525 ac_ext=c
62526 ac_cpp='$CPP $CPPFLAGS'
62527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
62536 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
62538 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
62539 for ac_func in ldexpl
62540 do :
62541 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
62542 if test "x$ac_cv_func_ldexpl" = x""yes; then :
62543 cat >>confdefs.h <<_ACEOF
62544 #define HAVE_LDEXPL 1
62545 _ACEOF
62548 done
62550 else
62552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
62553 $as_echo_n "checking for _ldexpl declaration... " >&6; }
62554 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
62555 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
62556 $as_echo_n "(cached) " >&6
62557 else
62560 ac_ext=cpp
62561 ac_cpp='$CXXCPP $CPPFLAGS'
62562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62567 /* end confdefs.h. */
62568 #include <math.h>
62570 main ()
62572 _ldexpl(0, 0);
62574 return 0;
62576 _ACEOF
62577 if ac_fn_cxx_try_compile "$LINENO"; then :
62578 glibcxx_cv_func__ldexpl_use=yes
62579 else
62580 glibcxx_cv_func__ldexpl_use=no
62582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62583 ac_ext=c
62584 ac_cpp='$CPP $CPPFLAGS'
62585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
62594 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
62596 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
62597 for ac_func in _ldexpl
62598 do :
62599 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
62600 if test "x$ac_cv_func__ldexpl" = x""yes; then :
62601 cat >>confdefs.h <<_ACEOF
62602 #define HAVE__LDEXPL 1
62603 _ACEOF
62606 done
62615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
62616 $as_echo_n "checking for logl declaration... " >&6; }
62617 if test x${glibcxx_cv_func_logl_use+set} != xset; then
62618 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
62619 $as_echo_n "(cached) " >&6
62620 else
62623 ac_ext=cpp
62624 ac_cpp='$CXXCPP $CPPFLAGS'
62625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62630 /* end confdefs.h. */
62631 #include <math.h>
62632 #ifdef HAVE_IEEEFP_H
62633 #include <ieeefp.h>
62634 #endif
62637 main ()
62639 logl(0);
62641 return 0;
62643 _ACEOF
62644 if ac_fn_cxx_try_compile "$LINENO"; then :
62645 glibcxx_cv_func_logl_use=yes
62646 else
62647 glibcxx_cv_func_logl_use=no
62649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62650 ac_ext=c
62651 ac_cpp='$CPP $CPPFLAGS'
62652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
62661 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
62663 if test x$glibcxx_cv_func_logl_use = x"yes"; then
62664 for ac_func in logl
62665 do :
62666 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
62667 if test "x$ac_cv_func_logl" = x""yes; then :
62668 cat >>confdefs.h <<_ACEOF
62669 #define HAVE_LOGL 1
62670 _ACEOF
62673 done
62675 else
62677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
62678 $as_echo_n "checking for _logl declaration... " >&6; }
62679 if test x${glibcxx_cv_func__logl_use+set} != xset; then
62680 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
62681 $as_echo_n "(cached) " >&6
62682 else
62685 ac_ext=cpp
62686 ac_cpp='$CXXCPP $CPPFLAGS'
62687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62692 /* end confdefs.h. */
62693 #include <math.h>
62694 #ifdef HAVE_IEEEFP_H
62695 #include <ieeefp.h>
62696 #endif
62699 main ()
62701 _logl(0);
62703 return 0;
62705 _ACEOF
62706 if ac_fn_cxx_try_compile "$LINENO"; then :
62707 glibcxx_cv_func__logl_use=yes
62708 else
62709 glibcxx_cv_func__logl_use=no
62711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62712 ac_ext=c
62713 ac_cpp='$CPP $CPPFLAGS'
62714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
62723 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
62725 if test x$glibcxx_cv_func__logl_use = x"yes"; then
62726 for ac_func in _logl
62727 do :
62728 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
62729 if test "x$ac_cv_func__logl" = x""yes; then :
62730 cat >>confdefs.h <<_ACEOF
62731 #define HAVE__LOGL 1
62732 _ACEOF
62735 done
62744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
62745 $as_echo_n "checking for log10l declaration... " >&6; }
62746 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
62747 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
62748 $as_echo_n "(cached) " >&6
62749 else
62752 ac_ext=cpp
62753 ac_cpp='$CXXCPP $CPPFLAGS'
62754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62759 /* end confdefs.h. */
62760 #include <math.h>
62761 #ifdef HAVE_IEEEFP_H
62762 #include <ieeefp.h>
62763 #endif
62766 main ()
62768 log10l(0);
62770 return 0;
62772 _ACEOF
62773 if ac_fn_cxx_try_compile "$LINENO"; then :
62774 glibcxx_cv_func_log10l_use=yes
62775 else
62776 glibcxx_cv_func_log10l_use=no
62778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62779 ac_ext=c
62780 ac_cpp='$CPP $CPPFLAGS'
62781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
62790 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
62792 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
62793 for ac_func in log10l
62794 do :
62795 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
62796 if test "x$ac_cv_func_log10l" = x""yes; then :
62797 cat >>confdefs.h <<_ACEOF
62798 #define HAVE_LOG10L 1
62799 _ACEOF
62802 done
62804 else
62806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
62807 $as_echo_n "checking for _log10l declaration... " >&6; }
62808 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
62809 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
62810 $as_echo_n "(cached) " >&6
62811 else
62814 ac_ext=cpp
62815 ac_cpp='$CXXCPP $CPPFLAGS'
62816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62821 /* end confdefs.h. */
62822 #include <math.h>
62823 #ifdef HAVE_IEEEFP_H
62824 #include <ieeefp.h>
62825 #endif
62828 main ()
62830 _log10l(0);
62832 return 0;
62834 _ACEOF
62835 if ac_fn_cxx_try_compile "$LINENO"; then :
62836 glibcxx_cv_func__log10l_use=yes
62837 else
62838 glibcxx_cv_func__log10l_use=no
62840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62841 ac_ext=c
62842 ac_cpp='$CPP $CPPFLAGS'
62843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
62852 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
62854 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
62855 for ac_func in _log10l
62856 do :
62857 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
62858 if test "x$ac_cv_func__log10l" = x""yes; then :
62859 cat >>confdefs.h <<_ACEOF
62860 #define HAVE__LOG10L 1
62861 _ACEOF
62864 done
62873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
62874 $as_echo_n "checking for modfl declaration... " >&6; }
62875 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
62876 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
62877 $as_echo_n "(cached) " >&6
62878 else
62881 ac_ext=cpp
62882 ac_cpp='$CXXCPP $CPPFLAGS'
62883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62888 /* end confdefs.h. */
62889 #include <math.h>
62891 main ()
62893 modfl(0, 0);
62895 return 0;
62897 _ACEOF
62898 if ac_fn_cxx_try_compile "$LINENO"; then :
62899 glibcxx_cv_func_modfl_use=yes
62900 else
62901 glibcxx_cv_func_modfl_use=no
62903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62904 ac_ext=c
62905 ac_cpp='$CPP $CPPFLAGS'
62906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
62915 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
62917 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
62918 for ac_func in modfl
62919 do :
62920 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
62921 if test "x$ac_cv_func_modfl" = x""yes; then :
62922 cat >>confdefs.h <<_ACEOF
62923 #define HAVE_MODFL 1
62924 _ACEOF
62927 done
62929 else
62931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
62932 $as_echo_n "checking for _modfl declaration... " >&6; }
62933 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
62934 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
62935 $as_echo_n "(cached) " >&6
62936 else
62939 ac_ext=cpp
62940 ac_cpp='$CXXCPP $CPPFLAGS'
62941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62946 /* end confdefs.h. */
62947 #include <math.h>
62949 main ()
62951 _modfl(0, 0);
62953 return 0;
62955 _ACEOF
62956 if ac_fn_cxx_try_compile "$LINENO"; then :
62957 glibcxx_cv_func__modfl_use=yes
62958 else
62959 glibcxx_cv_func__modfl_use=no
62961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62962 ac_ext=c
62963 ac_cpp='$CPP $CPPFLAGS'
62964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
62973 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
62975 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
62976 for ac_func in _modfl
62977 do :
62978 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
62979 if test "x$ac_cv_func__modfl" = x""yes; then :
62980 cat >>confdefs.h <<_ACEOF
62981 #define HAVE__MODFL 1
62982 _ACEOF
62985 done
62994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
62995 $as_echo_n "checking for powl declaration... " >&6; }
62996 if test x${glibcxx_cv_func_powl_use+set} != xset; then
62997 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
62998 $as_echo_n "(cached) " >&6
62999 else
63002 ac_ext=cpp
63003 ac_cpp='$CXXCPP $CPPFLAGS'
63004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63009 /* end confdefs.h. */
63010 #include <math.h>
63012 main ()
63014 powl(0, 0);
63016 return 0;
63018 _ACEOF
63019 if ac_fn_cxx_try_compile "$LINENO"; then :
63020 glibcxx_cv_func_powl_use=yes
63021 else
63022 glibcxx_cv_func_powl_use=no
63024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63025 ac_ext=c
63026 ac_cpp='$CPP $CPPFLAGS'
63027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
63036 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
63038 if test x$glibcxx_cv_func_powl_use = x"yes"; then
63039 for ac_func in powl
63040 do :
63041 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
63042 if test "x$ac_cv_func_powl" = x""yes; then :
63043 cat >>confdefs.h <<_ACEOF
63044 #define HAVE_POWL 1
63045 _ACEOF
63048 done
63050 else
63052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
63053 $as_echo_n "checking for _powl declaration... " >&6; }
63054 if test x${glibcxx_cv_func__powl_use+set} != xset; then
63055 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
63056 $as_echo_n "(cached) " >&6
63057 else
63060 ac_ext=cpp
63061 ac_cpp='$CXXCPP $CPPFLAGS'
63062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63067 /* end confdefs.h. */
63068 #include <math.h>
63070 main ()
63072 _powl(0, 0);
63074 return 0;
63076 _ACEOF
63077 if ac_fn_cxx_try_compile "$LINENO"; then :
63078 glibcxx_cv_func__powl_use=yes
63079 else
63080 glibcxx_cv_func__powl_use=no
63082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63083 ac_ext=c
63084 ac_cpp='$CPP $CPPFLAGS'
63085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
63094 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
63096 if test x$glibcxx_cv_func__powl_use = x"yes"; then
63097 for ac_func in _powl
63098 do :
63099 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
63100 if test "x$ac_cv_func__powl" = x""yes; then :
63101 cat >>confdefs.h <<_ACEOF
63102 #define HAVE__POWL 1
63103 _ACEOF
63106 done
63115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
63116 $as_echo_n "checking for sqrtl declaration... " >&6; }
63117 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
63118 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
63119 $as_echo_n "(cached) " >&6
63120 else
63123 ac_ext=cpp
63124 ac_cpp='$CXXCPP $CPPFLAGS'
63125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63130 /* end confdefs.h. */
63131 #include <math.h>
63132 #ifdef HAVE_IEEEFP_H
63133 #include <ieeefp.h>
63134 #endif
63137 main ()
63139 sqrtl(0);
63141 return 0;
63143 _ACEOF
63144 if ac_fn_cxx_try_compile "$LINENO"; then :
63145 glibcxx_cv_func_sqrtl_use=yes
63146 else
63147 glibcxx_cv_func_sqrtl_use=no
63149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63150 ac_ext=c
63151 ac_cpp='$CPP $CPPFLAGS'
63152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
63161 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
63163 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
63164 for ac_func in sqrtl
63165 do :
63166 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
63167 if test "x$ac_cv_func_sqrtl" = x""yes; then :
63168 cat >>confdefs.h <<_ACEOF
63169 #define HAVE_SQRTL 1
63170 _ACEOF
63173 done
63175 else
63177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
63178 $as_echo_n "checking for _sqrtl declaration... " >&6; }
63179 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
63180 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
63181 $as_echo_n "(cached) " >&6
63182 else
63185 ac_ext=cpp
63186 ac_cpp='$CXXCPP $CPPFLAGS'
63187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63192 /* end confdefs.h. */
63193 #include <math.h>
63194 #ifdef HAVE_IEEEFP_H
63195 #include <ieeefp.h>
63196 #endif
63199 main ()
63201 _sqrtl(0);
63203 return 0;
63205 _ACEOF
63206 if ac_fn_cxx_try_compile "$LINENO"; then :
63207 glibcxx_cv_func__sqrtl_use=yes
63208 else
63209 glibcxx_cv_func__sqrtl_use=no
63211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63212 ac_ext=c
63213 ac_cpp='$CPP $CPPFLAGS'
63214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
63223 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
63225 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
63226 for ac_func in _sqrtl
63227 do :
63228 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
63229 if test "x$ac_cv_func__sqrtl" = x""yes; then :
63230 cat >>confdefs.h <<_ACEOF
63231 #define HAVE__SQRTL 1
63232 _ACEOF
63235 done
63244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
63245 $as_echo_n "checking for sincosl declaration... " >&6; }
63246 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
63247 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
63248 $as_echo_n "(cached) " >&6
63249 else
63252 ac_ext=cpp
63253 ac_cpp='$CXXCPP $CPPFLAGS'
63254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63259 /* end confdefs.h. */
63260 #include <math.h>
63262 main ()
63264 sincosl(0, 0, 0);
63266 return 0;
63268 _ACEOF
63269 if ac_fn_cxx_try_compile "$LINENO"; then :
63270 glibcxx_cv_func_sincosl_use=yes
63271 else
63272 glibcxx_cv_func_sincosl_use=no
63274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63275 ac_ext=c
63276 ac_cpp='$CPP $CPPFLAGS'
63277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
63286 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
63288 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
63289 for ac_func in sincosl
63290 do :
63291 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
63292 if test "x$ac_cv_func_sincosl" = x""yes; then :
63293 cat >>confdefs.h <<_ACEOF
63294 #define HAVE_SINCOSL 1
63295 _ACEOF
63298 done
63300 else
63302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
63303 $as_echo_n "checking for _sincosl declaration... " >&6; }
63304 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
63305 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
63306 $as_echo_n "(cached) " >&6
63307 else
63310 ac_ext=cpp
63311 ac_cpp='$CXXCPP $CPPFLAGS'
63312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63317 /* end confdefs.h. */
63318 #include <math.h>
63320 main ()
63322 _sincosl(0, 0, 0);
63324 return 0;
63326 _ACEOF
63327 if ac_fn_cxx_try_compile "$LINENO"; then :
63328 glibcxx_cv_func__sincosl_use=yes
63329 else
63330 glibcxx_cv_func__sincosl_use=no
63332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63333 ac_ext=c
63334 ac_cpp='$CPP $CPPFLAGS'
63335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
63344 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
63346 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
63347 for ac_func in _sincosl
63348 do :
63349 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
63350 if test "x$ac_cv_func__sincosl" = x""yes; then :
63351 cat >>confdefs.h <<_ACEOF
63352 #define HAVE__SINCOSL 1
63353 _ACEOF
63356 done
63365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
63366 $as_echo_n "checking for finitel declaration... " >&6; }
63367 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
63368 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
63369 $as_echo_n "(cached) " >&6
63370 else
63373 ac_ext=cpp
63374 ac_cpp='$CXXCPP $CPPFLAGS'
63375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63380 /* end confdefs.h. */
63381 #include <math.h>
63382 #ifdef HAVE_IEEEFP_H
63383 #include <ieeefp.h>
63384 #endif
63387 main ()
63389 finitel(0);
63391 return 0;
63393 _ACEOF
63394 if ac_fn_cxx_try_compile "$LINENO"; then :
63395 glibcxx_cv_func_finitel_use=yes
63396 else
63397 glibcxx_cv_func_finitel_use=no
63399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63400 ac_ext=c
63401 ac_cpp='$CPP $CPPFLAGS'
63402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
63411 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
63413 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
63414 for ac_func in finitel
63415 do :
63416 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
63417 if test "x$ac_cv_func_finitel" = x""yes; then :
63418 cat >>confdefs.h <<_ACEOF
63419 #define HAVE_FINITEL 1
63420 _ACEOF
63423 done
63425 else
63427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
63428 $as_echo_n "checking for _finitel declaration... " >&6; }
63429 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
63430 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
63431 $as_echo_n "(cached) " >&6
63432 else
63435 ac_ext=cpp
63436 ac_cpp='$CXXCPP $CPPFLAGS'
63437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63442 /* end confdefs.h. */
63443 #include <math.h>
63444 #ifdef HAVE_IEEEFP_H
63445 #include <ieeefp.h>
63446 #endif
63449 main ()
63451 _finitel(0);
63453 return 0;
63455 _ACEOF
63456 if ac_fn_cxx_try_compile "$LINENO"; then :
63457 glibcxx_cv_func__finitel_use=yes
63458 else
63459 glibcxx_cv_func__finitel_use=no
63461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63462 ac_ext=c
63463 ac_cpp='$CPP $CPPFLAGS'
63464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
63473 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
63475 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
63476 for ac_func in _finitel
63477 do :
63478 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
63479 if test "x$ac_cv_func__finitel" = x""yes; then :
63480 cat >>confdefs.h <<_ACEOF
63481 #define HAVE__FINITEL 1
63482 _ACEOF
63485 done
63493 LIBS="$ac_save_LIBS"
63494 CXXFLAGS="$ac_save_CXXFLAGS"
63497 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63498 ac_save_CXXFLAGS="$CXXFLAGS"
63499 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
63503 $as_echo_n "checking for strtold declaration... " >&6; }
63504 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63505 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
63506 $as_echo_n "(cached) " >&6
63507 else
63510 ac_ext=cpp
63511 ac_cpp='$CXXCPP $CPPFLAGS'
63512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63517 /* end confdefs.h. */
63518 #include <stdlib.h>
63520 main ()
63522 strtold(0, 0);
63524 return 0;
63526 _ACEOF
63527 if ac_fn_cxx_try_compile "$LINENO"; then :
63528 glibcxx_cv_func_strtold_use=yes
63529 else
63530 glibcxx_cv_func_strtold_use=no
63532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63533 ac_ext=c
63534 ac_cpp='$CPP $CPPFLAGS'
63535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
63544 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
63545 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63546 for ac_func in strtold
63547 do :
63548 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
63549 if test "x$ac_cv_func_strtold" = x""yes; then :
63550 cat >>confdefs.h <<_ACEOF
63551 #define HAVE_STRTOLD 1
63552 _ACEOF
63555 done
63562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
63563 $as_echo_n "checking for strtof declaration... " >&6; }
63564 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63565 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
63566 $as_echo_n "(cached) " >&6
63567 else
63570 ac_ext=cpp
63571 ac_cpp='$CXXCPP $CPPFLAGS'
63572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63577 /* end confdefs.h. */
63578 #include <stdlib.h>
63580 main ()
63582 strtof(0, 0);
63584 return 0;
63586 _ACEOF
63587 if ac_fn_cxx_try_compile "$LINENO"; then :
63588 glibcxx_cv_func_strtof_use=yes
63589 else
63590 glibcxx_cv_func_strtof_use=no
63592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63593 ac_ext=c
63594 ac_cpp='$CPP $CPPFLAGS'
63595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
63604 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
63605 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63606 for ac_func in strtof
63607 do :
63608 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
63609 if test "x$ac_cv_func_strtof" = x""yes; then :
63610 cat >>confdefs.h <<_ACEOF
63611 #define HAVE_STRTOF 1
63612 _ACEOF
63615 done
63622 CXXFLAGS="$ac_save_CXXFLAGS"
63625 *-solaris*)
63626 case "$target" in
63627 *-solaris2.9 | *-solaris2.10)
63629 # If we're not using GNU ld, then there's no point in even trying these
63630 # tests. Check for that first. We should have already tested for gld
63631 # by now (in libtool), but require it now just to be safe...
63632 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63633 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63637 # The name set by libtool depends on the version of libtool. Shame on us
63638 # for depending on an impl detail, but c'est la vie. Older versions used
63639 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63640 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63641 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63642 # set (hence we're using an older libtool), then set it.
63643 if test x${with_gnu_ld+set} != xset; then
63644 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63645 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63646 with_gnu_ld=no
63647 else
63648 with_gnu_ld=$ac_cv_prog_gnu_ld
63652 # Start by getting the version number. I think the libtool test already
63653 # does some of this, but throws away the result.
63654 glibcxx_ld_is_gold=no
63655 if test x"$with_gnu_ld" = x"yes"; then
63656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63657 $as_echo_n "checking for ld version... " >&6; }
63659 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63660 glibcxx_ld_is_gold=yes
63662 ldver=`$LD --version 2>/dev/null |
63663 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'`
63665 glibcxx_gnu_ld_version=`echo $ldver | \
63666 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63668 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63671 # Set --gc-sections.
63672 glibcxx_have_gc_sections=no
63673 if test "$glibcxx_ld_is_gold" = "yes"; then
63674 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63675 glibcxx_have_gc_sections=yes
63677 else
63678 glibcxx_gcsections_min_ld=21602
63679 if test x"$with_gnu_ld" = x"yes" &&
63680 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63681 glibcxx_have_gc_sections=yes
63684 if test "$glibcxx_have_gc_sections" = "yes"; then
63685 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63686 # NB: This flag only works reliably after 2.16.1. Configure tests
63687 # for this are difficult, so hard wire a value that should work.
63689 ac_test_CFLAGS="${CFLAGS+set}"
63690 ac_save_CFLAGS="$CFLAGS"
63691 CFLAGS='-Wl,--gc-sections'
63693 # Check for -Wl,--gc-sections
63694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63695 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63696 if test x$gcc_no_link = xyes; then
63697 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63700 /* end confdefs.h. */
63701 int one(void) { return 1; }
63702 int two(void) { return 2; }
63705 main ()
63707 two();
63709 return 0;
63711 _ACEOF
63712 if ac_fn_c_try_link "$LINENO"; then :
63713 ac_gcsections=yes
63714 else
63715 ac_gcsections=no
63717 rm -f core conftest.err conftest.$ac_objext \
63718 conftest$ac_exeext conftest.$ac_ext
63719 if test "$ac_gcsections" = "yes"; then
63720 rm -f conftest.c
63721 touch conftest.c
63722 if $CC -c conftest.c; then
63723 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63724 grep "Warning: gc-sections option ignored" > /dev/null; then
63725 ac_gcsections=no
63728 rm -f conftest.c conftest.o conftest
63730 if test "$ac_gcsections" = "yes"; then
63731 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63734 $as_echo "$ac_gcsections" >&6; }
63736 if test "$ac_test_CFLAGS" = set; then
63737 CFLAGS="$ac_save_CFLAGS"
63738 else
63739 # this is the suspicious part
63740 CFLAGS=''
63744 # Set -z,relro.
63745 # Note this is only for shared objects.
63746 ac_ld_relro=no
63747 if test x"$with_gnu_ld" = x"yes"; then
63748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63749 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63750 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63751 if test -n "$cxx_z_relo"; then
63752 OPT_LDFLAGS="-Wl,-z,relro"
63753 ac_ld_relro=yes
63755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63756 $as_echo "$ac_ld_relro" >&6; }
63759 # Set linker optimization flags.
63760 if test x"$with_gnu_ld" = x"yes"; then
63761 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63767 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
63769 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63771 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
63773 # All of the dependencies for wide character support are here, so
63774 # turn it on.
63775 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
63778 esac
63779 case "$target" in
63780 *-*-solaris2.10)
63781 # These two C99 functions are present only in Solaris >= 10
63782 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
63784 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
63787 esac
63788 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63790 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63792 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
63794 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63797 *-tpf)
63798 SECTION_FLAGS='-ffunction-sections -fdata-sections'
63799 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
63801 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63803 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
63805 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
63807 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
63809 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
63811 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
63813 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63815 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63817 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
63819 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
63821 if test x"long_double_math_on_this_cpu" = x"yes"; then
63822 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
63824 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
63826 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
63828 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
63832 *-*vms*)
63833 # Check for available headers.
63834 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
63836 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63837 ac_save_CXXFLAGS="$CXXFLAGS"
63838 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
63841 $as_echo_n "checking for sin in -lm... " >&6; }
63842 if test "${ac_cv_lib_m_sin+set}" = set; then :
63843 $as_echo_n "(cached) " >&6
63844 else
63845 ac_check_lib_save_LIBS=$LIBS
63846 LIBS="-lm $LIBS"
63847 if test x$gcc_no_link = xyes; then
63848 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63851 /* end confdefs.h. */
63853 /* Override any GCC internal prototype to avoid an error.
63854 Use char because int might match the return type of a GCC
63855 builtin and then its argument prototype would still apply. */
63856 #ifdef __cplusplus
63857 extern "C"
63858 #endif
63859 char sin ();
63861 main ()
63863 return sin ();
63865 return 0;
63867 _ACEOF
63868 if ac_fn_c_try_link "$LINENO"; then :
63869 ac_cv_lib_m_sin=yes
63870 else
63871 ac_cv_lib_m_sin=no
63873 rm -f core conftest.err conftest.$ac_objext \
63874 conftest$ac_exeext conftest.$ac_ext
63875 LIBS=$ac_check_lib_save_LIBS
63877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
63878 $as_echo "$ac_cv_lib_m_sin" >&6; }
63879 if test "x$ac_cv_lib_m_sin" = x""yes; then :
63880 libm="-lm"
63883 ac_save_LIBS="$LIBS"
63884 LIBS="$LIBS $libm"
63888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
63889 $as_echo_n "checking for isinf declaration... " >&6; }
63890 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
63891 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
63892 $as_echo_n "(cached) " >&6
63893 else
63896 ac_ext=cpp
63897 ac_cpp='$CXXCPP $CPPFLAGS'
63898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63903 /* end confdefs.h. */
63904 #include <math.h>
63905 #ifdef HAVE_IEEEFP_H
63906 #include <ieeefp.h>
63907 #endif
63910 main ()
63912 isinf(0);
63914 return 0;
63916 _ACEOF
63917 if ac_fn_cxx_try_compile "$LINENO"; then :
63918 glibcxx_cv_func_isinf_use=yes
63919 else
63920 glibcxx_cv_func_isinf_use=no
63922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63923 ac_ext=c
63924 ac_cpp='$CPP $CPPFLAGS'
63925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
63934 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
63936 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
63937 for ac_func in isinf
63938 do :
63939 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
63940 if test "x$ac_cv_func_isinf" = x""yes; then :
63941 cat >>confdefs.h <<_ACEOF
63942 #define HAVE_ISINF 1
63943 _ACEOF
63946 done
63948 else
63950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
63951 $as_echo_n "checking for _isinf declaration... " >&6; }
63952 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
63953 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
63954 $as_echo_n "(cached) " >&6
63955 else
63958 ac_ext=cpp
63959 ac_cpp='$CXXCPP $CPPFLAGS'
63960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63965 /* end confdefs.h. */
63966 #include <math.h>
63967 #ifdef HAVE_IEEEFP_H
63968 #include <ieeefp.h>
63969 #endif
63972 main ()
63974 _isinf(0);
63976 return 0;
63978 _ACEOF
63979 if ac_fn_cxx_try_compile "$LINENO"; then :
63980 glibcxx_cv_func__isinf_use=yes
63981 else
63982 glibcxx_cv_func__isinf_use=no
63984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63985 ac_ext=c
63986 ac_cpp='$CPP $CPPFLAGS'
63987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
63996 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
63998 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
63999 for ac_func in _isinf
64000 do :
64001 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
64002 if test "x$ac_cv_func__isinf" = x""yes; then :
64003 cat >>confdefs.h <<_ACEOF
64004 #define HAVE__ISINF 1
64005 _ACEOF
64008 done
64017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
64018 $as_echo_n "checking for isnan declaration... " >&6; }
64019 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
64020 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
64021 $as_echo_n "(cached) " >&6
64022 else
64025 ac_ext=cpp
64026 ac_cpp='$CXXCPP $CPPFLAGS'
64027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64032 /* end confdefs.h. */
64033 #include <math.h>
64034 #ifdef HAVE_IEEEFP_H
64035 #include <ieeefp.h>
64036 #endif
64039 main ()
64041 isnan(0);
64043 return 0;
64045 _ACEOF
64046 if ac_fn_cxx_try_compile "$LINENO"; then :
64047 glibcxx_cv_func_isnan_use=yes
64048 else
64049 glibcxx_cv_func_isnan_use=no
64051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64052 ac_ext=c
64053 ac_cpp='$CPP $CPPFLAGS'
64054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
64063 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
64065 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
64066 for ac_func in isnan
64067 do :
64068 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
64069 if test "x$ac_cv_func_isnan" = x""yes; then :
64070 cat >>confdefs.h <<_ACEOF
64071 #define HAVE_ISNAN 1
64072 _ACEOF
64075 done
64077 else
64079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
64080 $as_echo_n "checking for _isnan declaration... " >&6; }
64081 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
64082 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
64083 $as_echo_n "(cached) " >&6
64084 else
64087 ac_ext=cpp
64088 ac_cpp='$CXXCPP $CPPFLAGS'
64089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64094 /* end confdefs.h. */
64095 #include <math.h>
64096 #ifdef HAVE_IEEEFP_H
64097 #include <ieeefp.h>
64098 #endif
64101 main ()
64103 _isnan(0);
64105 return 0;
64107 _ACEOF
64108 if ac_fn_cxx_try_compile "$LINENO"; then :
64109 glibcxx_cv_func__isnan_use=yes
64110 else
64111 glibcxx_cv_func__isnan_use=no
64113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64114 ac_ext=c
64115 ac_cpp='$CPP $CPPFLAGS'
64116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
64125 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
64127 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
64128 for ac_func in _isnan
64129 do :
64130 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
64131 if test "x$ac_cv_func__isnan" = x""yes; then :
64132 cat >>confdefs.h <<_ACEOF
64133 #define HAVE__ISNAN 1
64134 _ACEOF
64137 done
64146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
64147 $as_echo_n "checking for finite declaration... " >&6; }
64148 if test x${glibcxx_cv_func_finite_use+set} != xset; then
64149 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
64150 $as_echo_n "(cached) " >&6
64151 else
64154 ac_ext=cpp
64155 ac_cpp='$CXXCPP $CPPFLAGS'
64156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64161 /* end confdefs.h. */
64162 #include <math.h>
64163 #ifdef HAVE_IEEEFP_H
64164 #include <ieeefp.h>
64165 #endif
64168 main ()
64170 finite(0);
64172 return 0;
64174 _ACEOF
64175 if ac_fn_cxx_try_compile "$LINENO"; then :
64176 glibcxx_cv_func_finite_use=yes
64177 else
64178 glibcxx_cv_func_finite_use=no
64180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64181 ac_ext=c
64182 ac_cpp='$CPP $CPPFLAGS'
64183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
64192 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
64194 if test x$glibcxx_cv_func_finite_use = x"yes"; then
64195 for ac_func in finite
64196 do :
64197 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
64198 if test "x$ac_cv_func_finite" = x""yes; then :
64199 cat >>confdefs.h <<_ACEOF
64200 #define HAVE_FINITE 1
64201 _ACEOF
64204 done
64206 else
64208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
64209 $as_echo_n "checking for _finite declaration... " >&6; }
64210 if test x${glibcxx_cv_func__finite_use+set} != xset; then
64211 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
64212 $as_echo_n "(cached) " >&6
64213 else
64216 ac_ext=cpp
64217 ac_cpp='$CXXCPP $CPPFLAGS'
64218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64223 /* end confdefs.h. */
64224 #include <math.h>
64225 #ifdef HAVE_IEEEFP_H
64226 #include <ieeefp.h>
64227 #endif
64230 main ()
64232 _finite(0);
64234 return 0;
64236 _ACEOF
64237 if ac_fn_cxx_try_compile "$LINENO"; then :
64238 glibcxx_cv_func__finite_use=yes
64239 else
64240 glibcxx_cv_func__finite_use=no
64242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64243 ac_ext=c
64244 ac_cpp='$CPP $CPPFLAGS'
64245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
64254 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
64256 if test x$glibcxx_cv_func__finite_use = x"yes"; then
64257 for ac_func in _finite
64258 do :
64259 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
64260 if test "x$ac_cv_func__finite" = x""yes; then :
64261 cat >>confdefs.h <<_ACEOF
64262 #define HAVE__FINITE 1
64263 _ACEOF
64266 done
64275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
64276 $as_echo_n "checking for sincos declaration... " >&6; }
64277 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
64278 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
64279 $as_echo_n "(cached) " >&6
64280 else
64283 ac_ext=cpp
64284 ac_cpp='$CXXCPP $CPPFLAGS'
64285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64290 /* end confdefs.h. */
64291 #include <math.h>
64293 main ()
64295 sincos(0, 0, 0);
64297 return 0;
64299 _ACEOF
64300 if ac_fn_cxx_try_compile "$LINENO"; then :
64301 glibcxx_cv_func_sincos_use=yes
64302 else
64303 glibcxx_cv_func_sincos_use=no
64305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64306 ac_ext=c
64307 ac_cpp='$CPP $CPPFLAGS'
64308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
64317 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
64319 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
64320 for ac_func in sincos
64321 do :
64322 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
64323 if test "x$ac_cv_func_sincos" = x""yes; then :
64324 cat >>confdefs.h <<_ACEOF
64325 #define HAVE_SINCOS 1
64326 _ACEOF
64329 done
64331 else
64333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
64334 $as_echo_n "checking for _sincos declaration... " >&6; }
64335 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
64336 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
64337 $as_echo_n "(cached) " >&6
64338 else
64341 ac_ext=cpp
64342 ac_cpp='$CXXCPP $CPPFLAGS'
64343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64348 /* end confdefs.h. */
64349 #include <math.h>
64351 main ()
64353 _sincos(0, 0, 0);
64355 return 0;
64357 _ACEOF
64358 if ac_fn_cxx_try_compile "$LINENO"; then :
64359 glibcxx_cv_func__sincos_use=yes
64360 else
64361 glibcxx_cv_func__sincos_use=no
64363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64364 ac_ext=c
64365 ac_cpp='$CPP $CPPFLAGS'
64366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
64375 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
64377 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
64378 for ac_func in _sincos
64379 do :
64380 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
64381 if test "x$ac_cv_func__sincos" = x""yes; then :
64382 cat >>confdefs.h <<_ACEOF
64383 #define HAVE__SINCOS 1
64384 _ACEOF
64387 done
64396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
64397 $as_echo_n "checking for fpclass declaration... " >&6; }
64398 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
64399 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
64400 $as_echo_n "(cached) " >&6
64401 else
64404 ac_ext=cpp
64405 ac_cpp='$CXXCPP $CPPFLAGS'
64406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64411 /* end confdefs.h. */
64412 #include <math.h>
64413 #ifdef HAVE_IEEEFP_H
64414 #include <ieeefp.h>
64415 #endif
64418 main ()
64420 fpclass(0);
64422 return 0;
64424 _ACEOF
64425 if ac_fn_cxx_try_compile "$LINENO"; then :
64426 glibcxx_cv_func_fpclass_use=yes
64427 else
64428 glibcxx_cv_func_fpclass_use=no
64430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64431 ac_ext=c
64432 ac_cpp='$CPP $CPPFLAGS'
64433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
64442 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
64444 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
64445 for ac_func in fpclass
64446 do :
64447 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
64448 if test "x$ac_cv_func_fpclass" = x""yes; then :
64449 cat >>confdefs.h <<_ACEOF
64450 #define HAVE_FPCLASS 1
64451 _ACEOF
64454 done
64456 else
64458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
64459 $as_echo_n "checking for _fpclass declaration... " >&6; }
64460 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
64461 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
64462 $as_echo_n "(cached) " >&6
64463 else
64466 ac_ext=cpp
64467 ac_cpp='$CXXCPP $CPPFLAGS'
64468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64473 /* end confdefs.h. */
64474 #include <math.h>
64475 #ifdef HAVE_IEEEFP_H
64476 #include <ieeefp.h>
64477 #endif
64480 main ()
64482 _fpclass(0);
64484 return 0;
64486 _ACEOF
64487 if ac_fn_cxx_try_compile "$LINENO"; then :
64488 glibcxx_cv_func__fpclass_use=yes
64489 else
64490 glibcxx_cv_func__fpclass_use=no
64492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64493 ac_ext=c
64494 ac_cpp='$CPP $CPPFLAGS'
64495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
64504 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
64506 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
64507 for ac_func in _fpclass
64508 do :
64509 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
64510 if test "x$ac_cv_func__fpclass" = x""yes; then :
64511 cat >>confdefs.h <<_ACEOF
64512 #define HAVE__FPCLASS 1
64513 _ACEOF
64516 done
64525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
64526 $as_echo_n "checking for qfpclass declaration... " >&6; }
64527 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
64528 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
64529 $as_echo_n "(cached) " >&6
64530 else
64533 ac_ext=cpp
64534 ac_cpp='$CXXCPP $CPPFLAGS'
64535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64540 /* end confdefs.h. */
64541 #include <math.h>
64542 #ifdef HAVE_IEEEFP_H
64543 #include <ieeefp.h>
64544 #endif
64547 main ()
64549 qfpclass(0);
64551 return 0;
64553 _ACEOF
64554 if ac_fn_cxx_try_compile "$LINENO"; then :
64555 glibcxx_cv_func_qfpclass_use=yes
64556 else
64557 glibcxx_cv_func_qfpclass_use=no
64559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64560 ac_ext=c
64561 ac_cpp='$CPP $CPPFLAGS'
64562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
64571 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
64573 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
64574 for ac_func in qfpclass
64575 do :
64576 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
64577 if test "x$ac_cv_func_qfpclass" = x""yes; then :
64578 cat >>confdefs.h <<_ACEOF
64579 #define HAVE_QFPCLASS 1
64580 _ACEOF
64583 done
64585 else
64587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
64588 $as_echo_n "checking for _qfpclass declaration... " >&6; }
64589 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
64590 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
64591 $as_echo_n "(cached) " >&6
64592 else
64595 ac_ext=cpp
64596 ac_cpp='$CXXCPP $CPPFLAGS'
64597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64602 /* end confdefs.h. */
64603 #include <math.h>
64604 #ifdef HAVE_IEEEFP_H
64605 #include <ieeefp.h>
64606 #endif
64609 main ()
64611 _qfpclass(0);
64613 return 0;
64615 _ACEOF
64616 if ac_fn_cxx_try_compile "$LINENO"; then :
64617 glibcxx_cv_func__qfpclass_use=yes
64618 else
64619 glibcxx_cv_func__qfpclass_use=no
64621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64622 ac_ext=c
64623 ac_cpp='$CPP $CPPFLAGS'
64624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
64633 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
64635 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
64636 for ac_func in _qfpclass
64637 do :
64638 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
64639 if test "x$ac_cv_func__qfpclass" = x""yes; then :
64640 cat >>confdefs.h <<_ACEOF
64641 #define HAVE__QFPCLASS 1
64642 _ACEOF
64645 done
64654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
64655 $as_echo_n "checking for hypot declaration... " >&6; }
64656 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
64657 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
64658 $as_echo_n "(cached) " >&6
64659 else
64662 ac_ext=cpp
64663 ac_cpp='$CXXCPP $CPPFLAGS'
64664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64669 /* end confdefs.h. */
64670 #include <math.h>
64672 main ()
64674 hypot(0, 0);
64676 return 0;
64678 _ACEOF
64679 if ac_fn_cxx_try_compile "$LINENO"; then :
64680 glibcxx_cv_func_hypot_use=yes
64681 else
64682 glibcxx_cv_func_hypot_use=no
64684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64685 ac_ext=c
64686 ac_cpp='$CPP $CPPFLAGS'
64687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
64696 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
64698 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
64699 for ac_func in hypot
64700 do :
64701 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
64702 if test "x$ac_cv_func_hypot" = x""yes; then :
64703 cat >>confdefs.h <<_ACEOF
64704 #define HAVE_HYPOT 1
64705 _ACEOF
64708 done
64710 else
64712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
64713 $as_echo_n "checking for _hypot declaration... " >&6; }
64714 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
64715 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
64716 $as_echo_n "(cached) " >&6
64717 else
64720 ac_ext=cpp
64721 ac_cpp='$CXXCPP $CPPFLAGS'
64722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64727 /* end confdefs.h. */
64728 #include <math.h>
64730 main ()
64732 _hypot(0, 0);
64734 return 0;
64736 _ACEOF
64737 if ac_fn_cxx_try_compile "$LINENO"; then :
64738 glibcxx_cv_func__hypot_use=yes
64739 else
64740 glibcxx_cv_func__hypot_use=no
64742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64743 ac_ext=c
64744 ac_cpp='$CPP $CPPFLAGS'
64745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
64754 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
64756 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
64757 for ac_func in _hypot
64758 do :
64759 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
64760 if test "x$ac_cv_func__hypot" = x""yes; then :
64761 cat >>confdefs.h <<_ACEOF
64762 #define HAVE__HYPOT 1
64763 _ACEOF
64766 done
64775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
64776 $as_echo_n "checking for float trig functions... " >&6; }
64777 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
64778 $as_echo_n "(cached) " >&6
64779 else
64782 ac_ext=cpp
64783 ac_cpp='$CXXCPP $CPPFLAGS'
64784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64789 /* end confdefs.h. */
64790 #include <math.h>
64792 main ()
64794 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
64796 return 0;
64798 _ACEOF
64799 if ac_fn_cxx_try_compile "$LINENO"; then :
64800 glibcxx_cv_func_float_trig_use=yes
64801 else
64802 glibcxx_cv_func_float_trig_use=no
64804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64805 ac_ext=c
64806 ac_cpp='$CPP $CPPFLAGS'
64807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
64814 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
64815 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
64816 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
64817 do :
64818 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64819 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64820 eval as_val=\$$as_ac_var
64821 if test "x$as_val" = x""yes; then :
64822 cat >>confdefs.h <<_ACEOF
64823 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64824 _ACEOF
64827 done
64829 else
64830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
64831 $as_echo_n "checking for _float trig functions... " >&6; }
64832 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
64833 $as_echo_n "(cached) " >&6
64834 else
64837 ac_ext=cpp
64838 ac_cpp='$CXXCPP $CPPFLAGS'
64839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64844 /* end confdefs.h. */
64845 #include <math.h>
64847 main ()
64849 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
64851 return 0;
64853 _ACEOF
64854 if ac_fn_cxx_try_compile "$LINENO"; then :
64855 glibcxx_cv_func__float_trig_use=yes
64856 else
64857 glibcxx_cv_func__float_trig_use=no
64859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64860 ac_ext=c
64861 ac_cpp='$CPP $CPPFLAGS'
64862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
64869 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
64870 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
64871 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
64872 do :
64873 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64874 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64875 eval as_val=\$$as_ac_var
64876 if test "x$as_val" = x""yes; then :
64877 cat >>confdefs.h <<_ACEOF
64878 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64879 _ACEOF
64882 done
64891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
64892 $as_echo_n "checking for float round functions... " >&6; }
64893 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
64894 $as_echo_n "(cached) " >&6
64895 else
64898 ac_ext=cpp
64899 ac_cpp='$CXXCPP $CPPFLAGS'
64900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64905 /* end confdefs.h. */
64906 #include <math.h>
64908 main ()
64910 ceilf (0); floorf (0);
64912 return 0;
64914 _ACEOF
64915 if ac_fn_cxx_try_compile "$LINENO"; then :
64916 glibcxx_cv_func_float_round_use=yes
64917 else
64918 glibcxx_cv_func_float_round_use=no
64920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64921 ac_ext=c
64922 ac_cpp='$CPP $CPPFLAGS'
64923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
64930 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
64931 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
64932 for ac_func in ceilf floorf
64933 do :
64934 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64935 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64936 eval as_val=\$$as_ac_var
64937 if test "x$as_val" = x""yes; then :
64938 cat >>confdefs.h <<_ACEOF
64939 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64940 _ACEOF
64943 done
64945 else
64946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
64947 $as_echo_n "checking for _float round functions... " >&6; }
64948 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
64949 $as_echo_n "(cached) " >&6
64950 else
64953 ac_ext=cpp
64954 ac_cpp='$CXXCPP $CPPFLAGS'
64955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64960 /* end confdefs.h. */
64961 #include <math.h>
64963 main ()
64965 _ceilf (0); _floorf (0);
64967 return 0;
64969 _ACEOF
64970 if ac_fn_cxx_try_compile "$LINENO"; then :
64971 glibcxx_cv_func__float_round_use=yes
64972 else
64973 glibcxx_cv_func__float_round_use=no
64975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64976 ac_ext=c
64977 ac_cpp='$CPP $CPPFLAGS'
64978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
64985 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
64986 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
64987 for ac_func in _ceilf _floorf
64988 do :
64989 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64990 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64991 eval as_val=\$$as_ac_var
64992 if test "x$as_val" = x""yes; then :
64993 cat >>confdefs.h <<_ACEOF
64994 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64995 _ACEOF
64998 done
65008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
65009 $as_echo_n "checking for expf declaration... " >&6; }
65010 if test x${glibcxx_cv_func_expf_use+set} != xset; then
65011 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
65012 $as_echo_n "(cached) " >&6
65013 else
65016 ac_ext=cpp
65017 ac_cpp='$CXXCPP $CPPFLAGS'
65018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65023 /* end confdefs.h. */
65024 #include <math.h>
65025 #ifdef HAVE_IEEEFP_H
65026 #include <ieeefp.h>
65027 #endif
65030 main ()
65032 expf(0);
65034 return 0;
65036 _ACEOF
65037 if ac_fn_cxx_try_compile "$LINENO"; then :
65038 glibcxx_cv_func_expf_use=yes
65039 else
65040 glibcxx_cv_func_expf_use=no
65042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65043 ac_ext=c
65044 ac_cpp='$CPP $CPPFLAGS'
65045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
65054 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
65056 if test x$glibcxx_cv_func_expf_use = x"yes"; then
65057 for ac_func in expf
65058 do :
65059 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
65060 if test "x$ac_cv_func_expf" = x""yes; then :
65061 cat >>confdefs.h <<_ACEOF
65062 #define HAVE_EXPF 1
65063 _ACEOF
65066 done
65068 else
65070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
65071 $as_echo_n "checking for _expf declaration... " >&6; }
65072 if test x${glibcxx_cv_func__expf_use+set} != xset; then
65073 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
65074 $as_echo_n "(cached) " >&6
65075 else
65078 ac_ext=cpp
65079 ac_cpp='$CXXCPP $CPPFLAGS'
65080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65085 /* end confdefs.h. */
65086 #include <math.h>
65087 #ifdef HAVE_IEEEFP_H
65088 #include <ieeefp.h>
65089 #endif
65092 main ()
65094 _expf(0);
65096 return 0;
65098 _ACEOF
65099 if ac_fn_cxx_try_compile "$LINENO"; then :
65100 glibcxx_cv_func__expf_use=yes
65101 else
65102 glibcxx_cv_func__expf_use=no
65104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65105 ac_ext=c
65106 ac_cpp='$CPP $CPPFLAGS'
65107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
65116 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
65118 if test x$glibcxx_cv_func__expf_use = x"yes"; then
65119 for ac_func in _expf
65120 do :
65121 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
65122 if test "x$ac_cv_func__expf" = x""yes; then :
65123 cat >>confdefs.h <<_ACEOF
65124 #define HAVE__EXPF 1
65125 _ACEOF
65128 done
65137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
65138 $as_echo_n "checking for isnanf declaration... " >&6; }
65139 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
65140 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
65141 $as_echo_n "(cached) " >&6
65142 else
65145 ac_ext=cpp
65146 ac_cpp='$CXXCPP $CPPFLAGS'
65147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65152 /* end confdefs.h. */
65153 #include <math.h>
65154 #ifdef HAVE_IEEEFP_H
65155 #include <ieeefp.h>
65156 #endif
65159 main ()
65161 isnanf(0);
65163 return 0;
65165 _ACEOF
65166 if ac_fn_cxx_try_compile "$LINENO"; then :
65167 glibcxx_cv_func_isnanf_use=yes
65168 else
65169 glibcxx_cv_func_isnanf_use=no
65171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65172 ac_ext=c
65173 ac_cpp='$CPP $CPPFLAGS'
65174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
65183 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
65185 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
65186 for ac_func in isnanf
65187 do :
65188 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
65189 if test "x$ac_cv_func_isnanf" = x""yes; then :
65190 cat >>confdefs.h <<_ACEOF
65191 #define HAVE_ISNANF 1
65192 _ACEOF
65195 done
65197 else
65199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
65200 $as_echo_n "checking for _isnanf declaration... " >&6; }
65201 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
65202 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
65203 $as_echo_n "(cached) " >&6
65204 else
65207 ac_ext=cpp
65208 ac_cpp='$CXXCPP $CPPFLAGS'
65209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65214 /* end confdefs.h. */
65215 #include <math.h>
65216 #ifdef HAVE_IEEEFP_H
65217 #include <ieeefp.h>
65218 #endif
65221 main ()
65223 _isnanf(0);
65225 return 0;
65227 _ACEOF
65228 if ac_fn_cxx_try_compile "$LINENO"; then :
65229 glibcxx_cv_func__isnanf_use=yes
65230 else
65231 glibcxx_cv_func__isnanf_use=no
65233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65234 ac_ext=c
65235 ac_cpp='$CPP $CPPFLAGS'
65236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
65245 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
65247 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
65248 for ac_func in _isnanf
65249 do :
65250 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
65251 if test "x$ac_cv_func__isnanf" = x""yes; then :
65252 cat >>confdefs.h <<_ACEOF
65253 #define HAVE__ISNANF 1
65254 _ACEOF
65257 done
65266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
65267 $as_echo_n "checking for isinff declaration... " >&6; }
65268 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
65269 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
65270 $as_echo_n "(cached) " >&6
65271 else
65274 ac_ext=cpp
65275 ac_cpp='$CXXCPP $CPPFLAGS'
65276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65281 /* end confdefs.h. */
65282 #include <math.h>
65283 #ifdef HAVE_IEEEFP_H
65284 #include <ieeefp.h>
65285 #endif
65288 main ()
65290 isinff(0);
65292 return 0;
65294 _ACEOF
65295 if ac_fn_cxx_try_compile "$LINENO"; then :
65296 glibcxx_cv_func_isinff_use=yes
65297 else
65298 glibcxx_cv_func_isinff_use=no
65300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65301 ac_ext=c
65302 ac_cpp='$CPP $CPPFLAGS'
65303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
65312 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
65314 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
65315 for ac_func in isinff
65316 do :
65317 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
65318 if test "x$ac_cv_func_isinff" = x""yes; then :
65319 cat >>confdefs.h <<_ACEOF
65320 #define HAVE_ISINFF 1
65321 _ACEOF
65324 done
65326 else
65328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
65329 $as_echo_n "checking for _isinff declaration... " >&6; }
65330 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
65331 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
65332 $as_echo_n "(cached) " >&6
65333 else
65336 ac_ext=cpp
65337 ac_cpp='$CXXCPP $CPPFLAGS'
65338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65343 /* end confdefs.h. */
65344 #include <math.h>
65345 #ifdef HAVE_IEEEFP_H
65346 #include <ieeefp.h>
65347 #endif
65350 main ()
65352 _isinff(0);
65354 return 0;
65356 _ACEOF
65357 if ac_fn_cxx_try_compile "$LINENO"; then :
65358 glibcxx_cv_func__isinff_use=yes
65359 else
65360 glibcxx_cv_func__isinff_use=no
65362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65363 ac_ext=c
65364 ac_cpp='$CPP $CPPFLAGS'
65365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
65374 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
65376 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
65377 for ac_func in _isinff
65378 do :
65379 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
65380 if test "x$ac_cv_func__isinff" = x""yes; then :
65381 cat >>confdefs.h <<_ACEOF
65382 #define HAVE__ISINFF 1
65383 _ACEOF
65386 done
65395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
65396 $as_echo_n "checking for atan2f declaration... " >&6; }
65397 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
65398 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
65399 $as_echo_n "(cached) " >&6
65400 else
65403 ac_ext=cpp
65404 ac_cpp='$CXXCPP $CPPFLAGS'
65405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65410 /* end confdefs.h. */
65411 #include <math.h>
65413 main ()
65415 atan2f(0, 0);
65417 return 0;
65419 _ACEOF
65420 if ac_fn_cxx_try_compile "$LINENO"; then :
65421 glibcxx_cv_func_atan2f_use=yes
65422 else
65423 glibcxx_cv_func_atan2f_use=no
65425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65426 ac_ext=c
65427 ac_cpp='$CPP $CPPFLAGS'
65428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
65437 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
65439 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
65440 for ac_func in atan2f
65441 do :
65442 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
65443 if test "x$ac_cv_func_atan2f" = x""yes; then :
65444 cat >>confdefs.h <<_ACEOF
65445 #define HAVE_ATAN2F 1
65446 _ACEOF
65449 done
65451 else
65453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
65454 $as_echo_n "checking for _atan2f declaration... " >&6; }
65455 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
65456 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
65457 $as_echo_n "(cached) " >&6
65458 else
65461 ac_ext=cpp
65462 ac_cpp='$CXXCPP $CPPFLAGS'
65463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65468 /* end confdefs.h. */
65469 #include <math.h>
65471 main ()
65473 _atan2f(0, 0);
65475 return 0;
65477 _ACEOF
65478 if ac_fn_cxx_try_compile "$LINENO"; then :
65479 glibcxx_cv_func__atan2f_use=yes
65480 else
65481 glibcxx_cv_func__atan2f_use=no
65483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65484 ac_ext=c
65485 ac_cpp='$CPP $CPPFLAGS'
65486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
65495 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
65497 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
65498 for ac_func in _atan2f
65499 do :
65500 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
65501 if test "x$ac_cv_func__atan2f" = x""yes; then :
65502 cat >>confdefs.h <<_ACEOF
65503 #define HAVE__ATAN2F 1
65504 _ACEOF
65507 done
65516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
65517 $as_echo_n "checking for fabsf declaration... " >&6; }
65518 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
65519 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
65520 $as_echo_n "(cached) " >&6
65521 else
65524 ac_ext=cpp
65525 ac_cpp='$CXXCPP $CPPFLAGS'
65526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65531 /* end confdefs.h. */
65532 #include <math.h>
65533 #ifdef HAVE_IEEEFP_H
65534 #include <ieeefp.h>
65535 #endif
65538 main ()
65540 fabsf(0);
65542 return 0;
65544 _ACEOF
65545 if ac_fn_cxx_try_compile "$LINENO"; then :
65546 glibcxx_cv_func_fabsf_use=yes
65547 else
65548 glibcxx_cv_func_fabsf_use=no
65550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65551 ac_ext=c
65552 ac_cpp='$CPP $CPPFLAGS'
65553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
65562 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
65564 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
65565 for ac_func in fabsf
65566 do :
65567 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
65568 if test "x$ac_cv_func_fabsf" = x""yes; then :
65569 cat >>confdefs.h <<_ACEOF
65570 #define HAVE_FABSF 1
65571 _ACEOF
65574 done
65576 else
65578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
65579 $as_echo_n "checking for _fabsf declaration... " >&6; }
65580 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
65581 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
65582 $as_echo_n "(cached) " >&6
65583 else
65586 ac_ext=cpp
65587 ac_cpp='$CXXCPP $CPPFLAGS'
65588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65593 /* end confdefs.h. */
65594 #include <math.h>
65595 #ifdef HAVE_IEEEFP_H
65596 #include <ieeefp.h>
65597 #endif
65600 main ()
65602 _fabsf(0);
65604 return 0;
65606 _ACEOF
65607 if ac_fn_cxx_try_compile "$LINENO"; then :
65608 glibcxx_cv_func__fabsf_use=yes
65609 else
65610 glibcxx_cv_func__fabsf_use=no
65612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65613 ac_ext=c
65614 ac_cpp='$CPP $CPPFLAGS'
65615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
65624 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
65626 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
65627 for ac_func in _fabsf
65628 do :
65629 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
65630 if test "x$ac_cv_func__fabsf" = x""yes; then :
65631 cat >>confdefs.h <<_ACEOF
65632 #define HAVE__FABSF 1
65633 _ACEOF
65636 done
65645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
65646 $as_echo_n "checking for fmodf declaration... " >&6; }
65647 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
65648 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
65649 $as_echo_n "(cached) " >&6
65650 else
65653 ac_ext=cpp
65654 ac_cpp='$CXXCPP $CPPFLAGS'
65655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65660 /* end confdefs.h. */
65661 #include <math.h>
65663 main ()
65665 fmodf(0, 0);
65667 return 0;
65669 _ACEOF
65670 if ac_fn_cxx_try_compile "$LINENO"; then :
65671 glibcxx_cv_func_fmodf_use=yes
65672 else
65673 glibcxx_cv_func_fmodf_use=no
65675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65676 ac_ext=c
65677 ac_cpp='$CPP $CPPFLAGS'
65678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
65687 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
65689 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
65690 for ac_func in fmodf
65691 do :
65692 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
65693 if test "x$ac_cv_func_fmodf" = x""yes; then :
65694 cat >>confdefs.h <<_ACEOF
65695 #define HAVE_FMODF 1
65696 _ACEOF
65699 done
65701 else
65703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
65704 $as_echo_n "checking for _fmodf declaration... " >&6; }
65705 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
65706 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
65707 $as_echo_n "(cached) " >&6
65708 else
65711 ac_ext=cpp
65712 ac_cpp='$CXXCPP $CPPFLAGS'
65713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65718 /* end confdefs.h. */
65719 #include <math.h>
65721 main ()
65723 _fmodf(0, 0);
65725 return 0;
65727 _ACEOF
65728 if ac_fn_cxx_try_compile "$LINENO"; then :
65729 glibcxx_cv_func__fmodf_use=yes
65730 else
65731 glibcxx_cv_func__fmodf_use=no
65733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65734 ac_ext=c
65735 ac_cpp='$CPP $CPPFLAGS'
65736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
65745 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
65747 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
65748 for ac_func in _fmodf
65749 do :
65750 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
65751 if test "x$ac_cv_func__fmodf" = x""yes; then :
65752 cat >>confdefs.h <<_ACEOF
65753 #define HAVE__FMODF 1
65754 _ACEOF
65757 done
65766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
65767 $as_echo_n "checking for frexpf declaration... " >&6; }
65768 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
65769 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
65770 $as_echo_n "(cached) " >&6
65771 else
65774 ac_ext=cpp
65775 ac_cpp='$CXXCPP $CPPFLAGS'
65776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65781 /* end confdefs.h. */
65782 #include <math.h>
65784 main ()
65786 frexpf(0, 0);
65788 return 0;
65790 _ACEOF
65791 if ac_fn_cxx_try_compile "$LINENO"; then :
65792 glibcxx_cv_func_frexpf_use=yes
65793 else
65794 glibcxx_cv_func_frexpf_use=no
65796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65797 ac_ext=c
65798 ac_cpp='$CPP $CPPFLAGS'
65799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
65808 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
65810 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
65811 for ac_func in frexpf
65812 do :
65813 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
65814 if test "x$ac_cv_func_frexpf" = x""yes; then :
65815 cat >>confdefs.h <<_ACEOF
65816 #define HAVE_FREXPF 1
65817 _ACEOF
65820 done
65822 else
65824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
65825 $as_echo_n "checking for _frexpf declaration... " >&6; }
65826 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
65827 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
65828 $as_echo_n "(cached) " >&6
65829 else
65832 ac_ext=cpp
65833 ac_cpp='$CXXCPP $CPPFLAGS'
65834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65839 /* end confdefs.h. */
65840 #include <math.h>
65842 main ()
65844 _frexpf(0, 0);
65846 return 0;
65848 _ACEOF
65849 if ac_fn_cxx_try_compile "$LINENO"; then :
65850 glibcxx_cv_func__frexpf_use=yes
65851 else
65852 glibcxx_cv_func__frexpf_use=no
65854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65855 ac_ext=c
65856 ac_cpp='$CPP $CPPFLAGS'
65857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
65866 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
65868 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
65869 for ac_func in _frexpf
65870 do :
65871 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
65872 if test "x$ac_cv_func__frexpf" = x""yes; then :
65873 cat >>confdefs.h <<_ACEOF
65874 #define HAVE__FREXPF 1
65875 _ACEOF
65878 done
65887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
65888 $as_echo_n "checking for hypotf declaration... " >&6; }
65889 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
65890 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
65891 $as_echo_n "(cached) " >&6
65892 else
65895 ac_ext=cpp
65896 ac_cpp='$CXXCPP $CPPFLAGS'
65897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65902 /* end confdefs.h. */
65903 #include <math.h>
65905 main ()
65907 hypotf(0, 0);
65909 return 0;
65911 _ACEOF
65912 if ac_fn_cxx_try_compile "$LINENO"; then :
65913 glibcxx_cv_func_hypotf_use=yes
65914 else
65915 glibcxx_cv_func_hypotf_use=no
65917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65918 ac_ext=c
65919 ac_cpp='$CPP $CPPFLAGS'
65920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
65929 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
65931 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
65932 for ac_func in hypotf
65933 do :
65934 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
65935 if test "x$ac_cv_func_hypotf" = x""yes; then :
65936 cat >>confdefs.h <<_ACEOF
65937 #define HAVE_HYPOTF 1
65938 _ACEOF
65941 done
65943 else
65945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
65946 $as_echo_n "checking for _hypotf declaration... " >&6; }
65947 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
65948 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
65949 $as_echo_n "(cached) " >&6
65950 else
65953 ac_ext=cpp
65954 ac_cpp='$CXXCPP $CPPFLAGS'
65955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65960 /* end confdefs.h. */
65961 #include <math.h>
65963 main ()
65965 _hypotf(0, 0);
65967 return 0;
65969 _ACEOF
65970 if ac_fn_cxx_try_compile "$LINENO"; then :
65971 glibcxx_cv_func__hypotf_use=yes
65972 else
65973 glibcxx_cv_func__hypotf_use=no
65975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65976 ac_ext=c
65977 ac_cpp='$CPP $CPPFLAGS'
65978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
65987 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
65989 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
65990 for ac_func in _hypotf
65991 do :
65992 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
65993 if test "x$ac_cv_func__hypotf" = x""yes; then :
65994 cat >>confdefs.h <<_ACEOF
65995 #define HAVE__HYPOTF 1
65996 _ACEOF
65999 done
66008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
66009 $as_echo_n "checking for ldexpf declaration... " >&6; }
66010 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
66011 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
66012 $as_echo_n "(cached) " >&6
66013 else
66016 ac_ext=cpp
66017 ac_cpp='$CXXCPP $CPPFLAGS'
66018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66023 /* end confdefs.h. */
66024 #include <math.h>
66026 main ()
66028 ldexpf(0, 0);
66030 return 0;
66032 _ACEOF
66033 if ac_fn_cxx_try_compile "$LINENO"; then :
66034 glibcxx_cv_func_ldexpf_use=yes
66035 else
66036 glibcxx_cv_func_ldexpf_use=no
66038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66039 ac_ext=c
66040 ac_cpp='$CPP $CPPFLAGS'
66041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
66050 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
66052 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
66053 for ac_func in ldexpf
66054 do :
66055 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
66056 if test "x$ac_cv_func_ldexpf" = x""yes; then :
66057 cat >>confdefs.h <<_ACEOF
66058 #define HAVE_LDEXPF 1
66059 _ACEOF
66062 done
66064 else
66066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
66067 $as_echo_n "checking for _ldexpf declaration... " >&6; }
66068 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
66069 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
66070 $as_echo_n "(cached) " >&6
66071 else
66074 ac_ext=cpp
66075 ac_cpp='$CXXCPP $CPPFLAGS'
66076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66081 /* end confdefs.h. */
66082 #include <math.h>
66084 main ()
66086 _ldexpf(0, 0);
66088 return 0;
66090 _ACEOF
66091 if ac_fn_cxx_try_compile "$LINENO"; then :
66092 glibcxx_cv_func__ldexpf_use=yes
66093 else
66094 glibcxx_cv_func__ldexpf_use=no
66096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66097 ac_ext=c
66098 ac_cpp='$CPP $CPPFLAGS'
66099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
66108 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
66110 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
66111 for ac_func in _ldexpf
66112 do :
66113 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
66114 if test "x$ac_cv_func__ldexpf" = x""yes; then :
66115 cat >>confdefs.h <<_ACEOF
66116 #define HAVE__LDEXPF 1
66117 _ACEOF
66120 done
66129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
66130 $as_echo_n "checking for logf declaration... " >&6; }
66131 if test x${glibcxx_cv_func_logf_use+set} != xset; then
66132 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
66133 $as_echo_n "(cached) " >&6
66134 else
66137 ac_ext=cpp
66138 ac_cpp='$CXXCPP $CPPFLAGS'
66139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66144 /* end confdefs.h. */
66145 #include <math.h>
66146 #ifdef HAVE_IEEEFP_H
66147 #include <ieeefp.h>
66148 #endif
66151 main ()
66153 logf(0);
66155 return 0;
66157 _ACEOF
66158 if ac_fn_cxx_try_compile "$LINENO"; then :
66159 glibcxx_cv_func_logf_use=yes
66160 else
66161 glibcxx_cv_func_logf_use=no
66163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66164 ac_ext=c
66165 ac_cpp='$CPP $CPPFLAGS'
66166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
66175 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
66177 if test x$glibcxx_cv_func_logf_use = x"yes"; then
66178 for ac_func in logf
66179 do :
66180 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
66181 if test "x$ac_cv_func_logf" = x""yes; then :
66182 cat >>confdefs.h <<_ACEOF
66183 #define HAVE_LOGF 1
66184 _ACEOF
66187 done
66189 else
66191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
66192 $as_echo_n "checking for _logf declaration... " >&6; }
66193 if test x${glibcxx_cv_func__logf_use+set} != xset; then
66194 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
66195 $as_echo_n "(cached) " >&6
66196 else
66199 ac_ext=cpp
66200 ac_cpp='$CXXCPP $CPPFLAGS'
66201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66206 /* end confdefs.h. */
66207 #include <math.h>
66208 #ifdef HAVE_IEEEFP_H
66209 #include <ieeefp.h>
66210 #endif
66213 main ()
66215 _logf(0);
66217 return 0;
66219 _ACEOF
66220 if ac_fn_cxx_try_compile "$LINENO"; then :
66221 glibcxx_cv_func__logf_use=yes
66222 else
66223 glibcxx_cv_func__logf_use=no
66225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66226 ac_ext=c
66227 ac_cpp='$CPP $CPPFLAGS'
66228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
66237 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
66239 if test x$glibcxx_cv_func__logf_use = x"yes"; then
66240 for ac_func in _logf
66241 do :
66242 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
66243 if test "x$ac_cv_func__logf" = x""yes; then :
66244 cat >>confdefs.h <<_ACEOF
66245 #define HAVE__LOGF 1
66246 _ACEOF
66249 done
66258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
66259 $as_echo_n "checking for log10f declaration... " >&6; }
66260 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
66261 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
66262 $as_echo_n "(cached) " >&6
66263 else
66266 ac_ext=cpp
66267 ac_cpp='$CXXCPP $CPPFLAGS'
66268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66273 /* end confdefs.h. */
66274 #include <math.h>
66275 #ifdef HAVE_IEEEFP_H
66276 #include <ieeefp.h>
66277 #endif
66280 main ()
66282 log10f(0);
66284 return 0;
66286 _ACEOF
66287 if ac_fn_cxx_try_compile "$LINENO"; then :
66288 glibcxx_cv_func_log10f_use=yes
66289 else
66290 glibcxx_cv_func_log10f_use=no
66292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66293 ac_ext=c
66294 ac_cpp='$CPP $CPPFLAGS'
66295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
66304 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
66306 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
66307 for ac_func in log10f
66308 do :
66309 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
66310 if test "x$ac_cv_func_log10f" = x""yes; then :
66311 cat >>confdefs.h <<_ACEOF
66312 #define HAVE_LOG10F 1
66313 _ACEOF
66316 done
66318 else
66320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
66321 $as_echo_n "checking for _log10f declaration... " >&6; }
66322 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
66323 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
66324 $as_echo_n "(cached) " >&6
66325 else
66328 ac_ext=cpp
66329 ac_cpp='$CXXCPP $CPPFLAGS'
66330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66335 /* end confdefs.h. */
66336 #include <math.h>
66337 #ifdef HAVE_IEEEFP_H
66338 #include <ieeefp.h>
66339 #endif
66342 main ()
66344 _log10f(0);
66346 return 0;
66348 _ACEOF
66349 if ac_fn_cxx_try_compile "$LINENO"; then :
66350 glibcxx_cv_func__log10f_use=yes
66351 else
66352 glibcxx_cv_func__log10f_use=no
66354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66355 ac_ext=c
66356 ac_cpp='$CPP $CPPFLAGS'
66357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
66366 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
66368 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
66369 for ac_func in _log10f
66370 do :
66371 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
66372 if test "x$ac_cv_func__log10f" = x""yes; then :
66373 cat >>confdefs.h <<_ACEOF
66374 #define HAVE__LOG10F 1
66375 _ACEOF
66378 done
66387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
66388 $as_echo_n "checking for modff declaration... " >&6; }
66389 if test x${glibcxx_cv_func_modff_use+set} != xset; then
66390 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
66391 $as_echo_n "(cached) " >&6
66392 else
66395 ac_ext=cpp
66396 ac_cpp='$CXXCPP $CPPFLAGS'
66397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66402 /* end confdefs.h. */
66403 #include <math.h>
66405 main ()
66407 modff(0, 0);
66409 return 0;
66411 _ACEOF
66412 if ac_fn_cxx_try_compile "$LINENO"; then :
66413 glibcxx_cv_func_modff_use=yes
66414 else
66415 glibcxx_cv_func_modff_use=no
66417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66418 ac_ext=c
66419 ac_cpp='$CPP $CPPFLAGS'
66420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
66429 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
66431 if test x$glibcxx_cv_func_modff_use = x"yes"; then
66432 for ac_func in modff
66433 do :
66434 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
66435 if test "x$ac_cv_func_modff" = x""yes; then :
66436 cat >>confdefs.h <<_ACEOF
66437 #define HAVE_MODFF 1
66438 _ACEOF
66441 done
66443 else
66445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
66446 $as_echo_n "checking for _modff declaration... " >&6; }
66447 if test x${glibcxx_cv_func__modff_use+set} != xset; then
66448 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
66449 $as_echo_n "(cached) " >&6
66450 else
66453 ac_ext=cpp
66454 ac_cpp='$CXXCPP $CPPFLAGS'
66455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66460 /* end confdefs.h. */
66461 #include <math.h>
66463 main ()
66465 _modff(0, 0);
66467 return 0;
66469 _ACEOF
66470 if ac_fn_cxx_try_compile "$LINENO"; then :
66471 glibcxx_cv_func__modff_use=yes
66472 else
66473 glibcxx_cv_func__modff_use=no
66475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66476 ac_ext=c
66477 ac_cpp='$CPP $CPPFLAGS'
66478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
66487 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
66489 if test x$glibcxx_cv_func__modff_use = x"yes"; then
66490 for ac_func in _modff
66491 do :
66492 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
66493 if test "x$ac_cv_func__modff" = x""yes; then :
66494 cat >>confdefs.h <<_ACEOF
66495 #define HAVE__MODFF 1
66496 _ACEOF
66499 done
66508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
66509 $as_echo_n "checking for modf declaration... " >&6; }
66510 if test x${glibcxx_cv_func_modf_use+set} != xset; then
66511 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
66512 $as_echo_n "(cached) " >&6
66513 else
66516 ac_ext=cpp
66517 ac_cpp='$CXXCPP $CPPFLAGS'
66518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66523 /* end confdefs.h. */
66524 #include <math.h>
66526 main ()
66528 modf(0, 0);
66530 return 0;
66532 _ACEOF
66533 if ac_fn_cxx_try_compile "$LINENO"; then :
66534 glibcxx_cv_func_modf_use=yes
66535 else
66536 glibcxx_cv_func_modf_use=no
66538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66539 ac_ext=c
66540 ac_cpp='$CPP $CPPFLAGS'
66541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
66550 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
66552 if test x$glibcxx_cv_func_modf_use = x"yes"; then
66553 for ac_func in modf
66554 do :
66555 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
66556 if test "x$ac_cv_func_modf" = x""yes; then :
66557 cat >>confdefs.h <<_ACEOF
66558 #define HAVE_MODF 1
66559 _ACEOF
66562 done
66564 else
66566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
66567 $as_echo_n "checking for _modf declaration... " >&6; }
66568 if test x${glibcxx_cv_func__modf_use+set} != xset; then
66569 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
66570 $as_echo_n "(cached) " >&6
66571 else
66574 ac_ext=cpp
66575 ac_cpp='$CXXCPP $CPPFLAGS'
66576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66581 /* end confdefs.h. */
66582 #include <math.h>
66584 main ()
66586 _modf(0, 0);
66588 return 0;
66590 _ACEOF
66591 if ac_fn_cxx_try_compile "$LINENO"; then :
66592 glibcxx_cv_func__modf_use=yes
66593 else
66594 glibcxx_cv_func__modf_use=no
66596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66597 ac_ext=c
66598 ac_cpp='$CPP $CPPFLAGS'
66599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
66608 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
66610 if test x$glibcxx_cv_func__modf_use = x"yes"; then
66611 for ac_func in _modf
66612 do :
66613 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
66614 if test "x$ac_cv_func__modf" = x""yes; then :
66615 cat >>confdefs.h <<_ACEOF
66616 #define HAVE__MODF 1
66617 _ACEOF
66620 done
66629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
66630 $as_echo_n "checking for powf declaration... " >&6; }
66631 if test x${glibcxx_cv_func_powf_use+set} != xset; then
66632 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
66633 $as_echo_n "(cached) " >&6
66634 else
66637 ac_ext=cpp
66638 ac_cpp='$CXXCPP $CPPFLAGS'
66639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66644 /* end confdefs.h. */
66645 #include <math.h>
66647 main ()
66649 powf(0, 0);
66651 return 0;
66653 _ACEOF
66654 if ac_fn_cxx_try_compile "$LINENO"; then :
66655 glibcxx_cv_func_powf_use=yes
66656 else
66657 glibcxx_cv_func_powf_use=no
66659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66660 ac_ext=c
66661 ac_cpp='$CPP $CPPFLAGS'
66662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
66671 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
66673 if test x$glibcxx_cv_func_powf_use = x"yes"; then
66674 for ac_func in powf
66675 do :
66676 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
66677 if test "x$ac_cv_func_powf" = x""yes; then :
66678 cat >>confdefs.h <<_ACEOF
66679 #define HAVE_POWF 1
66680 _ACEOF
66683 done
66685 else
66687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
66688 $as_echo_n "checking for _powf declaration... " >&6; }
66689 if test x${glibcxx_cv_func__powf_use+set} != xset; then
66690 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
66691 $as_echo_n "(cached) " >&6
66692 else
66695 ac_ext=cpp
66696 ac_cpp='$CXXCPP $CPPFLAGS'
66697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66702 /* end confdefs.h. */
66703 #include <math.h>
66705 main ()
66707 _powf(0, 0);
66709 return 0;
66711 _ACEOF
66712 if ac_fn_cxx_try_compile "$LINENO"; then :
66713 glibcxx_cv_func__powf_use=yes
66714 else
66715 glibcxx_cv_func__powf_use=no
66717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66718 ac_ext=c
66719 ac_cpp='$CPP $CPPFLAGS'
66720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
66729 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
66731 if test x$glibcxx_cv_func__powf_use = x"yes"; then
66732 for ac_func in _powf
66733 do :
66734 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
66735 if test "x$ac_cv_func__powf" = x""yes; then :
66736 cat >>confdefs.h <<_ACEOF
66737 #define HAVE__POWF 1
66738 _ACEOF
66741 done
66750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
66751 $as_echo_n "checking for sqrtf declaration... " >&6; }
66752 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
66753 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
66754 $as_echo_n "(cached) " >&6
66755 else
66758 ac_ext=cpp
66759 ac_cpp='$CXXCPP $CPPFLAGS'
66760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66765 /* end confdefs.h. */
66766 #include <math.h>
66767 #ifdef HAVE_IEEEFP_H
66768 #include <ieeefp.h>
66769 #endif
66772 main ()
66774 sqrtf(0);
66776 return 0;
66778 _ACEOF
66779 if ac_fn_cxx_try_compile "$LINENO"; then :
66780 glibcxx_cv_func_sqrtf_use=yes
66781 else
66782 glibcxx_cv_func_sqrtf_use=no
66784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66785 ac_ext=c
66786 ac_cpp='$CPP $CPPFLAGS'
66787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
66796 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
66798 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
66799 for ac_func in sqrtf
66800 do :
66801 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
66802 if test "x$ac_cv_func_sqrtf" = x""yes; then :
66803 cat >>confdefs.h <<_ACEOF
66804 #define HAVE_SQRTF 1
66805 _ACEOF
66808 done
66810 else
66812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
66813 $as_echo_n "checking for _sqrtf declaration... " >&6; }
66814 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
66815 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
66816 $as_echo_n "(cached) " >&6
66817 else
66820 ac_ext=cpp
66821 ac_cpp='$CXXCPP $CPPFLAGS'
66822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66827 /* end confdefs.h. */
66828 #include <math.h>
66829 #ifdef HAVE_IEEEFP_H
66830 #include <ieeefp.h>
66831 #endif
66834 main ()
66836 _sqrtf(0);
66838 return 0;
66840 _ACEOF
66841 if ac_fn_cxx_try_compile "$LINENO"; then :
66842 glibcxx_cv_func__sqrtf_use=yes
66843 else
66844 glibcxx_cv_func__sqrtf_use=no
66846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66847 ac_ext=c
66848 ac_cpp='$CPP $CPPFLAGS'
66849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
66858 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
66860 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
66861 for ac_func in _sqrtf
66862 do :
66863 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
66864 if test "x$ac_cv_func__sqrtf" = x""yes; then :
66865 cat >>confdefs.h <<_ACEOF
66866 #define HAVE__SQRTF 1
66867 _ACEOF
66870 done
66879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
66880 $as_echo_n "checking for sincosf declaration... " >&6; }
66881 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
66882 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
66883 $as_echo_n "(cached) " >&6
66884 else
66887 ac_ext=cpp
66888 ac_cpp='$CXXCPP $CPPFLAGS'
66889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66894 /* end confdefs.h. */
66895 #include <math.h>
66897 main ()
66899 sincosf(0, 0, 0);
66901 return 0;
66903 _ACEOF
66904 if ac_fn_cxx_try_compile "$LINENO"; then :
66905 glibcxx_cv_func_sincosf_use=yes
66906 else
66907 glibcxx_cv_func_sincosf_use=no
66909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66910 ac_ext=c
66911 ac_cpp='$CPP $CPPFLAGS'
66912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
66921 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
66923 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
66924 for ac_func in sincosf
66925 do :
66926 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
66927 if test "x$ac_cv_func_sincosf" = x""yes; then :
66928 cat >>confdefs.h <<_ACEOF
66929 #define HAVE_SINCOSF 1
66930 _ACEOF
66933 done
66935 else
66937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
66938 $as_echo_n "checking for _sincosf declaration... " >&6; }
66939 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
66940 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
66941 $as_echo_n "(cached) " >&6
66942 else
66945 ac_ext=cpp
66946 ac_cpp='$CXXCPP $CPPFLAGS'
66947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66952 /* end confdefs.h. */
66953 #include <math.h>
66955 main ()
66957 _sincosf(0, 0, 0);
66959 return 0;
66961 _ACEOF
66962 if ac_fn_cxx_try_compile "$LINENO"; then :
66963 glibcxx_cv_func__sincosf_use=yes
66964 else
66965 glibcxx_cv_func__sincosf_use=no
66967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66968 ac_ext=c
66969 ac_cpp='$CPP $CPPFLAGS'
66970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
66979 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
66981 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
66982 for ac_func in _sincosf
66983 do :
66984 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
66985 if test "x$ac_cv_func__sincosf" = x""yes; then :
66986 cat >>confdefs.h <<_ACEOF
66987 #define HAVE__SINCOSF 1
66988 _ACEOF
66991 done
67000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
67001 $as_echo_n "checking for finitef declaration... " >&6; }
67002 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
67003 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
67004 $as_echo_n "(cached) " >&6
67005 else
67008 ac_ext=cpp
67009 ac_cpp='$CXXCPP $CPPFLAGS'
67010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67015 /* end confdefs.h. */
67016 #include <math.h>
67017 #ifdef HAVE_IEEEFP_H
67018 #include <ieeefp.h>
67019 #endif
67022 main ()
67024 finitef(0);
67026 return 0;
67028 _ACEOF
67029 if ac_fn_cxx_try_compile "$LINENO"; then :
67030 glibcxx_cv_func_finitef_use=yes
67031 else
67032 glibcxx_cv_func_finitef_use=no
67034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67035 ac_ext=c
67036 ac_cpp='$CPP $CPPFLAGS'
67037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
67046 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
67048 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
67049 for ac_func in finitef
67050 do :
67051 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
67052 if test "x$ac_cv_func_finitef" = x""yes; then :
67053 cat >>confdefs.h <<_ACEOF
67054 #define HAVE_FINITEF 1
67055 _ACEOF
67058 done
67060 else
67062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
67063 $as_echo_n "checking for _finitef declaration... " >&6; }
67064 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
67065 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
67066 $as_echo_n "(cached) " >&6
67067 else
67070 ac_ext=cpp
67071 ac_cpp='$CXXCPP $CPPFLAGS'
67072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67077 /* end confdefs.h. */
67078 #include <math.h>
67079 #ifdef HAVE_IEEEFP_H
67080 #include <ieeefp.h>
67081 #endif
67084 main ()
67086 _finitef(0);
67088 return 0;
67090 _ACEOF
67091 if ac_fn_cxx_try_compile "$LINENO"; then :
67092 glibcxx_cv_func__finitef_use=yes
67093 else
67094 glibcxx_cv_func__finitef_use=no
67096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67097 ac_ext=c
67098 ac_cpp='$CPP $CPPFLAGS'
67099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
67108 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
67110 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
67111 for ac_func in _finitef
67112 do :
67113 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
67114 if test "x$ac_cv_func__finitef" = x""yes; then :
67115 cat >>confdefs.h <<_ACEOF
67116 #define HAVE__FINITEF 1
67117 _ACEOF
67120 done
67129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
67130 $as_echo_n "checking for long double trig functions... " >&6; }
67131 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
67132 $as_echo_n "(cached) " >&6
67133 else
67136 ac_ext=cpp
67137 ac_cpp='$CXXCPP $CPPFLAGS'
67138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67143 /* end confdefs.h. */
67144 #include <math.h>
67146 main ()
67148 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
67150 return 0;
67152 _ACEOF
67153 if ac_fn_cxx_try_compile "$LINENO"; then :
67154 glibcxx_cv_func_long_double_trig_use=yes
67155 else
67156 glibcxx_cv_func_long_double_trig_use=no
67158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67159 ac_ext=c
67160 ac_cpp='$CPP $CPPFLAGS'
67161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
67168 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
67169 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
67170 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
67171 do :
67172 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67173 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67174 eval as_val=\$$as_ac_var
67175 if test "x$as_val" = x""yes; then :
67176 cat >>confdefs.h <<_ACEOF
67177 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67178 _ACEOF
67181 done
67183 else
67184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
67185 $as_echo_n "checking for _long double trig functions... " >&6; }
67186 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
67187 $as_echo_n "(cached) " >&6
67188 else
67191 ac_ext=cpp
67192 ac_cpp='$CXXCPP $CPPFLAGS'
67193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67198 /* end confdefs.h. */
67199 #include <math.h>
67201 main ()
67203 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
67205 return 0;
67207 _ACEOF
67208 if ac_fn_cxx_try_compile "$LINENO"; then :
67209 glibcxx_cv_func__long_double_trig_use=yes
67210 else
67211 glibcxx_cv_func__long_double_trig_use=no
67213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67214 ac_ext=c
67215 ac_cpp='$CPP $CPPFLAGS'
67216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
67223 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
67224 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
67225 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
67226 do :
67227 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67228 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67229 eval as_val=\$$as_ac_var
67230 if test "x$as_val" = x""yes; then :
67231 cat >>confdefs.h <<_ACEOF
67232 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67233 _ACEOF
67236 done
67245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
67246 $as_echo_n "checking for long double round functions... " >&6; }
67247 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
67248 $as_echo_n "(cached) " >&6
67249 else
67252 ac_ext=cpp
67253 ac_cpp='$CXXCPP $CPPFLAGS'
67254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67259 /* end confdefs.h. */
67260 #include <math.h>
67262 main ()
67264 ceill (0); floorl (0);
67266 return 0;
67268 _ACEOF
67269 if ac_fn_cxx_try_compile "$LINENO"; then :
67270 glibcxx_cv_func_long_double_round_use=yes
67271 else
67272 glibcxx_cv_func_long_double_round_use=no
67274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67275 ac_ext=c
67276 ac_cpp='$CPP $CPPFLAGS'
67277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
67284 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
67285 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
67286 for ac_func in ceill floorl
67287 do :
67288 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67289 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67290 eval as_val=\$$as_ac_var
67291 if test "x$as_val" = x""yes; then :
67292 cat >>confdefs.h <<_ACEOF
67293 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67294 _ACEOF
67297 done
67299 else
67300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
67301 $as_echo_n "checking for _long double round functions... " >&6; }
67302 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
67303 $as_echo_n "(cached) " >&6
67304 else
67307 ac_ext=cpp
67308 ac_cpp='$CXXCPP $CPPFLAGS'
67309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67314 /* end confdefs.h. */
67315 #include <math.h>
67317 main ()
67319 _ceill (0); _floorl (0);
67321 return 0;
67323 _ACEOF
67324 if ac_fn_cxx_try_compile "$LINENO"; then :
67325 glibcxx_cv_func__long_double_round_use=yes
67326 else
67327 glibcxx_cv_func__long_double_round_use=no
67329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67330 ac_ext=c
67331 ac_cpp='$CPP $CPPFLAGS'
67332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
67339 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
67340 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
67341 for ac_func in _ceill _floorl
67342 do :
67343 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67344 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67345 eval as_val=\$$as_ac_var
67346 if test "x$as_val" = x""yes; then :
67347 cat >>confdefs.h <<_ACEOF
67348 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67349 _ACEOF
67352 done
67362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
67363 $as_echo_n "checking for isnanl declaration... " >&6; }
67364 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
67365 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
67366 $as_echo_n "(cached) " >&6
67367 else
67370 ac_ext=cpp
67371 ac_cpp='$CXXCPP $CPPFLAGS'
67372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67377 /* end confdefs.h. */
67378 #include <math.h>
67379 #ifdef HAVE_IEEEFP_H
67380 #include <ieeefp.h>
67381 #endif
67384 main ()
67386 isnanl(0);
67388 return 0;
67390 _ACEOF
67391 if ac_fn_cxx_try_compile "$LINENO"; then :
67392 glibcxx_cv_func_isnanl_use=yes
67393 else
67394 glibcxx_cv_func_isnanl_use=no
67396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67397 ac_ext=c
67398 ac_cpp='$CPP $CPPFLAGS'
67399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
67408 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
67410 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
67411 for ac_func in isnanl
67412 do :
67413 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
67414 if test "x$ac_cv_func_isnanl" = x""yes; then :
67415 cat >>confdefs.h <<_ACEOF
67416 #define HAVE_ISNANL 1
67417 _ACEOF
67420 done
67422 else
67424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
67425 $as_echo_n "checking for _isnanl declaration... " >&6; }
67426 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
67427 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
67428 $as_echo_n "(cached) " >&6
67429 else
67432 ac_ext=cpp
67433 ac_cpp='$CXXCPP $CPPFLAGS'
67434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67439 /* end confdefs.h. */
67440 #include <math.h>
67441 #ifdef HAVE_IEEEFP_H
67442 #include <ieeefp.h>
67443 #endif
67446 main ()
67448 _isnanl(0);
67450 return 0;
67452 _ACEOF
67453 if ac_fn_cxx_try_compile "$LINENO"; then :
67454 glibcxx_cv_func__isnanl_use=yes
67455 else
67456 glibcxx_cv_func__isnanl_use=no
67458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67459 ac_ext=c
67460 ac_cpp='$CPP $CPPFLAGS'
67461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
67470 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
67472 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
67473 for ac_func in _isnanl
67474 do :
67475 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
67476 if test "x$ac_cv_func__isnanl" = x""yes; then :
67477 cat >>confdefs.h <<_ACEOF
67478 #define HAVE__ISNANL 1
67479 _ACEOF
67482 done
67491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
67492 $as_echo_n "checking for isinfl declaration... " >&6; }
67493 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
67494 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
67495 $as_echo_n "(cached) " >&6
67496 else
67499 ac_ext=cpp
67500 ac_cpp='$CXXCPP $CPPFLAGS'
67501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67506 /* end confdefs.h. */
67507 #include <math.h>
67508 #ifdef HAVE_IEEEFP_H
67509 #include <ieeefp.h>
67510 #endif
67513 main ()
67515 isinfl(0);
67517 return 0;
67519 _ACEOF
67520 if ac_fn_cxx_try_compile "$LINENO"; then :
67521 glibcxx_cv_func_isinfl_use=yes
67522 else
67523 glibcxx_cv_func_isinfl_use=no
67525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67526 ac_ext=c
67527 ac_cpp='$CPP $CPPFLAGS'
67528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
67537 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
67539 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
67540 for ac_func in isinfl
67541 do :
67542 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
67543 if test "x$ac_cv_func_isinfl" = x""yes; then :
67544 cat >>confdefs.h <<_ACEOF
67545 #define HAVE_ISINFL 1
67546 _ACEOF
67549 done
67551 else
67553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
67554 $as_echo_n "checking for _isinfl declaration... " >&6; }
67555 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
67556 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
67557 $as_echo_n "(cached) " >&6
67558 else
67561 ac_ext=cpp
67562 ac_cpp='$CXXCPP $CPPFLAGS'
67563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67568 /* end confdefs.h. */
67569 #include <math.h>
67570 #ifdef HAVE_IEEEFP_H
67571 #include <ieeefp.h>
67572 #endif
67575 main ()
67577 _isinfl(0);
67579 return 0;
67581 _ACEOF
67582 if ac_fn_cxx_try_compile "$LINENO"; then :
67583 glibcxx_cv_func__isinfl_use=yes
67584 else
67585 glibcxx_cv_func__isinfl_use=no
67587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67588 ac_ext=c
67589 ac_cpp='$CPP $CPPFLAGS'
67590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
67599 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
67601 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
67602 for ac_func in _isinfl
67603 do :
67604 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
67605 if test "x$ac_cv_func__isinfl" = x""yes; then :
67606 cat >>confdefs.h <<_ACEOF
67607 #define HAVE__ISINFL 1
67608 _ACEOF
67611 done
67620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
67621 $as_echo_n "checking for atan2l declaration... " >&6; }
67622 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
67623 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
67624 $as_echo_n "(cached) " >&6
67625 else
67628 ac_ext=cpp
67629 ac_cpp='$CXXCPP $CPPFLAGS'
67630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67635 /* end confdefs.h. */
67636 #include <math.h>
67638 main ()
67640 atan2l(0, 0);
67642 return 0;
67644 _ACEOF
67645 if ac_fn_cxx_try_compile "$LINENO"; then :
67646 glibcxx_cv_func_atan2l_use=yes
67647 else
67648 glibcxx_cv_func_atan2l_use=no
67650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67651 ac_ext=c
67652 ac_cpp='$CPP $CPPFLAGS'
67653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
67662 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
67664 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
67665 for ac_func in atan2l
67666 do :
67667 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
67668 if test "x$ac_cv_func_atan2l" = x""yes; then :
67669 cat >>confdefs.h <<_ACEOF
67670 #define HAVE_ATAN2L 1
67671 _ACEOF
67674 done
67676 else
67678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
67679 $as_echo_n "checking for _atan2l declaration... " >&6; }
67680 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
67681 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
67682 $as_echo_n "(cached) " >&6
67683 else
67686 ac_ext=cpp
67687 ac_cpp='$CXXCPP $CPPFLAGS'
67688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67693 /* end confdefs.h. */
67694 #include <math.h>
67696 main ()
67698 _atan2l(0, 0);
67700 return 0;
67702 _ACEOF
67703 if ac_fn_cxx_try_compile "$LINENO"; then :
67704 glibcxx_cv_func__atan2l_use=yes
67705 else
67706 glibcxx_cv_func__atan2l_use=no
67708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67709 ac_ext=c
67710 ac_cpp='$CPP $CPPFLAGS'
67711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
67720 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
67722 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
67723 for ac_func in _atan2l
67724 do :
67725 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
67726 if test "x$ac_cv_func__atan2l" = x""yes; then :
67727 cat >>confdefs.h <<_ACEOF
67728 #define HAVE__ATAN2L 1
67729 _ACEOF
67732 done
67741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
67742 $as_echo_n "checking for expl declaration... " >&6; }
67743 if test x${glibcxx_cv_func_expl_use+set} != xset; then
67744 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
67745 $as_echo_n "(cached) " >&6
67746 else
67749 ac_ext=cpp
67750 ac_cpp='$CXXCPP $CPPFLAGS'
67751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67756 /* end confdefs.h. */
67757 #include <math.h>
67758 #ifdef HAVE_IEEEFP_H
67759 #include <ieeefp.h>
67760 #endif
67763 main ()
67765 expl(0);
67767 return 0;
67769 _ACEOF
67770 if ac_fn_cxx_try_compile "$LINENO"; then :
67771 glibcxx_cv_func_expl_use=yes
67772 else
67773 glibcxx_cv_func_expl_use=no
67775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67776 ac_ext=c
67777 ac_cpp='$CPP $CPPFLAGS'
67778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
67787 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
67789 if test x$glibcxx_cv_func_expl_use = x"yes"; then
67790 for ac_func in expl
67791 do :
67792 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
67793 if test "x$ac_cv_func_expl" = x""yes; then :
67794 cat >>confdefs.h <<_ACEOF
67795 #define HAVE_EXPL 1
67796 _ACEOF
67799 done
67801 else
67803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
67804 $as_echo_n "checking for _expl declaration... " >&6; }
67805 if test x${glibcxx_cv_func__expl_use+set} != xset; then
67806 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
67807 $as_echo_n "(cached) " >&6
67808 else
67811 ac_ext=cpp
67812 ac_cpp='$CXXCPP $CPPFLAGS'
67813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67818 /* end confdefs.h. */
67819 #include <math.h>
67820 #ifdef HAVE_IEEEFP_H
67821 #include <ieeefp.h>
67822 #endif
67825 main ()
67827 _expl(0);
67829 return 0;
67831 _ACEOF
67832 if ac_fn_cxx_try_compile "$LINENO"; then :
67833 glibcxx_cv_func__expl_use=yes
67834 else
67835 glibcxx_cv_func__expl_use=no
67837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67838 ac_ext=c
67839 ac_cpp='$CPP $CPPFLAGS'
67840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
67849 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
67851 if test x$glibcxx_cv_func__expl_use = x"yes"; then
67852 for ac_func in _expl
67853 do :
67854 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
67855 if test "x$ac_cv_func__expl" = x""yes; then :
67856 cat >>confdefs.h <<_ACEOF
67857 #define HAVE__EXPL 1
67858 _ACEOF
67861 done
67870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
67871 $as_echo_n "checking for fabsl declaration... " >&6; }
67872 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
67873 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
67874 $as_echo_n "(cached) " >&6
67875 else
67878 ac_ext=cpp
67879 ac_cpp='$CXXCPP $CPPFLAGS'
67880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67885 /* end confdefs.h. */
67886 #include <math.h>
67887 #ifdef HAVE_IEEEFP_H
67888 #include <ieeefp.h>
67889 #endif
67892 main ()
67894 fabsl(0);
67896 return 0;
67898 _ACEOF
67899 if ac_fn_cxx_try_compile "$LINENO"; then :
67900 glibcxx_cv_func_fabsl_use=yes
67901 else
67902 glibcxx_cv_func_fabsl_use=no
67904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67905 ac_ext=c
67906 ac_cpp='$CPP $CPPFLAGS'
67907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
67916 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
67918 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
67919 for ac_func in fabsl
67920 do :
67921 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
67922 if test "x$ac_cv_func_fabsl" = x""yes; then :
67923 cat >>confdefs.h <<_ACEOF
67924 #define HAVE_FABSL 1
67925 _ACEOF
67928 done
67930 else
67932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
67933 $as_echo_n "checking for _fabsl declaration... " >&6; }
67934 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
67935 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
67936 $as_echo_n "(cached) " >&6
67937 else
67940 ac_ext=cpp
67941 ac_cpp='$CXXCPP $CPPFLAGS'
67942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67947 /* end confdefs.h. */
67948 #include <math.h>
67949 #ifdef HAVE_IEEEFP_H
67950 #include <ieeefp.h>
67951 #endif
67954 main ()
67956 _fabsl(0);
67958 return 0;
67960 _ACEOF
67961 if ac_fn_cxx_try_compile "$LINENO"; then :
67962 glibcxx_cv_func__fabsl_use=yes
67963 else
67964 glibcxx_cv_func__fabsl_use=no
67966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67967 ac_ext=c
67968 ac_cpp='$CPP $CPPFLAGS'
67969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
67978 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
67980 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
67981 for ac_func in _fabsl
67982 do :
67983 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
67984 if test "x$ac_cv_func__fabsl" = x""yes; then :
67985 cat >>confdefs.h <<_ACEOF
67986 #define HAVE__FABSL 1
67987 _ACEOF
67990 done
67999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
68000 $as_echo_n "checking for fmodl declaration... " >&6; }
68001 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
68002 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
68003 $as_echo_n "(cached) " >&6
68004 else
68007 ac_ext=cpp
68008 ac_cpp='$CXXCPP $CPPFLAGS'
68009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68014 /* end confdefs.h. */
68015 #include <math.h>
68017 main ()
68019 fmodl(0, 0);
68021 return 0;
68023 _ACEOF
68024 if ac_fn_cxx_try_compile "$LINENO"; then :
68025 glibcxx_cv_func_fmodl_use=yes
68026 else
68027 glibcxx_cv_func_fmodl_use=no
68029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68030 ac_ext=c
68031 ac_cpp='$CPP $CPPFLAGS'
68032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
68041 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
68043 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
68044 for ac_func in fmodl
68045 do :
68046 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
68047 if test "x$ac_cv_func_fmodl" = x""yes; then :
68048 cat >>confdefs.h <<_ACEOF
68049 #define HAVE_FMODL 1
68050 _ACEOF
68053 done
68055 else
68057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
68058 $as_echo_n "checking for _fmodl declaration... " >&6; }
68059 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
68060 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
68061 $as_echo_n "(cached) " >&6
68062 else
68065 ac_ext=cpp
68066 ac_cpp='$CXXCPP $CPPFLAGS'
68067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68072 /* end confdefs.h. */
68073 #include <math.h>
68075 main ()
68077 _fmodl(0, 0);
68079 return 0;
68081 _ACEOF
68082 if ac_fn_cxx_try_compile "$LINENO"; then :
68083 glibcxx_cv_func__fmodl_use=yes
68084 else
68085 glibcxx_cv_func__fmodl_use=no
68087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68088 ac_ext=c
68089 ac_cpp='$CPP $CPPFLAGS'
68090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
68099 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
68101 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
68102 for ac_func in _fmodl
68103 do :
68104 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
68105 if test "x$ac_cv_func__fmodl" = x""yes; then :
68106 cat >>confdefs.h <<_ACEOF
68107 #define HAVE__FMODL 1
68108 _ACEOF
68111 done
68120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
68121 $as_echo_n "checking for frexpl declaration... " >&6; }
68122 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
68123 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
68124 $as_echo_n "(cached) " >&6
68125 else
68128 ac_ext=cpp
68129 ac_cpp='$CXXCPP $CPPFLAGS'
68130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68135 /* end confdefs.h. */
68136 #include <math.h>
68138 main ()
68140 frexpl(0, 0);
68142 return 0;
68144 _ACEOF
68145 if ac_fn_cxx_try_compile "$LINENO"; then :
68146 glibcxx_cv_func_frexpl_use=yes
68147 else
68148 glibcxx_cv_func_frexpl_use=no
68150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68151 ac_ext=c
68152 ac_cpp='$CPP $CPPFLAGS'
68153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
68162 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
68164 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
68165 for ac_func in frexpl
68166 do :
68167 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
68168 if test "x$ac_cv_func_frexpl" = x""yes; then :
68169 cat >>confdefs.h <<_ACEOF
68170 #define HAVE_FREXPL 1
68171 _ACEOF
68174 done
68176 else
68178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
68179 $as_echo_n "checking for _frexpl declaration... " >&6; }
68180 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
68181 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
68182 $as_echo_n "(cached) " >&6
68183 else
68186 ac_ext=cpp
68187 ac_cpp='$CXXCPP $CPPFLAGS'
68188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68193 /* end confdefs.h. */
68194 #include <math.h>
68196 main ()
68198 _frexpl(0, 0);
68200 return 0;
68202 _ACEOF
68203 if ac_fn_cxx_try_compile "$LINENO"; then :
68204 glibcxx_cv_func__frexpl_use=yes
68205 else
68206 glibcxx_cv_func__frexpl_use=no
68208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68209 ac_ext=c
68210 ac_cpp='$CPP $CPPFLAGS'
68211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
68220 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
68222 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
68223 for ac_func in _frexpl
68224 do :
68225 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
68226 if test "x$ac_cv_func__frexpl" = x""yes; then :
68227 cat >>confdefs.h <<_ACEOF
68228 #define HAVE__FREXPL 1
68229 _ACEOF
68232 done
68241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
68242 $as_echo_n "checking for hypotl declaration... " >&6; }
68243 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
68244 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
68245 $as_echo_n "(cached) " >&6
68246 else
68249 ac_ext=cpp
68250 ac_cpp='$CXXCPP $CPPFLAGS'
68251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68256 /* end confdefs.h. */
68257 #include <math.h>
68259 main ()
68261 hypotl(0, 0);
68263 return 0;
68265 _ACEOF
68266 if ac_fn_cxx_try_compile "$LINENO"; then :
68267 glibcxx_cv_func_hypotl_use=yes
68268 else
68269 glibcxx_cv_func_hypotl_use=no
68271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68272 ac_ext=c
68273 ac_cpp='$CPP $CPPFLAGS'
68274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
68283 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
68285 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
68286 for ac_func in hypotl
68287 do :
68288 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
68289 if test "x$ac_cv_func_hypotl" = x""yes; then :
68290 cat >>confdefs.h <<_ACEOF
68291 #define HAVE_HYPOTL 1
68292 _ACEOF
68295 done
68297 else
68299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
68300 $as_echo_n "checking for _hypotl declaration... " >&6; }
68301 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
68302 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
68303 $as_echo_n "(cached) " >&6
68304 else
68307 ac_ext=cpp
68308 ac_cpp='$CXXCPP $CPPFLAGS'
68309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68314 /* end confdefs.h. */
68315 #include <math.h>
68317 main ()
68319 _hypotl(0, 0);
68321 return 0;
68323 _ACEOF
68324 if ac_fn_cxx_try_compile "$LINENO"; then :
68325 glibcxx_cv_func__hypotl_use=yes
68326 else
68327 glibcxx_cv_func__hypotl_use=no
68329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68330 ac_ext=c
68331 ac_cpp='$CPP $CPPFLAGS'
68332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
68341 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
68343 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
68344 for ac_func in _hypotl
68345 do :
68346 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
68347 if test "x$ac_cv_func__hypotl" = x""yes; then :
68348 cat >>confdefs.h <<_ACEOF
68349 #define HAVE__HYPOTL 1
68350 _ACEOF
68353 done
68362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
68363 $as_echo_n "checking for ldexpl declaration... " >&6; }
68364 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
68365 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
68366 $as_echo_n "(cached) " >&6
68367 else
68370 ac_ext=cpp
68371 ac_cpp='$CXXCPP $CPPFLAGS'
68372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68377 /* end confdefs.h. */
68378 #include <math.h>
68380 main ()
68382 ldexpl(0, 0);
68384 return 0;
68386 _ACEOF
68387 if ac_fn_cxx_try_compile "$LINENO"; then :
68388 glibcxx_cv_func_ldexpl_use=yes
68389 else
68390 glibcxx_cv_func_ldexpl_use=no
68392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68393 ac_ext=c
68394 ac_cpp='$CPP $CPPFLAGS'
68395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
68404 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
68406 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
68407 for ac_func in ldexpl
68408 do :
68409 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
68410 if test "x$ac_cv_func_ldexpl" = x""yes; then :
68411 cat >>confdefs.h <<_ACEOF
68412 #define HAVE_LDEXPL 1
68413 _ACEOF
68416 done
68418 else
68420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
68421 $as_echo_n "checking for _ldexpl declaration... " >&6; }
68422 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
68423 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
68424 $as_echo_n "(cached) " >&6
68425 else
68428 ac_ext=cpp
68429 ac_cpp='$CXXCPP $CPPFLAGS'
68430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68435 /* end confdefs.h. */
68436 #include <math.h>
68438 main ()
68440 _ldexpl(0, 0);
68442 return 0;
68444 _ACEOF
68445 if ac_fn_cxx_try_compile "$LINENO"; then :
68446 glibcxx_cv_func__ldexpl_use=yes
68447 else
68448 glibcxx_cv_func__ldexpl_use=no
68450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68451 ac_ext=c
68452 ac_cpp='$CPP $CPPFLAGS'
68453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
68462 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
68464 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
68465 for ac_func in _ldexpl
68466 do :
68467 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
68468 if test "x$ac_cv_func__ldexpl" = x""yes; then :
68469 cat >>confdefs.h <<_ACEOF
68470 #define HAVE__LDEXPL 1
68471 _ACEOF
68474 done
68483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
68484 $as_echo_n "checking for logl declaration... " >&6; }
68485 if test x${glibcxx_cv_func_logl_use+set} != xset; then
68486 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
68487 $as_echo_n "(cached) " >&6
68488 else
68491 ac_ext=cpp
68492 ac_cpp='$CXXCPP $CPPFLAGS'
68493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68498 /* end confdefs.h. */
68499 #include <math.h>
68500 #ifdef HAVE_IEEEFP_H
68501 #include <ieeefp.h>
68502 #endif
68505 main ()
68507 logl(0);
68509 return 0;
68511 _ACEOF
68512 if ac_fn_cxx_try_compile "$LINENO"; then :
68513 glibcxx_cv_func_logl_use=yes
68514 else
68515 glibcxx_cv_func_logl_use=no
68517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68518 ac_ext=c
68519 ac_cpp='$CPP $CPPFLAGS'
68520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
68529 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
68531 if test x$glibcxx_cv_func_logl_use = x"yes"; then
68532 for ac_func in logl
68533 do :
68534 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
68535 if test "x$ac_cv_func_logl" = x""yes; then :
68536 cat >>confdefs.h <<_ACEOF
68537 #define HAVE_LOGL 1
68538 _ACEOF
68541 done
68543 else
68545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
68546 $as_echo_n "checking for _logl declaration... " >&6; }
68547 if test x${glibcxx_cv_func__logl_use+set} != xset; then
68548 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
68549 $as_echo_n "(cached) " >&6
68550 else
68553 ac_ext=cpp
68554 ac_cpp='$CXXCPP $CPPFLAGS'
68555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68560 /* end confdefs.h. */
68561 #include <math.h>
68562 #ifdef HAVE_IEEEFP_H
68563 #include <ieeefp.h>
68564 #endif
68567 main ()
68569 _logl(0);
68571 return 0;
68573 _ACEOF
68574 if ac_fn_cxx_try_compile "$LINENO"; then :
68575 glibcxx_cv_func__logl_use=yes
68576 else
68577 glibcxx_cv_func__logl_use=no
68579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68580 ac_ext=c
68581 ac_cpp='$CPP $CPPFLAGS'
68582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
68591 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
68593 if test x$glibcxx_cv_func__logl_use = x"yes"; then
68594 for ac_func in _logl
68595 do :
68596 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
68597 if test "x$ac_cv_func__logl" = x""yes; then :
68598 cat >>confdefs.h <<_ACEOF
68599 #define HAVE__LOGL 1
68600 _ACEOF
68603 done
68612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
68613 $as_echo_n "checking for log10l declaration... " >&6; }
68614 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
68615 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
68616 $as_echo_n "(cached) " >&6
68617 else
68620 ac_ext=cpp
68621 ac_cpp='$CXXCPP $CPPFLAGS'
68622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68627 /* end confdefs.h. */
68628 #include <math.h>
68629 #ifdef HAVE_IEEEFP_H
68630 #include <ieeefp.h>
68631 #endif
68634 main ()
68636 log10l(0);
68638 return 0;
68640 _ACEOF
68641 if ac_fn_cxx_try_compile "$LINENO"; then :
68642 glibcxx_cv_func_log10l_use=yes
68643 else
68644 glibcxx_cv_func_log10l_use=no
68646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68647 ac_ext=c
68648 ac_cpp='$CPP $CPPFLAGS'
68649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
68658 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
68660 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
68661 for ac_func in log10l
68662 do :
68663 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
68664 if test "x$ac_cv_func_log10l" = x""yes; then :
68665 cat >>confdefs.h <<_ACEOF
68666 #define HAVE_LOG10L 1
68667 _ACEOF
68670 done
68672 else
68674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
68675 $as_echo_n "checking for _log10l declaration... " >&6; }
68676 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
68677 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
68678 $as_echo_n "(cached) " >&6
68679 else
68682 ac_ext=cpp
68683 ac_cpp='$CXXCPP $CPPFLAGS'
68684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68689 /* end confdefs.h. */
68690 #include <math.h>
68691 #ifdef HAVE_IEEEFP_H
68692 #include <ieeefp.h>
68693 #endif
68696 main ()
68698 _log10l(0);
68700 return 0;
68702 _ACEOF
68703 if ac_fn_cxx_try_compile "$LINENO"; then :
68704 glibcxx_cv_func__log10l_use=yes
68705 else
68706 glibcxx_cv_func__log10l_use=no
68708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68709 ac_ext=c
68710 ac_cpp='$CPP $CPPFLAGS'
68711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
68720 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
68722 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
68723 for ac_func in _log10l
68724 do :
68725 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
68726 if test "x$ac_cv_func__log10l" = x""yes; then :
68727 cat >>confdefs.h <<_ACEOF
68728 #define HAVE__LOG10L 1
68729 _ACEOF
68732 done
68741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
68742 $as_echo_n "checking for modfl declaration... " >&6; }
68743 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
68744 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
68745 $as_echo_n "(cached) " >&6
68746 else
68749 ac_ext=cpp
68750 ac_cpp='$CXXCPP $CPPFLAGS'
68751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68756 /* end confdefs.h. */
68757 #include <math.h>
68759 main ()
68761 modfl(0, 0);
68763 return 0;
68765 _ACEOF
68766 if ac_fn_cxx_try_compile "$LINENO"; then :
68767 glibcxx_cv_func_modfl_use=yes
68768 else
68769 glibcxx_cv_func_modfl_use=no
68771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68772 ac_ext=c
68773 ac_cpp='$CPP $CPPFLAGS'
68774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
68783 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
68785 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
68786 for ac_func in modfl
68787 do :
68788 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
68789 if test "x$ac_cv_func_modfl" = x""yes; then :
68790 cat >>confdefs.h <<_ACEOF
68791 #define HAVE_MODFL 1
68792 _ACEOF
68795 done
68797 else
68799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
68800 $as_echo_n "checking for _modfl declaration... " >&6; }
68801 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
68802 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
68803 $as_echo_n "(cached) " >&6
68804 else
68807 ac_ext=cpp
68808 ac_cpp='$CXXCPP $CPPFLAGS'
68809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68814 /* end confdefs.h. */
68815 #include <math.h>
68817 main ()
68819 _modfl(0, 0);
68821 return 0;
68823 _ACEOF
68824 if ac_fn_cxx_try_compile "$LINENO"; then :
68825 glibcxx_cv_func__modfl_use=yes
68826 else
68827 glibcxx_cv_func__modfl_use=no
68829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68830 ac_ext=c
68831 ac_cpp='$CPP $CPPFLAGS'
68832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
68841 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
68843 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
68844 for ac_func in _modfl
68845 do :
68846 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
68847 if test "x$ac_cv_func__modfl" = x""yes; then :
68848 cat >>confdefs.h <<_ACEOF
68849 #define HAVE__MODFL 1
68850 _ACEOF
68853 done
68862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
68863 $as_echo_n "checking for powl declaration... " >&6; }
68864 if test x${glibcxx_cv_func_powl_use+set} != xset; then
68865 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
68866 $as_echo_n "(cached) " >&6
68867 else
68870 ac_ext=cpp
68871 ac_cpp='$CXXCPP $CPPFLAGS'
68872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68877 /* end confdefs.h. */
68878 #include <math.h>
68880 main ()
68882 powl(0, 0);
68884 return 0;
68886 _ACEOF
68887 if ac_fn_cxx_try_compile "$LINENO"; then :
68888 glibcxx_cv_func_powl_use=yes
68889 else
68890 glibcxx_cv_func_powl_use=no
68892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68893 ac_ext=c
68894 ac_cpp='$CPP $CPPFLAGS'
68895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
68904 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
68906 if test x$glibcxx_cv_func_powl_use = x"yes"; then
68907 for ac_func in powl
68908 do :
68909 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
68910 if test "x$ac_cv_func_powl" = x""yes; then :
68911 cat >>confdefs.h <<_ACEOF
68912 #define HAVE_POWL 1
68913 _ACEOF
68916 done
68918 else
68920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
68921 $as_echo_n "checking for _powl declaration... " >&6; }
68922 if test x${glibcxx_cv_func__powl_use+set} != xset; then
68923 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
68924 $as_echo_n "(cached) " >&6
68925 else
68928 ac_ext=cpp
68929 ac_cpp='$CXXCPP $CPPFLAGS'
68930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68935 /* end confdefs.h. */
68936 #include <math.h>
68938 main ()
68940 _powl(0, 0);
68942 return 0;
68944 _ACEOF
68945 if ac_fn_cxx_try_compile "$LINENO"; then :
68946 glibcxx_cv_func__powl_use=yes
68947 else
68948 glibcxx_cv_func__powl_use=no
68950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68951 ac_ext=c
68952 ac_cpp='$CPP $CPPFLAGS'
68953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
68962 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
68964 if test x$glibcxx_cv_func__powl_use = x"yes"; then
68965 for ac_func in _powl
68966 do :
68967 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
68968 if test "x$ac_cv_func__powl" = x""yes; then :
68969 cat >>confdefs.h <<_ACEOF
68970 #define HAVE__POWL 1
68971 _ACEOF
68974 done
68983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
68984 $as_echo_n "checking for sqrtl declaration... " >&6; }
68985 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
68986 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
68987 $as_echo_n "(cached) " >&6
68988 else
68991 ac_ext=cpp
68992 ac_cpp='$CXXCPP $CPPFLAGS'
68993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68998 /* end confdefs.h. */
68999 #include <math.h>
69000 #ifdef HAVE_IEEEFP_H
69001 #include <ieeefp.h>
69002 #endif
69005 main ()
69007 sqrtl(0);
69009 return 0;
69011 _ACEOF
69012 if ac_fn_cxx_try_compile "$LINENO"; then :
69013 glibcxx_cv_func_sqrtl_use=yes
69014 else
69015 glibcxx_cv_func_sqrtl_use=no
69017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69018 ac_ext=c
69019 ac_cpp='$CPP $CPPFLAGS'
69020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
69029 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
69031 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
69032 for ac_func in sqrtl
69033 do :
69034 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
69035 if test "x$ac_cv_func_sqrtl" = x""yes; then :
69036 cat >>confdefs.h <<_ACEOF
69037 #define HAVE_SQRTL 1
69038 _ACEOF
69041 done
69043 else
69045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
69046 $as_echo_n "checking for _sqrtl declaration... " >&6; }
69047 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
69048 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
69049 $as_echo_n "(cached) " >&6
69050 else
69053 ac_ext=cpp
69054 ac_cpp='$CXXCPP $CPPFLAGS'
69055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69060 /* end confdefs.h. */
69061 #include <math.h>
69062 #ifdef HAVE_IEEEFP_H
69063 #include <ieeefp.h>
69064 #endif
69067 main ()
69069 _sqrtl(0);
69071 return 0;
69073 _ACEOF
69074 if ac_fn_cxx_try_compile "$LINENO"; then :
69075 glibcxx_cv_func__sqrtl_use=yes
69076 else
69077 glibcxx_cv_func__sqrtl_use=no
69079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69080 ac_ext=c
69081 ac_cpp='$CPP $CPPFLAGS'
69082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
69091 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
69093 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
69094 for ac_func in _sqrtl
69095 do :
69096 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
69097 if test "x$ac_cv_func__sqrtl" = x""yes; then :
69098 cat >>confdefs.h <<_ACEOF
69099 #define HAVE__SQRTL 1
69100 _ACEOF
69103 done
69112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
69113 $as_echo_n "checking for sincosl declaration... " >&6; }
69114 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
69115 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
69116 $as_echo_n "(cached) " >&6
69117 else
69120 ac_ext=cpp
69121 ac_cpp='$CXXCPP $CPPFLAGS'
69122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69127 /* end confdefs.h. */
69128 #include <math.h>
69130 main ()
69132 sincosl(0, 0, 0);
69134 return 0;
69136 _ACEOF
69137 if ac_fn_cxx_try_compile "$LINENO"; then :
69138 glibcxx_cv_func_sincosl_use=yes
69139 else
69140 glibcxx_cv_func_sincosl_use=no
69142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69143 ac_ext=c
69144 ac_cpp='$CPP $CPPFLAGS'
69145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
69154 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
69156 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
69157 for ac_func in sincosl
69158 do :
69159 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
69160 if test "x$ac_cv_func_sincosl" = x""yes; then :
69161 cat >>confdefs.h <<_ACEOF
69162 #define HAVE_SINCOSL 1
69163 _ACEOF
69166 done
69168 else
69170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
69171 $as_echo_n "checking for _sincosl declaration... " >&6; }
69172 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
69173 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
69174 $as_echo_n "(cached) " >&6
69175 else
69178 ac_ext=cpp
69179 ac_cpp='$CXXCPP $CPPFLAGS'
69180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69185 /* end confdefs.h. */
69186 #include <math.h>
69188 main ()
69190 _sincosl(0, 0, 0);
69192 return 0;
69194 _ACEOF
69195 if ac_fn_cxx_try_compile "$LINENO"; then :
69196 glibcxx_cv_func__sincosl_use=yes
69197 else
69198 glibcxx_cv_func__sincosl_use=no
69200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69201 ac_ext=c
69202 ac_cpp='$CPP $CPPFLAGS'
69203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
69212 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
69214 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
69215 for ac_func in _sincosl
69216 do :
69217 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
69218 if test "x$ac_cv_func__sincosl" = x""yes; then :
69219 cat >>confdefs.h <<_ACEOF
69220 #define HAVE__SINCOSL 1
69221 _ACEOF
69224 done
69233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
69234 $as_echo_n "checking for finitel declaration... " >&6; }
69235 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
69236 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
69237 $as_echo_n "(cached) " >&6
69238 else
69241 ac_ext=cpp
69242 ac_cpp='$CXXCPP $CPPFLAGS'
69243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69248 /* end confdefs.h. */
69249 #include <math.h>
69250 #ifdef HAVE_IEEEFP_H
69251 #include <ieeefp.h>
69252 #endif
69255 main ()
69257 finitel(0);
69259 return 0;
69261 _ACEOF
69262 if ac_fn_cxx_try_compile "$LINENO"; then :
69263 glibcxx_cv_func_finitel_use=yes
69264 else
69265 glibcxx_cv_func_finitel_use=no
69267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69268 ac_ext=c
69269 ac_cpp='$CPP $CPPFLAGS'
69270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
69279 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
69281 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
69282 for ac_func in finitel
69283 do :
69284 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
69285 if test "x$ac_cv_func_finitel" = x""yes; then :
69286 cat >>confdefs.h <<_ACEOF
69287 #define HAVE_FINITEL 1
69288 _ACEOF
69291 done
69293 else
69295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
69296 $as_echo_n "checking for _finitel declaration... " >&6; }
69297 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
69298 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
69299 $as_echo_n "(cached) " >&6
69300 else
69303 ac_ext=cpp
69304 ac_cpp='$CXXCPP $CPPFLAGS'
69305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69310 /* end confdefs.h. */
69311 #include <math.h>
69312 #ifdef HAVE_IEEEFP_H
69313 #include <ieeefp.h>
69314 #endif
69317 main ()
69319 _finitel(0);
69321 return 0;
69323 _ACEOF
69324 if ac_fn_cxx_try_compile "$LINENO"; then :
69325 glibcxx_cv_func__finitel_use=yes
69326 else
69327 glibcxx_cv_func__finitel_use=no
69329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69330 ac_ext=c
69331 ac_cpp='$CPP $CPPFLAGS'
69332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
69341 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
69343 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
69344 for ac_func in _finitel
69345 do :
69346 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
69347 if test "x$ac_cv_func__finitel" = x""yes; then :
69348 cat >>confdefs.h <<_ACEOF
69349 #define HAVE__FINITEL 1
69350 _ACEOF
69353 done
69361 LIBS="$ac_save_LIBS"
69362 CXXFLAGS="$ac_save_CXXFLAGS"
69365 ac_test_CXXFLAGS="${CXXFLAGS+set}"
69366 ac_save_CXXFLAGS="$CXXFLAGS"
69367 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
69370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
69371 $as_echo_n "checking for strtold declaration... " >&6; }
69372 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
69373 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
69374 $as_echo_n "(cached) " >&6
69375 else
69378 ac_ext=cpp
69379 ac_cpp='$CXXCPP $CPPFLAGS'
69380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69385 /* end confdefs.h. */
69386 #include <stdlib.h>
69388 main ()
69390 strtold(0, 0);
69392 return 0;
69394 _ACEOF
69395 if ac_fn_cxx_try_compile "$LINENO"; then :
69396 glibcxx_cv_func_strtold_use=yes
69397 else
69398 glibcxx_cv_func_strtold_use=no
69400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69401 ac_ext=c
69402 ac_cpp='$CPP $CPPFLAGS'
69403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
69412 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
69413 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
69414 for ac_func in strtold
69415 do :
69416 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
69417 if test "x$ac_cv_func_strtold" = x""yes; then :
69418 cat >>confdefs.h <<_ACEOF
69419 #define HAVE_STRTOLD 1
69420 _ACEOF
69423 done
69430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
69431 $as_echo_n "checking for strtof declaration... " >&6; }
69432 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
69433 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
69434 $as_echo_n "(cached) " >&6
69435 else
69438 ac_ext=cpp
69439 ac_cpp='$CXXCPP $CPPFLAGS'
69440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69445 /* end confdefs.h. */
69446 #include <stdlib.h>
69448 main ()
69450 strtof(0, 0);
69452 return 0;
69454 _ACEOF
69455 if ac_fn_cxx_try_compile "$LINENO"; then :
69456 glibcxx_cv_func_strtof_use=yes
69457 else
69458 glibcxx_cv_func_strtof_use=no
69460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69461 ac_ext=c
69462 ac_cpp='$CPP $CPPFLAGS'
69463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
69472 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
69473 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
69474 for ac_func in strtof
69475 do :
69476 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
69477 if test "x$ac_cv_func_strtof" = x""yes; then :
69478 cat >>confdefs.h <<_ACEOF
69479 #define HAVE_STRTOF 1
69480 _ACEOF
69483 done
69490 CXXFLAGS="$ac_save_CXXFLAGS"
69493 *-vxworks)
69494 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
69496 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
69498 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
69500 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
69502 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
69504 $as_echo "#define HAVE_COSF 1" >>confdefs.h
69506 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
69508 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
69510 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
69512 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
69514 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
69516 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
69518 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
69520 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
69522 $as_echo "#define HAVE_POWF 1" >>confdefs.h
69524 $as_echo "#define HAVE_SINF 1" >>confdefs.h
69526 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
69528 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
69530 $as_echo "#define HAVE_TANF 1" >>confdefs.h
69532 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
69536 as_fn_error "No support for this host/target combination." "$LINENO" 5
69538 esac
69542 # At some point, we should differentiate between architectures
69543 # like x86, which have long double versions, and alpha/powerpc/etc.,
69544 # which don't. For the time being, punt.
69545 if test x"long_double_math_on_this_cpu" = x"yes"; then
69546 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
69548 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
69550 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
69552 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
69554 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
69556 $as_echo "#define HAVE_COSL 1" >>confdefs.h
69558 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
69560 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
69562 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
69564 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
69566 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
69568 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
69570 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
69572 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
69574 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
69576 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
69578 $as_echo "#define HAVE_POWL 1" >>confdefs.h
69580 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
69582 $as_echo "#define HAVE_SINL 1" >>confdefs.h
69584 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
69586 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
69588 $as_echo "#define HAVE_TANL 1" >>confdefs.h
69590 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
69595 # Check for _Unwind_GetIPInfo.
69598 # Check whether --with-system-libunwind was given.
69599 if test "${with_system_libunwind+set}" = set; then :
69600 withval=$with_system_libunwind;
69603 # If system-libunwind was not specifically set, pick a default setting.
69604 if test x$with_system_libunwind = x; then
69605 case ${target} in
69606 ia64-*-hpux*) with_system_libunwind=yes ;;
69607 *) with_system_libunwind=no ;;
69608 esac
69610 # Based on system-libunwind and target, do we have ipinfo?
69611 if test x$with_system_libunwind = xyes; then
69612 case ${target} in
69613 ia64-*-*) have_unwind_getipinfo=no ;;
69614 *) have_unwind_getipinfo=yes ;;
69615 esac
69616 else
69617 # Darwin before version 9 does not have _Unwind_GetIPInfo.
69619 case ${target} in
69620 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
69621 *) have_unwind_getipinfo=yes ;;
69622 esac
69626 if test x$have_unwind_getipinfo = xyes; then
69628 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
69633 # Check whether --enable-linux-futex was given.
69634 if test "${enable_linux_futex+set}" = set; then :
69635 enableval=$enable_linux_futex;
69636 case "$enableval" in
69637 yes|no|default) ;;
69638 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
69639 esac
69641 else
69642 enable_linux_futex=default
69646 case "$target" in
69647 *-linux*)
69648 case "$enable_linux_futex" in
69649 default)
69650 # If headers don't have gettid/futex syscalls definition, then
69651 # default to no, otherwise there will be compile time failures.
69652 # Otherwise, default to yes. If we don't detect we are
69653 # compiled/linked against NPTL and not cross-compiling, check
69654 # if programs are run by default against NPTL and if not, issue
69655 # a warning.
69656 enable_linux_futex=no
69657 if test x$gcc_no_link = xyes; then
69658 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69661 /* end confdefs.h. */
69662 #include <sys/syscall.h>
69663 int lk;
69665 main ()
69667 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
69669 return 0;
69671 _ACEOF
69672 if ac_fn_c_try_link "$LINENO"; then :
69673 save_LIBS="$LIBS"
69674 LIBS="-lpthread $LIBS"
69675 if test x$gcc_no_link = xyes; then
69676 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69679 /* end confdefs.h. */
69680 #ifndef _GNU_SOURCE
69681 #define _GNU_SOURCE 1
69682 #endif
69683 #include <pthread.h>
69684 pthread_t th; void *status;
69686 main ()
69688 pthread_tryjoin_np (th, &status);
69690 return 0;
69692 _ACEOF
69693 if ac_fn_c_try_link "$LINENO"; then :
69694 enable_linux_futex=yes
69695 else
69696 if test x$cross_compiling = xno; then
69697 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
69698 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
69699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
69700 If so, please configure with --disable-linux-futex" >&5
69701 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
69702 If so, please configure with --disable-linux-futex" >&2;}
69705 enable_linux_futex=yes
69707 rm -f core conftest.err conftest.$ac_objext \
69708 conftest$ac_exeext conftest.$ac_ext
69709 LIBS="$save_LIBS"
69711 rm -f core conftest.err conftest.$ac_objext \
69712 conftest$ac_exeext conftest.$ac_ext
69714 yes)
69715 if test x$gcc_no_link = xyes; then
69716 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69719 /* end confdefs.h. */
69720 #include <sys/syscall.h>
69721 int lk;
69723 main ()
69725 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
69727 return 0;
69729 _ACEOF
69730 if ac_fn_c_try_link "$LINENO"; then :
69732 else
69733 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
69735 rm -f core conftest.err conftest.$ac_objext \
69736 conftest$ac_exeext conftest.$ac_ext
69738 esac
69741 enable_linux_futex=no
69743 esac
69744 if test x$enable_linux_futex = xyes; then
69746 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
69753 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
69755 acx_cv_header_stdint=stddef.h
69756 acx_cv_header_stdint_kind="(already complete)"
69757 for i in stdint.h $inttype_headers; do
69758 unset ac_cv_type_uintptr_t
69759 unset ac_cv_type_uintmax_t
69760 unset ac_cv_type_int_least32_t
69761 unset ac_cv_type_int_fast32_t
69762 unset ac_cv_type_uint64_t
69763 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
69764 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
69765 #include <$i>
69767 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
69768 acx_cv_header_stdint=$i
69769 else
69770 continue
69773 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
69774 #include <$i>
69776 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
69778 else
69779 acx_cv_header_stdint_kind="(mostly complete)"
69782 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
69783 #include <$i>
69785 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
69787 else
69788 acx_cv_header_stdint_kind="(mostly complete)"
69791 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
69792 #include <$i>
69794 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
69796 else
69797 acx_cv_header_stdint_kind="(mostly complete)"
69800 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
69801 #include <$i>
69803 if test "x$ac_cv_type_uint64_t" = x""yes; then :
69805 else
69806 acx_cv_header_stdint_kind="(lacks uint64_t)"
69809 break
69810 done
69811 if test "$acx_cv_header_stdint" = stddef.h; then
69812 acx_cv_header_stdint_kind="(lacks uintmax_t)"
69813 for i in stdint.h $inttype_headers; do
69814 unset ac_cv_type_uintptr_t
69815 unset ac_cv_type_uint32_t
69816 unset ac_cv_type_uint64_t
69817 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
69818 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
69819 #include <$i>
69821 if test "x$ac_cv_type_uint32_t" = x""yes; then :
69822 acx_cv_header_stdint=$i
69823 else
69824 continue
69827 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
69828 #include <$i>
69830 if test "x$ac_cv_type_uint64_t" = x""yes; then :
69834 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
69835 #include <$i>
69837 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
69841 break
69842 done
69844 if test "$acx_cv_header_stdint" = stddef.h; then
69845 acx_cv_header_stdint_kind="(u_intXX_t style)"
69846 for i in sys/types.h $inttype_headers; do
69847 unset ac_cv_type_u_int32_t
69848 unset ac_cv_type_u_int64_t
69849 $as_echo_n "looking for u_intXX_t types in $i, " >&6
69850 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
69851 #include <$i>
69853 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
69854 acx_cv_header_stdint=$i
69855 else
69856 continue
69859 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
69860 #include <$i>
69862 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
69866 break
69867 done
69869 if test "$acx_cv_header_stdint" = stddef.h; then
69870 acx_cv_header_stdint_kind="(using manual detection)"
69873 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
69874 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
69875 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
69876 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
69877 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
69879 # ----------------- Summarize what we found so far
69881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
69882 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
69884 case `$as_basename -- include/gstdint.h ||
69885 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
69886 Xinclude/gstdint.h : 'X\(//\)$' \| \
69887 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
69888 $as_echo X/include/gstdint.h |
69889 sed '/^.*\/\([^/][^/]*\)\/*$/{
69890 s//\1/
69893 /^X\/\(\/\/\)$/{
69894 s//\1/
69897 /^X\/\(\/\).*/{
69898 s//\1/
69901 s/.*/./; q'` in
69902 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
69903 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
69904 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
69905 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
69906 *) ;;
69907 esac
69909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
69910 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
69912 # ----------------- done included file, check C basic types --------
69914 # Lacking an uintptr_t? Test size of void *
69915 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
69916 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
69917 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
69918 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
69919 # This bug is HP SR number 8606223364.
69920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
69921 $as_echo_n "checking size of void *... " >&6; }
69922 if test "${ac_cv_sizeof_void_p+set}" = set; then :
69923 $as_echo_n "(cached) " >&6
69924 else
69925 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
69927 else
69928 if test "$ac_cv_type_void_p" = yes; then
69929 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
69930 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
69931 { as_fn_set_status 77
69932 as_fn_error "cannot compute sizeof (void *)
69933 See \`config.log' for more details." "$LINENO" 5; }; }
69934 else
69935 ac_cv_sizeof_void_p=0
69940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
69941 $as_echo "$ac_cv_sizeof_void_p" >&6; }
69945 cat >>confdefs.h <<_ACEOF
69946 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
69947 _ACEOF
69950 esac
69952 # Lacking an uint64_t? Test size of long
69953 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
69954 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
69955 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
69956 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
69957 # This bug is HP SR number 8606223364.
69958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
69959 $as_echo_n "checking size of long... " >&6; }
69960 if test "${ac_cv_sizeof_long+set}" = set; then :
69961 $as_echo_n "(cached) " >&6
69962 else
69963 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
69965 else
69966 if test "$ac_cv_type_long" = yes; then
69967 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
69968 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
69969 { as_fn_set_status 77
69970 as_fn_error "cannot compute sizeof (long)
69971 See \`config.log' for more details." "$LINENO" 5; }; }
69972 else
69973 ac_cv_sizeof_long=0
69978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
69979 $as_echo "$ac_cv_sizeof_long" >&6; }
69983 cat >>confdefs.h <<_ACEOF
69984 #define SIZEOF_LONG $ac_cv_sizeof_long
69985 _ACEOF
69988 esac
69990 if test $acx_cv_header_stdint = stddef.h; then
69991 # Lacking a good header? Test size of everything and deduce all types.
69992 # The cast to long int works around a bug in the HP C Compiler
69993 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
69994 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
69995 # This bug is HP SR number 8606223364.
69996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
69997 $as_echo_n "checking size of int... " >&6; }
69998 if test "${ac_cv_sizeof_int+set}" = set; then :
69999 $as_echo_n "(cached) " >&6
70000 else
70001 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
70003 else
70004 if test "$ac_cv_type_int" = yes; then
70005 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70006 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70007 { as_fn_set_status 77
70008 as_fn_error "cannot compute sizeof (int)
70009 See \`config.log' for more details." "$LINENO" 5; }; }
70010 else
70011 ac_cv_sizeof_int=0
70016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
70017 $as_echo "$ac_cv_sizeof_int" >&6; }
70021 cat >>confdefs.h <<_ACEOF
70022 #define SIZEOF_INT $ac_cv_sizeof_int
70023 _ACEOF
70026 # The cast to long int works around a bug in the HP C Compiler
70027 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70028 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70029 # This bug is HP SR number 8606223364.
70030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
70031 $as_echo_n "checking size of short... " >&6; }
70032 if test "${ac_cv_sizeof_short+set}" = set; then :
70033 $as_echo_n "(cached) " >&6
70034 else
70035 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
70037 else
70038 if test "$ac_cv_type_short" = yes; then
70039 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70040 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70041 { as_fn_set_status 77
70042 as_fn_error "cannot compute sizeof (short)
70043 See \`config.log' for more details." "$LINENO" 5; }; }
70044 else
70045 ac_cv_sizeof_short=0
70050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
70051 $as_echo "$ac_cv_sizeof_short" >&6; }
70055 cat >>confdefs.h <<_ACEOF
70056 #define SIZEOF_SHORT $ac_cv_sizeof_short
70057 _ACEOF
70060 # The cast to long int works around a bug in the HP C Compiler
70061 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70062 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70063 # This bug is HP SR number 8606223364.
70064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
70065 $as_echo_n "checking size of char... " >&6; }
70066 if test "${ac_cv_sizeof_char+set}" = set; then :
70067 $as_echo_n "(cached) " >&6
70068 else
70069 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
70071 else
70072 if test "$ac_cv_type_char" = yes; then
70073 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70074 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70075 { as_fn_set_status 77
70076 as_fn_error "cannot compute sizeof (char)
70077 See \`config.log' for more details." "$LINENO" 5; }; }
70078 else
70079 ac_cv_sizeof_char=0
70084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
70085 $as_echo "$ac_cv_sizeof_char" >&6; }
70089 cat >>confdefs.h <<_ACEOF
70090 #define SIZEOF_CHAR $ac_cv_sizeof_char
70091 _ACEOF
70095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
70096 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
70097 case "$ac_cv_sizeof_char" in
70098 1) acx_cv_type_int8_t=char ;;
70099 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
70100 esac
70101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
70102 $as_echo "$acx_cv_type_int8_t" >&6; }
70104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
70105 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
70106 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
70107 2:*) acx_cv_type_int16_t=int ;;
70108 *:2) acx_cv_type_int16_t=short ;;
70109 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
70110 esac
70111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
70112 $as_echo "$acx_cv_type_int16_t" >&6; }
70114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
70115 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
70116 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
70117 4:*) acx_cv_type_int32_t=int ;;
70118 *:4) acx_cv_type_int32_t=long ;;
70119 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
70120 esac
70121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
70122 $as_echo "$acx_cv_type_int32_t" >&6; }
70125 # These tests are here to make the output prettier
70127 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
70128 case "$ac_cv_sizeof_long" in
70129 8) acx_cv_type_int64_t=long ;;
70130 esac
70131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
70132 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
70133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
70134 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
70137 # Now we can use the above types
70139 if test "$ac_cv_type_uintptr_t" != yes; then
70140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
70141 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
70142 case $ac_cv_sizeof_void_p in
70143 2) acx_cv_type_intptr_t=int16_t ;;
70144 4) acx_cv_type_intptr_t=int32_t ;;
70145 8) acx_cv_type_intptr_t=int64_t ;;
70146 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
70147 esac
70148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
70149 $as_echo "$acx_cv_type_intptr_t" >&6; }
70152 # ----------------- done all checks, emit header -------------
70153 ac_config_commands="$ac_config_commands include/gstdint.h"
70159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
70160 $as_echo_n "checking for GNU c++filt... " >&6; }
70161 if test "${ac_cv_path_CXXFILT+set}" = set; then :
70162 $as_echo_n "(cached) " >&6
70163 else
70164 if test -z "$CXXFILT"; then
70165 ac_path_CXXFILT_found=false
70166 # Loop through the user's path and test for each of PROGNAME-LIST
70167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
70168 for as_dir in $PATH
70170 IFS=$as_save_IFS
70171 test -z "$as_dir" && as_dir=.
70172 for ac_prog in c++filt gc++filt; do
70173 for ac_exec_ext in '' $ac_executable_extensions; do
70174 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
70175 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
70176 # Check for GNU $ac_path_CXXFILT
70177 case `"$ac_path_CXXFILT" --version 2>&1` in
70178 *GNU*)
70179 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
70180 esac
70182 $ac_path_CXXFILT_found && break 3
70183 done
70184 done
70185 done
70186 IFS=$as_save_IFS
70187 if test -z "$ac_cv_path_CXXFILT"; then
70190 else
70191 ac_cv_path_CXXFILT=$CXXFILT
70195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
70196 $as_echo "$ac_cv_path_CXXFILT" >&6; }
70197 CXXFILT=$ac_cv_path_CXXFILT
70201 # Check whether --enable-symvers was given.
70202 if test "${enable_symvers+set}" = set; then :
70203 enableval=$enable_symvers;
70204 case "$enableval" in
70205 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
70206 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
70207 esac
70209 else
70210 enable_symvers=yes
70215 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
70216 # don't know enough about $LD to do tricks...
70218 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
70219 # with extern "C++" in version scripts.
70222 # Turn a 'yes' into a suitable default.
70223 if test x$enable_symvers = xyes ; then
70224 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
70225 enable_symvers=no
70226 else
70227 if test $with_gnu_ld = yes ; then
70228 case ${target_os} in
70229 hpux*)
70230 enable_symvers=no ;;
70232 enable_symvers=gnu ;;
70233 esac
70234 else
70235 case ${target_os} in
70236 darwin*)
70237 enable_symvers=darwin ;;
70238 # Sun symbol versioning exists since Solaris 2.5.
70239 solaris2.[5-9]* | solaris2.1[0-9]*)
70240 # make_sunver.pl needs GNU c++filt to support extern "C++" in
70241 # version scripts, so disable symbol versioning if none can be
70242 # found.
70243 if test -z "$ac_cv_path_CXXFILT"; then
70244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
70245 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
70246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
70247 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
70248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70249 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70250 enable_symvers=no
70251 else
70252 enable_symvers=sun
70256 enable_symvers=no ;;
70257 esac
70262 # Check to see if 'darwin' or 'darwin-export' can win.
70263 if test x$enable_symvers = xdarwin-export ; then
70264 enable_symvers=darwin
70267 # Check if 'sun' was requested on non-Solaris 2 platforms.
70268 if test x$enable_symvers = xsun ; then
70269 case ${target_os} in
70270 solaris2*)
70271 # All fine.
70274 # Unlikely to work.
70275 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
70276 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
70277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
70278 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
70279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70280 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70281 enable_symvers=no
70283 esac
70286 # Check to see if 'gnu' can win.
70287 if test $enable_symvers = gnu ||
70288 test $enable_symvers = gnu-versioned-namespace ||
70289 test $enable_symvers = sun; then
70290 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
70291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
70292 $as_echo_n "checking for shared libgcc... " >&6; }
70293 ac_save_CFLAGS="$CFLAGS"
70294 CFLAGS=' -lgcc_s'
70295 if test x$gcc_no_link = xyes; then
70296 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70299 /* end confdefs.h. */
70302 main ()
70304 return 0;
70306 return 0;
70308 _ACEOF
70309 if ac_fn_c_try_link "$LINENO"; then :
70310 glibcxx_shared_libgcc=yes
70311 else
70312 glibcxx_shared_libgcc=no
70314 rm -f core conftest.err conftest.$ac_objext \
70315 conftest$ac_exeext conftest.$ac_ext
70316 CFLAGS="$ac_save_CFLAGS"
70317 if test $glibcxx_shared_libgcc = no; then
70318 cat > conftest.c <<EOF
70319 int main (void) { return 0; }
70321 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
70322 -shared -shared-libgcc -o conftest.so \
70323 conftest.c -v 2>&1 >/dev/null \
70324 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
70325 rm -f conftest.c conftest.so
70326 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
70327 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
70328 if test x$gcc_no_link = xyes; then
70329 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70332 /* end confdefs.h. */
70335 main ()
70337 return 0;
70339 return 0;
70341 _ACEOF
70342 if ac_fn_c_try_link "$LINENO"; then :
70343 glibcxx_shared_libgcc=yes
70345 rm -f core conftest.err conftest.$ac_objext \
70346 conftest$ac_exeext conftest.$ac_ext
70347 CFLAGS="$ac_save_CFLAGS"
70350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
70351 $as_echo "$glibcxx_shared_libgcc" >&6; }
70353 # For GNU ld, we need at least this version. The format is described in
70354 # GLIBCXX_CHECK_LINKER_FEATURES above.
70355 glibcxx_min_gnu_ld_version=21400
70357 # If no shared libgcc, can't win.
70358 if test $glibcxx_shared_libgcc != yes; then
70359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
70360 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
70361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
70362 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
70363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70364 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70365 enable_symvers=no
70366 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
70367 : All interesting versions of Sun ld support sun style symbol versioning.
70368 elif test $with_gnu_ld != yes ; then
70369 # just fail for now
70370 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
70371 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
70372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
70373 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
70374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70375 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70376 enable_symvers=no
70377 elif test $glibcxx_ld_is_gold = yes ; then
70378 : All versions of gold support symbol versioning.
70379 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
70380 # The right tools, the right setup, but too old. Fallbacks?
70381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
70382 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
70383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
70384 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
70385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
70386 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
70387 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
70388 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
70389 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70390 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70391 enable_symvers=no
70395 # For libtool versioning info, format is CURRENT:REVISION:AGE
70396 libtool_VERSION=6:17:0
70398 # Everything parsed; figure out what files and settings to use.
70399 case $enable_symvers in
70401 SYMVER_FILE=config/abi/pre/none.ver
70403 gnu)
70404 SYMVER_FILE=config/abi/pre/gnu.ver
70406 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
70409 gnu-versioned-namespace)
70410 libtool_VERSION=7:0:0
70411 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
70413 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
70416 darwin)
70417 SYMVER_FILE=config/abi/pre/gnu.ver
70419 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
70422 sun)
70423 SYMVER_FILE=config/abi/pre/gnu.ver
70425 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
70428 esac
70430 if test x$enable_symvers != xno ; then
70432 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
70436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
70437 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
70438 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
70439 $as_echo_n "(cached) " >&6
70440 else
70442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70443 /* end confdefs.h. */
70444 void foo (void); __asm (".symver foo, bar@SYMVER");
70446 main ()
70450 return 0;
70452 _ACEOF
70453 if ac_fn_c_try_compile "$LINENO"; then :
70454 glibcxx_cv_have_as_symver_directive=yes
70455 else
70456 glibcxx_cv_have_as_symver_directive=no
70458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
70461 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
70462 if test $glibcxx_cv_have_as_symver_directive = yes; then
70464 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
70475 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
70476 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
70478 if test $enable_symvers != no ; then
70479 case ${target_os} in
70480 # The Solaris 2 runtime linker doesn't support the GNU extension of
70481 # binding the same symbol to different versions
70482 solaris2*)
70484 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
70487 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
70490 esac
70493 # Now, set up compatibility support, if any.
70494 # In addition, need this to deal with std::size_t mangling in
70495 # src/compatibility.cc. In a perfect world, could use
70496 # typeid(std::size_t).name()[0] to do direct substitution.
70497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
70498 $as_echo_n "checking for size_t as unsigned int... " >&6; }
70499 ac_save_CFLAGS="$CFLAGS"
70500 CFLAGS="-Werror"
70501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70502 /* end confdefs.h. */
70505 main ()
70507 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
70509 return 0;
70511 _ACEOF
70512 if ac_fn_c_try_compile "$LINENO"; then :
70513 glibcxx_size_t_is_i=yes
70514 else
70515 glibcxx_size_t_is_i=no
70517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70518 CFLAGS=$ac_save_CFLAGS
70519 if test "$glibcxx_size_t_is_i" = yes; then
70521 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
70524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
70525 $as_echo "$glibcxx_size_t_is_i" >&6; }
70527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
70528 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
70529 ac_save_CFLAGS="$CFLAGS"
70530 CFLAGS="-Werror"
70531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70532 /* end confdefs.h. */
70535 main ()
70537 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
70539 return 0;
70541 _ACEOF
70542 if ac_fn_c_try_compile "$LINENO"; then :
70543 glibcxx_ptrdiff_t_is_i=yes
70544 else
70545 glibcxx_ptrdiff_t_is_i=no
70547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70548 CFLAGS=$ac_save_CFLAGS
70549 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
70551 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
70554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
70555 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
70560 # Check whether --enable-libstdcxx-visibility was given.
70561 if test "${enable_libstdcxx_visibility+set}" = set; then :
70562 enableval=$enable_libstdcxx_visibility;
70563 case "$enableval" in
70564 yes|no) ;;
70565 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
70566 esac
70568 else
70569 enable_libstdcxx_visibility=yes
70574 if test x$enable_libstdcxx_visibility = xyes ; then
70575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
70576 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
70577 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
70578 $as_echo_n "(cached) " >&6
70579 else
70581 save_CFLAGS="$CFLAGS"
70582 CFLAGS="$CFLAGS -Werror"
70583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70584 /* end confdefs.h. */
70585 void __attribute__((visibility("hidden"))) foo(void) { }
70587 main ()
70591 return 0;
70593 _ACEOF
70594 if ac_fn_c_try_compile "$LINENO"; then :
70595 glibcxx_cv_have_attribute_visibility=yes
70596 else
70597 glibcxx_cv_have_attribute_visibility=no
70599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70600 CFLAGS="$save_CFLAGS"
70602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
70603 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
70604 if test $glibcxx_cv_have_attribute_visibility = no; then
70605 enable_libstdcxx_visibility=no
70610 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
70611 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
70614 ac_ldbl_compat=no
70615 case "$target" in
70616 powerpc*-*-linux* | \
70617 sparc*-*-linux* | \
70618 s390*-*-linux* | \
70619 alpha*-*-linux*)
70620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70621 /* end confdefs.h. */
70624 main ()
70627 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
70628 #error no need for long double compatibility
70629 #endif
70632 return 0;
70634 _ACEOF
70635 if ac_fn_c_try_compile "$LINENO"; then :
70636 ac_ldbl_compat=yes
70637 else
70638 ac_ldbl_compat=no
70640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70641 if test "$ac_ldbl_compat" = yes; then
70643 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
70645 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
70647 esac
70650 # Check if assembler supports rdrand opcode.
70652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
70653 $as_echo_n "checking for rdrand support in assembler... " >&6; }
70654 if test "${ac_cv_x86_rdrand+set}" = set; then :
70655 $as_echo_n "(cached) " >&6
70656 else
70658 ac_cv_x86_rdrand=no
70659 case "$target" in
70660 i?86-*-* | \
70661 x86_64-*-*)
70662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70663 /* end confdefs.h. */
70666 main ()
70668 asm("rdrand %eax");
70670 return 0;
70672 _ACEOF
70673 if ac_fn_c_try_compile "$LINENO"; then :
70674 ac_cv_x86_rdrand=yes
70675 else
70676 ac_cv_x86_rdrand=no
70678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70679 esac
70683 if test $ac_cv_x86_rdrand = yes; then
70685 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
70688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
70689 $as_echo "$ac_cv_x86_rdrand" >&6; }
70692 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
70694 if $GLIBCXX_IS_NATIVE ; then
70695 # Do checks for resource limit functions.
70697 setrlimit_have_headers=yes
70698 for ac_header in unistd.h sys/time.h sys/resource.h
70699 do :
70700 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
70701 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
70702 eval as_val=\$$as_ac_Header
70703 if test "x$as_val" = x""yes; then :
70704 cat >>confdefs.h <<_ACEOF
70705 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
70706 _ACEOF
70708 else
70709 setrlimit_have_headers=no
70712 done
70714 # If don't have the headers, then we can't run the tests now, and we
70715 # won't be seeing any of these during testsuite compilation.
70716 if test $setrlimit_have_headers = yes; then
70717 # Can't do these in a loop, else the resulting syntax is wrong.
70719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
70720 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
70721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70722 /* end confdefs.h. */
70723 #include <unistd.h>
70724 #include <sys/time.h>
70725 #include <sys/resource.h>
70728 main ()
70730 int f = RLIMIT_DATA ;
70732 return 0;
70734 _ACEOF
70735 if ac_fn_c_try_compile "$LINENO"; then :
70736 glibcxx_mresult=1
70737 else
70738 glibcxx_mresult=0
70740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70742 cat >>confdefs.h <<_ACEOF
70743 #define HAVE_LIMIT_DATA $glibcxx_mresult
70744 _ACEOF
70746 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70748 $as_echo "$res" >&6; }
70751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
70752 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
70753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70754 /* end confdefs.h. */
70755 #include <unistd.h>
70756 #include <sys/time.h>
70757 #include <sys/resource.h>
70760 main ()
70762 int f = RLIMIT_RSS ;
70764 return 0;
70766 _ACEOF
70767 if ac_fn_c_try_compile "$LINENO"; then :
70768 glibcxx_mresult=1
70769 else
70770 glibcxx_mresult=0
70772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70774 cat >>confdefs.h <<_ACEOF
70775 #define HAVE_LIMIT_RSS $glibcxx_mresult
70776 _ACEOF
70778 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70780 $as_echo "$res" >&6; }
70783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
70784 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
70785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70786 /* end confdefs.h. */
70787 #include <unistd.h>
70788 #include <sys/time.h>
70789 #include <sys/resource.h>
70792 main ()
70794 int f = RLIMIT_VMEM ;
70796 return 0;
70798 _ACEOF
70799 if ac_fn_c_try_compile "$LINENO"; then :
70800 glibcxx_mresult=1
70801 else
70802 glibcxx_mresult=0
70804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70806 cat >>confdefs.h <<_ACEOF
70807 #define HAVE_LIMIT_VMEM $glibcxx_mresult
70808 _ACEOF
70810 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70812 $as_echo "$res" >&6; }
70815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
70816 $as_echo_n "checking for RLIMIT_AS... " >&6; }
70817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70818 /* end confdefs.h. */
70819 #include <unistd.h>
70820 #include <sys/time.h>
70821 #include <sys/resource.h>
70824 main ()
70826 int f = RLIMIT_AS ;
70828 return 0;
70830 _ACEOF
70831 if ac_fn_c_try_compile "$LINENO"; then :
70832 glibcxx_mresult=1
70833 else
70834 glibcxx_mresult=0
70836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70838 cat >>confdefs.h <<_ACEOF
70839 #define HAVE_LIMIT_AS $glibcxx_mresult
70840 _ACEOF
70842 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70844 $as_echo "$res" >&6; }
70847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
70848 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
70849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70850 /* end confdefs.h. */
70851 #include <unistd.h>
70852 #include <sys/time.h>
70853 #include <sys/resource.h>
70856 main ()
70858 int f = RLIMIT_FSIZE ;
70860 return 0;
70862 _ACEOF
70863 if ac_fn_c_try_compile "$LINENO"; then :
70864 glibcxx_mresult=1
70865 else
70866 glibcxx_mresult=0
70868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70870 cat >>confdefs.h <<_ACEOF
70871 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
70872 _ACEOF
70874 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70876 $as_echo "$res" >&6; }
70879 # Check for rlimit, setrlimit.
70880 if test "${glibcxx_cv_setrlimit+set}" = set; then :
70881 $as_echo_n "(cached) " >&6
70882 else
70884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70885 /* end confdefs.h. */
70886 #include <unistd.h>
70887 #include <sys/time.h>
70888 #include <sys/resource.h>
70891 main ()
70893 struct rlimit r;
70894 setrlimit(0, &r);
70896 return 0;
70898 _ACEOF
70899 if ac_fn_c_try_compile "$LINENO"; then :
70900 glibcxx_cv_setrlimit=yes
70901 else
70902 glibcxx_cv_setrlimit=no
70904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
70911 $as_echo_n "checking for testsuite resource limits support... " >&6; }
70912 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
70913 ac_res_limits=yes
70915 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
70917 else
70918 ac_res_limits=no
70920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
70921 $as_echo "$ac_res_limits" >&6; }
70924 # Look for setenv, so that extended locale tests can be performed.
70926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
70927 $as_echo_n "checking for setenv declaration... " >&6; }
70928 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
70929 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
70930 $as_echo_n "(cached) " >&6
70931 else
70934 ac_ext=cpp
70935 ac_cpp='$CXXCPP $CPPFLAGS'
70936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70941 /* end confdefs.h. */
70942 #include <stdlib.h>
70944 main ()
70946 setenv(0, 0, 0);
70948 return 0;
70950 _ACEOF
70951 if ac_fn_cxx_try_compile "$LINENO"; then :
70952 glibcxx_cv_func_setenv_use=yes
70953 else
70954 glibcxx_cv_func_setenv_use=no
70956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70957 ac_ext=c
70958 ac_cpp='$CPP $CPPFLAGS'
70959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
70968 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
70969 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
70970 for ac_func in setenv
70971 do :
70972 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
70973 if test "x$ac_cv_func_setenv" = x""yes; then :
70974 cat >>confdefs.h <<_ACEOF
70975 #define HAVE_SETENV 1
70976 _ACEOF
70979 done
70985 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
70986 test $enable_symvers != no; then
70987 case "$host" in
70988 *-*-cygwin*)
70989 enable_abi_check=no ;;
70991 enable_abi_check=yes ;;
70992 esac
70993 else
70994 # Only build this as native, since automake does not understand
70995 # CXX_FOR_BUILD.
70996 enable_abi_check=no
70999 # Export file names for ABI checking.
71000 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
71002 baseline_subdir_switch="$abi_baseline_subdir_switch"
71006 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
71008 # Check whether --enable-libstdcxx-threads was given.
71009 if test "${enable_libstdcxx_threads+set}" = set; then :
71010 enableval=$enable_libstdcxx_threads;
71011 case "$enableval" in
71012 yes|no) ;;
71013 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
71014 esac
71016 else
71017 enable_libstdcxx_threads=auto
71022 if test x$enable_libstdcxx_threads = xauto ||
71023 test x$enable_libstdcxx_threads = xyes; then
71026 ac_ext=cpp
71027 ac_cpp='$CXXCPP $CPPFLAGS'
71028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71033 ac_save_CXXFLAGS="$CXXFLAGS"
71034 CXXFLAGS="$CXXFLAGS -fno-exceptions \
71035 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
71037 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
71038 case $target_thread_file in
71039 posix)
71040 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
71041 esac
71043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
71044 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
71046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71047 /* end confdefs.h. */
71048 #include <unistd.h>
71050 main ()
71053 // In case of POSIX threads check _POSIX_TIMEOUTS.
71054 #if (defined(_PTHREADS) \
71055 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
71056 #error
71057 #endif
71060 return 0;
71062 _ACEOF
71063 if ac_fn_cxx_try_compile "$LINENO"; then :
71064 ac_gthread_use_mutex_timedlock=1
71065 else
71066 ac_gthread_use_mutex_timedlock=0
71068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71071 cat >>confdefs.h <<_ACEOF
71072 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
71073 _ACEOF
71076 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
71077 else res_mutex_timedlock=no ; fi
71078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
71079 $as_echo "$res_mutex_timedlock" >&6; }
71081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
71082 $as_echo_n "checking for gthreads library... " >&6; }
71084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71085 /* end confdefs.h. */
71086 #include "gthr.h"
71088 main ()
71091 #ifndef __GTHREADS_CXX0X
71092 #error
71093 #endif
71096 return 0;
71098 _ACEOF
71099 if ac_fn_cxx_try_compile "$LINENO"; then :
71100 case $target_os in
71101 # gthreads support breaks symbol versioning on Solaris 9 (PR
71102 # libstdc++/52189).
71103 solaris2.9*)
71104 if test x$enable_symvers = xno; then
71105 ac_has_gthreads=yes
71106 elif test x$enable_libstdcxx_threads = xyes; then
71107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have requested C++11 threads support, but" >&5
71108 $as_echo "$as_me: WARNING: You have requested C++11 threads support, but" >&2;}
71109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: this breaks symbol versioning." >&5
71110 $as_echo "$as_me: WARNING: this breaks symbol versioning." >&2;}
71111 ac_has_gthreads=yes
71112 else
71113 ac_has_gthreads=no
71117 ac_has_gthreads=yes
71119 esac
71120 else
71121 ac_has_gthreads=no
71123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71124 else
71125 ac_has_gthreads=no
71128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
71129 $as_echo "$ac_has_gthreads" >&6; }
71131 if test x"$ac_has_gthreads" = x"yes"; then
71133 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
71137 CXXFLAGS="$ac_save_CXXFLAGS"
71138 ac_ext=c
71139 ac_cpp='$CPP $CPPFLAGS'
71140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71146 # Define documentation rules conditionally.
71148 # See if makeinfo has been installed and is modern enough
71149 # that we can use it.
71151 # Extract the first word of "makeinfo", so it can be a program name with args.
71152 set dummy makeinfo; ac_word=$2
71153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71154 $as_echo_n "checking for $ac_word... " >&6; }
71155 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
71156 $as_echo_n "(cached) " >&6
71157 else
71158 if test -n "$MAKEINFO"; then
71159 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
71160 else
71161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71162 for as_dir in $PATH
71164 IFS=$as_save_IFS
71165 test -z "$as_dir" && as_dir=.
71166 for ac_exec_ext in '' $ac_executable_extensions; do
71167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71168 ac_cv_prog_MAKEINFO="makeinfo"
71169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71170 break 2
71172 done
71173 done
71174 IFS=$as_save_IFS
71178 MAKEINFO=$ac_cv_prog_MAKEINFO
71179 if test -n "$MAKEINFO"; then
71180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
71181 $as_echo "$MAKEINFO" >&6; }
71182 else
71183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71184 $as_echo "no" >&6; }
71188 if test -n "$MAKEINFO"; then
71189 # Found it, now check the version.
71190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
71191 $as_echo_n "checking for modern makeinfo... " >&6; }
71192 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
71193 $as_echo_n "(cached) " >&6
71194 else
71195 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
71196 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
71198 case $ac_prog_version in
71199 '') gcc_cv_prog_makeinfo_modern=no;;
71200 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
71201 *) gcc_cv_prog_makeinfo_modern=no;;
71202 esac
71205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
71206 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
71207 else
71208 gcc_cv_prog_makeinfo_modern=no
71210 if test $gcc_cv_prog_makeinfo_modern = no; then
71211 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
71214 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
71215 BUILD_INFO_TRUE=
71216 BUILD_INFO_FALSE='#'
71217 else
71218 BUILD_INFO_TRUE='#'
71219 BUILD_INFO_FALSE=
71223 # Check for doxygen
71224 # Extract the first word of "doxygen", so it can be a program name with args.
71225 set dummy doxygen; ac_word=$2
71226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71227 $as_echo_n "checking for $ac_word... " >&6; }
71228 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
71229 $as_echo_n "(cached) " >&6
71230 else
71231 if test -n "$DOXYGEN"; then
71232 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
71233 else
71234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71235 for as_dir in $PATH
71237 IFS=$as_save_IFS
71238 test -z "$as_dir" && as_dir=.
71239 for ac_exec_ext in '' $ac_executable_extensions; do
71240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71241 ac_cv_prog_DOXYGEN="yes"
71242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71243 break 2
71245 done
71246 done
71247 IFS=$as_save_IFS
71249 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
71252 DOXYGEN=$ac_cv_prog_DOXYGEN
71253 if test -n "$DOXYGEN"; then
71254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
71255 $as_echo "$DOXYGEN" >&6; }
71256 else
71257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71258 $as_echo "no" >&6; }
71262 # Extract the first word of "dot", so it can be a program name with args.
71263 set dummy dot; ac_word=$2
71264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71265 $as_echo_n "checking for $ac_word... " >&6; }
71266 if test "${ac_cv_prog_DOT+set}" = set; then :
71267 $as_echo_n "(cached) " >&6
71268 else
71269 if test -n "$DOT"; then
71270 ac_cv_prog_DOT="$DOT" # Let the user override the test.
71271 else
71272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71273 for as_dir in $PATH
71275 IFS=$as_save_IFS
71276 test -z "$as_dir" && as_dir=.
71277 for ac_exec_ext in '' $ac_executable_extensions; do
71278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71279 ac_cv_prog_DOT="yes"
71280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71281 break 2
71283 done
71284 done
71285 IFS=$as_save_IFS
71287 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
71290 DOT=$ac_cv_prog_DOT
71291 if test -n "$DOT"; then
71292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
71293 $as_echo "$DOT" >&6; }
71294 else
71295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71296 $as_echo "no" >&6; }
71301 # Check for docbook
71302 # Extract the first word of "xsltproc", so it can be a program name with args.
71303 set dummy xsltproc; ac_word=$2
71304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71305 $as_echo_n "checking for $ac_word... " >&6; }
71306 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
71307 $as_echo_n "(cached) " >&6
71308 else
71309 if test -n "$XSLTPROC"; then
71310 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
71311 else
71312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71313 for as_dir in $PATH
71315 IFS=$as_save_IFS
71316 test -z "$as_dir" && as_dir=.
71317 for ac_exec_ext in '' $ac_executable_extensions; do
71318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71319 ac_cv_prog_XSLTPROC="yes"
71320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71321 break 2
71323 done
71324 done
71325 IFS=$as_save_IFS
71327 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
71330 XSLTPROC=$ac_cv_prog_XSLTPROC
71331 if test -n "$XSLTPROC"; then
71332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
71333 $as_echo "$XSLTPROC" >&6; }
71334 else
71335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71336 $as_echo "no" >&6; }
71340 # Extract the first word of "xmllint", so it can be a program name with args.
71341 set dummy xmllint; ac_word=$2
71342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71343 $as_echo_n "checking for $ac_word... " >&6; }
71344 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
71345 $as_echo_n "(cached) " >&6
71346 else
71347 if test -n "$XMLLINT"; then
71348 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
71349 else
71350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71351 for as_dir in $PATH
71353 IFS=$as_save_IFS
71354 test -z "$as_dir" && as_dir=.
71355 for ac_exec_ext in '' $ac_executable_extensions; do
71356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71357 ac_cv_prog_XMLLINT="yes"
71358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71359 break 2
71361 done
71362 done
71363 IFS=$as_save_IFS
71365 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
71368 XMLLINT=$ac_cv_prog_XMLLINT
71369 if test -n "$XMLLINT"; then
71370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
71371 $as_echo "$XMLLINT" >&6; }
71372 else
71373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71374 $as_echo "no" >&6; }
71380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
71381 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
71382 glibcxx_stylesheets=no
71383 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
71384 glibcxx_stylesheets=yes
71386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
71387 $as_echo "$glibcxx_stylesheets" >&6; }
71389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
71390 $as_echo_n "checking for local stylesheet directory... " >&6; }
71391 glibcxx_local_stylesheets=no
71392 if test x"$glibcxx_stylesheets" = x"yes"; then
71393 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
71394 glibcxx_local_stylesheets=yes
71395 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
71397 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
71398 glibcxx_local_stylesheets=yes
71399 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
71402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
71403 $as_echo "$glibcxx_local_stylesheets" >&6; }
71405 if test x"$glibcxx_local_stylesheets" = x"yes"; then
71407 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
71408 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
71409 else
71410 glibcxx_stylesheets=no
71413 # Check for epub3 dependencies.
71414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
71415 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
71416 glibcxx_epub_stylesheets=no
71417 if test x"$glibcxx_local_stylesheets" = x"yes"; then
71418 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
71419 glibcxx_epub_stylesheets=yes
71422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
71423 $as_echo "$glibcxx_epub_stylesheets" >&6; }
71424 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
71425 BUILD_EPUB_TRUE=
71426 BUILD_EPUB_FALSE='#'
71427 else
71428 BUILD_EPUB_TRUE='#'
71429 BUILD_EPUB_FALSE=
71435 # Check for xml/html dependencies.
71436 if test $ac_cv_prog_DOXYGEN = "yes" &&
71437 test $ac_cv_prog_DOT = "yes" &&
71438 test $ac_cv_prog_XSLTPROC = "yes" &&
71439 test $ac_cv_prog_XMLLINT = "yes" &&
71440 test $glibcxx_stylesheets = "yes"; then
71441 BUILD_XML_TRUE=
71442 BUILD_XML_FALSE='#'
71443 else
71444 BUILD_XML_TRUE='#'
71445 BUILD_XML_FALSE=
71449 if test $ac_cv_prog_DOXYGEN = "yes" &&
71450 test $ac_cv_prog_DOT = "yes" &&
71451 test $ac_cv_prog_XSLTPROC = "yes" &&
71452 test $ac_cv_prog_XMLLINT = "yes" &&
71453 test $glibcxx_stylesheets = "yes"; then
71454 BUILD_HTML_TRUE=
71455 BUILD_HTML_FALSE='#'
71456 else
71457 BUILD_HTML_TRUE='#'
71458 BUILD_HTML_FALSE=
71462 # Check for man dependencies.
71463 if test $ac_cv_prog_DOXYGEN = "yes" &&
71464 test $ac_cv_prog_DOT = "yes"; then
71465 BUILD_MAN_TRUE=
71466 BUILD_MAN_FALSE='#'
71467 else
71468 BUILD_MAN_TRUE='#'
71469 BUILD_MAN_FALSE=
71473 # Check for pdf dependencies.
71474 # Extract the first word of "dblatex", so it can be a program name with args.
71475 set dummy dblatex; ac_word=$2
71476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71477 $as_echo_n "checking for $ac_word... " >&6; }
71478 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
71479 $as_echo_n "(cached) " >&6
71480 else
71481 if test -n "$DBLATEX"; then
71482 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
71483 else
71484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71485 for as_dir in $PATH
71487 IFS=$as_save_IFS
71488 test -z "$as_dir" && as_dir=.
71489 for ac_exec_ext in '' $ac_executable_extensions; do
71490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71491 ac_cv_prog_DBLATEX="yes"
71492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71493 break 2
71495 done
71496 done
71497 IFS=$as_save_IFS
71499 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
71502 DBLATEX=$ac_cv_prog_DBLATEX
71503 if test -n "$DBLATEX"; then
71504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
71505 $as_echo "$DBLATEX" >&6; }
71506 else
71507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71508 $as_echo "no" >&6; }
71512 # Extract the first word of "pdflatex", so it can be a program name with args.
71513 set dummy pdflatex; ac_word=$2
71514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71515 $as_echo_n "checking for $ac_word... " >&6; }
71516 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
71517 $as_echo_n "(cached) " >&6
71518 else
71519 if test -n "$PDFLATEX"; then
71520 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
71521 else
71522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71523 for as_dir in $PATH
71525 IFS=$as_save_IFS
71526 test -z "$as_dir" && as_dir=.
71527 for ac_exec_ext in '' $ac_executable_extensions; do
71528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71529 ac_cv_prog_PDFLATEX="yes"
71530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71531 break 2
71533 done
71534 done
71535 IFS=$as_save_IFS
71537 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
71540 PDFLATEX=$ac_cv_prog_PDFLATEX
71541 if test -n "$PDFLATEX"; then
71542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
71543 $as_echo "$PDFLATEX" >&6; }
71544 else
71545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71546 $as_echo "no" >&6; }
71550 if test $ac_cv_prog_DBLATEX = "yes" &&
71551 test $ac_cv_prog_PDFLATEX = "yes"; then
71552 BUILD_PDF_TRUE=
71553 BUILD_PDF_FALSE='#'
71554 else
71555 BUILD_PDF_TRUE='#'
71556 BUILD_PDF_FALSE=
71561 # Propagate the target-specific source directories through the build chain.
71562 ATOMICITY_SRCDIR=config/${atomicity_dir}
71563 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
71564 ATOMIC_FLAGS=${atomic_flags}
71565 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
71566 OS_INC_SRCDIR=config/${os_include_dir}
71567 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
71568 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
71578 # Determine cross-compile flags and AM_CONDITIONALs.
71579 #AC_SUBST(GLIBCXX_IS_NATIVE)
71580 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
71581 if test $is_hosted = yes; then
71582 GLIBCXX_HOSTED_TRUE=
71583 GLIBCXX_HOSTED_FALSE='#'
71584 else
71585 GLIBCXX_HOSTED_TRUE='#'
71586 GLIBCXX_HOSTED_FALSE=
71590 if test $enable_libstdcxx_pch = yes; then
71591 GLIBCXX_BUILD_PCH_TRUE=
71592 GLIBCXX_BUILD_PCH_FALSE='#'
71593 else
71594 GLIBCXX_BUILD_PCH_TRUE='#'
71595 GLIBCXX_BUILD_PCH_FALSE=
71599 if test $enable_cheaders = c; then
71600 GLIBCXX_C_HEADERS_C_TRUE=
71601 GLIBCXX_C_HEADERS_C_FALSE='#'
71602 else
71603 GLIBCXX_C_HEADERS_C_TRUE='#'
71604 GLIBCXX_C_HEADERS_C_FALSE=
71608 if test $enable_cheaders = c_std; then
71609 GLIBCXX_C_HEADERS_C_STD_TRUE=
71610 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
71611 else
71612 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
71613 GLIBCXX_C_HEADERS_C_STD_FALSE=
71617 if test $enable_cheaders = c_global; then
71618 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
71619 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
71620 else
71621 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
71622 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
71626 if test $c_compatibility = yes; then
71627 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
71628 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
71629 else
71630 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
71631 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
71635 if test $enable_libstdcxx_debug = yes; then
71636 GLIBCXX_BUILD_DEBUG_TRUE=
71637 GLIBCXX_BUILD_DEBUG_FALSE='#'
71638 else
71639 GLIBCXX_BUILD_DEBUG_TRUE='#'
71640 GLIBCXX_BUILD_DEBUG_FALSE=
71644 if test $enable_parallel = yes; then
71645 ENABLE_PARALLEL_TRUE=
71646 ENABLE_PARALLEL_FALSE='#'
71647 else
71648 ENABLE_PARALLEL_TRUE='#'
71649 ENABLE_PARALLEL_FALSE=
71653 if test $enable_extern_template = yes; then
71654 ENABLE_EXTERN_TEMPLATE_TRUE=
71655 ENABLE_EXTERN_TEMPLATE_FALSE='#'
71656 else
71657 ENABLE_EXTERN_TEMPLATE_TRUE='#'
71658 ENABLE_EXTERN_TEMPLATE_FALSE=
71662 if test $python_mod_dir != no; then
71663 ENABLE_PYTHONDIR_TRUE=
71664 ENABLE_PYTHONDIR_FALSE='#'
71665 else
71666 ENABLE_PYTHONDIR_TRUE='#'
71667 ENABLE_PYTHONDIR_FALSE=
71671 if test $enable_werror = yes; then
71672 ENABLE_WERROR_TRUE=
71673 ENABLE_WERROR_FALSE='#'
71674 else
71675 ENABLE_WERROR_TRUE='#'
71676 ENABLE_WERROR_FALSE=
71680 if test $enable_symvers != no; then
71681 ENABLE_SYMVERS_TRUE=
71682 ENABLE_SYMVERS_FALSE='#'
71683 else
71684 ENABLE_SYMVERS_TRUE='#'
71685 ENABLE_SYMVERS_FALSE=
71689 if test $enable_symvers = gnu; then
71690 ENABLE_SYMVERS_GNU_TRUE=
71691 ENABLE_SYMVERS_GNU_FALSE='#'
71692 else
71693 ENABLE_SYMVERS_GNU_TRUE='#'
71694 ENABLE_SYMVERS_GNU_FALSE=
71698 if test $enable_symvers = gnu-versioned-namespace; then
71699 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
71700 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
71701 else
71702 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
71703 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
71707 if test $enable_symvers = darwin; then
71708 ENABLE_SYMVERS_DARWIN_TRUE=
71709 ENABLE_SYMVERS_DARWIN_FALSE='#'
71710 else
71711 ENABLE_SYMVERS_DARWIN_TRUE='#'
71712 ENABLE_SYMVERS_DARWIN_FALSE=
71716 if test $enable_symvers = sun; then
71717 ENABLE_SYMVERS_SUN_TRUE=
71718 ENABLE_SYMVERS_SUN_FALSE='#'
71719 else
71720 ENABLE_SYMVERS_SUN_TRUE='#'
71721 ENABLE_SYMVERS_SUN_FALSE=
71725 if test $enable_libstdcxx_visibility = yes; then
71726 ENABLE_VISIBILITY_TRUE=
71727 ENABLE_VISIBILITY_FALSE='#'
71728 else
71729 ENABLE_VISIBILITY_TRUE='#'
71730 ENABLE_VISIBILITY_FALSE=
71734 if test $ac_ldbl_compat = yes; then
71735 GLIBCXX_LDBL_COMPAT_TRUE=
71736 GLIBCXX_LDBL_COMPAT_FALSE='#'
71737 else
71738 GLIBCXX_LDBL_COMPAT_TRUE='#'
71739 GLIBCXX_LDBL_COMPAT_FALSE=
71745 cat >confcache <<\_ACEOF
71746 # This file is a shell script that caches the results of configure
71747 # tests run on this system so they can be shared between configure
71748 # scripts and configure runs, see configure's option --config-cache.
71749 # It is not useful on other systems. If it contains results you don't
71750 # want to keep, you may remove or edit it.
71752 # config.status only pays attention to the cache file if you give it
71753 # the --recheck option to rerun configure.
71755 # `ac_cv_env_foo' variables (set or unset) will be overridden when
71756 # loading this file, other *unset* `ac_cv_foo' will be assigned the
71757 # following values.
71759 _ACEOF
71761 # The following way of writing the cache mishandles newlines in values,
71762 # but we know of no workaround that is simple, portable, and efficient.
71763 # So, we kill variables containing newlines.
71764 # Ultrix sh set writes to stderr and can't be redirected directly,
71765 # and sets the high bit in the cache file unless we assign to the vars.
71767 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
71768 eval ac_val=\$$ac_var
71769 case $ac_val in #(
71770 *${as_nl}*)
71771 case $ac_var in #(
71772 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
71773 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
71774 esac
71775 case $ac_var in #(
71776 _ | IFS | as_nl) ;; #(
71777 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
71778 *) { eval $ac_var=; unset $ac_var;} ;;
71779 esac ;;
71780 esac
71781 done
71783 (set) 2>&1 |
71784 case $as_nl`(ac_space=' '; set) 2>&1` in #(
71785 *${as_nl}ac_space=\ *)
71786 # `set' does not quote correctly, so add quotes: double-quote
71787 # substitution turns \\\\ into \\, and sed turns \\ into \.
71788 sed -n \
71789 "s/'/'\\\\''/g;
71790 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
71791 ;; #(
71793 # `set' quotes correctly as required by POSIX, so do not add quotes.
71794 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
71796 esac |
71797 sort
71799 sed '
71800 /^ac_cv_env_/b end
71801 t clear
71802 :clear
71803 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
71804 t end
71805 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
71806 :end' >>confcache
71807 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
71808 if test -w "$cache_file"; then
71809 test "x$cache_file" != "x/dev/null" &&
71810 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
71811 $as_echo "$as_me: updating cache $cache_file" >&6;}
71812 cat confcache >$cache_file
71813 else
71814 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
71815 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
71818 rm -f confcache
71820 if test ${multilib} = yes; then
71821 multilib_arg="--enable-multilib"
71822 else
71823 multilib_arg=
71826 # Export all the install information.
71828 glibcxx_toolexecdir=no
71829 glibcxx_toolexeclibdir=no
71830 glibcxx_prefixdir=$prefix
71832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
71833 $as_echo_n "checking for gxx-include-dir... " >&6; }
71835 # Check whether --with-gxx-include-dir was given.
71836 if test "${with_gxx_include_dir+set}" = set; then :
71837 withval=$with_gxx_include_dir; case "$withval" in
71838 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
71839 no) gxx_include_dir=no ;;
71840 *) gxx_include_dir=$withval ;;
71841 esac
71842 else
71843 gxx_include_dir=no
71846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
71847 $as_echo "$gxx_include_dir" >&6; }
71849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
71850 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
71851 # Check whether --enable-version-specific-runtime-libs was given.
71852 if test "${enable_version_specific_runtime_libs+set}" = set; then :
71853 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
71854 yes) version_specific_libs=yes ;;
71855 no) version_specific_libs=no ;;
71856 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
71857 esac
71858 else
71859 version_specific_libs=no
71862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
71863 $as_echo "$version_specific_libs" >&6; }
71865 # Default case for install directory for include files.
71866 if test $version_specific_libs = no && test $gxx_include_dir = no; then
71867 gxx_include_dir='include/c++/${gcc_version}'
71868 if test -n "$with_cross_host" &&
71869 test x"$with_cross_host" != x"no"; then
71870 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
71871 else
71872 gxx_include_dir='${prefix}/'"$gxx_include_dir"
71876 # Version-specific runtime libs processing.
71877 if test $version_specific_libs = yes; then
71878 # Need the gcc compiler version to know where to install libraries
71879 # and header files if --enable-version-specific-runtime-libs option
71880 # is selected. FIXME: these variables are misnamed, there are
71881 # no executables installed in _toolexecdir or _toolexeclibdir.
71882 if test x"$gxx_include_dir" = x"no"; then
71883 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
71885 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
71886 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
71889 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
71890 # Install a library built with a cross compiler in tooldir, not libdir.
71891 if test x"$glibcxx_toolexecdir" = x"no"; then
71892 if test -n "$with_cross_host" &&
71893 test x"$with_cross_host" != x"no"; then
71894 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
71895 glibcxx_toolexeclibdir='${toolexecdir}/lib'
71896 else
71897 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
71898 glibcxx_toolexeclibdir='${libdir}'
71900 multi_os_directory=`$CXX -print-multi-os-directory`
71901 case $multi_os_directory in
71902 .) ;; # Avoid trailing /.
71903 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
71904 esac
71907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
71908 $as_echo_n "checking for install location... " >&6; }
71909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
71910 $as_echo "$gxx_include_dir" >&6; }
71918 # Export all the include and flag information to Makefiles.
71920 # Used for every C++ compile we perform.
71921 GLIBCXX_INCLUDES="\
71922 -I$glibcxx_builddir/include/$host_alias \
71923 -I$glibcxx_builddir/include \
71924 -I$glibcxx_srcdir/libsupc++"
71926 # For Canadian crosses, pick this up too.
71927 if test $CANADIAN = yes; then
71928 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
71931 # Stuff in the actual top level. Currently only used by libsupc++ to
71932 # get unwind* headers from the libgcc dir.
71933 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
71934 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
71936 # Now, export this to all the little Makefiles....
71941 # Optimization flags that are probably a good idea for thrill-seekers. Just
71942 # uncomment the lines below and make, everything else is ready to go...
71943 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
71944 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
71947 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
71951 if test "$enable_shared" = yes; then
71952 PIC_CXXFLAGS="-prefer-pic"
71953 else
71954 PIC_CXXFLAGS=
71958 ac_config_files="$ac_config_files Makefile"
71960 ac_config_files="$ac_config_files scripts/testsuite_flags"
71962 ac_config_files="$ac_config_files scripts/extract_symvers"
71964 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
71967 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
71968 # that multilib installs will end up installed in the correct place.
71969 # The testsuite needs it for multilib-aware ABI baseline files.
71970 # To work around this not being passed down from config-ml.in ->
71971 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
71972 # append it here. Only modify Makefiles that have just been created.
71974 # Also, get rid of this simulated-VPATH thing that automake does.
71975 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"
71978 ac_config_commands="$ac_config_commands generate-headers"
71981 cat >confcache <<\_ACEOF
71982 # This file is a shell script that caches the results of configure
71983 # tests run on this system so they can be shared between configure
71984 # scripts and configure runs, see configure's option --config-cache.
71985 # It is not useful on other systems. If it contains results you don't
71986 # want to keep, you may remove or edit it.
71988 # config.status only pays attention to the cache file if you give it
71989 # the --recheck option to rerun configure.
71991 # `ac_cv_env_foo' variables (set or unset) will be overridden when
71992 # loading this file, other *unset* `ac_cv_foo' will be assigned the
71993 # following values.
71995 _ACEOF
71997 # The following way of writing the cache mishandles newlines in values,
71998 # but we know of no workaround that is simple, portable, and efficient.
71999 # So, we kill variables containing newlines.
72000 # Ultrix sh set writes to stderr and can't be redirected directly,
72001 # and sets the high bit in the cache file unless we assign to the vars.
72003 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
72004 eval ac_val=\$$ac_var
72005 case $ac_val in #(
72006 *${as_nl}*)
72007 case $ac_var in #(
72008 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
72009 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
72010 esac
72011 case $ac_var in #(
72012 _ | IFS | as_nl) ;; #(
72013 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
72014 *) { eval $ac_var=; unset $ac_var;} ;;
72015 esac ;;
72016 esac
72017 done
72019 (set) 2>&1 |
72020 case $as_nl`(ac_space=' '; set) 2>&1` in #(
72021 *${as_nl}ac_space=\ *)
72022 # `set' does not quote correctly, so add quotes: double-quote
72023 # substitution turns \\\\ into \\, and sed turns \\ into \.
72024 sed -n \
72025 "s/'/'\\\\''/g;
72026 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
72027 ;; #(
72029 # `set' quotes correctly as required by POSIX, so do not add quotes.
72030 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
72032 esac |
72033 sort
72035 sed '
72036 /^ac_cv_env_/b end
72037 t clear
72038 :clear
72039 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
72040 t end
72041 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
72042 :end' >>confcache
72043 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
72044 if test -w "$cache_file"; then
72045 test "x$cache_file" != "x/dev/null" &&
72046 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
72047 $as_echo "$as_me: updating cache $cache_file" >&6;}
72048 cat confcache >$cache_file
72049 else
72050 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
72051 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
72054 rm -f confcache
72056 test "x$prefix" = xNONE && prefix=$ac_default_prefix
72057 # Let make expand exec_prefix.
72058 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
72060 DEFS=-DHAVE_CONFIG_H
72062 ac_libobjs=
72063 ac_ltlibobjs=
72064 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
72065 # 1. Remove the extension, and $U if already installed.
72066 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
72067 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
72068 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
72069 # will be set to the directory where LIBOBJS objects are built.
72070 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
72071 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
72072 done
72073 LIBOBJS=$ac_libobjs
72075 LTLIBOBJS=$ac_ltlibobjs
72078 if test -n "$EXEEXT"; then
72079 am__EXEEXT_TRUE=
72080 am__EXEEXT_FALSE='#'
72081 else
72082 am__EXEEXT_TRUE='#'
72083 am__EXEEXT_FALSE=
72086 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
72087 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
72088 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72090 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
72091 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
72092 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72094 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
72095 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
72096 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72098 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
72099 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
72100 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72102 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
72103 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
72104 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72106 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
72107 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
72108 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72110 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
72111 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
72112 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72114 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
72115 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
72116 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72118 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
72119 as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
72120 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72122 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
72123 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
72124 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72126 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
72127 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
72128 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72130 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
72131 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
72132 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72134 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
72135 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
72136 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72138 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
72139 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
72140 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72142 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
72143 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
72144 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72146 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
72147 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
72148 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72150 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
72151 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
72152 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72154 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
72155 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
72156 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72158 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
72159 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
72160 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72162 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
72163 as_fn_error "conditional \"BUILD_INFO\" was never defined.
72164 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72166 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
72167 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
72168 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72170 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
72171 as_fn_error "conditional \"BUILD_XML\" was never defined.
72172 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72174 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
72175 as_fn_error "conditional \"BUILD_HTML\" was never defined.
72176 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72178 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
72179 as_fn_error "conditional \"BUILD_MAN\" was never defined.
72180 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72182 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
72183 as_fn_error "conditional \"BUILD_PDF\" was never defined.
72184 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72187 : ${CONFIG_STATUS=./config.status}
72188 ac_write_fail=0
72189 ac_clean_files_save=$ac_clean_files
72190 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
72191 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
72192 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
72193 as_write_fail=0
72194 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
72195 #! $SHELL
72196 # Generated by $as_me.
72197 # Run this file to recreate the current configuration.
72198 # Compiler output produced by configure, useful for debugging
72199 # configure, is in config.log if it exists.
72201 debug=false
72202 ac_cs_recheck=false
72203 ac_cs_silent=false
72205 SHELL=\${CONFIG_SHELL-$SHELL}
72206 export SHELL
72207 _ASEOF
72208 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
72209 ## -------------------- ##
72210 ## M4sh Initialization. ##
72211 ## -------------------- ##
72213 # Be more Bourne compatible
72214 DUALCASE=1; export DUALCASE # for MKS sh
72215 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
72216 emulate sh
72217 NULLCMD=:
72218 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
72219 # is contrary to our usage. Disable this feature.
72220 alias -g '${1+"$@"}'='"$@"'
72221 setopt NO_GLOB_SUBST
72222 else
72223 case `(set -o) 2>/dev/null` in #(
72224 *posix*) :
72225 set -o posix ;; #(
72226 *) :
72228 esac
72232 as_nl='
72234 export as_nl
72235 # Printing a long string crashes Solaris 7 /usr/bin/printf.
72236 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
72237 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
72238 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
72239 # Prefer a ksh shell builtin over an external printf program on Solaris,
72240 # but without wasting forks for bash or zsh.
72241 if test -z "$BASH_VERSION$ZSH_VERSION" \
72242 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
72243 as_echo='print -r --'
72244 as_echo_n='print -rn --'
72245 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
72246 as_echo='printf %s\n'
72247 as_echo_n='printf %s'
72248 else
72249 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
72250 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
72251 as_echo_n='/usr/ucb/echo -n'
72252 else
72253 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
72254 as_echo_n_body='eval
72255 arg=$1;
72256 case $arg in #(
72257 *"$as_nl"*)
72258 expr "X$arg" : "X\\(.*\\)$as_nl";
72259 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
72260 esac;
72261 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
72263 export as_echo_n_body
72264 as_echo_n='sh -c $as_echo_n_body as_echo'
72266 export as_echo_body
72267 as_echo='sh -c $as_echo_body as_echo'
72270 # The user is always right.
72271 if test "${PATH_SEPARATOR+set}" != set; then
72272 PATH_SEPARATOR=:
72273 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
72274 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
72275 PATH_SEPARATOR=';'
72280 # IFS
72281 # We need space, tab and new line, in precisely that order. Quoting is
72282 # there to prevent editors from complaining about space-tab.
72283 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
72284 # splitting by setting IFS to empty value.)
72285 IFS=" "" $as_nl"
72287 # Find who we are. Look in the path if we contain no directory separator.
72288 case $0 in #((
72289 *[\\/]* ) as_myself=$0 ;;
72290 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72291 for as_dir in $PATH
72293 IFS=$as_save_IFS
72294 test -z "$as_dir" && as_dir=.
72295 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
72296 done
72297 IFS=$as_save_IFS
72300 esac
72301 # We did not find ourselves, most probably we were run as `sh COMMAND'
72302 # in which case we are not to be found in the path.
72303 if test "x$as_myself" = x; then
72304 as_myself=$0
72306 if test ! -f "$as_myself"; then
72307 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
72308 exit 1
72311 # Unset variables that we do not need and which cause bugs (e.g. in
72312 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
72313 # suppresses any "Segmentation fault" message there. '((' could
72314 # trigger a bug in pdksh 5.2.14.
72315 for as_var in BASH_ENV ENV MAIL MAILPATH
72316 do eval test x\${$as_var+set} = xset \
72317 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
72318 done
72319 PS1='$ '
72320 PS2='> '
72321 PS4='+ '
72323 # NLS nuisances.
72324 LC_ALL=C
72325 export LC_ALL
72326 LANGUAGE=C
72327 export LANGUAGE
72329 # CDPATH.
72330 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
72333 # as_fn_error ERROR [LINENO LOG_FD]
72334 # ---------------------------------
72335 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
72336 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
72337 # script with status $?, using 1 if that was 0.
72338 as_fn_error ()
72340 as_status=$?; test $as_status -eq 0 && as_status=1
72341 if test "$3"; then
72342 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
72343 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
72345 $as_echo "$as_me: error: $1" >&2
72346 as_fn_exit $as_status
72347 } # as_fn_error
72350 # as_fn_set_status STATUS
72351 # -----------------------
72352 # Set $? to STATUS, without forking.
72353 as_fn_set_status ()
72355 return $1
72356 } # as_fn_set_status
72358 # as_fn_exit STATUS
72359 # -----------------
72360 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
72361 as_fn_exit ()
72363 set +e
72364 as_fn_set_status $1
72365 exit $1
72366 } # as_fn_exit
72368 # as_fn_unset VAR
72369 # ---------------
72370 # Portably unset VAR.
72371 as_fn_unset ()
72373 { eval $1=; unset $1;}
72375 as_unset=as_fn_unset
72376 # as_fn_append VAR VALUE
72377 # ----------------------
72378 # Append the text in VALUE to the end of the definition contained in VAR. Take
72379 # advantage of any shell optimizations that allow amortized linear growth over
72380 # repeated appends, instead of the typical quadratic growth present in naive
72381 # implementations.
72382 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
72383 eval 'as_fn_append ()
72385 eval $1+=\$2
72387 else
72388 as_fn_append ()
72390 eval $1=\$$1\$2
72392 fi # as_fn_append
72394 # as_fn_arith ARG...
72395 # ------------------
72396 # Perform arithmetic evaluation on the ARGs, and store the result in the
72397 # global $as_val. Take advantage of shells that can avoid forks. The arguments
72398 # must be portable across $(()) and expr.
72399 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
72400 eval 'as_fn_arith ()
72402 as_val=$(( $* ))
72404 else
72405 as_fn_arith ()
72407 as_val=`expr "$@" || test $? -eq 1`
72409 fi # as_fn_arith
72412 if expr a : '\(a\)' >/dev/null 2>&1 &&
72413 test "X`expr 00001 : '.*\(...\)'`" = X001; then
72414 as_expr=expr
72415 else
72416 as_expr=false
72419 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
72420 as_basename=basename
72421 else
72422 as_basename=false
72425 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
72426 as_dirname=dirname
72427 else
72428 as_dirname=false
72431 as_me=`$as_basename -- "$0" ||
72432 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
72433 X"$0" : 'X\(//\)$' \| \
72434 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
72435 $as_echo X/"$0" |
72436 sed '/^.*\/\([^/][^/]*\)\/*$/{
72437 s//\1/
72440 /^X\/\(\/\/\)$/{
72441 s//\1/
72444 /^X\/\(\/\).*/{
72445 s//\1/
72448 s/.*/./; q'`
72450 # Avoid depending upon Character Ranges.
72451 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
72452 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
72453 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
72454 as_cr_digits='0123456789'
72455 as_cr_alnum=$as_cr_Letters$as_cr_digits
72457 ECHO_C= ECHO_N= ECHO_T=
72458 case `echo -n x` in #(((((
72459 -n*)
72460 case `echo 'xy\c'` in
72461 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
72462 xy) ECHO_C='\c';;
72463 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
72464 ECHO_T=' ';;
72465 esac;;
72467 ECHO_N='-n';;
72468 esac
72470 rm -f conf$$ conf$$.exe conf$$.file
72471 if test -d conf$$.dir; then
72472 rm -f conf$$.dir/conf$$.file
72473 else
72474 rm -f conf$$.dir
72475 mkdir conf$$.dir 2>/dev/null
72477 if (echo >conf$$.file) 2>/dev/null; then
72478 if ln -s conf$$.file conf$$ 2>/dev/null; then
72479 as_ln_s='ln -s'
72480 # ... but there are two gotchas:
72481 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
72482 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
72483 # In both cases, we have to default to `cp -p'.
72484 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
72485 as_ln_s='cp -p'
72486 elif ln conf$$.file conf$$ 2>/dev/null; then
72487 as_ln_s=ln
72488 else
72489 as_ln_s='cp -p'
72491 else
72492 as_ln_s='cp -p'
72494 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
72495 rmdir conf$$.dir 2>/dev/null
72498 # as_fn_mkdir_p
72499 # -------------
72500 # Create "$as_dir" as a directory, including parents if necessary.
72501 as_fn_mkdir_p ()
72504 case $as_dir in #(
72505 -*) as_dir=./$as_dir;;
72506 esac
72507 test -d "$as_dir" || eval $as_mkdir_p || {
72508 as_dirs=
72509 while :; do
72510 case $as_dir in #(
72511 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
72512 *) as_qdir=$as_dir;;
72513 esac
72514 as_dirs="'$as_qdir' $as_dirs"
72515 as_dir=`$as_dirname -- "$as_dir" ||
72516 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
72517 X"$as_dir" : 'X\(//\)[^/]' \| \
72518 X"$as_dir" : 'X\(//\)$' \| \
72519 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
72520 $as_echo X"$as_dir" |
72521 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
72522 s//\1/
72525 /^X\(\/\/\)[^/].*/{
72526 s//\1/
72529 /^X\(\/\/\)$/{
72530 s//\1/
72533 /^X\(\/\).*/{
72534 s//\1/
72537 s/.*/./; q'`
72538 test -d "$as_dir" && break
72539 done
72540 test -z "$as_dirs" || eval "mkdir $as_dirs"
72541 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
72544 } # as_fn_mkdir_p
72545 if mkdir -p . 2>/dev/null; then
72546 as_mkdir_p='mkdir -p "$as_dir"'
72547 else
72548 test -d ./-p && rmdir ./-p
72549 as_mkdir_p=false
72552 if test -x / >/dev/null 2>&1; then
72553 as_test_x='test -x'
72554 else
72555 if ls -dL / >/dev/null 2>&1; then
72556 as_ls_L_option=L
72557 else
72558 as_ls_L_option=
72560 as_test_x='
72561 eval sh -c '\''
72562 if test -d "$1"; then
72563 test -d "$1/.";
72564 else
72565 case $1 in #(
72566 -*)set "./$1";;
72567 esac;
72568 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
72569 ???[sx]*):;;*)false;;esac;fi
72570 '\'' sh
72573 as_executable_p=$as_test_x
72575 # Sed expression to map a string onto a valid CPP name.
72576 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
72578 # Sed expression to map a string onto a valid variable name.
72579 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
72582 exec 6>&1
72583 ## ----------------------------------- ##
72584 ## Main body of $CONFIG_STATUS script. ##
72585 ## ----------------------------------- ##
72586 _ASEOF
72587 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
72589 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72590 # Save the log message, to keep $0 and so on meaningful, and to
72591 # report actual input values of CONFIG_FILES etc. instead of their
72592 # values after options handling.
72593 ac_log="
72594 This file was extended by package-unused $as_me version-unused, which was
72595 generated by GNU Autoconf 2.64. Invocation command line was
72597 CONFIG_FILES = $CONFIG_FILES
72598 CONFIG_HEADERS = $CONFIG_HEADERS
72599 CONFIG_LINKS = $CONFIG_LINKS
72600 CONFIG_COMMANDS = $CONFIG_COMMANDS
72601 $ $0 $@
72603 on `(hostname || uname -n) 2>/dev/null | sed 1q`
72606 _ACEOF
72608 case $ac_config_files in *"
72609 "*) set x $ac_config_files; shift; ac_config_files=$*;;
72610 esac
72612 case $ac_config_headers in *"
72613 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
72614 esac
72617 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72618 # Files that config.status was made for.
72619 config_files="$ac_config_files"
72620 config_headers="$ac_config_headers"
72621 config_commands="$ac_config_commands"
72623 _ACEOF
72625 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72626 ac_cs_usage="\
72627 \`$as_me' instantiates files and other configuration actions
72628 from templates according to the current configuration. Unless the files
72629 and actions are specified as TAGs, all are instantiated by default.
72631 Usage: $0 [OPTION]... [TAG]...
72633 -h, --help print this help, then exit
72634 -V, --version print version number and configuration settings, then exit
72635 -q, --quiet, --silent
72636 do not print progress messages
72637 -d, --debug don't remove temporary files
72638 --recheck update $as_me by reconfiguring in the same conditions
72639 --file=FILE[:TEMPLATE]
72640 instantiate the configuration file FILE
72641 --header=FILE[:TEMPLATE]
72642 instantiate the configuration header FILE
72644 Configuration files:
72645 $config_files
72647 Configuration headers:
72648 $config_headers
72650 Configuration commands:
72651 $config_commands
72653 Report bugs to the package provider."
72655 _ACEOF
72656 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72657 ac_cs_version="\\
72658 package-unused config.status version-unused
72659 configured by $0, generated by GNU Autoconf 2.64,
72660 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
72662 Copyright (C) 2009 Free Software Foundation, Inc.
72663 This config.status script is free software; the Free Software Foundation
72664 gives unlimited permission to copy, distribute and modify it."
72666 ac_pwd='$ac_pwd'
72667 srcdir='$srcdir'
72668 INSTALL='$INSTALL'
72669 MKDIR_P='$MKDIR_P'
72670 AWK='$AWK'
72671 test -n "\$AWK" || AWK=awk
72672 _ACEOF
72674 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72675 # The default lists apply if the user does not specify any file.
72676 ac_need_defaults=:
72677 while test $# != 0
72679 case $1 in
72680 --*=*)
72681 ac_option=`expr "X$1" : 'X\([^=]*\)='`
72682 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
72683 ac_shift=:
72686 ac_option=$1
72687 ac_optarg=$2
72688 ac_shift=shift
72690 esac
72692 case $ac_option in
72693 # Handling of the options.
72694 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
72695 ac_cs_recheck=: ;;
72696 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
72697 $as_echo "$ac_cs_version"; exit ;;
72698 --debug | --debu | --deb | --de | --d | -d )
72699 debug=: ;;
72700 --file | --fil | --fi | --f )
72701 $ac_shift
72702 case $ac_optarg in
72703 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
72704 esac
72705 as_fn_append CONFIG_FILES " '$ac_optarg'"
72706 ac_need_defaults=false;;
72707 --header | --heade | --head | --hea )
72708 $ac_shift
72709 case $ac_optarg in
72710 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
72711 esac
72712 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
72713 ac_need_defaults=false;;
72714 --he | --h)
72715 # Conflict between --help and --header
72716 as_fn_error "ambiguous option: \`$1'
72717 Try \`$0 --help' for more information.";;
72718 --help | --hel | -h )
72719 $as_echo "$ac_cs_usage"; exit ;;
72720 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
72721 | -silent | --silent | --silen | --sile | --sil | --si | --s)
72722 ac_cs_silent=: ;;
72724 # This is an error.
72725 -*) as_fn_error "unrecognized option: \`$1'
72726 Try \`$0 --help' for more information." ;;
72728 *) as_fn_append ac_config_targets " $1"
72729 ac_need_defaults=false ;;
72731 esac
72732 shift
72733 done
72735 ac_configure_extra_args=
72737 if $ac_cs_silent; then
72738 exec 6>/dev/null
72739 ac_configure_extra_args="$ac_configure_extra_args --silent"
72742 _ACEOF
72743 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72744 if \$ac_cs_recheck; then
72745 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
72746 shift
72747 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
72748 CONFIG_SHELL='$SHELL'
72749 export CONFIG_SHELL
72750 exec "\$@"
72753 _ACEOF
72754 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72755 exec 5>>config.log
72757 echo
72758 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
72759 ## Running $as_me. ##
72760 _ASBOX
72761 $as_echo "$ac_log"
72762 } >&5
72764 _ACEOF
72765 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72767 # INIT-COMMANDS
72770 srcdir="$srcdir"
72771 host="$host"
72772 target="$target"
72773 with_multisubdir="$with_multisubdir"
72774 with_multisrctop="$with_multisrctop"
72775 with_target_subdir="$with_target_subdir"
72776 ac_configure_args="${multilib_arg} ${ac_configure_args}"
72777 multi_basedir="$multi_basedir"
72778 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
72779 CC="$CC"
72780 CXX="$CXX"
72781 GFORTRAN="$GFORTRAN"
72782 GCJ="$GCJ"
72785 # The HP-UX ksh and POSIX shell print the target directory to stdout
72786 # if CDPATH is set.
72787 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
72789 sed_quote_subst='$sed_quote_subst'
72790 double_quote_subst='$double_quote_subst'
72791 delay_variable_subst='$delay_variable_subst'
72792 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
72793 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
72794 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
72795 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
72796 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
72797 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
72798 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
72799 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
72800 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
72801 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
72802 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
72803 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
72804 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
72805 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
72806 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
72807 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
72808 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
72809 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
72810 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
72811 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
72812 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
72813 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
72814 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
72815 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
72816 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
72817 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
72818 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
72819 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
72820 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
72821 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
72822 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
72823 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
72824 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
72825 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
72826 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
72827 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
72828 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
72829 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
72830 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
72831 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
72832 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
72833 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
72834 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
72835 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
72836 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
72837 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
72838 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
72839 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
72840 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"`'
72841 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
72842 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
72843 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
72844 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
72845 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
72846 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
72847 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
72848 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
72849 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
72850 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
72851 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
72852 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
72853 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
72854 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
72855 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
72856 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
72857 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
72858 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
72859 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
72860 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
72861 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
72862 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
72863 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
72864 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
72865 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
72866 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
72867 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
72868 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
72869 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
72870 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
72871 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
72872 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
72873 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
72874 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
72875 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
72876 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
72877 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
72878 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
72879 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
72880 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
72881 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
72882 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
72883 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
72884 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
72885 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
72886 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
72887 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
72888 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
72889 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
72890 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
72891 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
72892 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
72893 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
72894 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
72895 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
72896 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
72897 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
72898 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
72899 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
72900 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
72901 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
72902 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
72903 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
72904 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
72905 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
72906 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
72907 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
72908 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
72909 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
72910 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
72911 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
72912 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
72913 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
72914 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
72915 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
72916 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
72917 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
72918 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
72919 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
72920 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72921 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72922 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
72923 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
72924 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
72925 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
72926 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
72927 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
72928 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
72929 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
72930 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
72931 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
72932 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
72933 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
72934 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72935 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72936 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72937 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72938 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72939 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72940 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
72941 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
72942 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
72943 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
72944 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
72945 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
72946 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
72947 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
72948 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
72949 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
72950 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
72951 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
72952 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
72953 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
72954 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
72955 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72956 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
72957 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
72958 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72959 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
72960 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
72961 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
72962 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
72963 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
72964 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
72965 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
72966 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
72968 LTCC='$LTCC'
72969 LTCFLAGS='$LTCFLAGS'
72970 compiler='$compiler_DEFAULT'
72972 # A function that is used when there is no print builtin or printf.
72973 func_fallback_echo ()
72975 eval 'cat <<_LTECHO_EOF
72977 _LTECHO_EOF'
72980 # Quote evaled strings.
72981 for var in SHELL \
72982 ECHO \
72983 SED \
72984 GREP \
72985 EGREP \
72986 FGREP \
72987 LD \
72988 NM \
72989 LN_S \
72990 lt_SP2NL \
72991 lt_NL2SP \
72992 reload_flag \
72993 OBJDUMP \
72994 deplibs_check_method \
72995 file_magic_cmd \
72996 AR \
72997 AR_FLAGS \
72998 STRIP \
72999 RANLIB \
73000 CC \
73001 CFLAGS \
73002 compiler \
73003 lt_cv_sys_global_symbol_pipe \
73004 lt_cv_sys_global_symbol_to_cdecl \
73005 lt_cv_sys_global_symbol_to_c_name_address \
73006 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
73007 lt_prog_compiler_no_builtin_flag \
73008 lt_prog_compiler_wl \
73009 lt_prog_compiler_pic \
73010 lt_prog_compiler_static \
73011 lt_cv_prog_compiler_c_o \
73012 need_locks \
73013 DSYMUTIL \
73014 NMEDIT \
73015 LIPO \
73016 OTOOL \
73017 OTOOL64 \
73018 shrext_cmds \
73019 export_dynamic_flag_spec \
73020 whole_archive_flag_spec \
73021 compiler_needs_object \
73022 with_gnu_ld \
73023 allow_undefined_flag \
73024 no_undefined_flag \
73025 hardcode_libdir_flag_spec \
73026 hardcode_libdir_flag_spec_ld \
73027 hardcode_libdir_separator \
73028 fix_srcfile_path \
73029 exclude_expsyms \
73030 include_expsyms \
73031 file_list_spec \
73032 variables_saved_for_relink \
73033 libname_spec \
73034 library_names_spec \
73035 soname_spec \
73036 install_override_mode \
73037 finish_eval \
73038 old_striplib \
73039 striplib \
73040 compiler_lib_search_dirs \
73041 predep_objects \
73042 postdep_objects \
73043 predeps \
73044 postdeps \
73045 compiler_lib_search_path \
73046 LD_CXX \
73047 reload_flag_CXX \
73048 compiler_CXX \
73049 lt_prog_compiler_no_builtin_flag_CXX \
73050 lt_prog_compiler_wl_CXX \
73051 lt_prog_compiler_pic_CXX \
73052 lt_prog_compiler_static_CXX \
73053 lt_cv_prog_compiler_c_o_CXX \
73054 export_dynamic_flag_spec_CXX \
73055 whole_archive_flag_spec_CXX \
73056 compiler_needs_object_CXX \
73057 with_gnu_ld_CXX \
73058 allow_undefined_flag_CXX \
73059 no_undefined_flag_CXX \
73060 hardcode_libdir_flag_spec_CXX \
73061 hardcode_libdir_flag_spec_ld_CXX \
73062 hardcode_libdir_separator_CXX \
73063 fix_srcfile_path_CXX \
73064 exclude_expsyms_CXX \
73065 include_expsyms_CXX \
73066 file_list_spec_CXX \
73067 compiler_lib_search_dirs_CXX \
73068 predep_objects_CXX \
73069 postdep_objects_CXX \
73070 predeps_CXX \
73071 postdeps_CXX \
73072 compiler_lib_search_path_CXX; do
73073 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
73074 *[\\\\\\\`\\"\\\$]*)
73075 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
73078 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
73080 esac
73081 done
73083 # Double-quote double-evaled strings.
73084 for var in reload_cmds \
73085 old_postinstall_cmds \
73086 old_postuninstall_cmds \
73087 old_archive_cmds \
73088 extract_expsyms_cmds \
73089 old_archive_from_new_cmds \
73090 old_archive_from_expsyms_cmds \
73091 archive_cmds \
73092 archive_expsym_cmds \
73093 module_cmds \
73094 module_expsym_cmds \
73095 export_symbols_cmds \
73096 prelink_cmds \
73097 postinstall_cmds \
73098 postuninstall_cmds \
73099 finish_cmds \
73100 sys_lib_search_path_spec \
73101 sys_lib_dlsearch_path_spec \
73102 reload_cmds_CXX \
73103 old_archive_cmds_CXX \
73104 old_archive_from_new_cmds_CXX \
73105 old_archive_from_expsyms_cmds_CXX \
73106 archive_cmds_CXX \
73107 archive_expsym_cmds_CXX \
73108 module_cmds_CXX \
73109 module_expsym_cmds_CXX \
73110 export_symbols_cmds_CXX \
73111 prelink_cmds_CXX; do
73112 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
73113 *[\\\\\\\`\\"\\\$]*)
73114 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
73117 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
73119 esac
73120 done
73122 ac_aux_dir='$ac_aux_dir'
73123 xsi_shell='$xsi_shell'
73124 lt_shell_append='$lt_shell_append'
73126 # See if we are running on zsh, and set the options which allow our
73127 # commands through without removal of \ escapes INIT.
73128 if test -n "\${ZSH_VERSION+set}" ; then
73129 setopt NO_GLOB_SUBST
73133 PACKAGE='$PACKAGE'
73134 VERSION='$VERSION'
73135 TIMESTAMP='$TIMESTAMP'
73136 RM='$RM'
73137 ofile='$ofile'
73144 GCC="$GCC"
73145 CC="$CC"
73146 acx_cv_header_stdint="$acx_cv_header_stdint"
73147 acx_cv_type_int8_t="$acx_cv_type_int8_t"
73148 acx_cv_type_int16_t="$acx_cv_type_int16_t"
73149 acx_cv_type_int32_t="$acx_cv_type_int32_t"
73150 acx_cv_type_int64_t="$acx_cv_type_int64_t"
73151 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
73152 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
73153 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
73154 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
73155 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
73156 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
73157 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
73158 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
73159 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
73162 _ACEOF
73164 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73166 # Handling of arguments.
73167 for ac_config_target in $ac_config_targets
73169 case $ac_config_target in
73170 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
73171 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
73172 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
73173 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
73174 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
73175 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
73176 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
73177 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
73178 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
73179 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
73180 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
73181 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
73182 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
73183 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
73184 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
73185 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
73186 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
73187 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
73189 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
73190 esac
73191 done
73194 # If the user did not use the arguments to specify the items to instantiate,
73195 # then the envvar interface is used. Set only those that are not.
73196 # We use the long form for the default assignment because of an extremely
73197 # bizarre bug on SunOS 4.1.3.
73198 if $ac_need_defaults; then
73199 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
73200 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
73201 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
73204 # Have a temporary directory for convenience. Make it in the build tree
73205 # simply because there is no reason against having it here, and in addition,
73206 # creating and moving files from /tmp can sometimes cause problems.
73207 # Hook for its removal unless debugging.
73208 # Note that there is a small window in which the directory will not be cleaned:
73209 # after its creation but before its name has been assigned to `$tmp'.
73210 $debug ||
73212 tmp=
73213 trap 'exit_status=$?
73214 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
73216 trap 'as_fn_exit 1' 1 2 13 15
73218 # Create a (secure) tmp directory for tmp files.
73221 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
73222 test -n "$tmp" && test -d "$tmp"
73223 } ||
73225 tmp=./conf$$-$RANDOM
73226 (umask 077 && mkdir "$tmp")
73227 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
73229 # Set up the scripts for CONFIG_FILES section.
73230 # No need to generate them if there are no CONFIG_FILES.
73231 # This happens for instance with `./config.status config.h'.
73232 if test -n "$CONFIG_FILES"; then
73235 ac_cr=`echo X | tr X '\015'`
73236 # On cygwin, bash can eat \r inside `` if the user requested igncr.
73237 # But we know of no other shell where ac_cr would be empty at this
73238 # point, so we can use a bashism as a fallback.
73239 if test "x$ac_cr" = x; then
73240 eval ac_cr=\$\'\\r\'
73242 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
73243 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
73244 ac_cs_awk_cr='\r'
73245 else
73246 ac_cs_awk_cr=$ac_cr
73249 echo 'BEGIN {' >"$tmp/subs1.awk" &&
73250 _ACEOF
73254 echo "cat >conf$$subs.awk <<_ACEOF" &&
73255 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
73256 echo "_ACEOF"
73257 } >conf$$subs.sh ||
73258 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73259 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
73260 ac_delim='%!_!# '
73261 for ac_last_try in false false false false false :; do
73262 . ./conf$$subs.sh ||
73263 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73265 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
73266 if test $ac_delim_n = $ac_delim_num; then
73267 break
73268 elif $ac_last_try; then
73269 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73270 else
73271 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
73273 done
73274 rm -f conf$$subs.sh
73276 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73277 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
73278 _ACEOF
73279 sed -n '
73281 s/^/S["/; s/!.*/"]=/
73284 s/^[^!]*!//
73285 :repl
73286 t repl
73287 s/'"$ac_delim"'$//
73288 t delim
73291 s/\(.\{148\}\).*/\1/
73292 t more1
73293 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
73296 b repl
73297 :more1
73298 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
73301 s/.\{148\}//
73302 t nl
73303 :delim
73305 s/\(.\{148\}\).*/\1/
73306 t more2
73307 s/["\\]/\\&/g; s/^/"/; s/$/"/
73310 :more2
73311 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
73314 s/.\{148\}//
73315 t delim
73316 ' <conf$$subs.awk | sed '
73317 /^[^""]/{
73319 s/\n//
73321 ' >>$CONFIG_STATUS || ac_write_fail=1
73322 rm -f conf$$subs.awk
73323 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73324 _ACAWK
73325 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
73326 for (key in S) S_is_set[key] = 1
73327 FS = "\a"
73331 line = $ 0
73332 nfields = split(line, field, "@")
73333 substed = 0
73334 len = length(field[1])
73335 for (i = 2; i < nfields; i++) {
73336 key = field[i]
73337 keylen = length(key)
73338 if (S_is_set[key]) {
73339 value = S[key]
73340 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
73341 len += length(value) + length(field[++i])
73342 substed = 1
73343 } else
73344 len += 1 + keylen
73347 print line
73350 _ACAWK
73351 _ACEOF
73352 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73353 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
73354 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
73355 else
73357 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
73358 || as_fn_error "could not setup config files machinery" "$LINENO" 5
73359 _ACEOF
73361 # VPATH may cause trouble with some makes, so we remove $(srcdir),
73362 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
73363 # trailing colons and then remove the whole line if VPATH becomes empty
73364 # (actually we leave an empty line to preserve line numbers).
73365 if test "x$srcdir" = x.; then
73366 ac_vpsub='/^[ ]*VPATH[ ]*=/{
73367 s/:*\$(srcdir):*/:/
73368 s/:*\${srcdir}:*/:/
73369 s/:*@srcdir@:*/:/
73370 s/^\([^=]*=[ ]*\):*/\1/
73371 s/:*$//
73372 s/^[^=]*=[ ]*$//
73376 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73377 fi # test -n "$CONFIG_FILES"
73379 # Set up the scripts for CONFIG_HEADERS section.
73380 # No need to generate them if there are no CONFIG_HEADERS.
73381 # This happens for instance with `./config.status Makefile'.
73382 if test -n "$CONFIG_HEADERS"; then
73383 cat >"$tmp/defines.awk" <<\_ACAWK ||
73384 BEGIN {
73385 _ACEOF
73387 # Transform confdefs.h into an awk script `defines.awk', embedded as
73388 # here-document in config.status, that substitutes the proper values into
73389 # config.h.in to produce config.h.
73391 # Create a delimiter string that does not exist in confdefs.h, to ease
73392 # handling of long lines.
73393 ac_delim='%!_!# '
73394 for ac_last_try in false false :; do
73395 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
73396 if test -z "$ac_t"; then
73397 break
73398 elif $ac_last_try; then
73399 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
73400 else
73401 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
73403 done
73405 # For the awk script, D is an array of macro values keyed by name,
73406 # likewise P contains macro parameters if any. Preserve backslash
73407 # newline sequences.
73409 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
73410 sed -n '
73411 s/.\{148\}/&'"$ac_delim"'/g
73412 t rset
73413 :rset
73414 s/^[ ]*#[ ]*define[ ][ ]*/ /
73415 t def
73417 :def
73418 s/\\$//
73419 t bsnl
73420 s/["\\]/\\&/g
73421 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
73422 D["\1"]=" \3"/p
73423 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
73425 :bsnl
73426 s/["\\]/\\&/g
73427 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
73428 D["\1"]=" \3\\\\\\n"\\/p
73429 t cont
73430 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
73431 t cont
73433 :cont
73435 s/.\{148\}/&'"$ac_delim"'/g
73436 t clear
73437 :clear
73438 s/\\$//
73439 t bsnlc
73440 s/["\\]/\\&/g; s/^/"/; s/$/"/p
73442 :bsnlc
73443 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
73444 b cont
73445 ' <confdefs.h | sed '
73446 s/'"$ac_delim"'/"\\\
73447 "/g' >>$CONFIG_STATUS || ac_write_fail=1
73449 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73450 for (key in D) D_is_set[key] = 1
73451 FS = "\a"
73453 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
73454 line = \$ 0
73455 split(line, arg, " ")
73456 if (arg[1] == "#") {
73457 defundef = arg[2]
73458 mac1 = arg[3]
73459 } else {
73460 defundef = substr(arg[1], 2)
73461 mac1 = arg[2]
73463 split(mac1, mac2, "(") #)
73464 macro = mac2[1]
73465 prefix = substr(line, 1, index(line, defundef) - 1)
73466 if (D_is_set[macro]) {
73467 # Preserve the white space surrounding the "#".
73468 print prefix "define", macro P[macro] D[macro]
73469 next
73470 } else {
73471 # Replace #undef with comments. This is necessary, for example,
73472 # in the case of _POSIX_SOURCE, which is predefined and required
73473 # on some systems where configure will not decide to define it.
73474 if (defundef == "undef") {
73475 print "/*", prefix defundef, macro, "*/"
73476 next
73480 { print }
73481 _ACAWK
73482 _ACEOF
73483 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73484 as_fn_error "could not setup config headers machinery" "$LINENO" 5
73485 fi # test -n "$CONFIG_HEADERS"
73488 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
73489 shift
73490 for ac_tag
73492 case $ac_tag in
73493 :[FHLC]) ac_mode=$ac_tag; continue;;
73494 esac
73495 case $ac_mode$ac_tag in
73496 :[FHL]*:*);;
73497 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
73498 :[FH]-) ac_tag=-:-;;
73499 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
73500 esac
73501 ac_save_IFS=$IFS
73502 IFS=:
73503 set x $ac_tag
73504 IFS=$ac_save_IFS
73505 shift
73506 ac_file=$1
73507 shift
73509 case $ac_mode in
73510 :L) ac_source=$1;;
73511 :[FH])
73512 ac_file_inputs=
73513 for ac_f
73515 case $ac_f in
73516 -) ac_f="$tmp/stdin";;
73517 *) # Look for the file first in the build tree, then in the source tree
73518 # (if the path is not absolute). The absolute path cannot be DOS-style,
73519 # because $ac_f cannot contain `:'.
73520 test -f "$ac_f" ||
73521 case $ac_f in
73522 [\\/$]*) false;;
73523 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
73524 esac ||
73525 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
73526 esac
73527 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
73528 as_fn_append ac_file_inputs " '$ac_f'"
73529 done
73531 # Let's still pretend it is `configure' which instantiates (i.e., don't
73532 # use $as_me), people would be surprised to read:
73533 # /* config.h. Generated by config.status. */
73534 configure_input='Generated from '`
73535 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
73536 `' by configure.'
73537 if test x"$ac_file" != x-; then
73538 configure_input="$ac_file. $configure_input"
73539 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
73540 $as_echo "$as_me: creating $ac_file" >&6;}
73542 # Neutralize special characters interpreted by sed in replacement strings.
73543 case $configure_input in #(
73544 *\&* | *\|* | *\\* )
73545 ac_sed_conf_input=`$as_echo "$configure_input" |
73546 sed 's/[\\\\&|]/\\\\&/g'`;; #(
73547 *) ac_sed_conf_input=$configure_input;;
73548 esac
73550 case $ac_tag in
73551 *:-:* | *:-) cat >"$tmp/stdin" \
73552 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
73553 esac
73555 esac
73557 ac_dir=`$as_dirname -- "$ac_file" ||
73558 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73559 X"$ac_file" : 'X\(//\)[^/]' \| \
73560 X"$ac_file" : 'X\(//\)$' \| \
73561 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
73562 $as_echo X"$ac_file" |
73563 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73564 s//\1/
73567 /^X\(\/\/\)[^/].*/{
73568 s//\1/
73571 /^X\(\/\/\)$/{
73572 s//\1/
73575 /^X\(\/\).*/{
73576 s//\1/
73579 s/.*/./; q'`
73580 as_dir="$ac_dir"; as_fn_mkdir_p
73581 ac_builddir=.
73583 case "$ac_dir" in
73584 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
73586 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
73587 # A ".." for each directory in $ac_dir_suffix.
73588 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
73589 case $ac_top_builddir_sub in
73590 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
73591 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
73592 esac ;;
73593 esac
73594 ac_abs_top_builddir=$ac_pwd
73595 ac_abs_builddir=$ac_pwd$ac_dir_suffix
73596 # for backward compatibility:
73597 ac_top_builddir=$ac_top_build_prefix
73599 case $srcdir in
73600 .) # We are building in place.
73601 ac_srcdir=.
73602 ac_top_srcdir=$ac_top_builddir_sub
73603 ac_abs_top_srcdir=$ac_pwd ;;
73604 [\\/]* | ?:[\\/]* ) # Absolute name.
73605 ac_srcdir=$srcdir$ac_dir_suffix;
73606 ac_top_srcdir=$srcdir
73607 ac_abs_top_srcdir=$srcdir ;;
73608 *) # Relative name.
73609 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
73610 ac_top_srcdir=$ac_top_build_prefix$srcdir
73611 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
73612 esac
73613 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
73616 case $ac_mode in
73619 # CONFIG_FILE
73622 case $INSTALL in
73623 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
73624 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
73625 esac
73626 ac_MKDIR_P=$MKDIR_P
73627 case $MKDIR_P in
73628 [\\/$]* | ?:[\\/]* ) ;;
73629 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
73630 esac
73631 _ACEOF
73633 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73634 # If the template does not know about datarootdir, expand it.
73635 # FIXME: This hack should be removed a few years after 2.60.
73636 ac_datarootdir_hack=; ac_datarootdir_seen=
73637 ac_sed_dataroot='
73638 /datarootdir/ {
73642 /@datadir@/p
73643 /@docdir@/p
73644 /@infodir@/p
73645 /@localedir@/p
73646 /@mandir@/p'
73647 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
73648 *datarootdir*) ac_datarootdir_seen=yes;;
73649 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
73650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
73651 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
73652 _ACEOF
73653 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73654 ac_datarootdir_hack='
73655 s&@datadir@&$datadir&g
73656 s&@docdir@&$docdir&g
73657 s&@infodir@&$infodir&g
73658 s&@localedir@&$localedir&g
73659 s&@mandir@&$mandir&g
73660 s&\\\${datarootdir}&$datarootdir&g' ;;
73661 esac
73662 _ACEOF
73664 # Neutralize VPATH when `$srcdir' = `.'.
73665 # Shell code in configure.ac might set extrasub.
73666 # FIXME: do we really want to maintain this feature?
73667 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73668 ac_sed_extra="$ac_vpsub
73669 $extrasub
73670 _ACEOF
73671 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73673 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
73674 s|@configure_input@|$ac_sed_conf_input|;t t
73675 s&@top_builddir@&$ac_top_builddir_sub&;t t
73676 s&@top_build_prefix@&$ac_top_build_prefix&;t t
73677 s&@srcdir@&$ac_srcdir&;t t
73678 s&@abs_srcdir@&$ac_abs_srcdir&;t t
73679 s&@top_srcdir@&$ac_top_srcdir&;t t
73680 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
73681 s&@builddir@&$ac_builddir&;t t
73682 s&@abs_builddir@&$ac_abs_builddir&;t t
73683 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
73684 s&@INSTALL@&$ac_INSTALL&;t t
73685 s&@MKDIR_P@&$ac_MKDIR_P&;t t
73686 $ac_datarootdir_hack
73688 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
73689 || as_fn_error "could not create $ac_file" "$LINENO" 5
73691 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
73692 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
73693 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
73694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
73695 which seems to be undefined. Please make sure it is defined." >&5
73696 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
73697 which seems to be undefined. Please make sure it is defined." >&2;}
73699 rm -f "$tmp/stdin"
73700 case $ac_file in
73701 -) cat "$tmp/out" && rm -f "$tmp/out";;
73702 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
73703 esac \
73704 || as_fn_error "could not create $ac_file" "$LINENO" 5
73708 # CONFIG_HEADER
73710 if test x"$ac_file" != x-; then
73712 $as_echo "/* $configure_input */" \
73713 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
73714 } >"$tmp/config.h" \
73715 || as_fn_error "could not create $ac_file" "$LINENO" 5
73716 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
73717 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
73718 $as_echo "$as_me: $ac_file is unchanged" >&6;}
73719 else
73720 rm -f "$ac_file"
73721 mv "$tmp/config.h" "$ac_file" \
73722 || as_fn_error "could not create $ac_file" "$LINENO" 5
73724 else
73725 $as_echo "/* $configure_input */" \
73726 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
73727 || as_fn_error "could not create -" "$LINENO" 5
73729 # Compute "$ac_file"'s index in $config_headers.
73730 _am_arg="$ac_file"
73731 _am_stamp_count=1
73732 for _am_header in $config_headers :; do
73733 case $_am_header in
73734 $_am_arg | $_am_arg:* )
73735 break ;;
73737 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
73738 esac
73739 done
73740 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
73741 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73742 X"$_am_arg" : 'X\(//\)[^/]' \| \
73743 X"$_am_arg" : 'X\(//\)$' \| \
73744 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
73745 $as_echo X"$_am_arg" |
73746 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73747 s//\1/
73750 /^X\(\/\/\)[^/].*/{
73751 s//\1/
73754 /^X\(\/\/\)$/{
73755 s//\1/
73758 /^X\(\/\).*/{
73759 s//\1/
73762 s/.*/./; q'`/stamp-h$_am_stamp_count
73765 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
73766 $as_echo "$as_me: executing $ac_file commands" >&6;}
73768 esac
73771 case $ac_file$ac_mode in
73772 "default-1":C)
73773 # Only add multilib support code if we just rebuilt the top-level
73774 # Makefile.
73775 case " $CONFIG_FILES " in
73776 *" Makefile "*)
73777 ac_file=Makefile . ${multi_basedir}/config-ml.in
73779 esac ;;
73780 "libtool":C)
73782 # See if we are running on zsh, and set the options which allow our
73783 # commands through without removal of \ escapes.
73784 if test -n "${ZSH_VERSION+set}" ; then
73785 setopt NO_GLOB_SUBST
73788 cfgfile="${ofile}T"
73789 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
73790 $RM "$cfgfile"
73792 cat <<_LT_EOF >> "$cfgfile"
73793 #! $SHELL
73795 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
73796 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
73797 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
73798 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
73800 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
73801 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
73802 # Written by Gordon Matzigkeit, 1996
73804 # This file is part of GNU Libtool.
73806 # GNU Libtool is free software; you can redistribute it and/or
73807 # modify it under the terms of the GNU General Public License as
73808 # published by the Free Software Foundation; either version 2 of
73809 # the License, or (at your option) any later version.
73811 # As a special exception to the GNU General Public License,
73812 # if you distribute this file as part of a program or library that
73813 # is built using GNU Libtool, you may include this file under the
73814 # same distribution terms that you use for the rest of that program.
73816 # GNU Libtool is distributed in the hope that it will be useful,
73817 # but WITHOUT ANY WARRANTY; without even the implied warranty of
73818 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
73819 # GNU General Public License for more details.
73821 # You should have received a copy of the GNU General Public License
73822 # along with GNU Libtool; see the file COPYING. If not, a copy
73823 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
73824 # obtained by writing to the Free Software Foundation, Inc.,
73825 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
73828 # The names of the tagged configurations supported by this script.
73829 available_tags="CXX "
73831 # ### BEGIN LIBTOOL CONFIG
73833 # Which release of libtool.m4 was used?
73834 macro_version=$macro_version
73835 macro_revision=$macro_revision
73837 # Whether or not to build shared libraries.
73838 build_libtool_libs=$enable_shared
73840 # Whether or not to build static libraries.
73841 build_old_libs=$enable_static
73843 # What type of objects to build.
73844 pic_mode=$pic_mode
73846 # Whether or not to optimize for fast installation.
73847 fast_install=$enable_fast_install
73849 # Shell to use when invoking shell scripts.
73850 SHELL=$lt_SHELL
73852 # An echo program that protects backslashes.
73853 ECHO=$lt_ECHO
73855 # The host system.
73856 host_alias=$host_alias
73857 host=$host
73858 host_os=$host_os
73860 # The build system.
73861 build_alias=$build_alias
73862 build=$build
73863 build_os=$build_os
73865 # A sed program that does not truncate output.
73866 SED=$lt_SED
73868 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
73869 Xsed="\$SED -e 1s/^X//"
73871 # A grep program that handles long lines.
73872 GREP=$lt_GREP
73874 # An ERE matcher.
73875 EGREP=$lt_EGREP
73877 # A literal string matcher.
73878 FGREP=$lt_FGREP
73880 # A BSD- or MS-compatible name lister.
73881 NM=$lt_NM
73883 # Whether we need soft or hard links.
73884 LN_S=$lt_LN_S
73886 # What is the maximum length of a command?
73887 max_cmd_len=$max_cmd_len
73889 # Object file suffix (normally "o").
73890 objext=$ac_objext
73892 # Executable file suffix (normally "").
73893 exeext=$exeext
73895 # whether the shell understands "unset".
73896 lt_unset=$lt_unset
73898 # turn spaces into newlines.
73899 SP2NL=$lt_lt_SP2NL
73901 # turn newlines into spaces.
73902 NL2SP=$lt_lt_NL2SP
73904 # An object symbol dumper.
73905 OBJDUMP=$lt_OBJDUMP
73907 # Method to check whether dependent libraries are shared objects.
73908 deplibs_check_method=$lt_deplibs_check_method
73910 # Command to use when deplibs_check_method == "file_magic".
73911 file_magic_cmd=$lt_file_magic_cmd
73913 # The archiver.
73914 AR=$lt_AR
73915 AR_FLAGS=$lt_AR_FLAGS
73917 # A symbol stripping program.
73918 STRIP=$lt_STRIP
73920 # Commands used to install an old-style archive.
73921 RANLIB=$lt_RANLIB
73922 old_postinstall_cmds=$lt_old_postinstall_cmds
73923 old_postuninstall_cmds=$lt_old_postuninstall_cmds
73925 # Whether to use a lock for old archive extraction.
73926 lock_old_archive_extraction=$lock_old_archive_extraction
73928 # A C compiler.
73929 LTCC=$lt_CC
73931 # LTCC compiler flags.
73932 LTCFLAGS=$lt_CFLAGS
73934 # Take the output of nm and produce a listing of raw symbols and C names.
73935 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
73937 # Transform the output of nm in a proper C declaration.
73938 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
73940 # Transform the output of nm in a C name address pair.
73941 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
73943 # Transform the output of nm in a C name address pair when lib prefix is needed.
73944 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
73946 # The name of the directory that contains temporary libtool files.
73947 objdir=$objdir
73949 # Used to examine libraries when file_magic_cmd begins with "file".
73950 MAGIC_CMD=$MAGIC_CMD
73952 # Must we lock files when doing compilation?
73953 need_locks=$lt_need_locks
73955 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
73956 DSYMUTIL=$lt_DSYMUTIL
73958 # Tool to change global to local symbols on Mac OS X.
73959 NMEDIT=$lt_NMEDIT
73961 # Tool to manipulate fat objects and archives on Mac OS X.
73962 LIPO=$lt_LIPO
73964 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
73965 OTOOL=$lt_OTOOL
73967 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
73968 OTOOL64=$lt_OTOOL64
73970 # Old archive suffix (normally "a").
73971 libext=$libext
73973 # Shared library suffix (normally ".so").
73974 shrext_cmds=$lt_shrext_cmds
73976 # The commands to extract the exported symbol list from a shared archive.
73977 extract_expsyms_cmds=$lt_extract_expsyms_cmds
73979 # Variables whose values should be saved in libtool wrapper scripts and
73980 # restored at link time.
73981 variables_saved_for_relink=$lt_variables_saved_for_relink
73983 # Do we need the "lib" prefix for modules?
73984 need_lib_prefix=$need_lib_prefix
73986 # Do we need a version for libraries?
73987 need_version=$need_version
73989 # Library versioning type.
73990 version_type=$version_type
73992 # Shared library runtime path variable.
73993 runpath_var=$runpath_var
73995 # Shared library path variable.
73996 shlibpath_var=$shlibpath_var
73998 # Is shlibpath searched before the hard-coded library search path?
73999 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
74001 # Format of library name prefix.
74002 libname_spec=$lt_libname_spec
74004 # List of archive names. First name is the real one, the rest are links.
74005 # The last name is the one that the linker finds with -lNAME
74006 library_names_spec=$lt_library_names_spec
74008 # The coded name of the library, if different from the real name.
74009 soname_spec=$lt_soname_spec
74011 # Permission mode override for installation of shared libraries.
74012 install_override_mode=$lt_install_override_mode
74014 # Command to use after installation of a shared archive.
74015 postinstall_cmds=$lt_postinstall_cmds
74017 # Command to use after uninstallation of a shared archive.
74018 postuninstall_cmds=$lt_postuninstall_cmds
74020 # Commands used to finish a libtool library installation in a directory.
74021 finish_cmds=$lt_finish_cmds
74023 # As "finish_cmds", except a single script fragment to be evaled but
74024 # not shown.
74025 finish_eval=$lt_finish_eval
74027 # Whether we should hardcode library paths into libraries.
74028 hardcode_into_libs=$hardcode_into_libs
74030 # Compile-time system search path for libraries.
74031 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
74033 # Run-time system search path for libraries.
74034 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
74036 # Whether dlopen is supported.
74037 dlopen_support=$enable_dlopen
74039 # Whether dlopen of programs is supported.
74040 dlopen_self=$enable_dlopen_self
74042 # Whether dlopen of statically linked programs is supported.
74043 dlopen_self_static=$enable_dlopen_self_static
74045 # Commands to strip libraries.
74046 old_striplib=$lt_old_striplib
74047 striplib=$lt_striplib
74050 # The linker used to build libraries.
74051 LD=$lt_LD
74053 # How to create reloadable object files.
74054 reload_flag=$lt_reload_flag
74055 reload_cmds=$lt_reload_cmds
74057 # Commands used to build an old-style archive.
74058 old_archive_cmds=$lt_old_archive_cmds
74060 # A language specific compiler.
74061 CC=$lt_compiler
74063 # Is the compiler the GNU compiler?
74064 with_gcc=$GCC
74066 # Compiler flag to turn off builtin functions.
74067 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
74069 # How to pass a linker flag through the compiler.
74070 wl=$lt_lt_prog_compiler_wl
74072 # Additional compiler flags for building library objects.
74073 pic_flag=$lt_lt_prog_compiler_pic
74075 # Compiler flag to prevent dynamic linking.
74076 link_static_flag=$lt_lt_prog_compiler_static
74078 # Does compiler simultaneously support -c and -o options?
74079 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
74081 # Whether or not to add -lc for building shared libraries.
74082 build_libtool_need_lc=$archive_cmds_need_lc
74084 # Whether or not to disallow shared libs when runtime libs are static.
74085 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
74087 # Compiler flag to allow reflexive dlopens.
74088 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
74090 # Compiler flag to generate shared objects directly from archives.
74091 whole_archive_flag_spec=$lt_whole_archive_flag_spec
74093 # Whether the compiler copes with passing no objects directly.
74094 compiler_needs_object=$lt_compiler_needs_object
74096 # Create an old-style archive from a shared archive.
74097 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
74099 # Create a temporary old-style archive to link instead of a shared archive.
74100 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
74102 # Commands used to build a shared archive.
74103 archive_cmds=$lt_archive_cmds
74104 archive_expsym_cmds=$lt_archive_expsym_cmds
74106 # Commands used to build a loadable module if different from building
74107 # a shared archive.
74108 module_cmds=$lt_module_cmds
74109 module_expsym_cmds=$lt_module_expsym_cmds
74111 # Whether we are building with GNU ld or not.
74112 with_gnu_ld=$lt_with_gnu_ld
74114 # Flag that allows shared libraries with undefined symbols to be built.
74115 allow_undefined_flag=$lt_allow_undefined_flag
74117 # Flag that enforces no undefined symbols.
74118 no_undefined_flag=$lt_no_undefined_flag
74120 # Flag to hardcode \$libdir into a binary during linking.
74121 # This must work even if \$libdir does not exist
74122 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
74124 # If ld is used when linking, flag to hardcode \$libdir into a binary
74125 # during linking. This must work even if \$libdir does not exist.
74126 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
74128 # Whether we need a single "-rpath" flag with a separated argument.
74129 hardcode_libdir_separator=$lt_hardcode_libdir_separator
74131 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74132 # DIR into the resulting binary.
74133 hardcode_direct=$hardcode_direct
74135 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74136 # DIR into the resulting binary and the resulting library dependency is
74137 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
74138 # library is relocated.
74139 hardcode_direct_absolute=$hardcode_direct_absolute
74141 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
74142 # into the resulting binary.
74143 hardcode_minus_L=$hardcode_minus_L
74145 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
74146 # into the resulting binary.
74147 hardcode_shlibpath_var=$hardcode_shlibpath_var
74149 # Set to "yes" if building a shared library automatically hardcodes DIR
74150 # into the library and all subsequent libraries and executables linked
74151 # against it.
74152 hardcode_automatic=$hardcode_automatic
74154 # Set to yes if linker adds runtime paths of dependent libraries
74155 # to runtime path list.
74156 inherit_rpath=$inherit_rpath
74158 # Whether libtool must link a program against all its dependency libraries.
74159 link_all_deplibs=$link_all_deplibs
74161 # Fix the shell variable \$srcfile for the compiler.
74162 fix_srcfile_path=$lt_fix_srcfile_path
74164 # Set to "yes" if exported symbols are required.
74165 always_export_symbols=$always_export_symbols
74167 # The commands to list exported symbols.
74168 export_symbols_cmds=$lt_export_symbols_cmds
74170 # Symbols that should not be listed in the preloaded symbols.
74171 exclude_expsyms=$lt_exclude_expsyms
74173 # Symbols that must always be exported.
74174 include_expsyms=$lt_include_expsyms
74176 # Commands necessary for linking programs (against libraries) with templates.
74177 prelink_cmds=$lt_prelink_cmds
74179 # Specify filename containing input files.
74180 file_list_spec=$lt_file_list_spec
74182 # How to hardcode a shared library path into an executable.
74183 hardcode_action=$hardcode_action
74185 # The directories searched by this compiler when creating a shared library.
74186 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
74188 # Dependencies to place before and after the objects being linked to
74189 # create a shared library.
74190 predep_objects=$lt_predep_objects
74191 postdep_objects=$lt_postdep_objects
74192 predeps=$lt_predeps
74193 postdeps=$lt_postdeps
74195 # The library search path used internally by the compiler when linking
74196 # a shared library.
74197 compiler_lib_search_path=$lt_compiler_lib_search_path
74199 # ### END LIBTOOL CONFIG
74201 _LT_EOF
74203 case $host_os in
74204 aix3*)
74205 cat <<\_LT_EOF >> "$cfgfile"
74206 # AIX sometimes has problems with the GCC collect2 program. For some
74207 # reason, if we set the COLLECT_NAMES environment variable, the problems
74208 # vanish in a puff of smoke.
74209 if test "X${COLLECT_NAMES+set}" != Xset; then
74210 COLLECT_NAMES=
74211 export COLLECT_NAMES
74213 _LT_EOF
74215 esac
74218 ltmain="$ac_aux_dir/ltmain.sh"
74221 # We use sed instead of cat because bash on DJGPP gets confused if
74222 # if finds mixed CR/LF and LF-only lines. Since sed operates in
74223 # text mode, it properly converts lines to CR/LF. This bash problem
74224 # is reportedly fixed, but why not run on old versions too?
74225 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
74226 || (rm -f "$cfgfile"; exit 1)
74228 case $xsi_shell in
74229 yes)
74230 cat << \_LT_EOF >> "$cfgfile"
74232 # func_dirname file append nondir_replacement
74233 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
74234 # otherwise set result to NONDIR_REPLACEMENT.
74235 func_dirname ()
74237 case ${1} in
74238 */*) func_dirname_result="${1%/*}${2}" ;;
74239 * ) func_dirname_result="${3}" ;;
74240 esac
74243 # func_basename file
74244 func_basename ()
74246 func_basename_result="${1##*/}"
74249 # func_dirname_and_basename file append nondir_replacement
74250 # perform func_basename and func_dirname in a single function
74251 # call:
74252 # dirname: Compute the dirname of FILE. If nonempty,
74253 # add APPEND to the result, otherwise set result
74254 # to NONDIR_REPLACEMENT.
74255 # value returned in "$func_dirname_result"
74256 # basename: Compute filename of FILE.
74257 # value retuned in "$func_basename_result"
74258 # Implementation must be kept synchronized with func_dirname
74259 # and func_basename. For efficiency, we do not delegate to
74260 # those functions but instead duplicate the functionality here.
74261 func_dirname_and_basename ()
74263 case ${1} in
74264 */*) func_dirname_result="${1%/*}${2}" ;;
74265 * ) func_dirname_result="${3}" ;;
74266 esac
74267 func_basename_result="${1##*/}"
74270 # func_stripname prefix suffix name
74271 # strip PREFIX and SUFFIX off of NAME.
74272 # PREFIX and SUFFIX must not contain globbing or regex special
74273 # characters, hashes, percent signs, but SUFFIX may contain a leading
74274 # dot (in which case that matches only a dot).
74275 func_stripname ()
74277 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
74278 # positional parameters, so assign one to ordinary parameter first.
74279 func_stripname_result=${3}
74280 func_stripname_result=${func_stripname_result#"${1}"}
74281 func_stripname_result=${func_stripname_result%"${2}"}
74284 # func_opt_split
74285 func_opt_split ()
74287 func_opt_split_opt=${1%%=*}
74288 func_opt_split_arg=${1#*=}
74291 # func_lo2o object
74292 func_lo2o ()
74294 case ${1} in
74295 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
74296 *) func_lo2o_result=${1} ;;
74297 esac
74300 # func_xform libobj-or-source
74301 func_xform ()
74303 func_xform_result=${1%.*}.lo
74306 # func_arith arithmetic-term...
74307 func_arith ()
74309 func_arith_result=$(( $* ))
74312 # func_len string
74313 # STRING may not start with a hyphen.
74314 func_len ()
74316 func_len_result=${#1}
74319 _LT_EOF
74321 *) # Bourne compatible functions.
74322 cat << \_LT_EOF >> "$cfgfile"
74324 # func_dirname file append nondir_replacement
74325 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
74326 # otherwise set result to NONDIR_REPLACEMENT.
74327 func_dirname ()
74329 # Extract subdirectory from the argument.
74330 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
74331 if test "X$func_dirname_result" = "X${1}"; then
74332 func_dirname_result="${3}"
74333 else
74334 func_dirname_result="$func_dirname_result${2}"
74338 # func_basename file
74339 func_basename ()
74341 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
74345 # func_stripname prefix suffix name
74346 # strip PREFIX and SUFFIX off of NAME.
74347 # PREFIX and SUFFIX must not contain globbing or regex special
74348 # characters, hashes, percent signs, but SUFFIX may contain a leading
74349 # dot (in which case that matches only a dot).
74350 # func_strip_suffix prefix name
74351 func_stripname ()
74353 case ${2} in
74354 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
74355 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
74356 esac
74359 # sed scripts:
74360 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
74361 my_sed_long_arg='1s/^-[^=]*=//'
74363 # func_opt_split
74364 func_opt_split ()
74366 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
74367 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
74370 # func_lo2o object
74371 func_lo2o ()
74373 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
74376 # func_xform libobj-or-source
74377 func_xform ()
74379 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
74382 # func_arith arithmetic-term...
74383 func_arith ()
74385 func_arith_result=`expr "$@"`
74388 # func_len string
74389 # STRING may not start with a hyphen.
74390 func_len ()
74392 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
74395 _LT_EOF
74396 esac
74398 case $lt_shell_append in
74399 yes)
74400 cat << \_LT_EOF >> "$cfgfile"
74402 # func_append var value
74403 # Append VALUE to the end of shell variable VAR.
74404 func_append ()
74406 eval "$1+=\$2"
74408 _LT_EOF
74411 cat << \_LT_EOF >> "$cfgfile"
74413 # func_append var value
74414 # Append VALUE to the end of shell variable VAR.
74415 func_append ()
74417 eval "$1=\$$1\$2"
74420 _LT_EOF
74422 esac
74425 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
74426 || (rm -f "$cfgfile"; exit 1)
74428 mv -f "$cfgfile" "$ofile" ||
74429 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
74430 chmod +x "$ofile"
74433 cat <<_LT_EOF >> "$ofile"
74435 # ### BEGIN LIBTOOL TAG CONFIG: CXX
74437 # The linker used to build libraries.
74438 LD=$lt_LD_CXX
74440 # How to create reloadable object files.
74441 reload_flag=$lt_reload_flag_CXX
74442 reload_cmds=$lt_reload_cmds_CXX
74444 # Commands used to build an old-style archive.
74445 old_archive_cmds=$lt_old_archive_cmds_CXX
74447 # A language specific compiler.
74448 CC=$lt_compiler_CXX
74450 # Is the compiler the GNU compiler?
74451 with_gcc=$GCC_CXX
74453 # Compiler flag to turn off builtin functions.
74454 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
74456 # How to pass a linker flag through the compiler.
74457 wl=$lt_lt_prog_compiler_wl_CXX
74459 # Additional compiler flags for building library objects.
74460 pic_flag=$lt_lt_prog_compiler_pic_CXX
74462 # Compiler flag to prevent dynamic linking.
74463 link_static_flag=$lt_lt_prog_compiler_static_CXX
74465 # Does compiler simultaneously support -c and -o options?
74466 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
74468 # Whether or not to add -lc for building shared libraries.
74469 build_libtool_need_lc=$archive_cmds_need_lc_CXX
74471 # Whether or not to disallow shared libs when runtime libs are static.
74472 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
74474 # Compiler flag to allow reflexive dlopens.
74475 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
74477 # Compiler flag to generate shared objects directly from archives.
74478 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
74480 # Whether the compiler copes with passing no objects directly.
74481 compiler_needs_object=$lt_compiler_needs_object_CXX
74483 # Create an old-style archive from a shared archive.
74484 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
74486 # Create a temporary old-style archive to link instead of a shared archive.
74487 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
74489 # Commands used to build a shared archive.
74490 archive_cmds=$lt_archive_cmds_CXX
74491 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
74493 # Commands used to build a loadable module if different from building
74494 # a shared archive.
74495 module_cmds=$lt_module_cmds_CXX
74496 module_expsym_cmds=$lt_module_expsym_cmds_CXX
74498 # Whether we are building with GNU ld or not.
74499 with_gnu_ld=$lt_with_gnu_ld_CXX
74501 # Flag that allows shared libraries with undefined symbols to be built.
74502 allow_undefined_flag=$lt_allow_undefined_flag_CXX
74504 # Flag that enforces no undefined symbols.
74505 no_undefined_flag=$lt_no_undefined_flag_CXX
74507 # Flag to hardcode \$libdir into a binary during linking.
74508 # This must work even if \$libdir does not exist
74509 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
74511 # If ld is used when linking, flag to hardcode \$libdir into a binary
74512 # during linking. This must work even if \$libdir does not exist.
74513 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
74515 # Whether we need a single "-rpath" flag with a separated argument.
74516 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
74518 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74519 # DIR into the resulting binary.
74520 hardcode_direct=$hardcode_direct_CXX
74522 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74523 # DIR into the resulting binary and the resulting library dependency is
74524 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
74525 # library is relocated.
74526 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
74528 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
74529 # into the resulting binary.
74530 hardcode_minus_L=$hardcode_minus_L_CXX
74532 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
74533 # into the resulting binary.
74534 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
74536 # Set to "yes" if building a shared library automatically hardcodes DIR
74537 # into the library and all subsequent libraries and executables linked
74538 # against it.
74539 hardcode_automatic=$hardcode_automatic_CXX
74541 # Set to yes if linker adds runtime paths of dependent libraries
74542 # to runtime path list.
74543 inherit_rpath=$inherit_rpath_CXX
74545 # Whether libtool must link a program against all its dependency libraries.
74546 link_all_deplibs=$link_all_deplibs_CXX
74548 # Fix the shell variable \$srcfile for the compiler.
74549 fix_srcfile_path=$lt_fix_srcfile_path_CXX
74551 # Set to "yes" if exported symbols are required.
74552 always_export_symbols=$always_export_symbols_CXX
74554 # The commands to list exported symbols.
74555 export_symbols_cmds=$lt_export_symbols_cmds_CXX
74557 # Symbols that should not be listed in the preloaded symbols.
74558 exclude_expsyms=$lt_exclude_expsyms_CXX
74560 # Symbols that must always be exported.
74561 include_expsyms=$lt_include_expsyms_CXX
74563 # Commands necessary for linking programs (against libraries) with templates.
74564 prelink_cmds=$lt_prelink_cmds_CXX
74566 # Specify filename containing input files.
74567 file_list_spec=$lt_file_list_spec_CXX
74569 # How to hardcode a shared library path into an executable.
74570 hardcode_action=$hardcode_action_CXX
74572 # The directories searched by this compiler when creating a shared library.
74573 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
74575 # Dependencies to place before and after the objects being linked to
74576 # create a shared library.
74577 predep_objects=$lt_predep_objects_CXX
74578 postdep_objects=$lt_postdep_objects_CXX
74579 predeps=$lt_predeps_CXX
74580 postdeps=$lt_postdeps_CXX
74582 # The library search path used internally by the compiler when linking
74583 # a shared library.
74584 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
74586 # ### END LIBTOOL TAG CONFIG: CXX
74587 _LT_EOF
74590 "include/gstdint.h":C)
74591 if test "$GCC" = yes; then
74592 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
74593 else
74594 echo "/* generated for $CC */" > tmp-stdint.h
74597 sed 's/^ *//' >> tmp-stdint.h <<EOF
74599 #ifndef GCC_GENERATED_STDINT_H
74600 #define GCC_GENERATED_STDINT_H 1
74602 #include <sys/types.h>
74605 if test "$acx_cv_header_stdint" != stdint.h; then
74606 echo "#include <stddef.h>" >> tmp-stdint.h
74608 if test "$acx_cv_header_stdint" != stddef.h; then
74609 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
74612 sed 's/^ *//' >> tmp-stdint.h <<EOF
74613 /* glibc uses these symbols as guards to prevent redefinitions. */
74614 #ifdef __int8_t_defined
74615 #define _INT8_T
74616 #define _INT16_T
74617 #define _INT32_T
74618 #endif
74619 #ifdef __uint32_t_defined
74620 #define _UINT32_T
74621 #endif
74625 # ----------------- done header, emit basic int types -------------
74626 if test "$acx_cv_header_stdint" = stddef.h; then
74627 sed 's/^ *//' >> tmp-stdint.h <<EOF
74629 #ifndef _UINT8_T
74630 #define _UINT8_T
74631 #ifndef __uint8_t_defined
74632 #define __uint8_t_defined
74633 #ifndef uint8_t
74634 typedef unsigned $acx_cv_type_int8_t uint8_t;
74635 #endif
74636 #endif
74637 #endif
74639 #ifndef _UINT16_T
74640 #define _UINT16_T
74641 #ifndef __uint16_t_defined
74642 #define __uint16_t_defined
74643 #ifndef uint16_t
74644 typedef unsigned $acx_cv_type_int16_t uint16_t;
74645 #endif
74646 #endif
74647 #endif
74649 #ifndef _UINT32_T
74650 #define _UINT32_T
74651 #ifndef __uint32_t_defined
74652 #define __uint32_t_defined
74653 #ifndef uint32_t
74654 typedef unsigned $acx_cv_type_int32_t uint32_t;
74655 #endif
74656 #endif
74657 #endif
74659 #ifndef _INT8_T
74660 #define _INT8_T
74661 #ifndef __int8_t_defined
74662 #define __int8_t_defined
74663 #ifndef int8_t
74664 typedef $acx_cv_type_int8_t int8_t;
74665 #endif
74666 #endif
74667 #endif
74669 #ifndef _INT16_T
74670 #define _INT16_T
74671 #ifndef __int16_t_defined
74672 #define __int16_t_defined
74673 #ifndef int16_t
74674 typedef $acx_cv_type_int16_t int16_t;
74675 #endif
74676 #endif
74677 #endif
74679 #ifndef _INT32_T
74680 #define _INT32_T
74681 #ifndef __int32_t_defined
74682 #define __int32_t_defined
74683 #ifndef int32_t
74684 typedef $acx_cv_type_int32_t int32_t;
74685 #endif
74686 #endif
74687 #endif
74689 elif test "$ac_cv_type_u_int32_t" = yes; then
74690 sed 's/^ *//' >> tmp-stdint.h <<EOF
74692 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
74693 #ifndef _INT8_T
74694 #define _INT8_T
74695 #endif
74696 #ifndef _INT16_T
74697 #define _INT16_T
74698 #endif
74699 #ifndef _INT32_T
74700 #define _INT32_T
74701 #endif
74703 #ifndef _UINT8_T
74704 #define _UINT8_T
74705 #ifndef __uint8_t_defined
74706 #define __uint8_t_defined
74707 #ifndef uint8_t
74708 typedef u_int8_t uint8_t;
74709 #endif
74710 #endif
74711 #endif
74713 #ifndef _UINT16_T
74714 #define _UINT16_T
74715 #ifndef __uint16_t_defined
74716 #define __uint16_t_defined
74717 #ifndef uint16_t
74718 typedef u_int16_t uint16_t;
74719 #endif
74720 #endif
74721 #endif
74723 #ifndef _UINT32_T
74724 #define _UINT32_T
74725 #ifndef __uint32_t_defined
74726 #define __uint32_t_defined
74727 #ifndef uint32_t
74728 typedef u_int32_t uint32_t;
74729 #endif
74730 #endif
74731 #endif
74733 else
74734 sed 's/^ *//' >> tmp-stdint.h <<EOF
74736 /* Some systems have guard macros to prevent redefinitions, define them. */
74737 #ifndef _INT8_T
74738 #define _INT8_T
74739 #endif
74740 #ifndef _INT16_T
74741 #define _INT16_T
74742 #endif
74743 #ifndef _INT32_T
74744 #define _INT32_T
74745 #endif
74746 #ifndef _UINT8_T
74747 #define _UINT8_T
74748 #endif
74749 #ifndef _UINT16_T
74750 #define _UINT16_T
74751 #endif
74752 #ifndef _UINT32_T
74753 #define _UINT32_T
74754 #endif
74758 # ------------- done basic int types, emit int64_t types ------------
74759 if test "$ac_cv_type_uint64_t" = yes; then
74760 sed 's/^ *//' >> tmp-stdint.h <<EOF
74762 /* system headers have good uint64_t and int64_t */
74763 #ifndef _INT64_T
74764 #define _INT64_T
74765 #endif
74766 #ifndef _UINT64_T
74767 #define _UINT64_T
74768 #endif
74770 elif test "$ac_cv_type_u_int64_t" = yes; then
74771 sed 's/^ *//' >> tmp-stdint.h <<EOF
74773 /* system headers have an u_int64_t (and int64_t) */
74774 #ifndef _INT64_T
74775 #define _INT64_T
74776 #endif
74777 #ifndef _UINT64_T
74778 #define _UINT64_T
74779 #ifndef __uint64_t_defined
74780 #define __uint64_t_defined
74781 #ifndef uint64_t
74782 typedef u_int64_t uint64_t;
74783 #endif
74784 #endif
74785 #endif
74787 elif test -n "$acx_cv_type_int64_t"; then
74788 sed 's/^ *//' >> tmp-stdint.h <<EOF
74790 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
74791 #ifndef _INT64_T
74792 #define _INT64_T
74793 #ifndef int64_t
74794 typedef $acx_cv_type_int64_t int64_t;
74795 #endif
74796 #endif
74797 #ifndef _UINT64_T
74798 #define _UINT64_T
74799 #ifndef __uint64_t_defined
74800 #define __uint64_t_defined
74801 #ifndef uint64_t
74802 typedef unsigned $acx_cv_type_int64_t uint64_t;
74803 #endif
74804 #endif
74805 #endif
74807 else
74808 sed 's/^ *//' >> tmp-stdint.h <<EOF
74810 /* some common heuristics for int64_t, using compiler-specific tests */
74811 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
74812 #ifndef _INT64_T
74813 #define _INT64_T
74814 #ifndef __int64_t_defined
74815 #ifndef int64_t
74816 typedef long long int64_t;
74817 #endif
74818 #endif
74819 #endif
74820 #ifndef _UINT64_T
74821 #define _UINT64_T
74822 #ifndef uint64_t
74823 typedef unsigned long long uint64_t;
74824 #endif
74825 #endif
74827 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
74828 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
74829 does not implement __extension__. But that compiler doesn't define
74830 __GNUC_MINOR__. */
74831 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
74832 # define __extension__
74833 # endif
74835 # ifndef _INT64_T
74836 # define _INT64_T
74837 # ifndef int64_t
74838 __extension__ typedef long long int64_t;
74839 # endif
74840 # endif
74841 # ifndef _UINT64_T
74842 # define _UINT64_T
74843 # ifndef uint64_t
74844 __extension__ typedef unsigned long long uint64_t;
74845 # endif
74846 # endif
74848 #elif !defined __STRICT_ANSI__
74849 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
74851 # ifndef _INT64_T
74852 # define _INT64_T
74853 # ifndef int64_t
74854 typedef __int64 int64_t;
74855 # endif
74856 # endif
74857 # ifndef _UINT64_T
74858 # define _UINT64_T
74859 # ifndef uint64_t
74860 typedef unsigned __int64 uint64_t;
74861 # endif
74862 # endif
74863 # endif /* compiler */
74865 #endif /* ANSI version */
74869 # ------------- done int64_t types, emit intptr types ------------
74870 if test "$ac_cv_type_uintptr_t" != yes; then
74871 sed 's/^ *//' >> tmp-stdint.h <<EOF
74873 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
74874 #ifndef __uintptr_t_defined
74875 #ifndef uintptr_t
74876 typedef u$acx_cv_type_intptr_t uintptr_t;
74877 #endif
74878 #endif
74879 #ifndef __intptr_t_defined
74880 #ifndef intptr_t
74881 typedef $acx_cv_type_intptr_t intptr_t;
74882 #endif
74883 #endif
74887 # ------------- done intptr types, emit int_least types ------------
74888 if test "$ac_cv_type_int_least32_t" != yes; then
74889 sed 's/^ *//' >> tmp-stdint.h <<EOF
74891 /* Define int_least types */
74892 typedef int8_t int_least8_t;
74893 typedef int16_t int_least16_t;
74894 typedef int32_t int_least32_t;
74895 #ifdef _INT64_T
74896 typedef int64_t int_least64_t;
74897 #endif
74899 typedef uint8_t uint_least8_t;
74900 typedef uint16_t uint_least16_t;
74901 typedef uint32_t uint_least32_t;
74902 #ifdef _UINT64_T
74903 typedef uint64_t uint_least64_t;
74904 #endif
74908 # ------------- done intptr types, emit int_fast types ------------
74909 if test "$ac_cv_type_int_fast32_t" != yes; then
74910 sed 's/^ *//' >> tmp-stdint.h <<EOF
74912 /* Define int_fast types. short is often slow */
74913 typedef int8_t int_fast8_t;
74914 typedef int int_fast16_t;
74915 typedef int32_t int_fast32_t;
74916 #ifdef _INT64_T
74917 typedef int64_t int_fast64_t;
74918 #endif
74920 typedef uint8_t uint_fast8_t;
74921 typedef unsigned int uint_fast16_t;
74922 typedef uint32_t uint_fast32_t;
74923 #ifdef _UINT64_T
74924 typedef uint64_t uint_fast64_t;
74925 #endif
74929 if test "$ac_cv_type_uintmax_t" != yes; then
74930 sed 's/^ *//' >> tmp-stdint.h <<EOF
74932 /* Define intmax based on what we found */
74933 #ifndef intmax_t
74934 #ifdef _INT64_T
74935 typedef int64_t intmax_t;
74936 #else
74937 typedef long intmax_t;
74938 #endif
74939 #endif
74940 #ifndef uintmax_t
74941 #ifdef _UINT64_T
74942 typedef uint64_t uintmax_t;
74943 #else
74944 typedef unsigned long uintmax_t;
74945 #endif
74946 #endif
74950 sed 's/^ *//' >> tmp-stdint.h <<EOF
74952 #endif /* GCC_GENERATED_STDINT_H */
74955 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
74956 rm -f tmp-stdint.h
74957 else
74958 mv -f tmp-stdint.h include/gstdint.h
74962 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
74963 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
74964 "include/Makefile":F) cat > vpsed$$ << \_EOF
74965 s!`test -f '$<' || echo '$(srcdir)/'`!!
74966 _EOF
74967 sed -f vpsed$$ $ac_file > tmp$$
74968 mv tmp$$ $ac_file
74969 rm vpsed$$
74970 echo 'MULTISUBDIR =' >> $ac_file
74971 ml_norecursion=yes
74972 . ${multi_basedir}/config-ml.in
74973 { ml_norecursion=; unset ml_norecursion;}
74975 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
74976 s!`test -f '$<' || echo '$(srcdir)/'`!!
74977 _EOF
74978 sed -f vpsed$$ $ac_file > tmp$$
74979 mv tmp$$ $ac_file
74980 rm vpsed$$
74981 echo 'MULTISUBDIR =' >> $ac_file
74982 ml_norecursion=yes
74983 . ${multi_basedir}/config-ml.in
74984 { ml_norecursion=; unset ml_norecursion;}
74986 "python/Makefile":F) cat > vpsed$$ << \_EOF
74987 s!`test -f '$<' || echo '$(srcdir)/'`!!
74988 _EOF
74989 sed -f vpsed$$ $ac_file > tmp$$
74990 mv tmp$$ $ac_file
74991 rm vpsed$$
74992 echo 'MULTISUBDIR =' >> $ac_file
74993 ml_norecursion=yes
74994 . ${multi_basedir}/config-ml.in
74995 { ml_norecursion=; unset ml_norecursion;}
74997 "src/Makefile":F) cat > vpsed$$ << \_EOF
74998 s!`test -f '$<' || echo '$(srcdir)/'`!!
74999 _EOF
75000 sed -f vpsed$$ $ac_file > tmp$$
75001 mv tmp$$ $ac_file
75002 rm vpsed$$
75003 echo 'MULTISUBDIR =' >> $ac_file
75004 ml_norecursion=yes
75005 . ${multi_basedir}/config-ml.in
75006 { ml_norecursion=; unset ml_norecursion;}
75008 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
75009 s!`test -f '$<' || echo '$(srcdir)/'`!!
75010 _EOF
75011 sed -f vpsed$$ $ac_file > tmp$$
75012 mv tmp$$ $ac_file
75013 rm vpsed$$
75014 echo 'MULTISUBDIR =' >> $ac_file
75015 ml_norecursion=yes
75016 . ${multi_basedir}/config-ml.in
75017 { ml_norecursion=; unset ml_norecursion;}
75019 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
75020 s!`test -f '$<' || echo '$(srcdir)/'`!!
75021 _EOF
75022 sed -f vpsed$$ $ac_file > tmp$$
75023 mv tmp$$ $ac_file
75024 rm vpsed$$
75025 echo 'MULTISUBDIR =' >> $ac_file
75026 ml_norecursion=yes
75027 . ${multi_basedir}/config-ml.in
75028 { ml_norecursion=; unset ml_norecursion;}
75030 "doc/Makefile":F) cat > vpsed$$ << \_EOF
75031 s!`test -f '$<' || echo '$(srcdir)/'`!!
75032 _EOF
75033 sed -f vpsed$$ $ac_file > tmp$$
75034 mv tmp$$ $ac_file
75035 rm vpsed$$
75036 echo 'MULTISUBDIR =' >> $ac_file
75037 ml_norecursion=yes
75038 . ${multi_basedir}/config-ml.in
75039 { ml_norecursion=; unset ml_norecursion;}
75041 "po/Makefile":F) cat > vpsed$$ << \_EOF
75042 s!`test -f '$<' || echo '$(srcdir)/'`!!
75043 _EOF
75044 sed -f vpsed$$ $ac_file > tmp$$
75045 mv tmp$$ $ac_file
75046 rm vpsed$$
75047 echo 'MULTISUBDIR =' >> $ac_file
75048 ml_norecursion=yes
75049 . ${multi_basedir}/config-ml.in
75050 { ml_norecursion=; unset ml_norecursion;}
75052 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
75053 s!`test -f '$<' || echo '$(srcdir)/'`!!
75054 _EOF
75055 sed -f vpsed$$ $ac_file > tmp$$
75056 mv tmp$$ $ac_file
75057 rm vpsed$$
75058 echo 'MULTISUBDIR =' >> $ac_file
75059 ml_norecursion=yes
75060 . ${multi_basedir}/config-ml.in
75061 { ml_norecursion=; unset ml_norecursion;}
75063 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
75065 esac
75066 done # for ac_tag
75069 as_fn_exit 0
75070 _ACEOF
75071 ac_clean_files=$ac_clean_files_save
75073 test $ac_write_fail = 0 ||
75074 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
75077 # configure is writing to config.log, and then calls config.status.
75078 # config.status does its own redirection, appending to config.log.
75079 # Unfortunately, on DOS this fails, as config.log is still kept open
75080 # by configure, so config.status won't be able to write to it; its
75081 # output is simply discarded. So we exec the FD to /dev/null,
75082 # effectively closing config.log, so it can be properly (re)opened and
75083 # appended to by config.status. When coming back to configure, we
75084 # need to make the FD available again.
75085 if test "$no_create" != yes; then
75086 ac_cs_success=:
75087 ac_config_status_args=
75088 test "$silent" = yes &&
75089 ac_config_status_args="$ac_config_status_args --quiet"
75090 exec 5>/dev/null
75091 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
75092 exec 5>>config.log
75093 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
75094 # would make configure fail if this is the last instruction.
75095 $ac_cs_success || as_fn_exit $?
75097 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
75098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
75099 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}