2011-02-19 François Dumont <francois.cppdevs@free.fr>
[official-gcc.git] / libstdc++-v3 / configure
blob53129c673327803a21a3277c8e9d238a2f95cb56
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/ios.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 LIBSUPCXX_PICFLAGS
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_EPUB_FALSE
622 BUILD_EPUB_TRUE
623 DBTOEPUB
624 RUBY
625 BUILD_PDF_FALSE
626 BUILD_PDF_TRUE
627 PDFLATEX
628 DBLATEX
629 BUILD_MAN_FALSE
630 BUILD_MAN_TRUE
631 BUILD_HTML_FALSE
632 BUILD_HTML_TRUE
633 BUILD_XML_FALSE
634 BUILD_XML_TRUE
635 XMLLINT
636 XSLTPROC
638 DOXYGEN
639 BUILD_INFO_FALSE
640 BUILD_INFO_TRUE
641 baseline_dir
642 GLIBCXX_LDBL_COMPAT_FALSE
643 GLIBCXX_LDBL_COMPAT_TRUE
644 ENABLE_VISIBILITY_FALSE
645 ENABLE_VISIBILITY_TRUE
646 ENABLE_SYMVERS_SOL2_FALSE
647 ENABLE_SYMVERS_SOL2_TRUE
648 ENABLE_SYMVERS_SUN_FALSE
649 ENABLE_SYMVERS_SUN_TRUE
650 ENABLE_SYMVERS_DARWIN_FALSE
651 ENABLE_SYMVERS_DARWIN_TRUE
652 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
653 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
654 ENABLE_SYMVERS_GNU_FALSE
655 ENABLE_SYMVERS_GNU_TRUE
656 ENABLE_SYMVERS_FALSE
657 ENABLE_SYMVERS_TRUE
658 port_specific_symbol_files
659 SYMVER_FILE
660 CXXFILT
661 LTLIBICONV
662 LIBICONV
663 OPT_LDFLAGS
664 SECTION_LDFLAGS
665 GLIBCXX_LIBS
666 EXTRA_CXX_FLAGS
667 ENABLE_PARALLEL_FALSE
668 ENABLE_PARALLEL_TRUE
669 GLIBCXX_BUILD_DEBUG_FALSE
670 GLIBCXX_BUILD_DEBUG_TRUE
671 DEBUG_FLAGS
672 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
673 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
674 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
675 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
676 GLIBCXX_C_HEADERS_C_STD_FALSE
677 GLIBCXX_C_HEADERS_C_STD_TRUE
678 GLIBCXX_C_HEADERS_C_FALSE
679 GLIBCXX_C_HEADERS_C_TRUE
680 C_INCLUDE_DIR
681 ALLOCATOR_NAME
682 ALLOCATOR_H
683 CLOCALE_INTERNAL_H
684 CLOCALE_CC
685 CTIME_CC
686 CTIME_H
687 CNUMERIC_CC
688 CMONEY_CC
689 CMESSAGES_CC
690 CCTYPE_CC
691 CCOLLATE_CC
692 CCODECVT_CC
693 CMESSAGES_H
694 CLOCALE_H
695 USE_NLS
696 glibcxx_localedir
697 glibcxx_POFILES
698 glibcxx_MOFILES
699 check_msgfmt
700 BASIC_FILE_CC
701 BASIC_FILE_H
702 CSTDIO_H
703 SECTION_FLAGS
704 WERROR
705 glibcxx_thread_h
706 glibcxx_PCHFLAGS
707 GLIBCXX_BUILD_PCH_FALSE
708 GLIBCXX_BUILD_PCH_TRUE
709 GLIBCXX_HOSTED_FALSE
710 GLIBCXX_HOSTED_TRUE
711 enable_static
712 enable_shared
713 lt_host_flags
714 CXXCPP
715 OTOOL64
716 OTOOL
717 LIPO
718 NMEDIT
719 DSYMUTIL
720 OBJDUMP
722 ac_ct_DUMPBIN
723 DUMPBIN
725 FGREP
727 LIBTOOL
728 EGREP
729 GREP
731 MAINT
732 MAINTAINER_MODE_FALSE
733 MAINTAINER_MODE_TRUE
734 RANLIB
737 LN_S
738 toplevel_srcdir
739 glibcxx_srcdir
740 glibcxx_builddir
741 ac_ct_CXX
742 CXXFLAGS
744 OBJEXT
745 EXEEXT
746 ac_ct_CC
747 CPPFLAGS
748 LDFLAGS
749 CFLAGS
751 am__untar
752 am__tar
753 AMTAR
754 am__leading_dot
755 SET_MAKE
757 mkdir_p
758 MKDIR_P
759 INSTALL_STRIP_PROGRAM
760 STRIP
761 install_sh
762 MAKEINFO
763 AUTOHEADER
764 AUTOMAKE
765 AUTOCONF
766 ACLOCAL
767 VERSION
768 PACKAGE
769 CYGPATH_W
770 am__isrc
771 INSTALL_DATA
772 INSTALL_SCRIPT
773 INSTALL_PROGRAM
774 target_os
775 target_vendor
776 target_cpu
777 target
778 host_os
779 host_vendor
780 host_cpu
781 host
782 build_os
783 build_vendor
784 build_cpu
785 build
786 multi_basedir
787 libtool_VERSION
788 target_alias
789 host_alias
790 build_alias
791 LIBS
792 ECHO_T
793 ECHO_N
794 ECHO_C
795 DEFS
796 mandir
797 localedir
798 libdir
799 psdir
800 pdfdir
801 dvidir
802 htmldir
803 infodir
804 docdir
805 oldincludedir
806 includedir
807 localstatedir
808 sharedstatedir
809 sysconfdir
810 datadir
811 datarootdir
812 libexecdir
813 sbindir
814 bindir
815 program_transform_name
816 prefix
817 exec_prefix
818 PACKAGE_URL
819 PACKAGE_BUGREPORT
820 PACKAGE_STRING
821 PACKAGE_VERSION
822 PACKAGE_TARNAME
823 PACKAGE_NAME
824 PATH_SEPARATOR
825 SHELL'
826 ac_subst_files=''
827 ac_user_opts='
828 enable_option_checking
829 enable_multilib
830 with_target_subdir
831 with_cross_host
832 with_newlib
833 enable_maintainer_mode
834 enable_shared
835 enable_static
836 with_pic
837 enable_fast_install
838 with_gnu_ld
839 enable_libtool_lock
840 enable_hosted_libstdcxx
841 enable_sjlj_exceptions
842 enable_libstdcxx_pch
843 enable_cstdio
844 enable_clocale
845 enable_nls
846 enable_libstdcxx_allocator
847 enable_cheaders
848 enable_long_long
849 enable_wchar_t
850 enable_c99
851 enable_concept_checks
852 enable_libstdcxx_debug_flags
853 enable_libstdcxx_debug
854 enable_cxx_flags
855 enable_fully_dynamic_string
856 enable_libstdcxx_time
857 enable_tls
858 enable_rpath
859 with_libiconv_prefix
860 with_system_libunwind
861 enable_linux_futex
862 enable_symvers
863 enable_visibility
864 with_gxx_include_dir
865 enable_version_specific_runtime_libs
867 ac_precious_vars='build_alias
868 host_alias
869 target_alias
871 CFLAGS
872 LDFLAGS
873 LIBS
874 CPPFLAGS
876 CXXFLAGS
879 CXXCPP
880 CXXFILT'
883 # Initialize some variables set by options.
884 ac_init_help=
885 ac_init_version=false
886 ac_unrecognized_opts=
887 ac_unrecognized_sep=
888 # The variables have the same names as the options, with
889 # dashes changed to underlines.
890 cache_file=/dev/null
891 exec_prefix=NONE
892 no_create=
893 no_recursion=
894 prefix=NONE
895 program_prefix=NONE
896 program_suffix=NONE
897 program_transform_name=s,x,x,
898 silent=
899 site=
900 srcdir=
901 verbose=
902 x_includes=NONE
903 x_libraries=NONE
905 # Installation directory options.
906 # These are left unexpanded so users can "make install exec_prefix=/foo"
907 # and all the variables that are supposed to be based on exec_prefix
908 # by default will actually change.
909 # Use braces instead of parens because sh, perl, etc. also accept them.
910 # (The list follows the same order as the GNU Coding Standards.)
911 bindir='${exec_prefix}/bin'
912 sbindir='${exec_prefix}/sbin'
913 libexecdir='${exec_prefix}/libexec'
914 datarootdir='${prefix}/share'
915 datadir='${datarootdir}'
916 sysconfdir='${prefix}/etc'
917 sharedstatedir='${prefix}/com'
918 localstatedir='${prefix}/var'
919 includedir='${prefix}/include'
920 oldincludedir='/usr/include'
921 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
922 infodir='${datarootdir}/info'
923 htmldir='${docdir}'
924 dvidir='${docdir}'
925 pdfdir='${docdir}'
926 psdir='${docdir}'
927 libdir='${exec_prefix}/lib'
928 localedir='${datarootdir}/locale'
929 mandir='${datarootdir}/man'
931 ac_prev=
932 ac_dashdash=
933 for ac_option
935 # If the previous option needs an argument, assign it.
936 if test -n "$ac_prev"; then
937 eval $ac_prev=\$ac_option
938 ac_prev=
939 continue
942 case $ac_option in
943 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
944 *) ac_optarg=yes ;;
945 esac
947 # Accept the important Cygnus configure options, so we can diagnose typos.
949 case $ac_dashdash$ac_option in
951 ac_dashdash=yes ;;
953 -bindir | --bindir | --bindi | --bind | --bin | --bi)
954 ac_prev=bindir ;;
955 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
956 bindir=$ac_optarg ;;
958 -build | --build | --buil | --bui | --bu)
959 ac_prev=build_alias ;;
960 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
961 build_alias=$ac_optarg ;;
963 -cache-file | --cache-file | --cache-fil | --cache-fi \
964 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
965 ac_prev=cache_file ;;
966 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
967 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
968 cache_file=$ac_optarg ;;
970 --config-cache | -C)
971 cache_file=config.cache ;;
973 -datadir | --datadir | --datadi | --datad)
974 ac_prev=datadir ;;
975 -datadir=* | --datadir=* | --datadi=* | --datad=*)
976 datadir=$ac_optarg ;;
978 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
979 | --dataroo | --dataro | --datar)
980 ac_prev=datarootdir ;;
981 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
982 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
983 datarootdir=$ac_optarg ;;
985 -disable-* | --disable-*)
986 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
987 # Reject names that are not valid shell variable names.
988 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
989 as_fn_error "invalid feature name: $ac_useropt"
990 ac_useropt_orig=$ac_useropt
991 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
992 case $ac_user_opts in
994 "enable_$ac_useropt"
995 "*) ;;
996 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
997 ac_unrecognized_sep=', ';;
998 esac
999 eval enable_$ac_useropt=no ;;
1001 -docdir | --docdir | --docdi | --doc | --do)
1002 ac_prev=docdir ;;
1003 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1004 docdir=$ac_optarg ;;
1006 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1007 ac_prev=dvidir ;;
1008 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1009 dvidir=$ac_optarg ;;
1011 -enable-* | --enable-*)
1012 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1013 # Reject names that are not valid shell variable names.
1014 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1015 as_fn_error "invalid feature name: $ac_useropt"
1016 ac_useropt_orig=$ac_useropt
1017 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1018 case $ac_user_opts in
1020 "enable_$ac_useropt"
1021 "*) ;;
1022 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1023 ac_unrecognized_sep=', ';;
1024 esac
1025 eval enable_$ac_useropt=\$ac_optarg ;;
1027 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1028 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1029 | --exec | --exe | --ex)
1030 ac_prev=exec_prefix ;;
1031 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1032 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1033 | --exec=* | --exe=* | --ex=*)
1034 exec_prefix=$ac_optarg ;;
1036 -gas | --gas | --ga | --g)
1037 # Obsolete; use --with-gas.
1038 with_gas=yes ;;
1040 -help | --help | --hel | --he | -h)
1041 ac_init_help=long ;;
1042 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1043 ac_init_help=recursive ;;
1044 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1045 ac_init_help=short ;;
1047 -host | --host | --hos | --ho)
1048 ac_prev=host_alias ;;
1049 -host=* | --host=* | --hos=* | --ho=*)
1050 host_alias=$ac_optarg ;;
1052 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1053 ac_prev=htmldir ;;
1054 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1055 | --ht=*)
1056 htmldir=$ac_optarg ;;
1058 -includedir | --includedir | --includedi | --included | --include \
1059 | --includ | --inclu | --incl | --inc)
1060 ac_prev=includedir ;;
1061 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1062 | --includ=* | --inclu=* | --incl=* | --inc=*)
1063 includedir=$ac_optarg ;;
1065 -infodir | --infodir | --infodi | --infod | --info | --inf)
1066 ac_prev=infodir ;;
1067 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1068 infodir=$ac_optarg ;;
1070 -libdir | --libdir | --libdi | --libd)
1071 ac_prev=libdir ;;
1072 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1073 libdir=$ac_optarg ;;
1075 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1076 | --libexe | --libex | --libe)
1077 ac_prev=libexecdir ;;
1078 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1079 | --libexe=* | --libex=* | --libe=*)
1080 libexecdir=$ac_optarg ;;
1082 -localedir | --localedir | --localedi | --localed | --locale)
1083 ac_prev=localedir ;;
1084 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1085 localedir=$ac_optarg ;;
1087 -localstatedir | --localstatedir | --localstatedi | --localstated \
1088 | --localstate | --localstat | --localsta | --localst | --locals)
1089 ac_prev=localstatedir ;;
1090 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1091 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1092 localstatedir=$ac_optarg ;;
1094 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1095 ac_prev=mandir ;;
1096 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1097 mandir=$ac_optarg ;;
1099 -nfp | --nfp | --nf)
1100 # Obsolete; use --without-fp.
1101 with_fp=no ;;
1103 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1104 | --no-cr | --no-c | -n)
1105 no_create=yes ;;
1107 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1108 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1109 no_recursion=yes ;;
1111 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1112 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1113 | --oldin | --oldi | --old | --ol | --o)
1114 ac_prev=oldincludedir ;;
1115 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1116 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1117 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1118 oldincludedir=$ac_optarg ;;
1120 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1121 ac_prev=prefix ;;
1122 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1123 prefix=$ac_optarg ;;
1125 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1126 | --program-pre | --program-pr | --program-p)
1127 ac_prev=program_prefix ;;
1128 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1129 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1130 program_prefix=$ac_optarg ;;
1132 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1133 | --program-suf | --program-su | --program-s)
1134 ac_prev=program_suffix ;;
1135 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1136 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1137 program_suffix=$ac_optarg ;;
1139 -program-transform-name | --program-transform-name \
1140 | --program-transform-nam | --program-transform-na \
1141 | --program-transform-n | --program-transform- \
1142 | --program-transform | --program-transfor \
1143 | --program-transfo | --program-transf \
1144 | --program-trans | --program-tran \
1145 | --progr-tra | --program-tr | --program-t)
1146 ac_prev=program_transform_name ;;
1147 -program-transform-name=* | --program-transform-name=* \
1148 | --program-transform-nam=* | --program-transform-na=* \
1149 | --program-transform-n=* | --program-transform-=* \
1150 | --program-transform=* | --program-transfor=* \
1151 | --program-transfo=* | --program-transf=* \
1152 | --program-trans=* | --program-tran=* \
1153 | --progr-tra=* | --program-tr=* | --program-t=*)
1154 program_transform_name=$ac_optarg ;;
1156 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1157 ac_prev=pdfdir ;;
1158 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1159 pdfdir=$ac_optarg ;;
1161 -psdir | --psdir | --psdi | --psd | --ps)
1162 ac_prev=psdir ;;
1163 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1164 psdir=$ac_optarg ;;
1166 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1167 | -silent | --silent | --silen | --sile | --sil)
1168 silent=yes ;;
1170 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1171 ac_prev=sbindir ;;
1172 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1173 | --sbi=* | --sb=*)
1174 sbindir=$ac_optarg ;;
1176 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1177 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1178 | --sharedst | --shareds | --shared | --share | --shar \
1179 | --sha | --sh)
1180 ac_prev=sharedstatedir ;;
1181 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1182 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1183 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1184 | --sha=* | --sh=*)
1185 sharedstatedir=$ac_optarg ;;
1187 -site | --site | --sit)
1188 ac_prev=site ;;
1189 -site=* | --site=* | --sit=*)
1190 site=$ac_optarg ;;
1192 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1193 ac_prev=srcdir ;;
1194 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1195 srcdir=$ac_optarg ;;
1197 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1198 | --syscon | --sysco | --sysc | --sys | --sy)
1199 ac_prev=sysconfdir ;;
1200 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1201 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1202 sysconfdir=$ac_optarg ;;
1204 -target | --target | --targe | --targ | --tar | --ta | --t)
1205 ac_prev=target_alias ;;
1206 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1207 target_alias=$ac_optarg ;;
1209 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1210 verbose=yes ;;
1212 -version | --version | --versio | --versi | --vers | -V)
1213 ac_init_version=: ;;
1215 -with-* | --with-*)
1216 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1217 # Reject names that are not valid shell variable names.
1218 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1219 as_fn_error "invalid package name: $ac_useropt"
1220 ac_useropt_orig=$ac_useropt
1221 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1222 case $ac_user_opts in
1224 "with_$ac_useropt"
1225 "*) ;;
1226 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1227 ac_unrecognized_sep=', ';;
1228 esac
1229 eval with_$ac_useropt=\$ac_optarg ;;
1231 -without-* | --without-*)
1232 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1233 # Reject names that are not valid shell variable names.
1234 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1235 as_fn_error "invalid package name: $ac_useropt"
1236 ac_useropt_orig=$ac_useropt
1237 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1238 case $ac_user_opts in
1240 "with_$ac_useropt"
1241 "*) ;;
1242 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1243 ac_unrecognized_sep=', ';;
1244 esac
1245 eval with_$ac_useropt=no ;;
1247 --x)
1248 # Obsolete; use --with-x.
1249 with_x=yes ;;
1251 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1252 | --x-incl | --x-inc | --x-in | --x-i)
1253 ac_prev=x_includes ;;
1254 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1255 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1256 x_includes=$ac_optarg ;;
1258 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1259 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1260 ac_prev=x_libraries ;;
1261 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1262 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1263 x_libraries=$ac_optarg ;;
1265 -*) as_fn_error "unrecognized option: \`$ac_option'
1266 Try \`$0 --help' for more information."
1269 *=*)
1270 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1271 # Reject names that are not valid shell variable names.
1272 case $ac_envvar in #(
1273 '' | [0-9]* | *[!_$as_cr_alnum]* )
1274 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1275 esac
1276 eval $ac_envvar=\$ac_optarg
1277 export $ac_envvar ;;
1280 # FIXME: should be removed in autoconf 3.0.
1281 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1282 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1283 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1284 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1287 esac
1288 done
1290 if test -n "$ac_prev"; then
1291 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1292 as_fn_error "missing argument to $ac_option"
1295 if test -n "$ac_unrecognized_opts"; then
1296 case $enable_option_checking in
1297 no) ;;
1298 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1299 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1300 esac
1303 # Check all directory arguments for consistency.
1304 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1305 datadir sysconfdir sharedstatedir localstatedir includedir \
1306 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1307 libdir localedir mandir
1309 eval ac_val=\$$ac_var
1310 # Remove trailing slashes.
1311 case $ac_val in
1312 */ )
1313 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1314 eval $ac_var=\$ac_val;;
1315 esac
1316 # Be sure to have absolute directory names.
1317 case $ac_val in
1318 [\\/$]* | ?:[\\/]* ) continue;;
1319 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1320 esac
1321 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1322 done
1324 # There might be people who depend on the old broken behavior: `$host'
1325 # used to hold the argument of --host etc.
1326 # FIXME: To remove some day.
1327 build=$build_alias
1328 host=$host_alias
1329 target=$target_alias
1331 # FIXME: To remove some day.
1332 if test "x$host_alias" != x; then
1333 if test "x$build_alias" = x; then
1334 cross_compiling=maybe
1335 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1336 If a cross compiler is detected then cross compile mode will be used." >&2
1337 elif test "x$build_alias" != "x$host_alias"; then
1338 cross_compiling=yes
1342 ac_tool_prefix=
1343 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1345 test "$silent" = yes && exec 6>/dev/null
1348 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1349 ac_ls_di=`ls -di .` &&
1350 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1351 as_fn_error "working directory cannot be determined"
1352 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1353 as_fn_error "pwd does not report name of working directory"
1356 # Find the source files, if location was not specified.
1357 if test -z "$srcdir"; then
1358 ac_srcdir_defaulted=yes
1359 # Try the directory containing this script, then the parent directory.
1360 ac_confdir=`$as_dirname -- "$as_myself" ||
1361 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1362 X"$as_myself" : 'X\(//\)[^/]' \| \
1363 X"$as_myself" : 'X\(//\)$' \| \
1364 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1365 $as_echo X"$as_myself" |
1366 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1367 s//\1/
1370 /^X\(\/\/\)[^/].*/{
1371 s//\1/
1374 /^X\(\/\/\)$/{
1375 s//\1/
1378 /^X\(\/\).*/{
1379 s//\1/
1382 s/.*/./; q'`
1383 srcdir=$ac_confdir
1384 if test ! -r "$srcdir/$ac_unique_file"; then
1385 srcdir=..
1387 else
1388 ac_srcdir_defaulted=no
1390 if test ! -r "$srcdir/$ac_unique_file"; then
1391 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1392 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1394 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1395 ac_abs_confdir=`(
1396 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1397 pwd)`
1398 # When building in place, set srcdir=.
1399 if test "$ac_abs_confdir" = "$ac_pwd"; then
1400 srcdir=.
1402 # Remove unnecessary trailing slashes from srcdir.
1403 # Double slashes in file names in object file debugging info
1404 # mess up M-x gdb in Emacs.
1405 case $srcdir in
1406 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1407 esac
1408 for ac_var in $ac_precious_vars; do
1409 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1410 eval ac_env_${ac_var}_value=\$${ac_var}
1411 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1412 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1413 done
1416 # Report the --help message.
1418 if test "$ac_init_help" = "long"; then
1419 # Omit some internal or obsolete options to make the list less imposing.
1420 # This message is too long to be a string in the A/UX 3.1 sh.
1421 cat <<_ACEOF
1422 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1424 Usage: $0 [OPTION]... [VAR=VALUE]...
1426 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1427 VAR=VALUE. See below for descriptions of some of the useful variables.
1429 Defaults for the options are specified in brackets.
1431 Configuration:
1432 -h, --help display this help and exit
1433 --help=short display options specific to this package
1434 --help=recursive display the short help of all the included packages
1435 -V, --version display version information and exit
1436 -q, --quiet, --silent do not print \`checking...' messages
1437 --cache-file=FILE cache test results in FILE [disabled]
1438 -C, --config-cache alias for \`--cache-file=config.cache'
1439 -n, --no-create do not create output files
1440 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1442 Installation directories:
1443 --prefix=PREFIX install architecture-independent files in PREFIX
1444 [$ac_default_prefix]
1445 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1446 [PREFIX]
1448 By default, \`make install' will install all the files in
1449 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1450 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1451 for instance \`--prefix=\$HOME'.
1453 For better control, use the options below.
1455 Fine tuning of the installation directories:
1456 --bindir=DIR user executables [EPREFIX/bin]
1457 --sbindir=DIR system admin executables [EPREFIX/sbin]
1458 --libexecdir=DIR program executables [EPREFIX/libexec]
1459 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1460 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1461 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1462 --libdir=DIR object code libraries [EPREFIX/lib]
1463 --includedir=DIR C header files [PREFIX/include]
1464 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1465 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1466 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1467 --infodir=DIR info documentation [DATAROOTDIR/info]
1468 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1469 --mandir=DIR man documentation [DATAROOTDIR/man]
1470 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1471 --htmldir=DIR html documentation [DOCDIR]
1472 --dvidir=DIR dvi documentation [DOCDIR]
1473 --pdfdir=DIR pdf documentation [DOCDIR]
1474 --psdir=DIR ps documentation [DOCDIR]
1475 _ACEOF
1477 cat <<\_ACEOF
1479 Program names:
1480 --program-prefix=PREFIX prepend PREFIX to installed program names
1481 --program-suffix=SUFFIX append SUFFIX to installed program names
1482 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1484 System types:
1485 --build=BUILD configure for building on BUILD [guessed]
1486 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1487 --target=TARGET configure for building compilers for TARGET [HOST]
1488 _ACEOF
1491 if test -n "$ac_init_help"; then
1492 case $ac_init_help in
1493 short | recursive ) echo "Configuration of package-unused version-unused:";;
1494 esac
1495 cat <<\_ACEOF
1497 Optional Features:
1498 --disable-option-checking ignore unrecognized --enable/--with options
1499 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1500 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1501 --enable-multilib build many library versions (default)
1502 --enable-maintainer-mode enable make rules and dependencies not useful
1503 (and sometimes confusing) to the casual installer
1504 --enable-shared[=PKGS] build shared libraries [default=yes]
1505 --enable-static[=PKGS] build static libraries [default=yes]
1506 --enable-fast-install[=PKGS]
1507 optimize for fast installation [default=yes]
1508 --disable-libtool-lock avoid locking (might break parallel builds)
1509 --disable-hosted-libstdcxx
1510 only build freestanding C++ runtime support
1511 --enable-sjlj-exceptions
1512 force use of builtin_setjmp for exceptions
1513 [default=auto]
1514 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1515 [default=$is_hosted]
1516 --enable-cstdio[=PACKAGE]
1517 use target-specific I/O package [default=stdio]
1518 --enable-clocale[=MODEL]
1519 use MODEL for target locale package [default=auto]
1520 --enable-nls use Native Language Support (default)
1521 --enable-libstdcxx-allocator[=KIND]
1522 use KIND for target std::allocator base
1523 [default=auto]
1524 --enable-cheaders[=KIND]
1525 construct "C" headers for g++ [default=$c_model]
1526 --enable-long-long enable template specializations for 'long long'
1527 [default=yes]
1528 --enable-wchar_t enable template specializations for 'wchar_t'
1529 [default=yes]
1530 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1531 --enable-concept-checks use Boost-derived template checks [default=no]
1532 --enable-libstdcxx-debug-flags=FLAGS
1533 pass compiler FLAGS when building debug library
1534 [default="-g3 -O0"]
1535 --enable-libstdcxx-debug
1536 build extra debug library [default=no]
1537 --enable-cxx-flags=FLAGS
1538 pass compiler FLAGS when building library [default=]
1539 --enable-fully-dynamic-string
1540 do not put empty strings in per-process static
1541 memory [default=no]
1542 --enable-libstdcxx-time[=KIND]
1543 use KIND for check type [default=no]
1544 --enable-tls Use thread-local storage [default=yes]
1545 --disable-rpath do not hardcode runtime library paths
1546 --enable-linux-futex use the Linux futex system call [default=default]
1547 --enable-symvers[=STYLE]
1548 enables symbol versioning of the shared library
1549 [default=yes]
1550 --enable-visibility enables visibility safe usage [default=yes]
1551 --enable-version-specific-runtime-libs
1552 Specify that runtime libraries should be installed
1553 in a compiler-specific directory
1555 Optional Packages:
1556 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1557 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1558 --with-target-subdir=SUBDIR
1559 configuring in a subdirectory
1560 --with-cross-host=HOST configuring with a cross compiler
1561 --with-newlib assume newlib as a system C library
1562 --with-pic try to use only PIC/non-PIC objects [default=use
1563 both]
1564 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1565 --with-gnu-ld assume the C compiler uses GNU ld default=no
1566 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1567 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1568 --with-system-libunwind use installed libunwind
1569 --with-gxx-include-dir=DIR
1570 installation directory for include files
1572 Some influential environment variables:
1573 CC C compiler command
1574 CFLAGS C compiler flags
1575 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1576 nonstandard directory <lib dir>
1577 LIBS libraries to pass to the linker, e.g. -l<library>
1578 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1579 you have headers in a nonstandard directory <include dir>
1580 CXX C++ compiler command
1581 CXXFLAGS C++ compiler flags
1582 CPP C preprocessor
1583 CXXCPP C++ preprocessor
1584 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1585 `c++filt', `gc++filt' on PATH.
1587 Use these variables to override the choices made by `configure' or to help
1588 it to find libraries and programs with nonstandard names/locations.
1590 Report bugs to the package provider.
1591 _ACEOF
1592 ac_status=$?
1595 if test "$ac_init_help" = "recursive"; then
1596 # If there are subdirs, report their specific --help.
1597 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1598 test -d "$ac_dir" ||
1599 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1600 continue
1601 ac_builddir=.
1603 case "$ac_dir" in
1604 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1606 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1607 # A ".." for each directory in $ac_dir_suffix.
1608 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1609 case $ac_top_builddir_sub in
1610 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1611 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1612 esac ;;
1613 esac
1614 ac_abs_top_builddir=$ac_pwd
1615 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1616 # for backward compatibility:
1617 ac_top_builddir=$ac_top_build_prefix
1619 case $srcdir in
1620 .) # We are building in place.
1621 ac_srcdir=.
1622 ac_top_srcdir=$ac_top_builddir_sub
1623 ac_abs_top_srcdir=$ac_pwd ;;
1624 [\\/]* | ?:[\\/]* ) # Absolute name.
1625 ac_srcdir=$srcdir$ac_dir_suffix;
1626 ac_top_srcdir=$srcdir
1627 ac_abs_top_srcdir=$srcdir ;;
1628 *) # Relative name.
1629 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1630 ac_top_srcdir=$ac_top_build_prefix$srcdir
1631 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1632 esac
1633 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1635 cd "$ac_dir" || { ac_status=$?; continue; }
1636 # Check for guested configure.
1637 if test -f "$ac_srcdir/configure.gnu"; then
1638 echo &&
1639 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1640 elif test -f "$ac_srcdir/configure"; then
1641 echo &&
1642 $SHELL "$ac_srcdir/configure" --help=recursive
1643 else
1644 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1645 fi || ac_status=$?
1646 cd "$ac_pwd" || { ac_status=$?; break; }
1647 done
1650 test -n "$ac_init_help" && exit $ac_status
1651 if $ac_init_version; then
1652 cat <<\_ACEOF
1653 package-unused configure version-unused
1654 generated by GNU Autoconf 2.64
1656 Copyright (C) 2009 Free Software Foundation, Inc.
1657 This configure script is free software; the Free Software Foundation
1658 gives unlimited permission to copy, distribute and modify it.
1659 _ACEOF
1660 exit
1663 ## ------------------------ ##
1664 ## Autoconf initialization. ##
1665 ## ------------------------ ##
1667 # ac_fn_c_try_compile LINENO
1668 # --------------------------
1669 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1670 ac_fn_c_try_compile ()
1672 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1673 rm -f conftest.$ac_objext
1674 if { { ac_try="$ac_compile"
1675 case "(($ac_try" in
1676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1677 *) ac_try_echo=$ac_try;;
1678 esac
1679 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1680 $as_echo "$ac_try_echo"; } >&5
1681 (eval "$ac_compile") 2>conftest.err
1682 ac_status=$?
1683 if test -s conftest.err; then
1684 grep -v '^ *+' conftest.err >conftest.er1
1685 cat conftest.er1 >&5
1686 mv -f conftest.er1 conftest.err
1688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1689 test $ac_status = 0; } && {
1690 test -z "$ac_c_werror_flag" ||
1691 test ! -s conftest.err
1692 } && test -s conftest.$ac_objext; then :
1693 ac_retval=0
1694 else
1695 $as_echo "$as_me: failed program was:" >&5
1696 sed 's/^/| /' conftest.$ac_ext >&5
1698 ac_retval=1
1700 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1701 return $ac_retval
1703 } # ac_fn_c_try_compile
1705 # ac_fn_cxx_try_compile LINENO
1706 # ----------------------------
1707 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1708 ac_fn_cxx_try_compile ()
1710 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1711 rm -f conftest.$ac_objext
1712 if { { ac_try="$ac_compile"
1713 case "(($ac_try" in
1714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1715 *) ac_try_echo=$ac_try;;
1716 esac
1717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1718 $as_echo "$ac_try_echo"; } >&5
1719 (eval "$ac_compile") 2>conftest.err
1720 ac_status=$?
1721 if test -s conftest.err; then
1722 grep -v '^ *+' conftest.err >conftest.er1
1723 cat conftest.er1 >&5
1724 mv -f conftest.er1 conftest.err
1726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1727 test $ac_status = 0; } && {
1728 test -z "$ac_cxx_werror_flag" ||
1729 test ! -s conftest.err
1730 } && test -s conftest.$ac_objext; then :
1731 ac_retval=0
1732 else
1733 $as_echo "$as_me: failed program was:" >&5
1734 sed 's/^/| /' conftest.$ac_ext >&5
1736 ac_retval=1
1738 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1739 return $ac_retval
1741 } # ac_fn_cxx_try_compile
1743 # ac_fn_c_try_cpp LINENO
1744 # ----------------------
1745 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1746 ac_fn_c_try_cpp ()
1748 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1749 if { { ac_try="$ac_cpp conftest.$ac_ext"
1750 case "(($ac_try" in
1751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1752 *) ac_try_echo=$ac_try;;
1753 esac
1754 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1755 $as_echo "$ac_try_echo"; } >&5
1756 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1757 ac_status=$?
1758 if test -s conftest.err; then
1759 grep -v '^ *+' conftest.err >conftest.er1
1760 cat conftest.er1 >&5
1761 mv -f conftest.er1 conftest.err
1763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1764 test $ac_status = 0; } >/dev/null && {
1765 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1766 test ! -s conftest.err
1767 }; then :
1768 ac_retval=0
1769 else
1770 $as_echo "$as_me: failed program was:" >&5
1771 sed 's/^/| /' conftest.$ac_ext >&5
1773 ac_retval=1
1775 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1776 return $ac_retval
1778 } # ac_fn_c_try_cpp
1780 # ac_fn_c_try_link LINENO
1781 # -----------------------
1782 # Try to link conftest.$ac_ext, and return whether this succeeded.
1783 ac_fn_c_try_link ()
1785 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1786 rm -f conftest.$ac_objext conftest$ac_exeext
1787 if { { ac_try="$ac_link"
1788 case "(($ac_try" in
1789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1790 *) ac_try_echo=$ac_try;;
1791 esac
1792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1793 $as_echo "$ac_try_echo"; } >&5
1794 (eval "$ac_link") 2>conftest.err
1795 ac_status=$?
1796 if test -s conftest.err; then
1797 grep -v '^ *+' conftest.err >conftest.er1
1798 cat conftest.er1 >&5
1799 mv -f conftest.er1 conftest.err
1801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1802 test $ac_status = 0; } && {
1803 test -z "$ac_c_werror_flag" ||
1804 test ! -s conftest.err
1805 } && test -s conftest$ac_exeext && {
1806 test "$cross_compiling" = yes ||
1807 $as_test_x conftest$ac_exeext
1808 }; then :
1809 ac_retval=0
1810 else
1811 $as_echo "$as_me: failed program was:" >&5
1812 sed 's/^/| /' conftest.$ac_ext >&5
1814 ac_retval=1
1816 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1817 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1818 # interfere with the next link command; also delete a directory that is
1819 # left behind by Apple's compiler. We do this before executing the actions.
1820 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1821 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1822 return $ac_retval
1824 } # ac_fn_c_try_link
1826 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1827 # -------------------------------------------------------
1828 # Tests whether HEADER exists and can be compiled using the include files in
1829 # INCLUDES, setting the cache variable VAR accordingly.
1830 ac_fn_c_check_header_compile ()
1832 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1834 $as_echo_n "checking for $2... " >&6; }
1835 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1836 $as_echo_n "(cached) " >&6
1837 else
1838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1839 /* end confdefs.h. */
1841 #include <$2>
1842 _ACEOF
1843 if ac_fn_c_try_compile "$LINENO"; then :
1844 eval "$3=yes"
1845 else
1846 eval "$3=no"
1848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1850 eval ac_res=\$$3
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1852 $as_echo "$ac_res" >&6; }
1853 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1855 } # ac_fn_c_check_header_compile
1857 # ac_fn_c_try_run LINENO
1858 # ----------------------
1859 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1860 # that executables *can* be run.
1861 ac_fn_c_try_run ()
1863 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1864 if { { ac_try="$ac_link"
1865 case "(($ac_try" in
1866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1867 *) ac_try_echo=$ac_try;;
1868 esac
1869 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1870 $as_echo "$ac_try_echo"; } >&5
1871 (eval "$ac_link") 2>&5
1872 ac_status=$?
1873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1874 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1875 { { case "(($ac_try" in
1876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1877 *) ac_try_echo=$ac_try;;
1878 esac
1879 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1880 $as_echo "$ac_try_echo"; } >&5
1881 (eval "$ac_try") 2>&5
1882 ac_status=$?
1883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1884 test $ac_status = 0; }; }; then :
1885 ac_retval=0
1886 else
1887 $as_echo "$as_me: program exited with status $ac_status" >&5
1888 $as_echo "$as_me: failed program was:" >&5
1889 sed 's/^/| /' conftest.$ac_ext >&5
1891 ac_retval=$ac_status
1893 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1894 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1895 return $ac_retval
1897 } # ac_fn_c_try_run
1899 # ac_fn_c_check_func LINENO FUNC VAR
1900 # ----------------------------------
1901 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1902 ac_fn_c_check_func ()
1904 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1906 $as_echo_n "checking for $2... " >&6; }
1907 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1908 $as_echo_n "(cached) " >&6
1909 else
1910 if test x$gcc_no_link = xyes; then
1911 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1914 /* end confdefs.h. */
1915 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1917 #define $2 innocuous_$2
1919 /* System header to define __stub macros and hopefully few prototypes,
1920 which can conflict with char $2 (); below.
1921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1922 <limits.h> exists even on freestanding compilers. */
1924 #ifdef __STDC__
1925 # include <limits.h>
1926 #else
1927 # include <assert.h>
1928 #endif
1930 #undef $2
1932 /* Override any GCC internal prototype to avoid an error.
1933 Use char because int might match the return type of a GCC
1934 builtin and then its argument prototype would still apply. */
1935 #ifdef __cplusplus
1936 extern "C"
1937 #endif
1938 char $2 ();
1939 /* The GNU C library defines this for functions which it implements
1940 to always fail with ENOSYS. Some functions are actually named
1941 something starting with __ and the normal name is an alias. */
1942 #if defined __stub_$2 || defined __stub___$2
1943 choke me
1944 #endif
1947 main ()
1949 return $2 ();
1951 return 0;
1953 _ACEOF
1954 if ac_fn_c_try_link "$LINENO"; then :
1955 eval "$3=yes"
1956 else
1957 eval "$3=no"
1959 rm -f core conftest.err conftest.$ac_objext \
1960 conftest$ac_exeext conftest.$ac_ext
1962 eval ac_res=\$$3
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1964 $as_echo "$ac_res" >&6; }
1965 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1967 } # ac_fn_c_check_func
1969 # ac_fn_cxx_try_cpp LINENO
1970 # ------------------------
1971 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1972 ac_fn_cxx_try_cpp ()
1974 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1975 if { { ac_try="$ac_cpp conftest.$ac_ext"
1976 case "(($ac_try" in
1977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1978 *) ac_try_echo=$ac_try;;
1979 esac
1980 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1981 $as_echo "$ac_try_echo"; } >&5
1982 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1983 ac_status=$?
1984 if test -s conftest.err; then
1985 grep -v '^ *+' conftest.err >conftest.er1
1986 cat conftest.er1 >&5
1987 mv -f conftest.er1 conftest.err
1989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1990 test $ac_status = 0; } >/dev/null && {
1991 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1992 test ! -s conftest.err
1993 }; then :
1994 ac_retval=0
1995 else
1996 $as_echo "$as_me: failed program was:" >&5
1997 sed 's/^/| /' conftest.$ac_ext >&5
1999 ac_retval=1
2001 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2002 return $ac_retval
2004 } # ac_fn_cxx_try_cpp
2006 # ac_fn_cxx_try_link LINENO
2007 # -------------------------
2008 # Try to link conftest.$ac_ext, and return whether this succeeded.
2009 ac_fn_cxx_try_link ()
2011 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2012 rm -f conftest.$ac_objext conftest$ac_exeext
2013 if { { ac_try="$ac_link"
2014 case "(($ac_try" in
2015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2016 *) ac_try_echo=$ac_try;;
2017 esac
2018 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2019 $as_echo "$ac_try_echo"; } >&5
2020 (eval "$ac_link") 2>conftest.err
2021 ac_status=$?
2022 if test -s conftest.err; then
2023 grep -v '^ *+' conftest.err >conftest.er1
2024 cat conftest.er1 >&5
2025 mv -f conftest.er1 conftest.err
2027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2028 test $ac_status = 0; } && {
2029 test -z "$ac_cxx_werror_flag" ||
2030 test ! -s conftest.err
2031 } && test -s conftest$ac_exeext && {
2032 test "$cross_compiling" = yes ||
2033 $as_test_x conftest$ac_exeext
2034 }; then :
2035 ac_retval=0
2036 else
2037 $as_echo "$as_me: failed program was:" >&5
2038 sed 's/^/| /' conftest.$ac_ext >&5
2040 ac_retval=1
2042 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2043 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2044 # interfere with the next link command; also delete a directory that is
2045 # left behind by Apple's compiler. We do this before executing the actions.
2046 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2047 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2048 return $ac_retval
2050 } # ac_fn_cxx_try_link
2052 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2053 # -------------------------------------------------------
2054 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2055 # the include files in INCLUDES and setting the cache variable VAR
2056 # accordingly.
2057 ac_fn_c_check_header_mongrel ()
2059 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2060 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2062 $as_echo_n "checking for $2... " >&6; }
2063 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2064 $as_echo_n "(cached) " >&6
2066 eval ac_res=\$$3
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2068 $as_echo "$ac_res" >&6; }
2069 else
2070 # Is the header compilable?
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2072 $as_echo_n "checking $2 usability... " >&6; }
2073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2074 /* end confdefs.h. */
2076 #include <$2>
2077 _ACEOF
2078 if ac_fn_c_try_compile "$LINENO"; then :
2079 ac_header_compiler=yes
2080 else
2081 ac_header_compiler=no
2083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2085 $as_echo "$ac_header_compiler" >&6; }
2087 # Is the header present?
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2089 $as_echo_n "checking $2 presence... " >&6; }
2090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2091 /* end confdefs.h. */
2092 #include <$2>
2093 _ACEOF
2094 if ac_fn_c_try_cpp "$LINENO"; then :
2095 ac_header_preproc=yes
2096 else
2097 ac_header_preproc=no
2099 rm -f conftest.err conftest.$ac_ext
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2101 $as_echo "$ac_header_preproc" >&6; }
2103 # So? What about this header?
2104 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2105 yes:no: )
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2107 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2109 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2111 no:yes:* )
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2113 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2115 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2117 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2119 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2121 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2123 esac
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2125 $as_echo_n "checking for $2... " >&6; }
2126 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2127 $as_echo_n "(cached) " >&6
2128 else
2129 eval "$3=\$ac_header_compiler"
2131 eval ac_res=\$$3
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2133 $as_echo "$ac_res" >&6; }
2135 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2137 } # ac_fn_c_check_header_mongrel
2139 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2140 # ---------------------------------------------------------
2141 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2142 # the include files in INCLUDES and setting the cache variable VAR
2143 # accordingly.
2144 ac_fn_cxx_check_header_mongrel ()
2146 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2147 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2149 $as_echo_n "checking for $2... " >&6; }
2150 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2151 $as_echo_n "(cached) " >&6
2153 eval ac_res=\$$3
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2155 $as_echo "$ac_res" >&6; }
2156 else
2157 # Is the header compilable?
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2159 $as_echo_n "checking $2 usability... " >&6; }
2160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2161 /* end confdefs.h. */
2163 #include <$2>
2164 _ACEOF
2165 if ac_fn_cxx_try_compile "$LINENO"; then :
2166 ac_header_compiler=yes
2167 else
2168 ac_header_compiler=no
2170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2172 $as_echo "$ac_header_compiler" >&6; }
2174 # Is the header present?
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2176 $as_echo_n "checking $2 presence... " >&6; }
2177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2178 /* end confdefs.h. */
2179 #include <$2>
2180 _ACEOF
2181 if ac_fn_cxx_try_cpp "$LINENO"; then :
2182 ac_header_preproc=yes
2183 else
2184 ac_header_preproc=no
2186 rm -f conftest.err conftest.$ac_ext
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2188 $as_echo "$ac_header_preproc" >&6; }
2190 # So? What about this header?
2191 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2192 yes:no: )
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2194 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2196 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2198 no:yes:* )
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2200 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2202 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2204 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2206 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2208 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2210 esac
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2212 $as_echo_n "checking for $2... " >&6; }
2213 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2214 $as_echo_n "(cached) " >&6
2215 else
2216 eval "$3=\$ac_header_compiler"
2218 eval ac_res=\$$3
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2220 $as_echo "$ac_res" >&6; }
2222 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2224 } # ac_fn_cxx_check_header_mongrel
2226 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2227 # --------------------------------------------
2228 # Tries to find the compile-time value of EXPR in a program that includes
2229 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2230 # computed
2231 ac_fn_c_compute_int ()
2233 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2234 if test "$cross_compiling" = yes; then
2235 # Depending upon the size, compute the lo and hi bounds.
2236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2237 /* end confdefs.h. */
2240 main ()
2242 static int test_array [1 - 2 * !(($2) >= 0)];
2243 test_array [0] = 0
2246 return 0;
2248 _ACEOF
2249 if ac_fn_c_try_compile "$LINENO"; then :
2250 ac_lo=0 ac_mid=0
2251 while :; do
2252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2253 /* end confdefs.h. */
2256 main ()
2258 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2259 test_array [0] = 0
2262 return 0;
2264 _ACEOF
2265 if ac_fn_c_try_compile "$LINENO"; then :
2266 ac_hi=$ac_mid; break
2267 else
2268 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2269 if test $ac_lo -le $ac_mid; then
2270 ac_lo= ac_hi=
2271 break
2273 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2276 done
2277 else
2278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2279 /* end confdefs.h. */
2282 main ()
2284 static int test_array [1 - 2 * !(($2) < 0)];
2285 test_array [0] = 0
2288 return 0;
2290 _ACEOF
2291 if ac_fn_c_try_compile "$LINENO"; then :
2292 ac_hi=-1 ac_mid=-1
2293 while :; do
2294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2295 /* end confdefs.h. */
2298 main ()
2300 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2301 test_array [0] = 0
2304 return 0;
2306 _ACEOF
2307 if ac_fn_c_try_compile "$LINENO"; then :
2308 ac_lo=$ac_mid; break
2309 else
2310 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2311 if test $ac_mid -le $ac_hi; then
2312 ac_lo= ac_hi=
2313 break
2315 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2318 done
2319 else
2320 ac_lo= ac_hi=
2322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2325 # Binary search between lo and hi bounds.
2326 while test "x$ac_lo" != "x$ac_hi"; do
2327 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2329 /* end confdefs.h. */
2332 main ()
2334 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2335 test_array [0] = 0
2338 return 0;
2340 _ACEOF
2341 if ac_fn_c_try_compile "$LINENO"; then :
2342 ac_hi=$ac_mid
2343 else
2344 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2347 done
2348 case $ac_lo in #((
2349 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2350 '') ac_retval=1 ;;
2351 esac
2352 else
2353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2354 /* end confdefs.h. */
2356 static long int longval () { return $2; }
2357 static unsigned long int ulongval () { return $2; }
2358 #include <stdio.h>
2359 #include <stdlib.h>
2361 main ()
2364 FILE *f = fopen ("conftest.val", "w");
2365 if (! f)
2366 return 1;
2367 if (($2) < 0)
2369 long int i = longval ();
2370 if (i != ($2))
2371 return 1;
2372 fprintf (f, "%ld", i);
2374 else
2376 unsigned long int i = ulongval ();
2377 if (i != ($2))
2378 return 1;
2379 fprintf (f, "%lu", i);
2381 /* Do not output a trailing newline, as this causes \r\n confusion
2382 on some platforms. */
2383 return ferror (f) || fclose (f) != 0;
2386 return 0;
2388 _ACEOF
2389 if ac_fn_c_try_run "$LINENO"; then :
2390 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2391 else
2392 ac_retval=1
2394 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2395 conftest.$ac_objext conftest.beam conftest.$ac_ext
2396 rm -f conftest.val
2399 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2400 return $ac_retval
2402 } # ac_fn_c_compute_int
2404 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2405 # -------------------------------------------
2406 # Tests whether TYPE exists after having included INCLUDES, setting cache
2407 # variable VAR accordingly.
2408 ac_fn_c_check_type ()
2410 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2412 $as_echo_n "checking for $2... " >&6; }
2413 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2414 $as_echo_n "(cached) " >&6
2415 else
2416 eval "$3=no"
2417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2418 /* end confdefs.h. */
2421 main ()
2423 if (sizeof ($2))
2424 return 0;
2426 return 0;
2428 _ACEOF
2429 if ac_fn_c_try_compile "$LINENO"; then :
2430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2431 /* end confdefs.h. */
2434 main ()
2436 if (sizeof (($2)))
2437 return 0;
2439 return 0;
2441 _ACEOF
2442 if ac_fn_c_try_compile "$LINENO"; then :
2444 else
2445 eval "$3=yes"
2447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2451 eval ac_res=\$$3
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2453 $as_echo "$ac_res" >&6; }
2454 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2456 } # ac_fn_c_check_type
2457 cat >config.log <<_ACEOF
2458 This file contains any messages produced by compilers while
2459 running configure, to aid debugging if configure makes a mistake.
2461 It was created by package-unused $as_me version-unused, which was
2462 generated by GNU Autoconf 2.64. Invocation command line was
2464 $ $0 $@
2466 _ACEOF
2467 exec 5>>config.log
2469 cat <<_ASUNAME
2470 ## --------- ##
2471 ## Platform. ##
2472 ## --------- ##
2474 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2475 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2476 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2477 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2478 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2480 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2481 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2483 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2484 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2485 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2486 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2487 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2488 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2489 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2491 _ASUNAME
2493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2494 for as_dir in $PATH
2496 IFS=$as_save_IFS
2497 test -z "$as_dir" && as_dir=.
2498 $as_echo "PATH: $as_dir"
2499 done
2500 IFS=$as_save_IFS
2502 } >&5
2504 cat >&5 <<_ACEOF
2507 ## ----------- ##
2508 ## Core tests. ##
2509 ## ----------- ##
2511 _ACEOF
2514 # Keep a trace of the command line.
2515 # Strip out --no-create and --no-recursion so they do not pile up.
2516 # Strip out --silent because we don't want to record it for future runs.
2517 # Also quote any args containing shell meta-characters.
2518 # Make two passes to allow for proper duplicate-argument suppression.
2519 ac_configure_args=
2520 ac_configure_args0=
2521 ac_configure_args1=
2522 ac_must_keep_next=false
2523 for ac_pass in 1 2
2525 for ac_arg
2527 case $ac_arg in
2528 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2529 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2530 | -silent | --silent | --silen | --sile | --sil)
2531 continue ;;
2532 *\'*)
2533 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2534 esac
2535 case $ac_pass in
2536 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2538 as_fn_append ac_configure_args1 " '$ac_arg'"
2539 if test $ac_must_keep_next = true; then
2540 ac_must_keep_next=false # Got value, back to normal.
2541 else
2542 case $ac_arg in
2543 *=* | --config-cache | -C | -disable-* | --disable-* \
2544 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2545 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2546 | -with-* | --with-* | -without-* | --without-* | --x)
2547 case "$ac_configure_args0 " in
2548 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2549 esac
2551 -* ) ac_must_keep_next=true ;;
2552 esac
2554 as_fn_append ac_configure_args " '$ac_arg'"
2556 esac
2557 done
2558 done
2559 { ac_configure_args0=; unset ac_configure_args0;}
2560 { ac_configure_args1=; unset ac_configure_args1;}
2562 # When interrupted or exit'd, cleanup temporary files, and complete
2563 # config.log. We remove comments because anyway the quotes in there
2564 # would cause problems or look ugly.
2565 # WARNING: Use '\'' to represent an apostrophe within the trap.
2566 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2567 trap 'exit_status=$?
2568 # Save into config.log some information that might help in debugging.
2570 echo
2572 cat <<\_ASBOX
2573 ## ---------------- ##
2574 ## Cache variables. ##
2575 ## ---------------- ##
2576 _ASBOX
2577 echo
2578 # The following way of writing the cache mishandles newlines in values,
2580 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2581 eval ac_val=\$$ac_var
2582 case $ac_val in #(
2583 *${as_nl}*)
2584 case $ac_var in #(
2585 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2586 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2587 esac
2588 case $ac_var in #(
2589 _ | IFS | as_nl) ;; #(
2590 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2591 *) { eval $ac_var=; unset $ac_var;} ;;
2592 esac ;;
2593 esac
2594 done
2595 (set) 2>&1 |
2596 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2597 *${as_nl}ac_space=\ *)
2598 sed -n \
2599 "s/'\''/'\''\\\\'\'''\''/g;
2600 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2601 ;; #(
2603 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2605 esac |
2606 sort
2608 echo
2610 cat <<\_ASBOX
2611 ## ----------------- ##
2612 ## Output variables. ##
2613 ## ----------------- ##
2614 _ASBOX
2615 echo
2616 for ac_var in $ac_subst_vars
2618 eval ac_val=\$$ac_var
2619 case $ac_val in
2620 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2621 esac
2622 $as_echo "$ac_var='\''$ac_val'\''"
2623 done | sort
2624 echo
2626 if test -n "$ac_subst_files"; then
2627 cat <<\_ASBOX
2628 ## ------------------- ##
2629 ## File substitutions. ##
2630 ## ------------------- ##
2631 _ASBOX
2632 echo
2633 for ac_var in $ac_subst_files
2635 eval ac_val=\$$ac_var
2636 case $ac_val in
2637 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2638 esac
2639 $as_echo "$ac_var='\''$ac_val'\''"
2640 done | sort
2641 echo
2644 if test -s confdefs.h; then
2645 cat <<\_ASBOX
2646 ## ----------- ##
2647 ## confdefs.h. ##
2648 ## ----------- ##
2649 _ASBOX
2650 echo
2651 cat confdefs.h
2652 echo
2654 test "$ac_signal" != 0 &&
2655 $as_echo "$as_me: caught signal $ac_signal"
2656 $as_echo "$as_me: exit $exit_status"
2657 } >&5
2658 rm -f core *.core core.conftest.* &&
2659 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2660 exit $exit_status
2662 for ac_signal in 1 2 13 15; do
2663 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2664 done
2665 ac_signal=0
2667 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2668 rm -f -r conftest* confdefs.h
2670 $as_echo "/* confdefs.h */" > confdefs.h
2672 # Predefined preprocessor variables.
2674 cat >>confdefs.h <<_ACEOF
2675 #define PACKAGE_NAME "$PACKAGE_NAME"
2676 _ACEOF
2678 cat >>confdefs.h <<_ACEOF
2679 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2680 _ACEOF
2682 cat >>confdefs.h <<_ACEOF
2683 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2684 _ACEOF
2686 cat >>confdefs.h <<_ACEOF
2687 #define PACKAGE_STRING "$PACKAGE_STRING"
2688 _ACEOF
2690 cat >>confdefs.h <<_ACEOF
2691 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2692 _ACEOF
2694 cat >>confdefs.h <<_ACEOF
2695 #define PACKAGE_URL "$PACKAGE_URL"
2696 _ACEOF
2699 # Let the site file select an alternate cache file if it wants to.
2700 # Prefer an explicitly selected file to automatically selected ones.
2701 ac_site_file1=NONE
2702 ac_site_file2=NONE
2703 if test -n "$CONFIG_SITE"; then
2704 ac_site_file1=$CONFIG_SITE
2705 elif test "x$prefix" != xNONE; then
2706 ac_site_file1=$prefix/share/config.site
2707 ac_site_file2=$prefix/etc/config.site
2708 else
2709 ac_site_file1=$ac_default_prefix/share/config.site
2710 ac_site_file2=$ac_default_prefix/etc/config.site
2712 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2714 test "x$ac_site_file" = xNONE && continue
2715 if test -r "$ac_site_file"; then
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2717 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2718 sed 's/^/| /' "$ac_site_file" >&5
2719 . "$ac_site_file"
2721 done
2723 if test -r "$cache_file"; then
2724 # Some versions of bash will fail to source /dev/null (special
2725 # files actually), so we avoid doing that.
2726 if test -f "$cache_file"; then
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2728 $as_echo "$as_me: loading cache $cache_file" >&6;}
2729 case $cache_file in
2730 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2731 *) . "./$cache_file";;
2732 esac
2734 else
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2736 $as_echo "$as_me: creating cache $cache_file" >&6;}
2737 >$cache_file
2740 # Check that the precious variables saved in the cache have kept the same
2741 # value.
2742 ac_cache_corrupted=false
2743 for ac_var in $ac_precious_vars; do
2744 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2745 eval ac_new_set=\$ac_env_${ac_var}_set
2746 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2747 eval ac_new_val=\$ac_env_${ac_var}_value
2748 case $ac_old_set,$ac_new_set in
2749 set,)
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2751 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2752 ac_cache_corrupted=: ;;
2753 ,set)
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2755 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2756 ac_cache_corrupted=: ;;
2757 ,);;
2759 if test "x$ac_old_val" != "x$ac_new_val"; then
2760 # differences in whitespace do not lead to failure.
2761 ac_old_val_w=`echo x $ac_old_val`
2762 ac_new_val_w=`echo x $ac_new_val`
2763 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2765 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2766 ac_cache_corrupted=:
2767 else
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2769 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2770 eval $ac_var=\$ac_old_val
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2773 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2775 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2776 fi;;
2777 esac
2778 # Pass precious variables to config.status.
2779 if test "$ac_new_set" = set; then
2780 case $ac_new_val in
2781 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2782 *) ac_arg=$ac_var=$ac_new_val ;;
2783 esac
2784 case " $ac_configure_args " in
2785 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2786 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2787 esac
2789 done
2790 if $ac_cache_corrupted; then
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2792 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2794 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2795 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2797 ## -------------------- ##
2798 ## Main body of script. ##
2799 ## -------------------- ##
2801 ac_ext=c
2802 ac_cpp='$CPP $CPPFLAGS'
2803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2812 ac_config_headers="$ac_config_headers config.h"
2815 # This works around the fact that libtool configuration may change LD
2816 # for this particular configuration, but some shells, instead of
2817 # keeping the changes in LD private, export them just because LD is
2818 # exported. Only used at the end of this file.
2819 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2821 # For libtool versioning info, format is CURRENT:REVISION:AGE
2822 libtool_VERSION=6:15:0
2825 # Find the rest of the source tree framework.
2826 # Default to --enable-multilib
2827 # Check whether --enable-multilib was given.
2828 if test "${enable_multilib+set}" = set; then :
2829 enableval=$enable_multilib; case "$enableval" in
2830 yes) multilib=yes ;;
2831 no) multilib=no ;;
2832 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2833 esac
2834 else
2835 multilib=yes
2839 # We may get other options which we leave undocumented:
2840 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2841 # See config-ml.in if you want the gory details.
2843 if test "$srcdir" = "."; then
2844 if test "$with_target_subdir" != "."; then
2845 multi_basedir="$srcdir/$with_multisrctop../.."
2846 else
2847 multi_basedir="$srcdir/$with_multisrctop.."
2849 else
2850 multi_basedir="$srcdir/.."
2854 # Even if the default multilib is not a cross compilation,
2855 # it may be that some of the other multilibs are.
2856 if test $cross_compiling = no && test $multilib = yes \
2857 && test "x${with_multisubdir}" != x ; then
2858 cross_compiling=maybe
2861 ac_config_commands="$ac_config_commands default-1"
2864 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2866 # You will slowly go insane if you do not grok the following fact: when
2867 # building v3 as part of the compiler, the top-level /target/ becomes the
2868 # library's /host/. configure then causes --target to default to --host,
2869 # exactly like any other package using autoconf. Therefore, 'target' and
2870 # 'host' will always be the same. This makes sense both for native and
2871 # cross compilers, just think about it for a little while. :-)
2873 # Also, if v3 is being configured as part of a cross compiler, the top-level
2874 # configure script will pass the "real" host as $with_cross_host.
2876 # Do not delete or change the following two lines. For why, see
2877 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2878 ac_aux_dir=
2879 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2880 for ac_t in install-sh install.sh shtool; do
2881 if test -f "$ac_dir/$ac_t"; then
2882 ac_aux_dir=$ac_dir
2883 ac_install_sh="$ac_aux_dir/$ac_t -c"
2884 break 2
2886 done
2887 done
2888 if test -z "$ac_aux_dir"; then
2889 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2892 # These three variables are undocumented and unsupported,
2893 # and are intended to be withdrawn in a future Autoconf release.
2894 # They can cause serious problems if a builder's source tree is in a directory
2895 # whose full name contains unusual characters.
2896 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2897 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2898 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2901 # Make sure we can run config.sub.
2902 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2903 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2906 $as_echo_n "checking build system type... " >&6; }
2907 if test "${ac_cv_build+set}" = set; then :
2908 $as_echo_n "(cached) " >&6
2909 else
2910 ac_build_alias=$build_alias
2911 test "x$ac_build_alias" = x &&
2912 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2913 test "x$ac_build_alias" = x &&
2914 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2915 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2916 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2920 $as_echo "$ac_cv_build" >&6; }
2921 case $ac_cv_build in
2922 *-*-*) ;;
2923 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2924 esac
2925 build=$ac_cv_build
2926 ac_save_IFS=$IFS; IFS='-'
2927 set x $ac_cv_build
2928 shift
2929 build_cpu=$1
2930 build_vendor=$2
2931 shift; shift
2932 # Remember, the first character of IFS is used to create $*,
2933 # except with old shells:
2934 build_os=$*
2935 IFS=$ac_save_IFS
2936 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2940 $as_echo_n "checking host system type... " >&6; }
2941 if test "${ac_cv_host+set}" = set; then :
2942 $as_echo_n "(cached) " >&6
2943 else
2944 if test "x$host_alias" = x; then
2945 ac_cv_host=$ac_cv_build
2946 else
2947 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2948 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2953 $as_echo "$ac_cv_host" >&6; }
2954 case $ac_cv_host in
2955 *-*-*) ;;
2956 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2957 esac
2958 host=$ac_cv_host
2959 ac_save_IFS=$IFS; IFS='-'
2960 set x $ac_cv_host
2961 shift
2962 host_cpu=$1
2963 host_vendor=$2
2964 shift; shift
2965 # Remember, the first character of IFS is used to create $*,
2966 # except with old shells:
2967 host_os=$*
2968 IFS=$ac_save_IFS
2969 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2973 $as_echo_n "checking target system type... " >&6; }
2974 if test "${ac_cv_target+set}" = set; then :
2975 $as_echo_n "(cached) " >&6
2976 else
2977 if test "x$target_alias" = x; then
2978 ac_cv_target=$ac_cv_host
2979 else
2980 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2981 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2986 $as_echo "$ac_cv_target" >&6; }
2987 case $ac_cv_target in
2988 *-*-*) ;;
2989 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2990 esac
2991 target=$ac_cv_target
2992 ac_save_IFS=$IFS; IFS='-'
2993 set x $ac_cv_target
2994 shift
2995 target_cpu=$1
2996 target_vendor=$2
2997 shift; shift
2998 # Remember, the first character of IFS is used to create $*,
2999 # except with old shells:
3000 target_os=$*
3001 IFS=$ac_save_IFS
3002 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3005 # The aliases save the names the user supplied, while $host etc.
3006 # will get canonicalized.
3007 test -n "$target_alias" &&
3008 test "$program_prefix$program_suffix$program_transform_name" = \
3009 NONENONEs,x,x, &&
3010 program_prefix=${target_alias}-
3012 target_alias=${target_alias-$host_alias}
3014 # Handy for debugging:
3015 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3017 if test "$build" != "$host"; then
3018 # We are being configured with some form of cross compiler.
3019 GLIBCXX_IS_NATIVE=false
3020 case "$host","$target" in
3021 # Darwin crosses can use the host system's libraries and headers,
3022 # because of the fat library support. Of course, it must be the
3023 # same version of Darwin on both sides. Allow the user to
3024 # just say --target=foo-darwin without a version number to mean
3025 # "the version on this system".
3026 *-*-darwin*,*-*-darwin*)
3027 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3028 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3029 if test $hostos = $targetos -o $targetos = darwin ; then
3030 GLIBCXX_IS_NATIVE=true
3037 esac
3038 else
3039 GLIBCXX_IS_NATIVE=true
3042 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3043 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3044 # 1.x: minimum required version
3045 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3046 # of other PACKAGE_* variables will, however, and there's nothing
3047 # we can do about that; they come from AC_INIT).
3048 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3049 # file in the top srcdir, etc, etc), so stop complaining.
3050 # no-dependencies: turns off auto dependency generation (just for now)
3051 # no-dist: we don't want 'dist' and related rules.
3052 # -Wall: turns on all automake warnings...
3053 # -Wno-portability: ...except this one, since GNU make is now required.
3054 am__api_version='1.11'
3056 # Find a good install program. We prefer a C program (faster),
3057 # so one script is as good as another. But avoid the broken or
3058 # incompatible versions:
3059 # SysV /etc/install, /usr/sbin/install
3060 # SunOS /usr/etc/install
3061 # IRIX /sbin/install
3062 # AIX /bin/install
3063 # AmigaOS /C/install, which installs bootblocks on floppy discs
3064 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3065 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3066 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3067 # OS/2's system install, which has a completely different semantic
3068 # ./install, which can be erroneously created by make from ./install.sh.
3069 # Reject install programs that cannot install multiple files.
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3071 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3072 if test -z "$INSTALL"; then
3073 if test "${ac_cv_path_install+set}" = set; then :
3074 $as_echo_n "(cached) " >&6
3075 else
3076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3077 for as_dir in $PATH
3079 IFS=$as_save_IFS
3080 test -z "$as_dir" && as_dir=.
3081 # Account for people who put trailing slashes in PATH elements.
3082 case $as_dir/ in #((
3083 ./ | .// | /[cC]/* | \
3084 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3085 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3086 /usr/ucb/* ) ;;
3088 # OSF1 and SCO ODT 3.0 have their own names for install.
3089 # Don't use installbsd from OSF since it installs stuff as root
3090 # by default.
3091 for ac_prog in ginstall scoinst install; do
3092 for ac_exec_ext in '' $ac_executable_extensions; do
3093 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3094 if test $ac_prog = install &&
3095 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3096 # AIX install. It has an incompatible calling convention.
3098 elif test $ac_prog = install &&
3099 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3100 # program-specific install script used by HP pwplus--don't use.
3102 else
3103 rm -rf conftest.one conftest.two conftest.dir
3104 echo one > conftest.one
3105 echo two > conftest.two
3106 mkdir conftest.dir
3107 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3108 test -s conftest.one && test -s conftest.two &&
3109 test -s conftest.dir/conftest.one &&
3110 test -s conftest.dir/conftest.two
3111 then
3112 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3113 break 3
3117 done
3118 done
3120 esac
3122 done
3123 IFS=$as_save_IFS
3125 rm -rf conftest.one conftest.two conftest.dir
3128 if test "${ac_cv_path_install+set}" = set; then
3129 INSTALL=$ac_cv_path_install
3130 else
3131 # As a last resort, use the slow shell script. Don't cache a
3132 # value for INSTALL within a source directory, because that will
3133 # break other packages using the cache if that directory is
3134 # removed, or if the value is a relative name.
3135 INSTALL=$ac_install_sh
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3139 $as_echo "$INSTALL" >&6; }
3141 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3142 # It thinks the first close brace ends the variable substitution.
3143 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3145 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3147 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3150 $as_echo_n "checking whether build environment is sane... " >&6; }
3151 # Just in case
3152 sleep 1
3153 echo timestamp > conftest.file
3154 # Reject unsafe characters in $srcdir or the absolute working directory
3155 # name. Accept space and tab only in the latter.
3156 am_lf='
3158 case `pwd` in
3159 *[\\\"\#\$\&\'\`$am_lf]*)
3160 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3161 esac
3162 case $srcdir in
3163 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3164 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3165 esac
3167 # Do `set' in a subshell so we don't clobber the current shell's
3168 # arguments. Must try -L first in case configure is actually a
3169 # symlink; some systems play weird games with the mod time of symlinks
3170 # (eg FreeBSD returns the mod time of the symlink's containing
3171 # directory).
3172 if (
3173 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3174 if test "$*" = "X"; then
3175 # -L didn't work.
3176 set X `ls -t "$srcdir/configure" conftest.file`
3178 rm -f conftest.file
3179 if test "$*" != "X $srcdir/configure conftest.file" \
3180 && test "$*" != "X conftest.file $srcdir/configure"; then
3182 # If neither matched, then we have a broken ls. This can happen
3183 # if, for instance, CONFIG_SHELL is bash and it inherits a
3184 # broken ls alias from the environment. This has actually
3185 # happened. Such a system could not be considered "sane".
3186 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3187 alias in your environment" "$LINENO" 5
3190 test "$2" = conftest.file
3192 then
3193 # Ok.
3195 else
3196 as_fn_error "newly created file is older than distributed files!
3197 Check your system clock" "$LINENO" 5
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3200 $as_echo "yes" >&6; }
3201 test "$program_prefix" != NONE &&
3202 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3203 # Use a double $ so make ignores it.
3204 test "$program_suffix" != NONE &&
3205 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3206 # Double any \ or $.
3207 # By default was `s,x,x', remove it if useless.
3208 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3209 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3211 # expand $ac_aux_dir to an absolute path
3212 am_aux_dir=`cd $ac_aux_dir && pwd`
3214 if test x"${MISSING+set}" != xset; then
3215 case $am_aux_dir in
3216 *\ * | *\ *)
3217 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3219 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3220 esac
3222 # Use eval to expand $SHELL
3223 if eval "$MISSING --run true"; then
3224 am_missing_run="$MISSING --run "
3225 else
3226 am_missing_run=
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3228 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3231 if test x"${install_sh}" != xset; then
3232 case $am_aux_dir in
3233 *\ * | *\ *)
3234 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3236 install_sh="\${SHELL} $am_aux_dir/install-sh"
3237 esac
3240 # Installed binaries are usually stripped using `strip' when the user
3241 # run `make install-strip'. However `strip' might not be the right
3242 # tool to use in cross-compilation environments, therefore Automake
3243 # will honor the `STRIP' environment variable to overrule this program.
3244 if test "$cross_compiling" != no; then
3245 if test -n "$ac_tool_prefix"; then
3246 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3247 set dummy ${ac_tool_prefix}strip; ac_word=$2
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3249 $as_echo_n "checking for $ac_word... " >&6; }
3250 if test "${ac_cv_prog_STRIP+set}" = set; then :
3251 $as_echo_n "(cached) " >&6
3252 else
3253 if test -n "$STRIP"; then
3254 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3255 else
3256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3257 for as_dir in $PATH
3259 IFS=$as_save_IFS
3260 test -z "$as_dir" && as_dir=.
3261 for ac_exec_ext in '' $ac_executable_extensions; do
3262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3263 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3265 break 2
3267 done
3268 done
3269 IFS=$as_save_IFS
3273 STRIP=$ac_cv_prog_STRIP
3274 if test -n "$STRIP"; then
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3276 $as_echo "$STRIP" >&6; }
3277 else
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3279 $as_echo "no" >&6; }
3284 if test -z "$ac_cv_prog_STRIP"; then
3285 ac_ct_STRIP=$STRIP
3286 # Extract the first word of "strip", so it can be a program name with args.
3287 set dummy strip; ac_word=$2
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3289 $as_echo_n "checking for $ac_word... " >&6; }
3290 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3291 $as_echo_n "(cached) " >&6
3292 else
3293 if test -n "$ac_ct_STRIP"; then
3294 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3295 else
3296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3297 for as_dir in $PATH
3299 IFS=$as_save_IFS
3300 test -z "$as_dir" && as_dir=.
3301 for ac_exec_ext in '' $ac_executable_extensions; do
3302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3303 ac_cv_prog_ac_ct_STRIP="strip"
3304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3305 break 2
3307 done
3308 done
3309 IFS=$as_save_IFS
3313 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3314 if test -n "$ac_ct_STRIP"; then
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3316 $as_echo "$ac_ct_STRIP" >&6; }
3317 else
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3319 $as_echo "no" >&6; }
3322 if test "x$ac_ct_STRIP" = x; then
3323 STRIP=":"
3324 else
3325 case $cross_compiling:$ac_tool_warned in
3326 yes:)
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3328 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3329 ac_tool_warned=yes ;;
3330 esac
3331 STRIP=$ac_ct_STRIP
3333 else
3334 STRIP="$ac_cv_prog_STRIP"
3338 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3341 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3342 if test -z "$MKDIR_P"; then
3343 if test "${ac_cv_path_mkdir+set}" = set; then :
3344 $as_echo_n "(cached) " >&6
3345 else
3346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3347 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3349 IFS=$as_save_IFS
3350 test -z "$as_dir" && as_dir=.
3351 for ac_prog in mkdir gmkdir; do
3352 for ac_exec_ext in '' $ac_executable_extensions; do
3353 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3354 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3355 'mkdir (GNU coreutils) '* | \
3356 'mkdir (coreutils) '* | \
3357 'mkdir (fileutils) '4.1*)
3358 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3359 break 3;;
3360 esac
3361 done
3362 done
3363 done
3364 IFS=$as_save_IFS
3368 if test "${ac_cv_path_mkdir+set}" = set; then
3369 MKDIR_P="$ac_cv_path_mkdir -p"
3370 else
3371 # As a last resort, use the slow shell script. Don't cache a
3372 # value for MKDIR_P within a source directory, because that will
3373 # break other packages using the cache if that directory is
3374 # removed, or if the value is a relative name.
3375 test -d ./--version && rmdir ./--version
3376 MKDIR_P="$ac_install_sh -d"
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3380 $as_echo "$MKDIR_P" >&6; }
3382 mkdir_p="$MKDIR_P"
3383 case $mkdir_p in
3384 [\\/$]* | ?:[\\/]*) ;;
3385 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3386 esac
3388 for ac_prog in gawk mawk nawk awk
3390 # Extract the first word of "$ac_prog", so it can be a program name with args.
3391 set dummy $ac_prog; ac_word=$2
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3393 $as_echo_n "checking for $ac_word... " >&6; }
3394 if test "${ac_cv_prog_AWK+set}" = set; then :
3395 $as_echo_n "(cached) " >&6
3396 else
3397 if test -n "$AWK"; then
3398 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3399 else
3400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3401 for as_dir in $PATH
3403 IFS=$as_save_IFS
3404 test -z "$as_dir" && as_dir=.
3405 for ac_exec_ext in '' $ac_executable_extensions; do
3406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3407 ac_cv_prog_AWK="$ac_prog"
3408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3409 break 2
3411 done
3412 done
3413 IFS=$as_save_IFS
3417 AWK=$ac_cv_prog_AWK
3418 if test -n "$AWK"; then
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3420 $as_echo "$AWK" >&6; }
3421 else
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3423 $as_echo "no" >&6; }
3427 test -n "$AWK" && break
3428 done
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3431 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3432 set x ${MAKE-make}
3433 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3434 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3435 $as_echo_n "(cached) " >&6
3436 else
3437 cat >conftest.make <<\_ACEOF
3438 SHELL = /bin/sh
3439 all:
3440 @echo '@@@%%%=$(MAKE)=@@@%%%'
3441 _ACEOF
3442 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3443 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3444 *@@@%%%=?*=@@@%%%*)
3445 eval ac_cv_prog_make_${ac_make}_set=yes;;
3447 eval ac_cv_prog_make_${ac_make}_set=no;;
3448 esac
3449 rm -f conftest.make
3451 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3453 $as_echo "yes" >&6; }
3454 SET_MAKE=
3455 else
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3457 $as_echo "no" >&6; }
3458 SET_MAKE="MAKE=${MAKE-make}"
3461 rm -rf .tst 2>/dev/null
3462 mkdir .tst 2>/dev/null
3463 if test -d .tst; then
3464 am__leading_dot=.
3465 else
3466 am__leading_dot=_
3468 rmdir .tst 2>/dev/null
3470 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3471 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3472 # is not polluted with repeated "-I."
3473 am__isrc=' -I$(srcdir)'
3474 # test to see if srcdir already configured
3475 if test -f $srcdir/config.status; then
3476 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3480 # test whether we have cygpath
3481 if test -z "$CYGPATH_W"; then
3482 if (cygpath --version) >/dev/null 2>/dev/null; then
3483 CYGPATH_W='cygpath -w'
3484 else
3485 CYGPATH_W=echo
3490 # Define the identity of the package.
3491 PACKAGE='libstdc++'
3492 VERSION='version-unused'
3495 # Some tools Automake needs.
3497 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3500 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3503 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3506 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3509 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3511 # We need awk for the "check" target. The system "awk" is bad on
3512 # some platforms.
3513 # Always define AMTAR for backward compatibility.
3515 AMTAR=${AMTAR-"${am_missing_run}tar"}
3517 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3526 # -fno-builtin must be present here so that a non-conflicting form of
3527 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3529 save_CXXFLAGS="$CXXFLAGS"
3530 CXXFLAGS="$CXXFLAGS -fno-builtin"
3531 ac_ext=c
3532 ac_cpp='$CPP $CPPFLAGS'
3533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3536 if test -n "$ac_tool_prefix"; then
3537 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3538 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3540 $as_echo_n "checking for $ac_word... " >&6; }
3541 if test "${ac_cv_prog_CC+set}" = set; then :
3542 $as_echo_n "(cached) " >&6
3543 else
3544 if test -n "$CC"; then
3545 ac_cv_prog_CC="$CC" # Let the user override the test.
3546 else
3547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3548 for as_dir in $PATH
3550 IFS=$as_save_IFS
3551 test -z "$as_dir" && as_dir=.
3552 for ac_exec_ext in '' $ac_executable_extensions; do
3553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3554 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3556 break 2
3558 done
3559 done
3560 IFS=$as_save_IFS
3564 CC=$ac_cv_prog_CC
3565 if test -n "$CC"; then
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3567 $as_echo "$CC" >&6; }
3568 else
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3570 $as_echo "no" >&6; }
3575 if test -z "$ac_cv_prog_CC"; then
3576 ac_ct_CC=$CC
3577 # Extract the first word of "gcc", so it can be a program name with args.
3578 set dummy gcc; ac_word=$2
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3580 $as_echo_n "checking for $ac_word... " >&6; }
3581 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3582 $as_echo_n "(cached) " >&6
3583 else
3584 if test -n "$ac_ct_CC"; then
3585 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3586 else
3587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3588 for as_dir in $PATH
3590 IFS=$as_save_IFS
3591 test -z "$as_dir" && as_dir=.
3592 for ac_exec_ext in '' $ac_executable_extensions; do
3593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3594 ac_cv_prog_ac_ct_CC="gcc"
3595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3596 break 2
3598 done
3599 done
3600 IFS=$as_save_IFS
3604 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3605 if test -n "$ac_ct_CC"; then
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3607 $as_echo "$ac_ct_CC" >&6; }
3608 else
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3610 $as_echo "no" >&6; }
3613 if test "x$ac_ct_CC" = x; then
3614 CC=""
3615 else
3616 case $cross_compiling:$ac_tool_warned in
3617 yes:)
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3619 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3620 ac_tool_warned=yes ;;
3621 esac
3622 CC=$ac_ct_CC
3624 else
3625 CC="$ac_cv_prog_CC"
3628 if test -z "$CC"; then
3629 if test -n "$ac_tool_prefix"; then
3630 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3631 set dummy ${ac_tool_prefix}cc; ac_word=$2
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3633 $as_echo_n "checking for $ac_word... " >&6; }
3634 if test "${ac_cv_prog_CC+set}" = set; then :
3635 $as_echo_n "(cached) " >&6
3636 else
3637 if test -n "$CC"; then
3638 ac_cv_prog_CC="$CC" # Let the user override the test.
3639 else
3640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3641 for as_dir in $PATH
3643 IFS=$as_save_IFS
3644 test -z "$as_dir" && as_dir=.
3645 for ac_exec_ext in '' $ac_executable_extensions; do
3646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3647 ac_cv_prog_CC="${ac_tool_prefix}cc"
3648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3649 break 2
3651 done
3652 done
3653 IFS=$as_save_IFS
3657 CC=$ac_cv_prog_CC
3658 if test -n "$CC"; then
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3660 $as_echo "$CC" >&6; }
3661 else
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3663 $as_echo "no" >&6; }
3669 if test -z "$CC"; then
3670 # Extract the first word of "cc", so it can be a program name with args.
3671 set dummy cc; ac_word=$2
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3673 $as_echo_n "checking for $ac_word... " >&6; }
3674 if test "${ac_cv_prog_CC+set}" = set; then :
3675 $as_echo_n "(cached) " >&6
3676 else
3677 if test -n "$CC"; then
3678 ac_cv_prog_CC="$CC" # Let the user override the test.
3679 else
3680 ac_prog_rejected=no
3681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3682 for as_dir in $PATH
3684 IFS=$as_save_IFS
3685 test -z "$as_dir" && as_dir=.
3686 for ac_exec_ext in '' $ac_executable_extensions; do
3687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3688 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3689 ac_prog_rejected=yes
3690 continue
3692 ac_cv_prog_CC="cc"
3693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3694 break 2
3696 done
3697 done
3698 IFS=$as_save_IFS
3700 if test $ac_prog_rejected = yes; then
3701 # We found a bogon in the path, so make sure we never use it.
3702 set dummy $ac_cv_prog_CC
3703 shift
3704 if test $# != 0; then
3705 # We chose a different compiler from the bogus one.
3706 # However, it has the same basename, so the bogon will be chosen
3707 # first if we set CC to just the basename; use the full file name.
3708 shift
3709 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3714 CC=$ac_cv_prog_CC
3715 if test -n "$CC"; then
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3717 $as_echo "$CC" >&6; }
3718 else
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3720 $as_echo "no" >&6; }
3725 if test -z "$CC"; then
3726 if test -n "$ac_tool_prefix"; then
3727 for ac_prog in cl.exe
3729 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3730 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3732 $as_echo_n "checking for $ac_word... " >&6; }
3733 if test "${ac_cv_prog_CC+set}" = set; then :
3734 $as_echo_n "(cached) " >&6
3735 else
3736 if test -n "$CC"; then
3737 ac_cv_prog_CC="$CC" # Let the user override the test.
3738 else
3739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3740 for as_dir in $PATH
3742 IFS=$as_save_IFS
3743 test -z "$as_dir" && as_dir=.
3744 for ac_exec_ext in '' $ac_executable_extensions; do
3745 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3746 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3748 break 2
3750 done
3751 done
3752 IFS=$as_save_IFS
3756 CC=$ac_cv_prog_CC
3757 if test -n "$CC"; then
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3759 $as_echo "$CC" >&6; }
3760 else
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3762 $as_echo "no" >&6; }
3766 test -n "$CC" && break
3767 done
3769 if test -z "$CC"; then
3770 ac_ct_CC=$CC
3771 for ac_prog in cl.exe
3773 # Extract the first word of "$ac_prog", so it can be a program name with args.
3774 set dummy $ac_prog; ac_word=$2
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3776 $as_echo_n "checking for $ac_word... " >&6; }
3777 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3778 $as_echo_n "(cached) " >&6
3779 else
3780 if test -n "$ac_ct_CC"; then
3781 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3782 else
3783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3784 for as_dir in $PATH
3786 IFS=$as_save_IFS
3787 test -z "$as_dir" && as_dir=.
3788 for ac_exec_ext in '' $ac_executable_extensions; do
3789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3790 ac_cv_prog_ac_ct_CC="$ac_prog"
3791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3792 break 2
3794 done
3795 done
3796 IFS=$as_save_IFS
3800 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3801 if test -n "$ac_ct_CC"; then
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3803 $as_echo "$ac_ct_CC" >&6; }
3804 else
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3806 $as_echo "no" >&6; }
3810 test -n "$ac_ct_CC" && break
3811 done
3813 if test "x$ac_ct_CC" = x; then
3814 CC=""
3815 else
3816 case $cross_compiling:$ac_tool_warned in
3817 yes:)
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3819 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3820 ac_tool_warned=yes ;;
3821 esac
3822 CC=$ac_ct_CC
3829 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3830 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3831 as_fn_error "no acceptable C compiler found in \$PATH
3832 See \`config.log' for more details." "$LINENO" 5; }
3834 # Provide some information about the compiler.
3835 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3836 set X $ac_compile
3837 ac_compiler=$2
3838 for ac_option in --version -v -V -qversion; do
3839 { { ac_try="$ac_compiler $ac_option >&5"
3840 case "(($ac_try" in
3841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3842 *) ac_try_echo=$ac_try;;
3843 esac
3844 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3845 $as_echo "$ac_try_echo"; } >&5
3846 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3847 ac_status=$?
3848 if test -s conftest.err; then
3849 sed '10a\
3850 ... rest of stderr output deleted ...
3851 10q' conftest.err >conftest.er1
3852 cat conftest.er1 >&5
3853 rm -f conftest.er1 conftest.err
3855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3856 test $ac_status = 0; }
3857 done
3859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3860 /* end confdefs.h. */
3863 main ()
3867 return 0;
3869 _ACEOF
3870 # FIXME: Cleanup?
3871 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3872 (eval $ac_link) 2>&5
3873 ac_status=$?
3874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3875 test $ac_status = 0; }; then :
3876 gcc_no_link=no
3877 else
3878 gcc_no_link=yes
3880 if test x$gcc_no_link = xyes; then
3881 # Setting cross_compile will disable run tests; it will
3882 # also disable AC_CHECK_FILE but that's generally
3883 # correct if we can't link.
3884 cross_compiling=yes
3885 EXEEXT=
3886 else
3887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3888 /* end confdefs.h. */
3891 main ()
3895 return 0;
3897 _ACEOF
3898 ac_clean_files_save=$ac_clean_files
3899 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3900 # Try to create an executable without -o first, disregard a.out.
3901 # It will help us diagnose broken compilers, and finding out an intuition
3902 # of exeext.
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3904 $as_echo_n "checking for C compiler default output file name... " >&6; }
3905 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3907 # The possible output files:
3908 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3910 ac_rmfiles=
3911 for ac_file in $ac_files
3913 case $ac_file in
3914 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3915 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3916 esac
3917 done
3918 rm -f $ac_rmfiles
3920 if { { ac_try="$ac_link_default"
3921 case "(($ac_try" in
3922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3923 *) ac_try_echo=$ac_try;;
3924 esac
3925 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3926 $as_echo "$ac_try_echo"; } >&5
3927 (eval "$ac_link_default") 2>&5
3928 ac_status=$?
3929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3930 test $ac_status = 0; }; then :
3931 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3932 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3933 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3934 # so that the user can short-circuit this test for compilers unknown to
3935 # Autoconf.
3936 for ac_file in $ac_files ''
3938 test -f "$ac_file" || continue
3939 case $ac_file in
3940 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3942 [ab].out )
3943 # We found the default executable, but exeext='' is most
3944 # certainly right.
3945 break;;
3946 *.* )
3947 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3948 then :; else
3949 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3951 # We set ac_cv_exeext here because the later test for it is not
3952 # safe: cross compilers may not add the suffix if given an `-o'
3953 # argument, so we may need to know it at that point already.
3954 # Even if this section looks crufty: it has the advantage of
3955 # actually working.
3956 break;;
3958 break;;
3959 esac
3960 done
3961 test "$ac_cv_exeext" = no && ac_cv_exeext=
3963 else
3964 ac_file=''
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3967 $as_echo "$ac_file" >&6; }
3968 if test -z "$ac_file"; then :
3969 $as_echo "$as_me: failed program was:" >&5
3970 sed 's/^/| /' conftest.$ac_ext >&5
3972 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3973 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3974 { as_fn_set_status 77
3975 as_fn_error "C compiler cannot create executables
3976 See \`config.log' for more details." "$LINENO" 5; }; }
3978 ac_exeext=$ac_cv_exeext
3980 # Check that the compiler produces executables we can run. If not, either
3981 # the compiler is broken, or we cross compile.
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3983 $as_echo_n "checking whether the C compiler works... " >&6; }
3984 # If not cross compiling, check that we can run a simple program.
3985 if test "$cross_compiling" != yes; then
3986 if { ac_try='./$ac_file'
3987 { { case "(($ac_try" in
3988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3989 *) ac_try_echo=$ac_try;;
3990 esac
3991 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3992 $as_echo "$ac_try_echo"; } >&5
3993 (eval "$ac_try") 2>&5
3994 ac_status=$?
3995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3996 test $ac_status = 0; }; }; then
3997 cross_compiling=no
3998 else
3999 if test "$cross_compiling" = maybe; then
4000 cross_compiling=yes
4001 else
4002 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4003 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4004 as_fn_error "cannot run C compiled programs.
4005 If you meant to cross compile, use \`--host'.
4006 See \`config.log' for more details." "$LINENO" 5; }
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4011 $as_echo "yes" >&6; }
4013 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4014 ac_clean_files=$ac_clean_files_save
4015 # Check that the compiler produces executables we can run. If not, either
4016 # the compiler is broken, or we cross compile.
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4018 $as_echo_n "checking whether we are cross compiling... " >&6; }
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4020 $as_echo "$cross_compiling" >&6; }
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4023 $as_echo_n "checking for suffix of executables... " >&6; }
4024 if { { ac_try="$ac_link"
4025 case "(($ac_try" in
4026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4027 *) ac_try_echo=$ac_try;;
4028 esac
4029 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4030 $as_echo "$ac_try_echo"; } >&5
4031 (eval "$ac_link") 2>&5
4032 ac_status=$?
4033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4034 test $ac_status = 0; }; then :
4035 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4036 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4037 # work properly (i.e., refer to `conftest.exe'), while it won't with
4038 # `rm'.
4039 for ac_file in conftest.exe conftest conftest.*; do
4040 test -f "$ac_file" || continue
4041 case $ac_file in
4042 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4043 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4044 break;;
4045 * ) break;;
4046 esac
4047 done
4048 else
4049 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4050 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4051 as_fn_error "cannot compute suffix of executables: cannot compile and link
4052 See \`config.log' for more details." "$LINENO" 5; }
4054 rm -f conftest$ac_cv_exeext
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4056 $as_echo "$ac_cv_exeext" >&6; }
4058 rm -f conftest.$ac_ext
4059 EXEEXT=$ac_cv_exeext
4060 ac_exeext=$EXEEXT
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4063 $as_echo_n "checking for suffix of object files... " >&6; }
4064 if test "${ac_cv_objext+set}" = set; then :
4065 $as_echo_n "(cached) " >&6
4066 else
4067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4068 /* end confdefs.h. */
4071 main ()
4075 return 0;
4077 _ACEOF
4078 rm -f conftest.o conftest.obj
4079 if { { ac_try="$ac_compile"
4080 case "(($ac_try" in
4081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4082 *) ac_try_echo=$ac_try;;
4083 esac
4084 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4085 $as_echo "$ac_try_echo"; } >&5
4086 (eval "$ac_compile") 2>&5
4087 ac_status=$?
4088 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4089 test $ac_status = 0; }; then :
4090 for ac_file in conftest.o conftest.obj conftest.*; do
4091 test -f "$ac_file" || continue;
4092 case $ac_file in
4093 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4094 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4095 break;;
4096 esac
4097 done
4098 else
4099 $as_echo "$as_me: failed program was:" >&5
4100 sed 's/^/| /' conftest.$ac_ext >&5
4102 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4103 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4104 as_fn_error "cannot compute suffix of object files: cannot compile
4105 See \`config.log' for more details." "$LINENO" 5; }
4107 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4110 $as_echo "$ac_cv_objext" >&6; }
4111 OBJEXT=$ac_cv_objext
4112 ac_objext=$OBJEXT
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4114 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4115 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4116 $as_echo_n "(cached) " >&6
4117 else
4118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4119 /* end confdefs.h. */
4122 main ()
4124 #ifndef __GNUC__
4125 choke me
4126 #endif
4129 return 0;
4131 _ACEOF
4132 if ac_fn_c_try_compile "$LINENO"; then :
4133 ac_compiler_gnu=yes
4134 else
4135 ac_compiler_gnu=no
4137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4138 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4142 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4143 if test $ac_compiler_gnu = yes; then
4144 GCC=yes
4145 else
4146 GCC=
4148 ac_test_CFLAGS=${CFLAGS+set}
4149 ac_save_CFLAGS=$CFLAGS
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4151 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4152 if test "${ac_cv_prog_cc_g+set}" = set; then :
4153 $as_echo_n "(cached) " >&6
4154 else
4155 ac_save_c_werror_flag=$ac_c_werror_flag
4156 ac_c_werror_flag=yes
4157 ac_cv_prog_cc_g=no
4158 CFLAGS="-g"
4159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4160 /* end confdefs.h. */
4163 main ()
4167 return 0;
4169 _ACEOF
4170 if ac_fn_c_try_compile "$LINENO"; then :
4171 ac_cv_prog_cc_g=yes
4172 else
4173 CFLAGS=""
4174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4175 /* end confdefs.h. */
4178 main ()
4182 return 0;
4184 _ACEOF
4185 if ac_fn_c_try_compile "$LINENO"; then :
4187 else
4188 ac_c_werror_flag=$ac_save_c_werror_flag
4189 CFLAGS="-g"
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 :
4202 ac_cv_prog_cc_g=yes
4204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4209 ac_c_werror_flag=$ac_save_c_werror_flag
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4212 $as_echo "$ac_cv_prog_cc_g" >&6; }
4213 if test "$ac_test_CFLAGS" = set; then
4214 CFLAGS=$ac_save_CFLAGS
4215 elif test $ac_cv_prog_cc_g = yes; then
4216 if test "$GCC" = yes; then
4217 CFLAGS="-g -O2"
4218 else
4219 CFLAGS="-g"
4221 else
4222 if test "$GCC" = yes; then
4223 CFLAGS="-O2"
4224 else
4225 CFLAGS=
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4229 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4230 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4231 $as_echo_n "(cached) " >&6
4232 else
4233 ac_cv_prog_cc_c89=no
4234 ac_save_CC=$CC
4235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4236 /* end confdefs.h. */
4237 #include <stdarg.h>
4238 #include <stdio.h>
4239 #include <sys/types.h>
4240 #include <sys/stat.h>
4241 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4242 struct buf { int x; };
4243 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4244 static char *e (p, i)
4245 char **p;
4246 int i;
4248 return p[i];
4250 static char *f (char * (*g) (char **, int), char **p, ...)
4252 char *s;
4253 va_list v;
4254 va_start (v,p);
4255 s = g (p, va_arg (v,int));
4256 va_end (v);
4257 return s;
4260 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4261 function prototypes and stuff, but not '\xHH' hex character constants.
4262 These don't provoke an error unfortunately, instead are silently treated
4263 as 'x'. The following induces an error, until -std is added to get
4264 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4265 array size at least. It's necessary to write '\x00'==0 to get something
4266 that's true only with -std. */
4267 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4269 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4270 inside strings and character constants. */
4271 #define FOO(x) 'x'
4272 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4274 int test (int i, double x);
4275 struct s1 {int (*f) (int a);};
4276 struct s2 {int (*f) (double a);};
4277 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4278 int argc;
4279 char **argv;
4281 main ()
4283 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4285 return 0;
4287 _ACEOF
4288 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4289 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4291 CC="$ac_save_CC $ac_arg"
4292 if ac_fn_c_try_compile "$LINENO"; then :
4293 ac_cv_prog_cc_c89=$ac_arg
4295 rm -f core conftest.err conftest.$ac_objext
4296 test "x$ac_cv_prog_cc_c89" != "xno" && break
4297 done
4298 rm -f conftest.$ac_ext
4299 CC=$ac_save_CC
4302 # AC_CACHE_VAL
4303 case "x$ac_cv_prog_cc_c89" in
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4306 $as_echo "none needed" >&6; } ;;
4307 xno)
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4309 $as_echo "unsupported" >&6; } ;;
4311 CC="$CC $ac_cv_prog_cc_c89"
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4313 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4314 esac
4315 if test "x$ac_cv_prog_cc_c89" != xno; then :
4319 ac_ext=c
4320 ac_cpp='$CPP $CPPFLAGS'
4321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4325 ac_ext=cpp
4326 ac_cpp='$CXXCPP $CPPFLAGS'
4327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4330 if test -z "$CXX"; then
4331 if test -n "$CCC"; then
4332 CXX=$CCC
4333 else
4334 if test -n "$ac_tool_prefix"; then
4335 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4337 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4338 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4340 $as_echo_n "checking for $ac_word... " >&6; }
4341 if test "${ac_cv_prog_CXX+set}" = set; then :
4342 $as_echo_n "(cached) " >&6
4343 else
4344 if test -n "$CXX"; then
4345 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4346 else
4347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4348 for as_dir in $PATH
4350 IFS=$as_save_IFS
4351 test -z "$as_dir" && as_dir=.
4352 for ac_exec_ext in '' $ac_executable_extensions; do
4353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4354 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4356 break 2
4358 done
4359 done
4360 IFS=$as_save_IFS
4364 CXX=$ac_cv_prog_CXX
4365 if test -n "$CXX"; then
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4367 $as_echo "$CXX" >&6; }
4368 else
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4370 $as_echo "no" >&6; }
4374 test -n "$CXX" && break
4375 done
4377 if test -z "$CXX"; then
4378 ac_ct_CXX=$CXX
4379 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4381 # Extract the first word of "$ac_prog", so it can be a program name with args.
4382 set dummy $ac_prog; ac_word=$2
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4384 $as_echo_n "checking for $ac_word... " >&6; }
4385 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4386 $as_echo_n "(cached) " >&6
4387 else
4388 if test -n "$ac_ct_CXX"; then
4389 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4390 else
4391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4392 for as_dir in $PATH
4394 IFS=$as_save_IFS
4395 test -z "$as_dir" && as_dir=.
4396 for ac_exec_ext in '' $ac_executable_extensions; do
4397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4398 ac_cv_prog_ac_ct_CXX="$ac_prog"
4399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4400 break 2
4402 done
4403 done
4404 IFS=$as_save_IFS
4408 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4409 if test -n "$ac_ct_CXX"; then
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4411 $as_echo "$ac_ct_CXX" >&6; }
4412 else
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4414 $as_echo "no" >&6; }
4418 test -n "$ac_ct_CXX" && break
4419 done
4421 if test "x$ac_ct_CXX" = x; then
4422 CXX="g++"
4423 else
4424 case $cross_compiling:$ac_tool_warned in
4425 yes:)
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4427 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4428 ac_tool_warned=yes ;;
4429 esac
4430 CXX=$ac_ct_CXX
4436 # Provide some information about the compiler.
4437 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4438 set X $ac_compile
4439 ac_compiler=$2
4440 for ac_option in --version -v -V -qversion; do
4441 { { ac_try="$ac_compiler $ac_option >&5"
4442 case "(($ac_try" in
4443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4444 *) ac_try_echo=$ac_try;;
4445 esac
4446 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4447 $as_echo "$ac_try_echo"; } >&5
4448 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4449 ac_status=$?
4450 if test -s conftest.err; then
4451 sed '10a\
4452 ... rest of stderr output deleted ...
4453 10q' conftest.err >conftest.er1
4454 cat conftest.er1 >&5
4455 rm -f conftest.er1 conftest.err
4457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4458 test $ac_status = 0; }
4459 done
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4462 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4463 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4464 $as_echo_n "(cached) " >&6
4465 else
4466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4467 /* end confdefs.h. */
4470 main ()
4472 #ifndef __GNUC__
4473 choke me
4474 #endif
4477 return 0;
4479 _ACEOF
4480 if ac_fn_cxx_try_compile "$LINENO"; then :
4481 ac_compiler_gnu=yes
4482 else
4483 ac_compiler_gnu=no
4485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4486 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4490 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4491 if test $ac_compiler_gnu = yes; then
4492 GXX=yes
4493 else
4494 GXX=
4496 ac_test_CXXFLAGS=${CXXFLAGS+set}
4497 ac_save_CXXFLAGS=$CXXFLAGS
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4499 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4500 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4501 $as_echo_n "(cached) " >&6
4502 else
4503 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4504 ac_cxx_werror_flag=yes
4505 ac_cv_prog_cxx_g=no
4506 CXXFLAGS="-g"
4507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4508 /* end confdefs.h. */
4511 main ()
4515 return 0;
4517 _ACEOF
4518 if ac_fn_cxx_try_compile "$LINENO"; then :
4519 ac_cv_prog_cxx_g=yes
4520 else
4521 CXXFLAGS=""
4522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4523 /* end confdefs.h. */
4526 main ()
4530 return 0;
4532 _ACEOF
4533 if ac_fn_cxx_try_compile "$LINENO"; then :
4535 else
4536 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4537 CXXFLAGS="-g"
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 :
4550 ac_cv_prog_cxx_g=yes
4552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4557 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4560 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4561 if test "$ac_test_CXXFLAGS" = set; then
4562 CXXFLAGS=$ac_save_CXXFLAGS
4563 elif test $ac_cv_prog_cxx_g = yes; then
4564 if test "$GXX" = yes; then
4565 CXXFLAGS="-g -O2"
4566 else
4567 CXXFLAGS="-g"
4569 else
4570 if test "$GXX" = yes; then
4571 CXXFLAGS="-O2"
4572 else
4573 CXXFLAGS=
4576 ac_ext=c
4577 ac_cpp='$CPP $CPPFLAGS'
4578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4582 CXXFLAGS="$save_CXXFLAGS"
4584 # Runs configure.host, and assorted other critical bits. Sets
4585 # up critical shell variables.
4587 ac_ext=c
4588 ac_cpp='$CPP $CPPFLAGS'
4589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4593 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4594 # On Suns, sometimes $CPP names a directory.
4595 if test -n "$CPP" && test -d "$CPP"; then
4596 CPP=
4598 if test -z "$CPP"; then
4599 if test "${ac_cv_prog_CPP+set}" = set; then :
4600 $as_echo_n "(cached) " >&6
4601 else
4602 # Double quotes because CPP needs to be expanded
4603 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4605 ac_preproc_ok=false
4606 for ac_c_preproc_warn_flag in '' yes
4608 # Use a header file that comes with gcc, so configuring glibc
4609 # with a fresh cross-compiler works.
4610 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4611 # <limits.h> exists even on freestanding compilers.
4612 # On the NeXT, cc -E runs the code through the compiler's parser,
4613 # not just through cpp. "Syntax error" is here to catch this case.
4614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4615 /* end confdefs.h. */
4616 #ifdef __STDC__
4617 # include <limits.h>
4618 #else
4619 # include <assert.h>
4620 #endif
4621 Syntax error
4622 _ACEOF
4623 if ac_fn_c_try_cpp "$LINENO"; then :
4625 else
4626 # Broken: fails on valid input.
4627 continue
4629 rm -f conftest.err conftest.$ac_ext
4631 # OK, works on sane cases. Now check whether nonexistent headers
4632 # can be detected and how.
4633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4634 /* end confdefs.h. */
4635 #include <ac_nonexistent.h>
4636 _ACEOF
4637 if ac_fn_c_try_cpp "$LINENO"; then :
4638 # Broken: success on invalid input.
4639 continue
4640 else
4641 # Passes both tests.
4642 ac_preproc_ok=:
4643 break
4645 rm -f conftest.err conftest.$ac_ext
4647 done
4648 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4649 rm -f conftest.err conftest.$ac_ext
4650 if $ac_preproc_ok; then :
4651 break
4654 done
4655 ac_cv_prog_CPP=$CPP
4658 CPP=$ac_cv_prog_CPP
4659 else
4660 ac_cv_prog_CPP=$CPP
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4663 $as_echo "$CPP" >&6; }
4664 ac_preproc_ok=false
4665 for ac_c_preproc_warn_flag in '' yes
4667 # Use a header file that comes with gcc, so configuring glibc
4668 # with a fresh cross-compiler works.
4669 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4670 # <limits.h> exists even on freestanding compilers.
4671 # On the NeXT, cc -E runs the code through the compiler's parser,
4672 # not just through cpp. "Syntax error" is here to catch this case.
4673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4674 /* end confdefs.h. */
4675 #ifdef __STDC__
4676 # include <limits.h>
4677 #else
4678 # include <assert.h>
4679 #endif
4680 Syntax error
4681 _ACEOF
4682 if ac_fn_c_try_cpp "$LINENO"; then :
4684 else
4685 # Broken: fails on valid input.
4686 continue
4688 rm -f conftest.err conftest.$ac_ext
4690 # OK, works on sane cases. Now check whether nonexistent headers
4691 # can be detected and how.
4692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4693 /* end confdefs.h. */
4694 #include <ac_nonexistent.h>
4695 _ACEOF
4696 if ac_fn_c_try_cpp "$LINENO"; then :
4697 # Broken: success on invalid input.
4698 continue
4699 else
4700 # Passes both tests.
4701 ac_preproc_ok=:
4702 break
4704 rm -f conftest.err conftest.$ac_ext
4706 done
4707 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4708 rm -f conftest.err conftest.$ac_ext
4709 if $ac_preproc_ok; then :
4711 else
4712 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4713 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4714 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4715 See \`config.log' for more details." "$LINENO" 5; }
4718 ac_ext=c
4719 ac_cpp='$CPP $CPPFLAGS'
4720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4726 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4727 if test "${ac_cv_path_GREP+set}" = set; then :
4728 $as_echo_n "(cached) " >&6
4729 else
4730 if test -z "$GREP"; then
4731 ac_path_GREP_found=false
4732 # Loop through the user's path and test for each of PROGNAME-LIST
4733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4734 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4736 IFS=$as_save_IFS
4737 test -z "$as_dir" && as_dir=.
4738 for ac_prog in grep ggrep; do
4739 for ac_exec_ext in '' $ac_executable_extensions; do
4740 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4741 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4742 # Check for GNU ac_path_GREP and select it if it is found.
4743 # Check for GNU $ac_path_GREP
4744 case `"$ac_path_GREP" --version 2>&1` in
4745 *GNU*)
4746 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4748 ac_count=0
4749 $as_echo_n 0123456789 >"conftest.in"
4750 while :
4752 cat "conftest.in" "conftest.in" >"conftest.tmp"
4753 mv "conftest.tmp" "conftest.in"
4754 cp "conftest.in" "conftest.nl"
4755 $as_echo 'GREP' >> "conftest.nl"
4756 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4757 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4758 as_fn_arith $ac_count + 1 && ac_count=$as_val
4759 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4760 # Best one so far, save it but keep looking for a better one
4761 ac_cv_path_GREP="$ac_path_GREP"
4762 ac_path_GREP_max=$ac_count
4764 # 10*(2^10) chars as input seems more than enough
4765 test $ac_count -gt 10 && break
4766 done
4767 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4768 esac
4770 $ac_path_GREP_found && break 3
4771 done
4772 done
4773 done
4774 IFS=$as_save_IFS
4775 if test -z "$ac_cv_path_GREP"; then
4776 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4778 else
4779 ac_cv_path_GREP=$GREP
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4784 $as_echo "$ac_cv_path_GREP" >&6; }
4785 GREP="$ac_cv_path_GREP"
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4789 $as_echo_n "checking for egrep... " >&6; }
4790 if test "${ac_cv_path_EGREP+set}" = set; then :
4791 $as_echo_n "(cached) " >&6
4792 else
4793 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4794 then ac_cv_path_EGREP="$GREP -E"
4795 else
4796 if test -z "$EGREP"; then
4797 ac_path_EGREP_found=false
4798 # Loop through the user's path and test for each of PROGNAME-LIST
4799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4800 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4802 IFS=$as_save_IFS
4803 test -z "$as_dir" && as_dir=.
4804 for ac_prog in egrep; do
4805 for ac_exec_ext in '' $ac_executable_extensions; do
4806 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4807 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4808 # Check for GNU ac_path_EGREP and select it if it is found.
4809 # Check for GNU $ac_path_EGREP
4810 case `"$ac_path_EGREP" --version 2>&1` in
4811 *GNU*)
4812 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4814 ac_count=0
4815 $as_echo_n 0123456789 >"conftest.in"
4816 while :
4818 cat "conftest.in" "conftest.in" >"conftest.tmp"
4819 mv "conftest.tmp" "conftest.in"
4820 cp "conftest.in" "conftest.nl"
4821 $as_echo 'EGREP' >> "conftest.nl"
4822 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4823 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4824 as_fn_arith $ac_count + 1 && ac_count=$as_val
4825 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4826 # Best one so far, save it but keep looking for a better one
4827 ac_cv_path_EGREP="$ac_path_EGREP"
4828 ac_path_EGREP_max=$ac_count
4830 # 10*(2^10) chars as input seems more than enough
4831 test $ac_count -gt 10 && break
4832 done
4833 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4834 esac
4836 $ac_path_EGREP_found && break 3
4837 done
4838 done
4839 done
4840 IFS=$as_save_IFS
4841 if test -z "$ac_cv_path_EGREP"; then
4842 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4844 else
4845 ac_cv_path_EGREP=$EGREP
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4851 $as_echo "$ac_cv_path_EGREP" >&6; }
4852 EGREP="$ac_cv_path_EGREP"
4856 # Keep these sync'd with the list in Makefile.am. The first provides an
4857 # expandable list at autoconf time; the second provides an expandable list
4858 # (i.e., shell variable) at configure time.
4860 SUBDIRS='include libsupc++ python src doc po testsuite'
4862 # These need to be absolute paths, yet at the same time need to
4863 # canonicalize only relative paths, because then amd will not unmount
4864 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4865 glibcxx_builddir=`${PWDCMD-pwd}`
4866 case $srcdir in
4867 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4868 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4869 esac
4870 toplevel_srcdir=${glibcxx_srcdir}/..
4875 # We use these options to decide which functions to include. They are
4876 # set from the top level.
4878 # Check whether --with-target-subdir was given.
4879 if test "${with_target_subdir+set}" = set; then :
4880 withval=$with_target_subdir;
4885 # Check whether --with-cross-host was given.
4886 if test "${with_cross_host+set}" = set; then :
4887 withval=$with_cross_host;
4892 # Check whether --with-newlib was given.
4893 if test "${with_newlib+set}" = set; then :
4894 withval=$with_newlib;
4898 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4899 # available). Uncomment the next line to force a particular method.
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4901 $as_echo_n "checking whether ln -s works... " >&6; }
4902 LN_S=$as_ln_s
4903 if test "$LN_S" = "ln -s"; then
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4905 $as_echo "yes" >&6; }
4906 else
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4908 $as_echo "no, using $LN_S" >&6; }
4911 #LN_S='cp -p'
4913 if test -n "$ac_tool_prefix"; then
4914 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4915 set dummy ${ac_tool_prefix}as; ac_word=$2
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4917 $as_echo_n "checking for $ac_word... " >&6; }
4918 if test "${ac_cv_prog_AS+set}" = set; then :
4919 $as_echo_n "(cached) " >&6
4920 else
4921 if test -n "$AS"; then
4922 ac_cv_prog_AS="$AS" # Let the user override the test.
4923 else
4924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4925 for as_dir in $PATH
4927 IFS=$as_save_IFS
4928 test -z "$as_dir" && as_dir=.
4929 for ac_exec_ext in '' $ac_executable_extensions; do
4930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4931 ac_cv_prog_AS="${ac_tool_prefix}as"
4932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4933 break 2
4935 done
4936 done
4937 IFS=$as_save_IFS
4941 AS=$ac_cv_prog_AS
4942 if test -n "$AS"; then
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4944 $as_echo "$AS" >&6; }
4945 else
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4947 $as_echo "no" >&6; }
4952 if test -z "$ac_cv_prog_AS"; then
4953 ac_ct_AS=$AS
4954 # Extract the first word of "as", so it can be a program name with args.
4955 set dummy as; ac_word=$2
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4957 $as_echo_n "checking for $ac_word... " >&6; }
4958 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4959 $as_echo_n "(cached) " >&6
4960 else
4961 if test -n "$ac_ct_AS"; then
4962 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4963 else
4964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4965 for as_dir in $PATH
4967 IFS=$as_save_IFS
4968 test -z "$as_dir" && as_dir=.
4969 for ac_exec_ext in '' $ac_executable_extensions; do
4970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4971 ac_cv_prog_ac_ct_AS="as"
4972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4973 break 2
4975 done
4976 done
4977 IFS=$as_save_IFS
4981 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4982 if test -n "$ac_ct_AS"; then
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4984 $as_echo "$ac_ct_AS" >&6; }
4985 else
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4987 $as_echo "no" >&6; }
4990 if test "x$ac_ct_AS" = x; then
4991 AS=""
4992 else
4993 case $cross_compiling:$ac_tool_warned in
4994 yes:)
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4996 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4997 ac_tool_warned=yes ;;
4998 esac
4999 AS=$ac_ct_AS
5001 else
5002 AS="$ac_cv_prog_AS"
5005 if test -n "$ac_tool_prefix"; then
5006 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5007 set dummy ${ac_tool_prefix}ar; ac_word=$2
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5009 $as_echo_n "checking for $ac_word... " >&6; }
5010 if test "${ac_cv_prog_AR+set}" = set; then :
5011 $as_echo_n "(cached) " >&6
5012 else
5013 if test -n "$AR"; then
5014 ac_cv_prog_AR="$AR" # Let the user override the test.
5015 else
5016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5017 for as_dir in $PATH
5019 IFS=$as_save_IFS
5020 test -z "$as_dir" && as_dir=.
5021 for ac_exec_ext in '' $ac_executable_extensions; do
5022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5023 ac_cv_prog_AR="${ac_tool_prefix}ar"
5024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5025 break 2
5027 done
5028 done
5029 IFS=$as_save_IFS
5033 AR=$ac_cv_prog_AR
5034 if test -n "$AR"; then
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5036 $as_echo "$AR" >&6; }
5037 else
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5039 $as_echo "no" >&6; }
5044 if test -z "$ac_cv_prog_AR"; then
5045 ac_ct_AR=$AR
5046 # Extract the first word of "ar", so it can be a program name with args.
5047 set dummy ar; ac_word=$2
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5049 $as_echo_n "checking for $ac_word... " >&6; }
5050 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5051 $as_echo_n "(cached) " >&6
5052 else
5053 if test -n "$ac_ct_AR"; then
5054 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5055 else
5056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5057 for as_dir in $PATH
5059 IFS=$as_save_IFS
5060 test -z "$as_dir" && as_dir=.
5061 for ac_exec_ext in '' $ac_executable_extensions; do
5062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5063 ac_cv_prog_ac_ct_AR="ar"
5064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5065 break 2
5067 done
5068 done
5069 IFS=$as_save_IFS
5073 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5074 if test -n "$ac_ct_AR"; then
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5076 $as_echo "$ac_ct_AR" >&6; }
5077 else
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5079 $as_echo "no" >&6; }
5082 if test "x$ac_ct_AR" = x; then
5083 AR=""
5084 else
5085 case $cross_compiling:$ac_tool_warned in
5086 yes:)
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5088 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5089 ac_tool_warned=yes ;;
5090 esac
5091 AR=$ac_ct_AR
5093 else
5094 AR="$ac_cv_prog_AR"
5097 if test -n "$ac_tool_prefix"; then
5098 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5099 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5101 $as_echo_n "checking for $ac_word... " >&6; }
5102 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5103 $as_echo_n "(cached) " >&6
5104 else
5105 if test -n "$RANLIB"; then
5106 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5107 else
5108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5109 for as_dir in $PATH
5111 IFS=$as_save_IFS
5112 test -z "$as_dir" && as_dir=.
5113 for ac_exec_ext in '' $ac_executable_extensions; do
5114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5115 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5117 break 2
5119 done
5120 done
5121 IFS=$as_save_IFS
5125 RANLIB=$ac_cv_prog_RANLIB
5126 if test -n "$RANLIB"; then
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5128 $as_echo "$RANLIB" >&6; }
5129 else
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5131 $as_echo "no" >&6; }
5136 if test -z "$ac_cv_prog_RANLIB"; then
5137 ac_ct_RANLIB=$RANLIB
5138 # Extract the first word of "ranlib", so it can be a program name with args.
5139 set dummy ranlib; ac_word=$2
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5141 $as_echo_n "checking for $ac_word... " >&6; }
5142 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5143 $as_echo_n "(cached) " >&6
5144 else
5145 if test -n "$ac_ct_RANLIB"; then
5146 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5147 else
5148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5149 for as_dir in $PATH
5151 IFS=$as_save_IFS
5152 test -z "$as_dir" && as_dir=.
5153 for ac_exec_ext in '' $ac_executable_extensions; do
5154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5155 ac_cv_prog_ac_ct_RANLIB="ranlib"
5156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5157 break 2
5159 done
5160 done
5161 IFS=$as_save_IFS
5165 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5166 if test -n "$ac_ct_RANLIB"; then
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5168 $as_echo "$ac_ct_RANLIB" >&6; }
5169 else
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5171 $as_echo "no" >&6; }
5174 if test "x$ac_ct_RANLIB" = x; then
5175 RANLIB="ranlib-not-found-in-path-error"
5176 else
5177 case $cross_compiling:$ac_tool_warned in
5178 yes:)
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5180 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5181 ac_tool_warned=yes ;;
5182 esac
5183 RANLIB=$ac_ct_RANLIB
5185 else
5186 RANLIB="$ac_cv_prog_RANLIB"
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5192 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5193 # Check whether --enable-maintainer-mode was given.
5194 if test "${enable_maintainer_mode+set}" = set; then :
5195 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5196 else
5197 USE_MAINTAINER_MODE=no
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5201 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5202 if test $USE_MAINTAINER_MODE = yes; then
5203 MAINTAINER_MODE_TRUE=
5204 MAINTAINER_MODE_FALSE='#'
5205 else
5206 MAINTAINER_MODE_TRUE='#'
5207 MAINTAINER_MODE_FALSE=
5210 MAINT=$MAINTAINER_MODE_TRUE
5214 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5215 # which are themselves conditionally expanded.
5216 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5217 ## other macros from doing the same. This should be automated.) -pme
5219 # Check for C library flavor since Linux platforms use different configuration
5220 # directories depending on the C library in use.
5221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5222 /* end confdefs.h. */
5224 #include <stdio.h>
5225 #if __UCLIBC__
5226 _using_uclibc
5227 #endif
5229 _ACEOF
5230 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5231 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5232 uclibc=yes
5233 else
5234 uclibc=no
5236 rm -f conftest*
5239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5240 /* end confdefs.h. */
5242 #include <stdio.h>
5243 #if __BIONIC__
5244 _using_bionic
5245 #endif
5247 _ACEOF
5248 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5249 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5250 bionic=yes
5251 else
5252 bionic=no
5254 rm -f conftest*
5257 # Find platform-specific directories containing configuration info.
5258 # Also possibly modify flags used elsewhere, as needed by the platform.
5260 . $glibcxx_srcdir/configure.host
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5262 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5264 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5268 if test "x${with_newlib}" != "xyes"; then
5269 enable_dlopen=yes
5274 case `pwd` in
5275 *\ * | *\ *)
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5277 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5278 esac
5282 macro_version='2.2.7a'
5283 macro_revision='1.3134'
5297 ltmain="$ac_aux_dir/ltmain.sh"
5299 # Backslashify metacharacters that are still active within
5300 # double-quoted strings.
5301 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5303 # Same as above, but do not quote variable references.
5304 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5306 # Sed substitution to delay expansion of an escaped shell variable in a
5307 # double_quote_subst'ed string.
5308 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5310 # Sed substitution to delay expansion of an escaped single quote.
5311 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5313 # Sed substitution to avoid accidental globbing in evaled expressions
5314 no_glob_subst='s/\*/\\\*/g'
5316 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5317 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5318 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5321 $as_echo_n "checking how to print strings... " >&6; }
5322 # Test print first, because it will be a builtin if present.
5323 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5324 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5325 ECHO='print -r --'
5326 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5327 ECHO='printf %s\n'
5328 else
5329 # Use this function as a fallback that always works.
5330 func_fallback_echo ()
5332 eval 'cat <<_LTECHO_EOF
5334 _LTECHO_EOF'
5336 ECHO='func_fallback_echo'
5339 # func_echo_all arg...
5340 # Invoke $ECHO with all args, space-separated.
5341 func_echo_all ()
5343 $ECHO ""
5346 case "$ECHO" in
5347 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5348 $as_echo "printf" >&6; } ;;
5349 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5350 $as_echo "print -r" >&6; } ;;
5351 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5352 $as_echo "cat" >&6; } ;;
5353 esac
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5369 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5370 if test "${ac_cv_path_SED+set}" = set; then :
5371 $as_echo_n "(cached) " >&6
5372 else
5373 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5374 for ac_i in 1 2 3 4 5 6 7; do
5375 ac_script="$ac_script$as_nl$ac_script"
5376 done
5377 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5378 { ac_script=; unset ac_script;}
5379 if test -z "$SED"; then
5380 ac_path_SED_found=false
5381 # Loop through the user's path and test for each of PROGNAME-LIST
5382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5383 for as_dir in $PATH
5385 IFS=$as_save_IFS
5386 test -z "$as_dir" && as_dir=.
5387 for ac_prog in sed gsed; do
5388 for ac_exec_ext in '' $ac_executable_extensions; do
5389 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5390 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5391 # Check for GNU ac_path_SED and select it if it is found.
5392 # Check for GNU $ac_path_SED
5393 case `"$ac_path_SED" --version 2>&1` in
5394 *GNU*)
5395 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5397 ac_count=0
5398 $as_echo_n 0123456789 >"conftest.in"
5399 while :
5401 cat "conftest.in" "conftest.in" >"conftest.tmp"
5402 mv "conftest.tmp" "conftest.in"
5403 cp "conftest.in" "conftest.nl"
5404 $as_echo '' >> "conftest.nl"
5405 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5406 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5407 as_fn_arith $ac_count + 1 && ac_count=$as_val
5408 if test $ac_count -gt ${ac_path_SED_max-0}; then
5409 # Best one so far, save it but keep looking for a better one
5410 ac_cv_path_SED="$ac_path_SED"
5411 ac_path_SED_max=$ac_count
5413 # 10*(2^10) chars as input seems more than enough
5414 test $ac_count -gt 10 && break
5415 done
5416 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5417 esac
5419 $ac_path_SED_found && break 3
5420 done
5421 done
5422 done
5423 IFS=$as_save_IFS
5424 if test -z "$ac_cv_path_SED"; then
5425 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5427 else
5428 ac_cv_path_SED=$SED
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5433 $as_echo "$ac_cv_path_SED" >&6; }
5434 SED="$ac_cv_path_SED"
5435 rm -f conftest.sed
5437 test -z "$SED" && SED=sed
5438 Xsed="$SED -e 1s/^X//"
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5451 $as_echo_n "checking for fgrep... " >&6; }
5452 if test "${ac_cv_path_FGREP+set}" = set; then :
5453 $as_echo_n "(cached) " >&6
5454 else
5455 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5456 then ac_cv_path_FGREP="$GREP -F"
5457 else
5458 if test -z "$FGREP"; then
5459 ac_path_FGREP_found=false
5460 # Loop through the user's path and test for each of PROGNAME-LIST
5461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5462 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5464 IFS=$as_save_IFS
5465 test -z "$as_dir" && as_dir=.
5466 for ac_prog in fgrep; do
5467 for ac_exec_ext in '' $ac_executable_extensions; do
5468 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5469 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5470 # Check for GNU ac_path_FGREP and select it if it is found.
5471 # Check for GNU $ac_path_FGREP
5472 case `"$ac_path_FGREP" --version 2>&1` in
5473 *GNU*)
5474 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5476 ac_count=0
5477 $as_echo_n 0123456789 >"conftest.in"
5478 while :
5480 cat "conftest.in" "conftest.in" >"conftest.tmp"
5481 mv "conftest.tmp" "conftest.in"
5482 cp "conftest.in" "conftest.nl"
5483 $as_echo 'FGREP' >> "conftest.nl"
5484 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5485 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5486 as_fn_arith $ac_count + 1 && ac_count=$as_val
5487 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5488 # Best one so far, save it but keep looking for a better one
5489 ac_cv_path_FGREP="$ac_path_FGREP"
5490 ac_path_FGREP_max=$ac_count
5492 # 10*(2^10) chars as input seems more than enough
5493 test $ac_count -gt 10 && break
5494 done
5495 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5496 esac
5498 $ac_path_FGREP_found && break 3
5499 done
5500 done
5501 done
5502 IFS=$as_save_IFS
5503 if test -z "$ac_cv_path_FGREP"; then
5504 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5506 else
5507 ac_cv_path_FGREP=$FGREP
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5513 $as_echo "$ac_cv_path_FGREP" >&6; }
5514 FGREP="$ac_cv_path_FGREP"
5517 test -z "$GREP" && GREP=grep
5537 # Check whether --with-gnu-ld was given.
5538 if test "${with_gnu_ld+set}" = set; then :
5539 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5540 else
5541 with_gnu_ld=no
5544 ac_prog=ld
5545 if test "$GCC" = yes; then
5546 # Check if gcc -print-prog-name=ld gives a path.
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5548 $as_echo_n "checking for ld used by $CC... " >&6; }
5549 case $host in
5550 *-*-mingw*)
5551 # gcc leaves a trailing carriage return which upsets mingw
5552 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5554 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5555 esac
5556 case $ac_prog in
5557 # Accept absolute paths.
5558 [\\/]* | ?:[\\/]*)
5559 re_direlt='/[^/][^/]*/\.\./'
5560 # Canonicalize the pathname of ld
5561 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5562 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5563 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5564 done
5565 test -z "$LD" && LD="$ac_prog"
5568 # If it fails, then pretend we aren't using GCC.
5569 ac_prog=ld
5572 # If it is relative, then search for the first ld in PATH.
5573 with_gnu_ld=unknown
5575 esac
5576 elif test "$with_gnu_ld" = yes; then
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5578 $as_echo_n "checking for GNU ld... " >&6; }
5579 else
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5581 $as_echo_n "checking for non-GNU ld... " >&6; }
5583 if test "${lt_cv_path_LD+set}" = set; then :
5584 $as_echo_n "(cached) " >&6
5585 else
5586 if test -z "$LD"; then
5587 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5588 for ac_dir in $PATH; do
5589 IFS="$lt_save_ifs"
5590 test -z "$ac_dir" && ac_dir=.
5591 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5592 lt_cv_path_LD="$ac_dir/$ac_prog"
5593 # Check to see if the program is GNU ld. I'd rather use --version,
5594 # but apparently some variants of GNU ld only accept -v.
5595 # Break only if it was the GNU/non-GNU ld that we prefer.
5596 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5597 *GNU* | *'with BFD'*)
5598 test "$with_gnu_ld" != no && break
5601 test "$with_gnu_ld" != yes && break
5603 esac
5605 done
5606 IFS="$lt_save_ifs"
5607 else
5608 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5612 LD="$lt_cv_path_LD"
5613 if test -n "$LD"; then
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5615 $as_echo "$LD" >&6; }
5616 else
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5618 $as_echo "no" >&6; }
5620 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5622 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5623 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5624 $as_echo_n "(cached) " >&6
5625 else
5626 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5627 case `$LD -v 2>&1 </dev/null` in
5628 *GNU* | *'with BFD'*)
5629 lt_cv_prog_gnu_ld=yes
5632 lt_cv_prog_gnu_ld=no
5634 esac
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5637 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5638 with_gnu_ld=$lt_cv_prog_gnu_ld
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5649 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5650 if test "${lt_cv_path_NM+set}" = set; then :
5651 $as_echo_n "(cached) " >&6
5652 else
5653 if test -n "$NM"; then
5654 # Let the user override the test.
5655 lt_cv_path_NM="$NM"
5656 else
5657 lt_nm_to_check="${ac_tool_prefix}nm"
5658 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5659 lt_nm_to_check="$lt_nm_to_check nm"
5661 for lt_tmp_nm in $lt_nm_to_check; do
5662 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5663 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5664 IFS="$lt_save_ifs"
5665 test -z "$ac_dir" && ac_dir=.
5666 tmp_nm="$ac_dir/$lt_tmp_nm"
5667 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5668 # Check to see if the nm accepts a BSD-compat flag.
5669 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5670 # nm: unknown option "B" ignored
5671 # Tru64's nm complains that /dev/null is an invalid object file
5672 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5673 */dev/null* | *'Invalid file or object type'*)
5674 lt_cv_path_NM="$tmp_nm -B"
5675 break
5678 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5679 */dev/null*)
5680 lt_cv_path_NM="$tmp_nm -p"
5681 break
5684 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5685 continue # so that we can try to find one that supports BSD flags
5687 esac
5689 esac
5691 done
5692 IFS="$lt_save_ifs"
5693 done
5694 : ${lt_cv_path_NM=no}
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5698 $as_echo "$lt_cv_path_NM" >&6; }
5699 if test "$lt_cv_path_NM" != "no"; then
5700 NM="$lt_cv_path_NM"
5701 else
5702 # Didn't find any BSD compatible name lister, look for dumpbin.
5703 if test -n "$DUMPBIN"; then :
5704 # Let the user override the test.
5705 else
5706 if test -n "$ac_tool_prefix"; then
5707 for ac_prog in dumpbin "link -dump"
5709 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5710 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5712 $as_echo_n "checking for $ac_word... " >&6; }
5713 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5714 $as_echo_n "(cached) " >&6
5715 else
5716 if test -n "$DUMPBIN"; then
5717 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5718 else
5719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5720 for as_dir in $PATH
5722 IFS=$as_save_IFS
5723 test -z "$as_dir" && as_dir=.
5724 for ac_exec_ext in '' $ac_executable_extensions; do
5725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5726 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5728 break 2
5730 done
5731 done
5732 IFS=$as_save_IFS
5736 DUMPBIN=$ac_cv_prog_DUMPBIN
5737 if test -n "$DUMPBIN"; then
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5739 $as_echo "$DUMPBIN" >&6; }
5740 else
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5742 $as_echo "no" >&6; }
5746 test -n "$DUMPBIN" && break
5747 done
5749 if test -z "$DUMPBIN"; then
5750 ac_ct_DUMPBIN=$DUMPBIN
5751 for ac_prog in dumpbin "link -dump"
5753 # Extract the first word of "$ac_prog", so it can be a program name with args.
5754 set dummy $ac_prog; ac_word=$2
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5756 $as_echo_n "checking for $ac_word... " >&6; }
5757 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5758 $as_echo_n "(cached) " >&6
5759 else
5760 if test -n "$ac_ct_DUMPBIN"; then
5761 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5762 else
5763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5764 for as_dir in $PATH
5766 IFS=$as_save_IFS
5767 test -z "$as_dir" && as_dir=.
5768 for ac_exec_ext in '' $ac_executable_extensions; do
5769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5770 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5772 break 2
5774 done
5775 done
5776 IFS=$as_save_IFS
5780 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5781 if test -n "$ac_ct_DUMPBIN"; then
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5783 $as_echo "$ac_ct_DUMPBIN" >&6; }
5784 else
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5786 $as_echo "no" >&6; }
5790 test -n "$ac_ct_DUMPBIN" && break
5791 done
5793 if test "x$ac_ct_DUMPBIN" = x; then
5794 DUMPBIN=":"
5795 else
5796 case $cross_compiling:$ac_tool_warned in
5797 yes:)
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5800 ac_tool_warned=yes ;;
5801 esac
5802 DUMPBIN=$ac_ct_DUMPBIN
5806 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5807 *COFF*)
5808 DUMPBIN="$DUMPBIN -symbols"
5811 DUMPBIN=:
5813 esac
5816 if test "$DUMPBIN" != ":"; then
5817 NM="$DUMPBIN"
5820 test -z "$NM" && NM=nm
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5828 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5829 if test "${lt_cv_nm_interface+set}" = set; then :
5830 $as_echo_n "(cached) " >&6
5831 else
5832 lt_cv_nm_interface="BSD nm"
5833 echo "int some_variable = 0;" > conftest.$ac_ext
5834 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5835 (eval "$ac_compile" 2>conftest.err)
5836 cat conftest.err >&5
5837 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5838 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5839 cat conftest.err >&5
5840 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5841 cat conftest.out >&5
5842 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5843 lt_cv_nm_interface="MS dumpbin"
5845 rm -f conftest*
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5848 $as_echo "$lt_cv_nm_interface" >&6; }
5850 # find the maximum length of command line arguments
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5852 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5853 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5854 $as_echo_n "(cached) " >&6
5855 else
5857 teststring="ABCD"
5859 case $build_os in
5860 msdosdjgpp*)
5861 # On DJGPP, this test can blow up pretty badly due to problems in libc
5862 # (any single argument exceeding 2000 bytes causes a buffer overrun
5863 # during glob expansion). Even if it were fixed, the result of this
5864 # check would be larger than it should be.
5865 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5868 gnu*)
5869 # Under GNU Hurd, this test is not required because there is
5870 # no limit to the length of command line arguments.
5871 # Libtool will interpret -1 as no limit whatsoever
5872 lt_cv_sys_max_cmd_len=-1;
5875 cygwin* | mingw* | cegcc*)
5876 # On Win9x/ME, this test blows up -- it succeeds, but takes
5877 # about 5 minutes as the teststring grows exponentially.
5878 # Worse, since 9x/ME are not pre-emptively multitasking,
5879 # you end up with a "frozen" computer, even though with patience
5880 # the test eventually succeeds (with a max line length of 256k).
5881 # Instead, let's just punt: use the minimum linelength reported by
5882 # all of the supported platforms: 8192 (on NT/2K/XP).
5883 lt_cv_sys_max_cmd_len=8192;
5886 mint*)
5887 # On MiNT this can take a long time and run out of memory.
5888 lt_cv_sys_max_cmd_len=8192;
5891 amigaos*)
5892 # On AmigaOS with pdksh, this test takes hours, literally.
5893 # So we just punt and use a minimum line length of 8192.
5894 lt_cv_sys_max_cmd_len=8192;
5897 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5898 # This has been around since 386BSD, at least. Likely further.
5899 if test -x /sbin/sysctl; then
5900 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5901 elif test -x /usr/sbin/sysctl; then
5902 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5903 else
5904 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5906 # And add a safety zone
5907 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5908 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5911 interix*)
5912 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5913 lt_cv_sys_max_cmd_len=196608
5916 osf*)
5917 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5918 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5919 # nice to cause kernel panics so lets avoid the loop below.
5920 # First set a reasonable default.
5921 lt_cv_sys_max_cmd_len=16384
5923 if test -x /sbin/sysconfig; then
5924 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5925 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5926 esac
5929 sco3.2v5*)
5930 lt_cv_sys_max_cmd_len=102400
5932 sysv5* | sco5v6* | sysv4.2uw2*)
5933 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5934 if test -n "$kargmax"; then
5935 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5936 else
5937 lt_cv_sys_max_cmd_len=32768
5941 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5942 if test -n "$lt_cv_sys_max_cmd_len"; then
5943 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5944 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5945 else
5946 # Make teststring a little bigger before we do anything with it.
5947 # a 1K string should be a reasonable start.
5948 for i in 1 2 3 4 5 6 7 8 ; do
5949 teststring=$teststring$teststring
5950 done
5951 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5952 # If test is not a shell built-in, we'll probably end up computing a
5953 # maximum length that is only half of the actual maximum length, but
5954 # we can't tell.
5955 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5956 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5957 test $i != 17 # 1/2 MB should be enough
5959 i=`expr $i + 1`
5960 teststring=$teststring$teststring
5961 done
5962 # Only check the string length outside the loop.
5963 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5964 teststring=
5965 # Add a significant safety factor because C++ compilers can tack on
5966 # massive amounts of additional arguments before passing them to the
5967 # linker. It appears as though 1/2 is a usable value.
5968 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5971 esac
5975 if test -n $lt_cv_sys_max_cmd_len ; then
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5977 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5978 else
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5980 $as_echo "none" >&6; }
5982 max_cmd_len=$lt_cv_sys_max_cmd_len
5989 : ${CP="cp -f"}
5990 : ${MV="mv -f"}
5991 : ${RM="rm -f"}
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5994 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5995 # Try some XSI features
5996 xsi_shell=no
5997 ( _lt_dummy="a/b/c"
5998 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5999 = c,a/b,, \
6000 && eval 'test $(( 1 + 1 )) -eq 2 \
6001 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6002 && xsi_shell=yes
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6004 $as_echo "$xsi_shell" >&6; }
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6008 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6009 lt_shell_append=no
6010 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6011 >/dev/null 2>&1 \
6012 && lt_shell_append=yes
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6014 $as_echo "$lt_shell_append" >&6; }
6017 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6018 lt_unset=unset
6019 else
6020 lt_unset=false
6027 # test EBCDIC or ASCII
6028 case `echo X|tr X '\101'` in
6029 A) # ASCII based system
6030 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6031 lt_SP2NL='tr \040 \012'
6032 lt_NL2SP='tr \015\012 \040\040'
6034 *) # EBCDIC based system
6035 lt_SP2NL='tr \100 \n'
6036 lt_NL2SP='tr \r\n \100\100'
6038 esac
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6049 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6050 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6051 $as_echo_n "(cached) " >&6
6052 else
6053 lt_cv_ld_reload_flag='-r'
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6056 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6057 reload_flag=$lt_cv_ld_reload_flag
6058 case $reload_flag in
6059 "" | " "*) ;;
6060 *) reload_flag=" $reload_flag" ;;
6061 esac
6062 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6063 case $host_os in
6064 darwin*)
6065 if test "$GCC" = yes; then
6066 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6067 else
6068 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6071 esac
6081 if test -n "$ac_tool_prefix"; then
6082 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6083 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6085 $as_echo_n "checking for $ac_word... " >&6; }
6086 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6087 $as_echo_n "(cached) " >&6
6088 else
6089 if test -n "$OBJDUMP"; then
6090 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6091 else
6092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6093 for as_dir in $PATH
6095 IFS=$as_save_IFS
6096 test -z "$as_dir" && as_dir=.
6097 for ac_exec_ext in '' $ac_executable_extensions; do
6098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6099 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6101 break 2
6103 done
6104 done
6105 IFS=$as_save_IFS
6109 OBJDUMP=$ac_cv_prog_OBJDUMP
6110 if test -n "$OBJDUMP"; then
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6112 $as_echo "$OBJDUMP" >&6; }
6113 else
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6115 $as_echo "no" >&6; }
6120 if test -z "$ac_cv_prog_OBJDUMP"; then
6121 ac_ct_OBJDUMP=$OBJDUMP
6122 # Extract the first word of "objdump", so it can be a program name with args.
6123 set dummy objdump; ac_word=$2
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6125 $as_echo_n "checking for $ac_word... " >&6; }
6126 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6127 $as_echo_n "(cached) " >&6
6128 else
6129 if test -n "$ac_ct_OBJDUMP"; then
6130 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6131 else
6132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6133 for as_dir in $PATH
6135 IFS=$as_save_IFS
6136 test -z "$as_dir" && as_dir=.
6137 for ac_exec_ext in '' $ac_executable_extensions; do
6138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6139 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6141 break 2
6143 done
6144 done
6145 IFS=$as_save_IFS
6149 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6150 if test -n "$ac_ct_OBJDUMP"; then
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6152 $as_echo "$ac_ct_OBJDUMP" >&6; }
6153 else
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6155 $as_echo "no" >&6; }
6158 if test "x$ac_ct_OBJDUMP" = x; then
6159 OBJDUMP="false"
6160 else
6161 case $cross_compiling:$ac_tool_warned in
6162 yes:)
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6164 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6165 ac_tool_warned=yes ;;
6166 esac
6167 OBJDUMP=$ac_ct_OBJDUMP
6169 else
6170 OBJDUMP="$ac_cv_prog_OBJDUMP"
6173 test -z "$OBJDUMP" && OBJDUMP=objdump
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6184 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6185 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6186 $as_echo_n "(cached) " >&6
6187 else
6188 lt_cv_file_magic_cmd='$MAGIC_CMD'
6189 lt_cv_file_magic_test_file=
6190 lt_cv_deplibs_check_method='unknown'
6191 # Need to set the preceding variable on all platforms that support
6192 # interlibrary dependencies.
6193 # 'none' -- dependencies not supported.
6194 # `unknown' -- same as none, but documents that we really don't know.
6195 # 'pass_all' -- all dependencies passed with no checks.
6196 # 'test_compile' -- check by making test program.
6197 # 'file_magic [[regex]]' -- check by looking for files in library path
6198 # which responds to the $file_magic_cmd with a given extended regex.
6199 # If you have `file' or equivalent on your system and you're not sure
6200 # whether `pass_all' will *always* work, you probably want this one.
6202 case $host_os in
6203 aix[4-9]*)
6204 lt_cv_deplibs_check_method=pass_all
6207 beos*)
6208 lt_cv_deplibs_check_method=pass_all
6211 bsdi[45]*)
6212 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6213 lt_cv_file_magic_cmd='/usr/bin/file -L'
6214 lt_cv_file_magic_test_file=/shlib/libc.so
6217 cygwin*)
6218 # func_win32_libid is a shell function defined in ltmain.sh
6219 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6220 lt_cv_file_magic_cmd='func_win32_libid'
6223 mingw* | pw32*)
6224 # Base MSYS/MinGW do not provide the 'file' command needed by
6225 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6226 # unless we find 'file', for example because we are cross-compiling.
6227 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6228 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6229 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6230 lt_cv_file_magic_cmd='func_win32_libid'
6231 else
6232 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6233 lt_cv_file_magic_cmd='$OBJDUMP -f'
6237 cegcc*)
6238 # use the weaker test based on 'objdump'. See mingw*.
6239 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6240 lt_cv_file_magic_cmd='$OBJDUMP -f'
6243 darwin* | rhapsody*)
6244 lt_cv_deplibs_check_method=pass_all
6247 freebsd* | dragonfly*)
6248 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6249 case $host_cpu in
6250 i*86 )
6251 # Not sure whether the presence of OpenBSD here was a mistake.
6252 # Let's accept both of them until this is cleared up.
6253 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6254 lt_cv_file_magic_cmd=/usr/bin/file
6255 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6257 esac
6258 else
6259 lt_cv_deplibs_check_method=pass_all
6263 gnu*)
6264 lt_cv_deplibs_check_method=pass_all
6267 haiku*)
6268 lt_cv_deplibs_check_method=pass_all
6271 hpux10.20* | hpux11*)
6272 lt_cv_file_magic_cmd=/usr/bin/file
6273 case $host_cpu in
6274 ia64*)
6275 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6276 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6278 hppa*64*)
6279 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]'
6280 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6283 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6284 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6286 esac
6289 interix[3-9]*)
6290 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6291 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6294 irix5* | irix6* | nonstopux*)
6295 case $LD in
6296 *-32|*"-32 ") libmagic=32-bit;;
6297 *-n32|*"-n32 ") libmagic=N32;;
6298 *-64|*"-64 ") libmagic=64-bit;;
6299 *) libmagic=never-match;;
6300 esac
6301 lt_cv_deplibs_check_method=pass_all
6304 # This must be Linux ELF.
6305 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6306 lt_cv_deplibs_check_method=pass_all
6309 netbsd*)
6310 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6311 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6312 else
6313 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6317 newos6*)
6318 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6319 lt_cv_file_magic_cmd=/usr/bin/file
6320 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6323 *nto* | *qnx*)
6324 lt_cv_deplibs_check_method=pass_all
6327 openbsd*)
6328 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6329 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6330 else
6331 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6335 osf3* | osf4* | osf5*)
6336 lt_cv_deplibs_check_method=pass_all
6339 rdos*)
6340 lt_cv_deplibs_check_method=pass_all
6343 solaris*)
6344 lt_cv_deplibs_check_method=pass_all
6347 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6348 lt_cv_deplibs_check_method=pass_all
6351 sysv4 | sysv4.3*)
6352 case $host_vendor in
6353 motorola)
6354 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]'
6355 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6357 ncr)
6358 lt_cv_deplibs_check_method=pass_all
6360 sequent)
6361 lt_cv_file_magic_cmd='/bin/file'
6362 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6364 sni)
6365 lt_cv_file_magic_cmd='/bin/file'
6366 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6367 lt_cv_file_magic_test_file=/lib/libc.so
6369 siemens)
6370 lt_cv_deplibs_check_method=pass_all
6373 lt_cv_deplibs_check_method=pass_all
6375 esac
6378 tpf*)
6379 lt_cv_deplibs_check_method=pass_all
6381 esac
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6385 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6386 file_magic_cmd=$lt_cv_file_magic_cmd
6387 deplibs_check_method=$lt_cv_deplibs_check_method
6388 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6401 if test -n "$ac_tool_prefix"; then
6402 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6403 set dummy ${ac_tool_prefix}ar; ac_word=$2
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6405 $as_echo_n "checking for $ac_word... " >&6; }
6406 if test "${ac_cv_prog_AR+set}" = set; then :
6407 $as_echo_n "(cached) " >&6
6408 else
6409 if test -n "$AR"; then
6410 ac_cv_prog_AR="$AR" # Let the user override the test.
6411 else
6412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6413 for as_dir in $PATH
6415 IFS=$as_save_IFS
6416 test -z "$as_dir" && as_dir=.
6417 for ac_exec_ext in '' $ac_executable_extensions; do
6418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6419 ac_cv_prog_AR="${ac_tool_prefix}ar"
6420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6421 break 2
6423 done
6424 done
6425 IFS=$as_save_IFS
6429 AR=$ac_cv_prog_AR
6430 if test -n "$AR"; then
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6432 $as_echo "$AR" >&6; }
6433 else
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6435 $as_echo "no" >&6; }
6440 if test -z "$ac_cv_prog_AR"; then
6441 ac_ct_AR=$AR
6442 # Extract the first word of "ar", so it can be a program name with args.
6443 set dummy ar; ac_word=$2
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6445 $as_echo_n "checking for $ac_word... " >&6; }
6446 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6447 $as_echo_n "(cached) " >&6
6448 else
6449 if test -n "$ac_ct_AR"; then
6450 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6451 else
6452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6453 for as_dir in $PATH
6455 IFS=$as_save_IFS
6456 test -z "$as_dir" && as_dir=.
6457 for ac_exec_ext in '' $ac_executable_extensions; do
6458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6459 ac_cv_prog_ac_ct_AR="ar"
6460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6461 break 2
6463 done
6464 done
6465 IFS=$as_save_IFS
6469 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6470 if test -n "$ac_ct_AR"; then
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6472 $as_echo "$ac_ct_AR" >&6; }
6473 else
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6475 $as_echo "no" >&6; }
6478 if test "x$ac_ct_AR" = x; then
6479 AR="false"
6480 else
6481 case $cross_compiling:$ac_tool_warned in
6482 yes:)
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6484 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6485 ac_tool_warned=yes ;;
6486 esac
6487 AR=$ac_ct_AR
6489 else
6490 AR="$ac_cv_prog_AR"
6493 test -z "$AR" && AR=ar
6494 test -z "$AR_FLAGS" && AR_FLAGS=cru
6506 if test -n "$ac_tool_prefix"; then
6507 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6508 set dummy ${ac_tool_prefix}strip; ac_word=$2
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6510 $as_echo_n "checking for $ac_word... " >&6; }
6511 if test "${ac_cv_prog_STRIP+set}" = set; then :
6512 $as_echo_n "(cached) " >&6
6513 else
6514 if test -n "$STRIP"; then
6515 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6516 else
6517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6518 for as_dir in $PATH
6520 IFS=$as_save_IFS
6521 test -z "$as_dir" && as_dir=.
6522 for ac_exec_ext in '' $ac_executable_extensions; do
6523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6524 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6526 break 2
6528 done
6529 done
6530 IFS=$as_save_IFS
6534 STRIP=$ac_cv_prog_STRIP
6535 if test -n "$STRIP"; then
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6537 $as_echo "$STRIP" >&6; }
6538 else
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6540 $as_echo "no" >&6; }
6545 if test -z "$ac_cv_prog_STRIP"; then
6546 ac_ct_STRIP=$STRIP
6547 # Extract the first word of "strip", so it can be a program name with args.
6548 set dummy strip; ac_word=$2
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6550 $as_echo_n "checking for $ac_word... " >&6; }
6551 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6552 $as_echo_n "(cached) " >&6
6553 else
6554 if test -n "$ac_ct_STRIP"; then
6555 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6556 else
6557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6558 for as_dir in $PATH
6560 IFS=$as_save_IFS
6561 test -z "$as_dir" && as_dir=.
6562 for ac_exec_ext in '' $ac_executable_extensions; do
6563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6564 ac_cv_prog_ac_ct_STRIP="strip"
6565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6566 break 2
6568 done
6569 done
6570 IFS=$as_save_IFS
6574 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6575 if test -n "$ac_ct_STRIP"; then
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6577 $as_echo "$ac_ct_STRIP" >&6; }
6578 else
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6580 $as_echo "no" >&6; }
6583 if test "x$ac_ct_STRIP" = x; then
6584 STRIP=":"
6585 else
6586 case $cross_compiling:$ac_tool_warned in
6587 yes:)
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6589 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6590 ac_tool_warned=yes ;;
6591 esac
6592 STRIP=$ac_ct_STRIP
6594 else
6595 STRIP="$ac_cv_prog_STRIP"
6598 test -z "$STRIP" && STRIP=:
6605 if test -n "$ac_tool_prefix"; then
6606 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6607 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6609 $as_echo_n "checking for $ac_word... " >&6; }
6610 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6611 $as_echo_n "(cached) " >&6
6612 else
6613 if test -n "$RANLIB"; then
6614 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6615 else
6616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6617 for as_dir in $PATH
6619 IFS=$as_save_IFS
6620 test -z "$as_dir" && as_dir=.
6621 for ac_exec_ext in '' $ac_executable_extensions; do
6622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6623 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6625 break 2
6627 done
6628 done
6629 IFS=$as_save_IFS
6633 RANLIB=$ac_cv_prog_RANLIB
6634 if test -n "$RANLIB"; then
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6636 $as_echo "$RANLIB" >&6; }
6637 else
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6639 $as_echo "no" >&6; }
6644 if test -z "$ac_cv_prog_RANLIB"; then
6645 ac_ct_RANLIB=$RANLIB
6646 # Extract the first word of "ranlib", so it can be a program name with args.
6647 set dummy ranlib; ac_word=$2
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6649 $as_echo_n "checking for $ac_word... " >&6; }
6650 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6651 $as_echo_n "(cached) " >&6
6652 else
6653 if test -n "$ac_ct_RANLIB"; then
6654 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6655 else
6656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6657 for as_dir in $PATH
6659 IFS=$as_save_IFS
6660 test -z "$as_dir" && as_dir=.
6661 for ac_exec_ext in '' $ac_executable_extensions; do
6662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6663 ac_cv_prog_ac_ct_RANLIB="ranlib"
6664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6665 break 2
6667 done
6668 done
6669 IFS=$as_save_IFS
6673 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6674 if test -n "$ac_ct_RANLIB"; then
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6676 $as_echo "$ac_ct_RANLIB" >&6; }
6677 else
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6679 $as_echo "no" >&6; }
6682 if test "x$ac_ct_RANLIB" = x; then
6683 RANLIB=":"
6684 else
6685 case $cross_compiling:$ac_tool_warned in
6686 yes:)
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6688 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6689 ac_tool_warned=yes ;;
6690 esac
6691 RANLIB=$ac_ct_RANLIB
6693 else
6694 RANLIB="$ac_cv_prog_RANLIB"
6697 test -z "$RANLIB" && RANLIB=:
6704 # Determine commands to create old-style static archives.
6705 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6706 old_postinstall_cmds='chmod 644 $oldlib'
6707 old_postuninstall_cmds=
6709 if test -n "$RANLIB"; then
6710 case $host_os in
6711 openbsd*)
6712 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6715 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6717 esac
6718 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6721 case $host_os in
6722 darwin*)
6723 lock_old_archive_extraction=yes ;;
6725 lock_old_archive_extraction=no ;;
6726 esac
6766 # If no C compiler was specified, use CC.
6767 LTCC=${LTCC-"$CC"}
6769 # If no C compiler flags were specified, use CFLAGS.
6770 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6772 # Allow CC to be a program name with arguments.
6773 compiler=$CC
6776 # Check for command to grab the raw symbol name followed by C symbol from nm.
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6778 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6779 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6780 $as_echo_n "(cached) " >&6
6781 else
6783 # These are sane defaults that work on at least a few old systems.
6784 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6786 # Character class describing NM global symbol codes.
6787 symcode='[BCDEGRST]'
6789 # Regexp to match symbols that can be accessed directly from C.
6790 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6792 # Define system-specific variables.
6793 case $host_os in
6794 aix*)
6795 symcode='[BCDT]'
6797 cygwin* | mingw* | pw32* | cegcc*)
6798 symcode='[ABCDGISTW]'
6800 hpux*)
6801 if test "$host_cpu" = ia64; then
6802 symcode='[ABCDEGRST]'
6805 irix* | nonstopux*)
6806 symcode='[BCDEGRST]'
6808 osf*)
6809 symcode='[BCDEGQRST]'
6811 solaris*)
6812 symcode='[BDRT]'
6814 sco3.2v5*)
6815 symcode='[DT]'
6817 sysv4.2uw2*)
6818 symcode='[DT]'
6820 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6821 symcode='[ABDT]'
6823 sysv4)
6824 symcode='[DFNSTU]'
6826 esac
6828 # If we're using GNU nm, then use its standard symbol codes.
6829 case `$NM -V 2>&1` in
6830 *GNU* | *'with BFD'*)
6831 symcode='[ABCDGIRSTW]' ;;
6832 esac
6834 # Transform an extracted symbol line into a proper C declaration.
6835 # Some systems (esp. on ia64) link data and code symbols differently,
6836 # so use this general approach.
6837 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6839 # Transform an extracted symbol line into symbol name and symbol address
6840 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6841 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'"
6843 # Handle CRLF in mingw tool chain
6844 opt_cr=
6845 case $build_os in
6846 mingw*)
6847 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6849 esac
6851 # Try without a prefix underscore, then with it.
6852 for ac_symprfx in "" "_"; do
6854 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6855 symxfrm="\\1 $ac_symprfx\\2 \\2"
6857 # Write the raw and C identifiers.
6858 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6859 # Fake it for dumpbin and say T for any non-static function
6860 # and D for any global variable.
6861 # Also find C++ and __fastcall symbols from MSVC++,
6862 # which start with @ or ?.
6863 lt_cv_sys_global_symbol_pipe="$AWK '"\
6864 " {last_section=section; section=\$ 3};"\
6865 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6866 " \$ 0!~/External *\|/{next};"\
6867 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6868 " {if(hide[section]) next};"\
6869 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6870 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6871 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6872 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6873 " ' prfx=^$ac_symprfx"
6874 else
6875 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6878 # Check to see that the pipe works correctly.
6879 pipe_works=no
6881 rm -f conftest*
6882 cat > conftest.$ac_ext <<_LT_EOF
6883 #ifdef __cplusplus
6884 extern "C" {
6885 #endif
6886 char nm_test_var;
6887 void nm_test_func(void);
6888 void nm_test_func(void){}
6889 #ifdef __cplusplus
6891 #endif
6892 int main(){nm_test_var='a';nm_test_func();return(0);}
6893 _LT_EOF
6895 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6896 (eval $ac_compile) 2>&5
6897 ac_status=$?
6898 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6899 test $ac_status = 0; }; then
6900 # Now try to grab the symbols.
6901 nlist=conftest.nm
6902 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6903 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6904 ac_status=$?
6905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6906 test $ac_status = 0; } && test -s "$nlist"; then
6907 # Try sorting and uniquifying the output.
6908 if sort "$nlist" | uniq > "$nlist"T; then
6909 mv -f "$nlist"T "$nlist"
6910 else
6911 rm -f "$nlist"T
6914 # Make sure that we snagged all the symbols we need.
6915 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6916 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6917 cat <<_LT_EOF > conftest.$ac_ext
6918 #ifdef __cplusplus
6919 extern "C" {
6920 #endif
6922 _LT_EOF
6923 # Now generate the symbol file.
6924 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6926 cat <<_LT_EOF >> conftest.$ac_ext
6928 /* The mapping between symbol names and symbols. */
6929 const struct {
6930 const char *name;
6931 void *address;
6933 lt__PROGRAM__LTX_preloaded_symbols[] =
6935 { "@PROGRAM@", (void *) 0 },
6936 _LT_EOF
6937 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6938 cat <<\_LT_EOF >> conftest.$ac_ext
6939 {0, (void *) 0}
6942 /* This works around a problem in FreeBSD linker */
6943 #ifdef FREEBSD_WORKAROUND
6944 static const void *lt_preloaded_setup() {
6945 return lt__PROGRAM__LTX_preloaded_symbols;
6947 #endif
6949 #ifdef __cplusplus
6951 #endif
6952 _LT_EOF
6953 # Now try linking the two files.
6954 mv conftest.$ac_objext conftstm.$ac_objext
6955 lt_save_LIBS="$LIBS"
6956 lt_save_CFLAGS="$CFLAGS"
6957 LIBS="conftstm.$ac_objext"
6958 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6959 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6960 (eval $ac_link) 2>&5
6961 ac_status=$?
6962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6963 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6964 pipe_works=yes
6966 LIBS="$lt_save_LIBS"
6967 CFLAGS="$lt_save_CFLAGS"
6968 else
6969 echo "cannot find nm_test_func in $nlist" >&5
6971 else
6972 echo "cannot find nm_test_var in $nlist" >&5
6974 else
6975 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6977 else
6978 echo "$progname: failed program was:" >&5
6979 cat conftest.$ac_ext >&5
6981 rm -rf conftest* conftst*
6983 # Do not use the global_symbol_pipe unless it works.
6984 if test "$pipe_works" = yes; then
6985 break
6986 else
6987 lt_cv_sys_global_symbol_pipe=
6989 done
6993 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6994 lt_cv_sys_global_symbol_to_cdecl=
6996 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6998 $as_echo "failed" >&6; }
6999 else
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7001 $as_echo "ok" >&6; }
7025 # Check whether --enable-libtool-lock was given.
7026 if test "${enable_libtool_lock+set}" = set; then :
7027 enableval=$enable_libtool_lock;
7030 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7032 # Some flags need to be propagated to the compiler or linker for good
7033 # libtool support.
7034 case $host in
7035 ia64-*-hpux*)
7036 # Find out which ABI we are using.
7037 echo 'int i;' > conftest.$ac_ext
7038 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7039 (eval $ac_compile) 2>&5
7040 ac_status=$?
7041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7042 test $ac_status = 0; }; then
7043 case `/usr/bin/file conftest.$ac_objext` in
7044 *ELF-32*)
7045 HPUX_IA64_MODE="32"
7047 *ELF-64*)
7048 HPUX_IA64_MODE="64"
7050 esac
7052 rm -rf conftest*
7054 *-*-irix6*)
7055 # Find out which ABI we are using.
7056 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7057 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7058 (eval $ac_compile) 2>&5
7059 ac_status=$?
7060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7061 test $ac_status = 0; }; then
7062 if test "$lt_cv_prog_gnu_ld" = yes; then
7063 case `/usr/bin/file conftest.$ac_objext` in
7064 *32-bit*)
7065 LD="${LD-ld} -melf32bsmip"
7067 *N32*)
7068 LD="${LD-ld} -melf32bmipn32"
7070 *64-bit*)
7071 LD="${LD-ld} -melf64bmip"
7073 esac
7074 else
7075 case `/usr/bin/file conftest.$ac_objext` in
7076 *32-bit*)
7077 LD="${LD-ld} -32"
7079 *N32*)
7080 LD="${LD-ld} -n32"
7082 *64-bit*)
7083 LD="${LD-ld} -64"
7085 esac
7088 rm -rf conftest*
7091 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7092 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7093 # Find out which ABI we are using.
7094 echo 'int i;' > conftest.$ac_ext
7095 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7096 (eval $ac_compile) 2>&5
7097 ac_status=$?
7098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7099 test $ac_status = 0; }; then
7100 case `/usr/bin/file conftest.o` in
7101 *32-bit*)
7102 case $host in
7103 x86_64-*kfreebsd*-gnu)
7104 LD="${LD-ld} -m elf_i386_fbsd"
7106 x86_64-*linux*)
7107 LD="${LD-ld} -m elf_i386"
7109 ppc64-*linux*|powerpc64-*linux*)
7110 LD="${LD-ld} -m elf32ppclinux"
7112 s390x-*linux*)
7113 LD="${LD-ld} -m elf_s390"
7115 sparc64-*linux*)
7116 LD="${LD-ld} -m elf32_sparc"
7118 esac
7120 *64-bit*)
7121 case $host in
7122 x86_64-*kfreebsd*-gnu)
7123 LD="${LD-ld} -m elf_x86_64_fbsd"
7125 x86_64-*linux*)
7126 LD="${LD-ld} -m elf_x86_64"
7128 ppc*-*linux*|powerpc*-*linux*)
7129 LD="${LD-ld} -m elf64ppc"
7131 s390*-*linux*|s390*-*tpf*)
7132 LD="${LD-ld} -m elf64_s390"
7134 sparc*-*linux*)
7135 LD="${LD-ld} -m elf64_sparc"
7137 esac
7139 esac
7141 rm -rf conftest*
7144 *-*-sco3.2v5*)
7145 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7146 SAVE_CFLAGS="$CFLAGS"
7147 CFLAGS="$CFLAGS -belf"
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7149 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7150 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7151 $as_echo_n "(cached) " >&6
7152 else
7153 ac_ext=c
7154 ac_cpp='$CPP $CPPFLAGS'
7155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7159 if test x$gcc_no_link = xyes; then
7160 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7163 /* end confdefs.h. */
7166 main ()
7170 return 0;
7172 _ACEOF
7173 if ac_fn_c_try_link "$LINENO"; then :
7174 lt_cv_cc_needs_belf=yes
7175 else
7176 lt_cv_cc_needs_belf=no
7178 rm -f core conftest.err conftest.$ac_objext \
7179 conftest$ac_exeext conftest.$ac_ext
7180 ac_ext=c
7181 ac_cpp='$CPP $CPPFLAGS'
7182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7188 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7189 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7190 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7191 CFLAGS="$SAVE_CFLAGS"
7194 sparc*-*solaris*)
7195 # Find out which ABI we are using.
7196 echo 'int i;' > conftest.$ac_ext
7197 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7198 (eval $ac_compile) 2>&5
7199 ac_status=$?
7200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7201 test $ac_status = 0; }; then
7202 case `/usr/bin/file conftest.o` in
7203 *64-bit*)
7204 case $lt_cv_prog_gnu_ld in
7205 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7207 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7208 LD="${LD-ld} -64"
7211 esac
7213 esac
7215 rm -rf conftest*
7217 esac
7219 need_locks="$enable_libtool_lock"
7222 case $host_os in
7223 rhapsody* | darwin*)
7224 if test -n "$ac_tool_prefix"; then
7225 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7226 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7228 $as_echo_n "checking for $ac_word... " >&6; }
7229 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7230 $as_echo_n "(cached) " >&6
7231 else
7232 if test -n "$DSYMUTIL"; then
7233 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7234 else
7235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7236 for as_dir in $PATH
7238 IFS=$as_save_IFS
7239 test -z "$as_dir" && as_dir=.
7240 for ac_exec_ext in '' $ac_executable_extensions; do
7241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7242 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7244 break 2
7246 done
7247 done
7248 IFS=$as_save_IFS
7252 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7253 if test -n "$DSYMUTIL"; then
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7255 $as_echo "$DSYMUTIL" >&6; }
7256 else
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7258 $as_echo "no" >&6; }
7263 if test -z "$ac_cv_prog_DSYMUTIL"; then
7264 ac_ct_DSYMUTIL=$DSYMUTIL
7265 # Extract the first word of "dsymutil", so it can be a program name with args.
7266 set dummy dsymutil; ac_word=$2
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7268 $as_echo_n "checking for $ac_word... " >&6; }
7269 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7270 $as_echo_n "(cached) " >&6
7271 else
7272 if test -n "$ac_ct_DSYMUTIL"; then
7273 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7274 else
7275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7276 for as_dir in $PATH
7278 IFS=$as_save_IFS
7279 test -z "$as_dir" && as_dir=.
7280 for ac_exec_ext in '' $ac_executable_extensions; do
7281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7282 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7284 break 2
7286 done
7287 done
7288 IFS=$as_save_IFS
7292 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7293 if test -n "$ac_ct_DSYMUTIL"; then
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7295 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7296 else
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7298 $as_echo "no" >&6; }
7301 if test "x$ac_ct_DSYMUTIL" = x; then
7302 DSYMUTIL=":"
7303 else
7304 case $cross_compiling:$ac_tool_warned in
7305 yes:)
7306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7307 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7308 ac_tool_warned=yes ;;
7309 esac
7310 DSYMUTIL=$ac_ct_DSYMUTIL
7312 else
7313 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7316 if test -n "$ac_tool_prefix"; then
7317 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7318 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7320 $as_echo_n "checking for $ac_word... " >&6; }
7321 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7322 $as_echo_n "(cached) " >&6
7323 else
7324 if test -n "$NMEDIT"; then
7325 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7326 else
7327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7328 for as_dir in $PATH
7330 IFS=$as_save_IFS
7331 test -z "$as_dir" && as_dir=.
7332 for ac_exec_ext in '' $ac_executable_extensions; do
7333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7334 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7336 break 2
7338 done
7339 done
7340 IFS=$as_save_IFS
7344 NMEDIT=$ac_cv_prog_NMEDIT
7345 if test -n "$NMEDIT"; then
7346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7347 $as_echo "$NMEDIT" >&6; }
7348 else
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7350 $as_echo "no" >&6; }
7355 if test -z "$ac_cv_prog_NMEDIT"; then
7356 ac_ct_NMEDIT=$NMEDIT
7357 # Extract the first word of "nmedit", so it can be a program name with args.
7358 set dummy nmedit; ac_word=$2
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7360 $as_echo_n "checking for $ac_word... " >&6; }
7361 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7362 $as_echo_n "(cached) " >&6
7363 else
7364 if test -n "$ac_ct_NMEDIT"; then
7365 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7366 else
7367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7368 for as_dir in $PATH
7370 IFS=$as_save_IFS
7371 test -z "$as_dir" && as_dir=.
7372 for ac_exec_ext in '' $ac_executable_extensions; do
7373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7374 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7376 break 2
7378 done
7379 done
7380 IFS=$as_save_IFS
7384 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7385 if test -n "$ac_ct_NMEDIT"; then
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7387 $as_echo "$ac_ct_NMEDIT" >&6; }
7388 else
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7390 $as_echo "no" >&6; }
7393 if test "x$ac_ct_NMEDIT" = x; then
7394 NMEDIT=":"
7395 else
7396 case $cross_compiling:$ac_tool_warned in
7397 yes:)
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7399 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7400 ac_tool_warned=yes ;;
7401 esac
7402 NMEDIT=$ac_ct_NMEDIT
7404 else
7405 NMEDIT="$ac_cv_prog_NMEDIT"
7408 if test -n "$ac_tool_prefix"; then
7409 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7410 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7412 $as_echo_n "checking for $ac_word... " >&6; }
7413 if test "${ac_cv_prog_LIPO+set}" = set; then :
7414 $as_echo_n "(cached) " >&6
7415 else
7416 if test -n "$LIPO"; then
7417 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7418 else
7419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7420 for as_dir in $PATH
7422 IFS=$as_save_IFS
7423 test -z "$as_dir" && as_dir=.
7424 for ac_exec_ext in '' $ac_executable_extensions; do
7425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7426 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7428 break 2
7430 done
7431 done
7432 IFS=$as_save_IFS
7436 LIPO=$ac_cv_prog_LIPO
7437 if test -n "$LIPO"; then
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7439 $as_echo "$LIPO" >&6; }
7440 else
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7442 $as_echo "no" >&6; }
7447 if test -z "$ac_cv_prog_LIPO"; then
7448 ac_ct_LIPO=$LIPO
7449 # Extract the first word of "lipo", so it can be a program name with args.
7450 set dummy lipo; ac_word=$2
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7452 $as_echo_n "checking for $ac_word... " >&6; }
7453 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7454 $as_echo_n "(cached) " >&6
7455 else
7456 if test -n "$ac_ct_LIPO"; then
7457 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7458 else
7459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7460 for as_dir in $PATH
7462 IFS=$as_save_IFS
7463 test -z "$as_dir" && as_dir=.
7464 for ac_exec_ext in '' $ac_executable_extensions; do
7465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7466 ac_cv_prog_ac_ct_LIPO="lipo"
7467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7468 break 2
7470 done
7471 done
7472 IFS=$as_save_IFS
7476 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7477 if test -n "$ac_ct_LIPO"; then
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7479 $as_echo "$ac_ct_LIPO" >&6; }
7480 else
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7482 $as_echo "no" >&6; }
7485 if test "x$ac_ct_LIPO" = x; then
7486 LIPO=":"
7487 else
7488 case $cross_compiling:$ac_tool_warned in
7489 yes:)
7490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7491 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7492 ac_tool_warned=yes ;;
7493 esac
7494 LIPO=$ac_ct_LIPO
7496 else
7497 LIPO="$ac_cv_prog_LIPO"
7500 if test -n "$ac_tool_prefix"; then
7501 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7502 set dummy ${ac_tool_prefix}otool; ac_word=$2
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7504 $as_echo_n "checking for $ac_word... " >&6; }
7505 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7506 $as_echo_n "(cached) " >&6
7507 else
7508 if test -n "$OTOOL"; then
7509 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7510 else
7511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7512 for as_dir in $PATH
7514 IFS=$as_save_IFS
7515 test -z "$as_dir" && as_dir=.
7516 for ac_exec_ext in '' $ac_executable_extensions; do
7517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7518 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7520 break 2
7522 done
7523 done
7524 IFS=$as_save_IFS
7528 OTOOL=$ac_cv_prog_OTOOL
7529 if test -n "$OTOOL"; then
7530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7531 $as_echo "$OTOOL" >&6; }
7532 else
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7534 $as_echo "no" >&6; }
7539 if test -z "$ac_cv_prog_OTOOL"; then
7540 ac_ct_OTOOL=$OTOOL
7541 # Extract the first word of "otool", so it can be a program name with args.
7542 set dummy otool; ac_word=$2
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7544 $as_echo_n "checking for $ac_word... " >&6; }
7545 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7546 $as_echo_n "(cached) " >&6
7547 else
7548 if test -n "$ac_ct_OTOOL"; then
7549 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7550 else
7551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7552 for as_dir in $PATH
7554 IFS=$as_save_IFS
7555 test -z "$as_dir" && as_dir=.
7556 for ac_exec_ext in '' $ac_executable_extensions; do
7557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7558 ac_cv_prog_ac_ct_OTOOL="otool"
7559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7560 break 2
7562 done
7563 done
7564 IFS=$as_save_IFS
7568 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7569 if test -n "$ac_ct_OTOOL"; then
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7571 $as_echo "$ac_ct_OTOOL" >&6; }
7572 else
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7574 $as_echo "no" >&6; }
7577 if test "x$ac_ct_OTOOL" = x; then
7578 OTOOL=":"
7579 else
7580 case $cross_compiling:$ac_tool_warned in
7581 yes:)
7582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7583 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7584 ac_tool_warned=yes ;;
7585 esac
7586 OTOOL=$ac_ct_OTOOL
7588 else
7589 OTOOL="$ac_cv_prog_OTOOL"
7592 if test -n "$ac_tool_prefix"; then
7593 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7594 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7596 $as_echo_n "checking for $ac_word... " >&6; }
7597 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7598 $as_echo_n "(cached) " >&6
7599 else
7600 if test -n "$OTOOL64"; then
7601 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7602 else
7603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7604 for as_dir in $PATH
7606 IFS=$as_save_IFS
7607 test -z "$as_dir" && as_dir=.
7608 for ac_exec_ext in '' $ac_executable_extensions; do
7609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7610 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7612 break 2
7614 done
7615 done
7616 IFS=$as_save_IFS
7620 OTOOL64=$ac_cv_prog_OTOOL64
7621 if test -n "$OTOOL64"; then
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7623 $as_echo "$OTOOL64" >&6; }
7624 else
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7626 $as_echo "no" >&6; }
7631 if test -z "$ac_cv_prog_OTOOL64"; then
7632 ac_ct_OTOOL64=$OTOOL64
7633 # Extract the first word of "otool64", so it can be a program name with args.
7634 set dummy otool64; ac_word=$2
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7636 $as_echo_n "checking for $ac_word... " >&6; }
7637 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7638 $as_echo_n "(cached) " >&6
7639 else
7640 if test -n "$ac_ct_OTOOL64"; then
7641 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7642 else
7643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7644 for as_dir in $PATH
7646 IFS=$as_save_IFS
7647 test -z "$as_dir" && as_dir=.
7648 for ac_exec_ext in '' $ac_executable_extensions; do
7649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7650 ac_cv_prog_ac_ct_OTOOL64="otool64"
7651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7652 break 2
7654 done
7655 done
7656 IFS=$as_save_IFS
7660 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7661 if test -n "$ac_ct_OTOOL64"; then
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7663 $as_echo "$ac_ct_OTOOL64" >&6; }
7664 else
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7666 $as_echo "no" >&6; }
7669 if test "x$ac_ct_OTOOL64" = x; then
7670 OTOOL64=":"
7671 else
7672 case $cross_compiling:$ac_tool_warned in
7673 yes:)
7674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7675 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7676 ac_tool_warned=yes ;;
7677 esac
7678 OTOOL64=$ac_ct_OTOOL64
7680 else
7681 OTOOL64="$ac_cv_prog_OTOOL64"
7710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7711 $as_echo_n "checking for -single_module linker flag... " >&6; }
7712 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7713 $as_echo_n "(cached) " >&6
7714 else
7715 lt_cv_apple_cc_single_mod=no
7716 if test -z "${LT_MULTI_MODULE}"; then
7717 # By default we will add the -single_module flag. You can override
7718 # by either setting the environment variable LT_MULTI_MODULE
7719 # non-empty at configure time, or by adding -multi_module to the
7720 # link flags.
7721 rm -rf libconftest.dylib*
7722 echo "int foo(void){return 1;}" > conftest.c
7723 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7724 -dynamiclib -Wl,-single_module conftest.c" >&5
7725 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7726 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7727 _lt_result=$?
7728 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7729 lt_cv_apple_cc_single_mod=yes
7730 else
7731 cat conftest.err >&5
7733 rm -rf libconftest.dylib*
7734 rm -f conftest.*
7737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7738 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7740 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7741 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7742 $as_echo_n "(cached) " >&6
7743 else
7744 lt_cv_ld_exported_symbols_list=no
7745 save_LDFLAGS=$LDFLAGS
7746 echo "_main" > conftest.sym
7747 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7748 if test x$gcc_no_link = xyes; then
7749 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7752 /* end confdefs.h. */
7755 main ()
7759 return 0;
7761 _ACEOF
7762 if ac_fn_c_try_link "$LINENO"; then :
7763 lt_cv_ld_exported_symbols_list=yes
7764 else
7765 lt_cv_ld_exported_symbols_list=no
7767 rm -f core conftest.err conftest.$ac_objext \
7768 conftest$ac_exeext conftest.$ac_ext
7769 LDFLAGS="$save_LDFLAGS"
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7773 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7775 $as_echo_n "checking for -force_load linker flag... " >&6; }
7776 if test "${lt_cv_ld_force_load+set}" = set; then :
7777 $as_echo_n "(cached) " >&6
7778 else
7779 lt_cv_ld_force_load=no
7780 cat > conftest.c << _LT_EOF
7781 int forced_loaded() { return 2;}
7782 _LT_EOF
7783 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7784 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7785 echo "$AR cru libconftest.a conftest.o" >&5
7786 $AR cru libconftest.a conftest.o 2>&5
7787 cat > conftest.c << _LT_EOF
7788 int main() { return 0;}
7789 _LT_EOF
7790 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7791 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7792 _lt_result=$?
7793 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7794 lt_cv_ld_force_load=yes
7795 else
7796 cat conftest.err >&5
7798 rm -f conftest.err libconftest.a conftest conftest.c
7799 rm -rf conftest.dSYM
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7803 $as_echo "$lt_cv_ld_force_load" >&6; }
7804 case $host_os in
7805 rhapsody* | darwin1.[012])
7806 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7807 darwin1.*)
7808 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7809 darwin*) # darwin 5.x on
7810 # if running on 10.5 or later, the deployment target defaults
7811 # to the OS version, if on x86, and 10.4, the deployment
7812 # target defaults to 10.4. Don't you love it?
7813 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7814 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7815 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7816 10.[012]*)
7817 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7818 10.*)
7819 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7820 esac
7822 esac
7823 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7824 _lt_dar_single_mod='$single_module'
7826 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7827 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7828 else
7829 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7831 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7832 _lt_dsymutil='~$DSYMUTIL $lib || :'
7833 else
7834 _lt_dsymutil=
7837 esac
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7840 $as_echo_n "checking for ANSI C header files... " >&6; }
7841 if test "${ac_cv_header_stdc+set}" = set; then :
7842 $as_echo_n "(cached) " >&6
7843 else
7844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7845 /* end confdefs.h. */
7846 #include <stdlib.h>
7847 #include <stdarg.h>
7848 #include <string.h>
7849 #include <float.h>
7852 main ()
7856 return 0;
7858 _ACEOF
7859 if ac_fn_c_try_compile "$LINENO"; then :
7860 ac_cv_header_stdc=yes
7861 else
7862 ac_cv_header_stdc=no
7864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7866 if test $ac_cv_header_stdc = yes; then
7867 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7869 /* end confdefs.h. */
7870 #include <string.h>
7872 _ACEOF
7873 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7874 $EGREP "memchr" >/dev/null 2>&1; then :
7876 else
7877 ac_cv_header_stdc=no
7879 rm -f conftest*
7883 if test $ac_cv_header_stdc = yes; then
7884 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7886 /* end confdefs.h. */
7887 #include <stdlib.h>
7889 _ACEOF
7890 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7891 $EGREP "free" >/dev/null 2>&1; then :
7893 else
7894 ac_cv_header_stdc=no
7896 rm -f conftest*
7900 if test $ac_cv_header_stdc = yes; then
7901 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7902 if test "$cross_compiling" = yes; then :
7904 else
7905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7906 /* end confdefs.h. */
7907 #include <ctype.h>
7908 #include <stdlib.h>
7909 #if ((' ' & 0x0FF) == 0x020)
7910 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7911 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7912 #else
7913 # define ISLOWER(c) \
7914 (('a' <= (c) && (c) <= 'i') \
7915 || ('j' <= (c) && (c) <= 'r') \
7916 || ('s' <= (c) && (c) <= 'z'))
7917 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7918 #endif
7920 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7922 main ()
7924 int i;
7925 for (i = 0; i < 256; i++)
7926 if (XOR (islower (i), ISLOWER (i))
7927 || toupper (i) != TOUPPER (i))
7928 return 2;
7929 return 0;
7931 _ACEOF
7932 if ac_fn_c_try_run "$LINENO"; then :
7934 else
7935 ac_cv_header_stdc=no
7937 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7938 conftest.$ac_objext conftest.beam conftest.$ac_ext
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7944 $as_echo "$ac_cv_header_stdc" >&6; }
7945 if test $ac_cv_header_stdc = yes; then
7947 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7951 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7952 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7953 inttypes.h stdint.h unistd.h
7954 do :
7955 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7956 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7958 eval as_val=\$$as_ac_Header
7959 if test "x$as_val" = x""yes; then :
7960 cat >>confdefs.h <<_ACEOF
7961 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7962 _ACEOF
7966 done
7969 for ac_header in dlfcn.h
7970 do :
7971 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7973 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7974 cat >>confdefs.h <<_ACEOF
7975 #define HAVE_DLFCN_H 1
7976 _ACEOF
7980 done
7987 # Set options
7992 enable_win32_dll=no
7995 # Check whether --enable-shared was given.
7996 if test "${enable_shared+set}" = set; then :
7997 enableval=$enable_shared; p=${PACKAGE-default}
7998 case $enableval in
7999 yes) enable_shared=yes ;;
8000 no) enable_shared=no ;;
8002 enable_shared=no
8003 # Look at the argument we got. We use all the common list separators.
8004 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8005 for pkg in $enableval; do
8006 IFS="$lt_save_ifs"
8007 if test "X$pkg" = "X$p"; then
8008 enable_shared=yes
8010 done
8011 IFS="$lt_save_ifs"
8013 esac
8014 else
8015 enable_shared=yes
8026 # Check whether --enable-static was given.
8027 if test "${enable_static+set}" = set; then :
8028 enableval=$enable_static; p=${PACKAGE-default}
8029 case $enableval in
8030 yes) enable_static=yes ;;
8031 no) enable_static=no ;;
8033 enable_static=no
8034 # Look at the argument we got. We use all the common list separators.
8035 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8036 for pkg in $enableval; do
8037 IFS="$lt_save_ifs"
8038 if test "X$pkg" = "X$p"; then
8039 enable_static=yes
8041 done
8042 IFS="$lt_save_ifs"
8044 esac
8045 else
8046 enable_static=yes
8058 # Check whether --with-pic was given.
8059 if test "${with_pic+set}" = set; then :
8060 withval=$with_pic; pic_mode="$withval"
8061 else
8062 pic_mode=default
8066 test -z "$pic_mode" && pic_mode=default
8074 # Check whether --enable-fast-install was given.
8075 if test "${enable_fast_install+set}" = set; then :
8076 enableval=$enable_fast_install; p=${PACKAGE-default}
8077 case $enableval in
8078 yes) enable_fast_install=yes ;;
8079 no) enable_fast_install=no ;;
8081 enable_fast_install=no
8082 # Look at the argument we got. We use all the common list separators.
8083 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8084 for pkg in $enableval; do
8085 IFS="$lt_save_ifs"
8086 if test "X$pkg" = "X$p"; then
8087 enable_fast_install=yes
8089 done
8090 IFS="$lt_save_ifs"
8092 esac
8093 else
8094 enable_fast_install=yes
8107 # This can be used to rebuild libtool when needed
8108 LIBTOOL_DEPS="$ltmain"
8110 # Always use our own libtool.
8111 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8138 test -z "$LN_S" && LN_S="ln -s"
8153 if test -n "${ZSH_VERSION+set}" ; then
8154 setopt NO_GLOB_SUBST
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8158 $as_echo_n "checking for objdir... " >&6; }
8159 if test "${lt_cv_objdir+set}" = set; then :
8160 $as_echo_n "(cached) " >&6
8161 else
8162 rm -f .libs 2>/dev/null
8163 mkdir .libs 2>/dev/null
8164 if test -d .libs; then
8165 lt_cv_objdir=.libs
8166 else
8167 # MS-DOS does not allow filenames that begin with a dot.
8168 lt_cv_objdir=_libs
8170 rmdir .libs 2>/dev/null
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8173 $as_echo "$lt_cv_objdir" >&6; }
8174 objdir=$lt_cv_objdir
8180 cat >>confdefs.h <<_ACEOF
8181 #define LT_OBJDIR "$lt_cv_objdir/"
8182 _ACEOF
8187 case $host_os in
8188 aix3*)
8189 # AIX sometimes has problems with the GCC collect2 program. For some
8190 # reason, if we set the COLLECT_NAMES environment variable, the problems
8191 # vanish in a puff of smoke.
8192 if test "X${COLLECT_NAMES+set}" != Xset; then
8193 COLLECT_NAMES=
8194 export COLLECT_NAMES
8197 esac
8199 # Global variables:
8200 ofile=libtool
8201 can_build_shared=yes
8203 # All known linkers require a `.a' archive for static linking (except MSVC,
8204 # which needs '.lib').
8205 libext=a
8207 with_gnu_ld="$lt_cv_prog_gnu_ld"
8209 old_CC="$CC"
8210 old_CFLAGS="$CFLAGS"
8212 # Set sane defaults for various variables
8213 test -z "$CC" && CC=cc
8214 test -z "$LTCC" && LTCC=$CC
8215 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8216 test -z "$LD" && LD=ld
8217 test -z "$ac_objext" && ac_objext=o
8219 for cc_temp in $compiler""; do
8220 case $cc_temp in
8221 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8222 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8223 \-*) ;;
8224 *) break;;
8225 esac
8226 done
8227 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8230 # Only perform the check for file, if the check method requires it
8231 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8232 case $deplibs_check_method in
8233 file_magic*)
8234 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8236 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8237 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8238 $as_echo_n "(cached) " >&6
8239 else
8240 case $MAGIC_CMD in
8241 [\\/*] | ?:[\\/]*)
8242 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8245 lt_save_MAGIC_CMD="$MAGIC_CMD"
8246 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8247 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8248 for ac_dir in $ac_dummy; do
8249 IFS="$lt_save_ifs"
8250 test -z "$ac_dir" && ac_dir=.
8251 if test -f $ac_dir/${ac_tool_prefix}file; then
8252 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8253 if test -n "$file_magic_test_file"; then
8254 case $deplibs_check_method in
8255 "file_magic "*)
8256 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8257 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8258 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8259 $EGREP "$file_magic_regex" > /dev/null; then
8261 else
8262 cat <<_LT_EOF 1>&2
8264 *** Warning: the command libtool uses to detect shared libraries,
8265 *** $file_magic_cmd, produces output that libtool cannot recognize.
8266 *** The result is that libtool may fail to recognize shared libraries
8267 *** as such. This will affect the creation of libtool libraries that
8268 *** depend on shared libraries, but programs linked with such libtool
8269 *** libraries will work regardless of this problem. Nevertheless, you
8270 *** may want to report the problem to your system manager and/or to
8271 *** bug-libtool@gnu.org
8273 _LT_EOF
8274 fi ;;
8275 esac
8277 break
8279 done
8280 IFS="$lt_save_ifs"
8281 MAGIC_CMD="$lt_save_MAGIC_CMD"
8283 esac
8286 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8287 if test -n "$MAGIC_CMD"; then
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8289 $as_echo "$MAGIC_CMD" >&6; }
8290 else
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8292 $as_echo "no" >&6; }
8299 if test -z "$lt_cv_path_MAGIC_CMD"; then
8300 if test -n "$ac_tool_prefix"; then
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8302 $as_echo_n "checking for file... " >&6; }
8303 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8304 $as_echo_n "(cached) " >&6
8305 else
8306 case $MAGIC_CMD in
8307 [\\/*] | ?:[\\/]*)
8308 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8311 lt_save_MAGIC_CMD="$MAGIC_CMD"
8312 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8313 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8314 for ac_dir in $ac_dummy; do
8315 IFS="$lt_save_ifs"
8316 test -z "$ac_dir" && ac_dir=.
8317 if test -f $ac_dir/file; then
8318 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8319 if test -n "$file_magic_test_file"; then
8320 case $deplibs_check_method in
8321 "file_magic "*)
8322 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8323 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8324 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8325 $EGREP "$file_magic_regex" > /dev/null; then
8327 else
8328 cat <<_LT_EOF 1>&2
8330 *** Warning: the command libtool uses to detect shared libraries,
8331 *** $file_magic_cmd, produces output that libtool cannot recognize.
8332 *** The result is that libtool may fail to recognize shared libraries
8333 *** as such. This will affect the creation of libtool libraries that
8334 *** depend on shared libraries, but programs linked with such libtool
8335 *** libraries will work regardless of this problem. Nevertheless, you
8336 *** may want to report the problem to your system manager and/or to
8337 *** bug-libtool@gnu.org
8339 _LT_EOF
8340 fi ;;
8341 esac
8343 break
8345 done
8346 IFS="$lt_save_ifs"
8347 MAGIC_CMD="$lt_save_MAGIC_CMD"
8349 esac
8352 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8353 if test -n "$MAGIC_CMD"; then
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8355 $as_echo "$MAGIC_CMD" >&6; }
8356 else
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8358 $as_echo "no" >&6; }
8362 else
8363 MAGIC_CMD=:
8369 esac
8371 # Use C for the default configuration in the libtool script
8373 lt_save_CC="$CC"
8374 ac_ext=c
8375 ac_cpp='$CPP $CPPFLAGS'
8376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8381 # Source file extension for C test sources.
8382 ac_ext=c
8384 # Object file extension for compiled C test sources.
8385 objext=o
8386 objext=$objext
8388 # Code to be used in simple compile tests
8389 lt_simple_compile_test_code="int some_variable = 0;"
8391 # Code to be used in simple link tests
8392 lt_simple_link_test_code='int main(){return(0);}'
8400 # If no C compiler was specified, use CC.
8401 LTCC=${LTCC-"$CC"}
8403 # If no C compiler flags were specified, use CFLAGS.
8404 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8406 # Allow CC to be a program name with arguments.
8407 compiler=$CC
8409 # Save the default compiler, since it gets overwritten when the other
8410 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8411 compiler_DEFAULT=$CC
8413 # save warnings/boilerplate of simple test code
8414 ac_outfile=conftest.$ac_objext
8415 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8416 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8417 _lt_compiler_boilerplate=`cat conftest.err`
8418 $RM conftest*
8420 ac_outfile=conftest.$ac_objext
8421 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8422 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8423 _lt_linker_boilerplate=`cat conftest.err`
8424 $RM -r conftest*
8427 ## CAVEAT EMPTOR:
8428 ## There is no encapsulation within the following macros, do not change
8429 ## the running order or otherwise move them around unless you know exactly
8430 ## what you are doing...
8431 if test -n "$compiler"; then
8433 lt_prog_compiler_no_builtin_flag=
8435 if test "$GCC" = yes; then
8436 case $cc_basename in
8437 nvcc*)
8438 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8440 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8441 esac
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8444 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8445 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8446 $as_echo_n "(cached) " >&6
8447 else
8448 lt_cv_prog_compiler_rtti_exceptions=no
8449 ac_outfile=conftest.$ac_objext
8450 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8451 lt_compiler_flag="-fno-rtti -fno-exceptions"
8452 # Insert the option either (1) after the last *FLAGS variable, or
8453 # (2) before a word containing "conftest.", or (3) at the end.
8454 # Note that $ac_compile itself does not contain backslashes and begins
8455 # with a dollar sign (not a hyphen), so the echo should work correctly.
8456 # The option is referenced via a variable to avoid confusing sed.
8457 lt_compile=`echo "$ac_compile" | $SED \
8458 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8459 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8460 -e 's:$: $lt_compiler_flag:'`
8461 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8462 (eval "$lt_compile" 2>conftest.err)
8463 ac_status=$?
8464 cat conftest.err >&5
8465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8466 if (exit $ac_status) && test -s "$ac_outfile"; then
8467 # The compiler can only warn and ignore the option if not recognized
8468 # So say no if there are warnings other than the usual output.
8469 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8470 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8471 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8472 lt_cv_prog_compiler_rtti_exceptions=yes
8475 $RM conftest*
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8479 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8481 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8482 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8483 else
8494 lt_prog_compiler_wl=
8495 lt_prog_compiler_pic=
8496 lt_prog_compiler_static=
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8499 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8501 if test "$GCC" = yes; then
8502 lt_prog_compiler_wl='-Wl,'
8503 lt_prog_compiler_static='-static'
8505 case $host_os in
8506 aix*)
8507 # All AIX code is PIC.
8508 if test "$host_cpu" = ia64; then
8509 # AIX 5 now supports IA64 processor
8510 lt_prog_compiler_static='-Bstatic'
8514 amigaos*)
8515 case $host_cpu in
8516 powerpc)
8517 # see comment about AmigaOS4 .so support
8518 lt_prog_compiler_pic='-fPIC'
8520 m68k)
8521 # FIXME: we need at least 68020 code to build shared libraries, but
8522 # adding the `-m68020' flag to GCC prevents building anything better,
8523 # like `-m68040'.
8524 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8526 esac
8529 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8530 # PIC is the default for these OSes.
8533 mingw* | cygwin* | pw32* | os2* | cegcc*)
8534 # This hack is so that the source file can tell whether it is being
8535 # built for inclusion in a dll (and should export symbols for example).
8536 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8537 # (--disable-auto-import) libraries
8538 lt_prog_compiler_pic='-DDLL_EXPORT'
8541 darwin* | rhapsody*)
8542 # PIC is the default on this platform
8543 # Common symbols not allowed in MH_DYLIB files
8544 lt_prog_compiler_pic='-fno-common'
8547 haiku*)
8548 # PIC is the default for Haiku.
8549 # The "-static" flag exists, but is broken.
8550 lt_prog_compiler_static=
8553 hpux*)
8554 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8555 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8556 # sets the default TLS model and affects inlining.
8557 case $host_cpu in
8558 hppa*64*)
8559 # +Z the default
8562 lt_prog_compiler_pic='-fPIC'
8564 esac
8567 interix[3-9]*)
8568 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8569 # Instead, we relocate shared libraries at runtime.
8572 msdosdjgpp*)
8573 # Just because we use GCC doesn't mean we suddenly get shared libraries
8574 # on systems that don't support them.
8575 lt_prog_compiler_can_build_shared=no
8576 enable_shared=no
8579 *nto* | *qnx*)
8580 # QNX uses GNU C++, but need to define -shared option too, otherwise
8581 # it will coredump.
8582 lt_prog_compiler_pic='-fPIC -shared'
8585 sysv4*MP*)
8586 if test -d /usr/nec; then
8587 lt_prog_compiler_pic=-Kconform_pic
8592 lt_prog_compiler_pic='-fPIC'
8594 esac
8596 case $cc_basename in
8597 nvcc*) # Cuda Compiler Driver 2.2
8598 lt_prog_compiler_wl='-Xlinker '
8599 lt_prog_compiler_pic='-Xcompiler -fPIC'
8601 esac
8602 else
8603 # PORTME Check for flag to pass linker flags through the system compiler.
8604 case $host_os in
8605 aix*)
8606 lt_prog_compiler_wl='-Wl,'
8607 if test "$host_cpu" = ia64; then
8608 # AIX 5 now supports IA64 processor
8609 lt_prog_compiler_static='-Bstatic'
8610 else
8611 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8615 mingw* | cygwin* | pw32* | os2* | cegcc*)
8616 # This hack is so that the source file can tell whether it is being
8617 # built for inclusion in a dll (and should export symbols for example).
8618 lt_prog_compiler_pic='-DDLL_EXPORT'
8621 hpux9* | hpux10* | hpux11*)
8622 lt_prog_compiler_wl='-Wl,'
8623 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8624 # not for PA HP-UX.
8625 case $host_cpu in
8626 hppa*64*|ia64*)
8627 # +Z the default
8630 lt_prog_compiler_pic='+Z'
8632 esac
8633 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8634 lt_prog_compiler_static='${wl}-a ${wl}archive'
8637 irix5* | irix6* | nonstopux*)
8638 lt_prog_compiler_wl='-Wl,'
8639 # PIC (with -KPIC) is the default.
8640 lt_prog_compiler_static='-non_shared'
8643 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8644 case $cc_basename in
8645 # old Intel for x86_64 which still supported -KPIC.
8646 ecc*)
8647 lt_prog_compiler_wl='-Wl,'
8648 lt_prog_compiler_pic='-KPIC'
8649 lt_prog_compiler_static='-static'
8651 # icc used to be incompatible with GCC.
8652 # ICC 10 doesn't accept -KPIC any more.
8653 icc* | ifort*)
8654 lt_prog_compiler_wl='-Wl,'
8655 lt_prog_compiler_pic='-fPIC'
8656 lt_prog_compiler_static='-static'
8658 # Lahey Fortran 8.1.
8659 lf95*)
8660 lt_prog_compiler_wl='-Wl,'
8661 lt_prog_compiler_pic='--shared'
8662 lt_prog_compiler_static='--static'
8664 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8665 # Portland Group compilers (*not* the Pentium gcc compiler,
8666 # which looks to be a dead project)
8667 lt_prog_compiler_wl='-Wl,'
8668 lt_prog_compiler_pic='-fpic'
8669 lt_prog_compiler_static='-Bstatic'
8671 ccc*)
8672 lt_prog_compiler_wl='-Wl,'
8673 # All Alpha code is PIC.
8674 lt_prog_compiler_static='-non_shared'
8676 xl* | bgxl* | bgf* | mpixl*)
8677 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8678 lt_prog_compiler_wl='-Wl,'
8679 lt_prog_compiler_pic='-qpic'
8680 lt_prog_compiler_static='-qstaticlink'
8683 case `$CC -V 2>&1 | sed 5q` in
8684 *Sun\ F* | *Sun*Fortran*)
8685 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8686 lt_prog_compiler_pic='-KPIC'
8687 lt_prog_compiler_static='-Bstatic'
8688 lt_prog_compiler_wl=''
8690 *Sun\ C*)
8691 # Sun C 5.9
8692 lt_prog_compiler_pic='-KPIC'
8693 lt_prog_compiler_static='-Bstatic'
8694 lt_prog_compiler_wl='-Wl,'
8696 esac
8698 esac
8701 newsos6)
8702 lt_prog_compiler_pic='-KPIC'
8703 lt_prog_compiler_static='-Bstatic'
8706 *nto* | *qnx*)
8707 # QNX uses GNU C++, but need to define -shared option too, otherwise
8708 # it will coredump.
8709 lt_prog_compiler_pic='-fPIC -shared'
8712 osf3* | osf4* | osf5*)
8713 lt_prog_compiler_wl='-Wl,'
8714 # All OSF/1 code is PIC.
8715 lt_prog_compiler_static='-non_shared'
8718 rdos*)
8719 lt_prog_compiler_static='-non_shared'
8722 solaris*)
8723 lt_prog_compiler_pic='-KPIC'
8724 lt_prog_compiler_static='-Bstatic'
8725 case $cc_basename in
8726 f77* | f90* | f95*)
8727 lt_prog_compiler_wl='-Qoption ld ';;
8729 lt_prog_compiler_wl='-Wl,';;
8730 esac
8733 sunos4*)
8734 lt_prog_compiler_wl='-Qoption ld '
8735 lt_prog_compiler_pic='-PIC'
8736 lt_prog_compiler_static='-Bstatic'
8739 sysv4 | sysv4.2uw2* | sysv4.3*)
8740 lt_prog_compiler_wl='-Wl,'
8741 lt_prog_compiler_pic='-KPIC'
8742 lt_prog_compiler_static='-Bstatic'
8745 sysv4*MP*)
8746 if test -d /usr/nec ;then
8747 lt_prog_compiler_pic='-Kconform_pic'
8748 lt_prog_compiler_static='-Bstatic'
8752 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8753 lt_prog_compiler_wl='-Wl,'
8754 lt_prog_compiler_pic='-KPIC'
8755 lt_prog_compiler_static='-Bstatic'
8758 unicos*)
8759 lt_prog_compiler_wl='-Wl,'
8760 lt_prog_compiler_can_build_shared=no
8763 uts4*)
8764 lt_prog_compiler_pic='-pic'
8765 lt_prog_compiler_static='-Bstatic'
8769 lt_prog_compiler_can_build_shared=no
8771 esac
8774 case $host_os in
8775 # For platforms which do not support PIC, -DPIC is meaningless:
8776 *djgpp*)
8777 lt_prog_compiler_pic=
8780 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8782 esac
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8784 $as_echo "$lt_prog_compiler_pic" >&6; }
8792 # Check to make sure the PIC flag actually works.
8794 if test -n "$lt_prog_compiler_pic"; then
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8796 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8797 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8798 $as_echo_n "(cached) " >&6
8799 else
8800 lt_cv_prog_compiler_pic_works=no
8801 ac_outfile=conftest.$ac_objext
8802 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8803 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8804 # Insert the option either (1) after the last *FLAGS variable, or
8805 # (2) before a word containing "conftest.", or (3) at the end.
8806 # Note that $ac_compile itself does not contain backslashes and begins
8807 # with a dollar sign (not a hyphen), so the echo should work correctly.
8808 # The option is referenced via a variable to avoid confusing sed.
8809 lt_compile=`echo "$ac_compile" | $SED \
8810 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8811 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8812 -e 's:$: $lt_compiler_flag:'`
8813 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8814 (eval "$lt_compile" 2>conftest.err)
8815 ac_status=$?
8816 cat conftest.err >&5
8817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8818 if (exit $ac_status) && test -s "$ac_outfile"; then
8819 # The compiler can only warn and ignore the option if not recognized
8820 # So say no if there are warnings other than the usual output.
8821 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8822 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8823 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8824 lt_cv_prog_compiler_pic_works=yes
8827 $RM conftest*
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8831 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8833 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8834 case $lt_prog_compiler_pic in
8835 "" | " "*) ;;
8836 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8837 esac
8838 else
8839 lt_prog_compiler_pic=
8840 lt_prog_compiler_can_build_shared=no
8851 # Check to make sure the static flag actually works.
8853 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8855 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8856 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8857 $as_echo_n "(cached) " >&6
8858 else
8859 lt_cv_prog_compiler_static_works=no
8860 save_LDFLAGS="$LDFLAGS"
8861 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8862 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8863 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8864 # The linker can only warn and ignore the option if not recognized
8865 # So say no if there are warnings
8866 if test -s conftest.err; then
8867 # Append any errors to the config.log.
8868 cat conftest.err 1>&5
8869 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8870 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8871 if diff conftest.exp conftest.er2 >/dev/null; then
8872 lt_cv_prog_compiler_static_works=yes
8874 else
8875 lt_cv_prog_compiler_static_works=yes
8878 $RM -r conftest*
8879 LDFLAGS="$save_LDFLAGS"
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8883 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8885 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8887 else
8888 lt_prog_compiler_static=
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8898 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8899 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8900 $as_echo_n "(cached) " >&6
8901 else
8902 lt_cv_prog_compiler_c_o=no
8903 $RM -r conftest 2>/dev/null
8904 mkdir conftest
8905 cd conftest
8906 mkdir out
8907 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8909 lt_compiler_flag="-o out/conftest2.$ac_objext"
8910 # Insert the option either (1) after the last *FLAGS variable, or
8911 # (2) before a word containing "conftest.", or (3) at the end.
8912 # Note that $ac_compile itself does not contain backslashes and begins
8913 # with a dollar sign (not a hyphen), so the echo should work correctly.
8914 lt_compile=`echo "$ac_compile" | $SED \
8915 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8916 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8917 -e 's:$: $lt_compiler_flag:'`
8918 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8919 (eval "$lt_compile" 2>out/conftest.err)
8920 ac_status=$?
8921 cat out/conftest.err >&5
8922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8923 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8924 then
8925 # The compiler can only warn and ignore the option if not recognized
8926 # So say no if there are warnings
8927 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8928 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8929 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8930 lt_cv_prog_compiler_c_o=yes
8933 chmod u+w . 2>&5
8934 $RM conftest*
8935 # SGI C++ compiler will create directory out/ii_files/ for
8936 # template instantiation
8937 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8938 $RM out/* && rmdir out
8939 cd ..
8940 $RM -r conftest
8941 $RM conftest*
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8945 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8953 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8954 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8955 $as_echo_n "(cached) " >&6
8956 else
8957 lt_cv_prog_compiler_c_o=no
8958 $RM -r conftest 2>/dev/null
8959 mkdir conftest
8960 cd conftest
8961 mkdir out
8962 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8964 lt_compiler_flag="-o out/conftest2.$ac_objext"
8965 # Insert the option either (1) after the last *FLAGS variable, or
8966 # (2) before a word containing "conftest.", or (3) at the end.
8967 # Note that $ac_compile itself does not contain backslashes and begins
8968 # with a dollar sign (not a hyphen), so the echo should work correctly.
8969 lt_compile=`echo "$ac_compile" | $SED \
8970 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8971 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8972 -e 's:$: $lt_compiler_flag:'`
8973 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8974 (eval "$lt_compile" 2>out/conftest.err)
8975 ac_status=$?
8976 cat out/conftest.err >&5
8977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8978 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8979 then
8980 # The compiler can only warn and ignore the option if not recognized
8981 # So say no if there are warnings
8982 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8983 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8984 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8985 lt_cv_prog_compiler_c_o=yes
8988 chmod u+w . 2>&5
8989 $RM conftest*
8990 # SGI C++ compiler will create directory out/ii_files/ for
8991 # template instantiation
8992 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8993 $RM out/* && rmdir out
8994 cd ..
8995 $RM -r conftest
8996 $RM conftest*
8999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9000 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9005 hard_links="nottested"
9006 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9007 # do not overwrite the value of need_locks provided by the user
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9009 $as_echo_n "checking if we can lock with hard links... " >&6; }
9010 hard_links=yes
9011 $RM conftest*
9012 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9013 touch conftest.a
9014 ln conftest.a conftest.b 2>&5 || hard_links=no
9015 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9017 $as_echo "$hard_links" >&6; }
9018 if test "$hard_links" = no; then
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9020 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9021 need_locks=warn
9023 else
9024 need_locks=no
9032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9033 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9035 runpath_var=
9036 allow_undefined_flag=
9037 always_export_symbols=no
9038 archive_cmds=
9039 archive_expsym_cmds=
9040 compiler_needs_object=no
9041 enable_shared_with_static_runtimes=no
9042 export_dynamic_flag_spec=
9043 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9044 hardcode_automatic=no
9045 hardcode_direct=no
9046 hardcode_direct_absolute=no
9047 hardcode_libdir_flag_spec=
9048 hardcode_libdir_flag_spec_ld=
9049 hardcode_libdir_separator=
9050 hardcode_minus_L=no
9051 hardcode_shlibpath_var=unsupported
9052 inherit_rpath=no
9053 link_all_deplibs=unknown
9054 module_cmds=
9055 module_expsym_cmds=
9056 old_archive_from_new_cmds=
9057 old_archive_from_expsyms_cmds=
9058 thread_safe_flag_spec=
9059 whole_archive_flag_spec=
9060 # include_expsyms should be a list of space-separated symbols to be *always*
9061 # included in the symbol list
9062 include_expsyms=
9063 # exclude_expsyms can be an extended regexp of symbols to exclude
9064 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9065 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9066 # as well as any symbol that contains `d'.
9067 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9068 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9069 # platforms (ab)use it in PIC code, but their linkers get confused if
9070 # the symbol is explicitly referenced. Since portable code cannot
9071 # rely on this symbol name, it's probably fine to never include it in
9072 # preloaded symbol tables.
9073 # Exclude shared library initialization/finalization symbols.
9074 extract_expsyms_cmds=
9076 case $host_os in
9077 cygwin* | mingw* | pw32* | cegcc*)
9078 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9079 # When not using gcc, we currently assume that we are using
9080 # Microsoft Visual C++.
9081 if test "$GCC" != yes; then
9082 with_gnu_ld=no
9085 interix*)
9086 # we just hope/assume this is gcc and not c89 (= MSVC++)
9087 with_gnu_ld=yes
9089 openbsd*)
9090 with_gnu_ld=no
9092 esac
9094 ld_shlibs=yes
9096 # On some targets, GNU ld is compatible enough with the native linker
9097 # that we're better off using the native interface for both.
9098 lt_use_gnu_ld_interface=no
9099 if test "$with_gnu_ld" = yes; then
9100 case $host_os in
9101 aix*)
9102 # The AIX port of GNU ld has always aspired to compatibility
9103 # with the native linker. However, as the warning in the GNU ld
9104 # block says, versions before 2.19.5* couldn't really create working
9105 # shared libraries, regardless of the interface used.
9106 case `$LD -v 2>&1` in
9107 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9108 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9109 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9111 lt_use_gnu_ld_interface=yes
9113 esac
9116 lt_use_gnu_ld_interface=yes
9118 esac
9121 if test "$lt_use_gnu_ld_interface" = yes; then
9122 # If archive_cmds runs LD, not CC, wlarc should be empty
9123 wlarc='${wl}'
9125 # Set some defaults for GNU ld with shared library support. These
9126 # are reset later if shared libraries are not supported. Putting them
9127 # here allows them to be overridden if necessary.
9128 runpath_var=LD_RUN_PATH
9129 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9130 export_dynamic_flag_spec='${wl}--export-dynamic'
9131 # ancient GNU ld didn't support --whole-archive et. al.
9132 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9133 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9134 else
9135 whole_archive_flag_spec=
9137 supports_anon_versioning=no
9138 case `$LD -v 2>&1` in
9139 *GNU\ gold*) supports_anon_versioning=yes ;;
9140 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9141 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9142 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9143 *\ 2.11.*) ;; # other 2.11 versions
9144 *) supports_anon_versioning=yes ;;
9145 esac
9147 # See if GNU ld supports shared libraries.
9148 case $host_os in
9149 aix[3-9]*)
9150 # On AIX/PPC, the GNU linker is very broken
9151 if test "$host_cpu" != ia64; then
9152 ld_shlibs=no
9153 cat <<_LT_EOF 1>&2
9155 *** Warning: the GNU linker, at least up to release 2.19, is reported
9156 *** to be unable to reliably create shared libraries on AIX.
9157 *** Therefore, libtool is disabling shared libraries support. If you
9158 *** really care for shared libraries, you may want to install binutils
9159 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9160 *** You will then need to restart the configuration process.
9162 _LT_EOF
9166 amigaos*)
9167 case $host_cpu in
9168 powerpc)
9169 # see comment about AmigaOS4 .so support
9170 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9171 archive_expsym_cmds=''
9173 m68k)
9174 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)'
9175 hardcode_libdir_flag_spec='-L$libdir'
9176 hardcode_minus_L=yes
9178 esac
9181 beos*)
9182 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9183 allow_undefined_flag=unsupported
9184 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9185 # support --undefined. This deserves some investigation. FIXME
9186 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9187 else
9188 ld_shlibs=no
9192 cygwin* | mingw* | pw32* | cegcc*)
9193 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9194 # as there is no search path for DLLs.
9195 hardcode_libdir_flag_spec='-L$libdir'
9196 export_dynamic_flag_spec='${wl}--export-all-symbols'
9197 allow_undefined_flag=unsupported
9198 always_export_symbols=no
9199 enable_shared_with_static_runtimes=yes
9200 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9202 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9203 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9204 # If the export-symbols file already is a .def file (1st line
9205 # is EXPORTS), use it as is; otherwise, prepend...
9206 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9207 cp $export_symbols $output_objdir/$soname.def;
9208 else
9209 echo EXPORTS > $output_objdir/$soname.def;
9210 cat $export_symbols >> $output_objdir/$soname.def;
9212 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9213 else
9214 ld_shlibs=no
9218 haiku*)
9219 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9220 link_all_deplibs=yes
9223 interix[3-9]*)
9224 hardcode_direct=no
9225 hardcode_shlibpath_var=no
9226 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9227 export_dynamic_flag_spec='${wl}-E'
9228 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9229 # Instead, shared libraries are loaded at an image base (0x10000000 by
9230 # default) and relocated if they conflict, which is a slow very memory
9231 # consuming and fragmenting process. To avoid this, we pick a random,
9232 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9233 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9234 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9235 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'
9238 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9239 tmp_diet=no
9240 if test "$host_os" = linux-dietlibc; then
9241 case $cc_basename in
9242 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9243 esac
9245 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9246 && test "$tmp_diet" = no
9247 then
9248 tmp_addflag=
9249 tmp_sharedflag='-shared'
9250 case $cc_basename,$host_cpu in
9251 pgcc*) # Portland Group C compiler
9252 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'
9253 tmp_addflag=' $pic_flag'
9255 pgf77* | pgf90* | pgf95* | pgfortran*)
9256 # Portland Group f77 and f90 compilers
9257 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'
9258 tmp_addflag=' $pic_flag -Mnomain' ;;
9259 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9260 tmp_addflag=' -i_dynamic' ;;
9261 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9262 tmp_addflag=' -i_dynamic -nofor_main' ;;
9263 ifc* | ifort*) # Intel Fortran compiler
9264 tmp_addflag=' -nofor_main' ;;
9265 lf95*) # Lahey Fortran 8.1
9266 whole_archive_flag_spec=
9267 tmp_sharedflag='--shared' ;;
9268 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9269 tmp_sharedflag='-qmkshrobj'
9270 tmp_addflag= ;;
9271 nvcc*) # Cuda Compiler Driver 2.2
9272 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'
9273 compiler_needs_object=yes
9275 esac
9276 case `$CC -V 2>&1 | sed 5q` in
9277 *Sun\ C*) # Sun C 5.9
9278 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'
9279 compiler_needs_object=yes
9280 tmp_sharedflag='-G' ;;
9281 *Sun\ F*) # Sun Fortran 8.3
9282 tmp_sharedflag='-G' ;;
9283 esac
9284 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9286 if test "x$supports_anon_versioning" = xyes; then
9287 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9288 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9289 echo "local: *; };" >> $output_objdir/$libname.ver~
9290 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9293 case $cc_basename in
9294 xlf* | bgf* | bgxlf* | mpixlf*)
9295 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9296 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9297 hardcode_libdir_flag_spec=
9298 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9299 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9300 if test "x$supports_anon_versioning" = xyes; then
9301 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9302 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9303 echo "local: *; };" >> $output_objdir/$libname.ver~
9304 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9307 esac
9308 else
9309 ld_shlibs=no
9313 netbsd*)
9314 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9315 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9316 wlarc=
9317 else
9318 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9319 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9323 solaris*)
9324 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9325 ld_shlibs=no
9326 cat <<_LT_EOF 1>&2
9328 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9329 *** create shared libraries on Solaris systems. Therefore, libtool
9330 *** is disabling shared libraries support. We urge you to upgrade GNU
9331 *** binutils to release 2.9.1 or newer. Another option is to modify
9332 *** your PATH or compiler configuration so that the native linker is
9333 *** used, and then restart.
9335 _LT_EOF
9336 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9337 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9338 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9339 else
9340 ld_shlibs=no
9344 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9345 case `$LD -v 2>&1` in
9346 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9347 ld_shlibs=no
9348 cat <<_LT_EOF 1>&2
9350 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9351 *** reliably create shared libraries on SCO systems. Therefore, libtool
9352 *** is disabling shared libraries support. We urge you to upgrade GNU
9353 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9354 *** your PATH or compiler configuration so that the native linker is
9355 *** used, and then restart.
9357 _LT_EOF
9360 # For security reasons, it is highly recommended that you always
9361 # use absolute paths for naming shared libraries, and exclude the
9362 # DT_RUNPATH tag from executables and libraries. But doing so
9363 # requires that you compile everything twice, which is a pain.
9364 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9365 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9366 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9367 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9368 else
9369 ld_shlibs=no
9372 esac
9375 sunos4*)
9376 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9377 wlarc=
9378 hardcode_direct=yes
9379 hardcode_shlibpath_var=no
9383 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9384 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9385 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9386 else
9387 ld_shlibs=no
9390 esac
9392 if test "$ld_shlibs" = no; then
9393 runpath_var=
9394 hardcode_libdir_flag_spec=
9395 export_dynamic_flag_spec=
9396 whole_archive_flag_spec=
9398 else
9399 # PORTME fill in a description of your system's linker (not GNU ld)
9400 case $host_os in
9401 aix3*)
9402 allow_undefined_flag=unsupported
9403 always_export_symbols=yes
9404 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'
9405 # Note: this linker hardcodes the directories in LIBPATH if there
9406 # are no directories specified by -L.
9407 hardcode_minus_L=yes
9408 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9409 # Neither direct hardcoding nor static linking is supported with a
9410 # broken collect2.
9411 hardcode_direct=unsupported
9415 aix[4-9]*)
9416 if test "$host_cpu" = ia64; then
9417 # On IA64, the linker does run time linking by default, so we don't
9418 # have to do anything special.
9419 aix_use_runtimelinking=no
9420 exp_sym_flag='-Bexport'
9421 no_entry_flag=""
9422 else
9423 # If we're using GNU nm, then we don't want the "-C" option.
9424 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9425 # Also, AIX nm treats weak defined symbols like other global
9426 # defined symbols, whereas GNU nm marks them as "W".
9427 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9428 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'
9429 else
9430 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'
9432 aix_use_runtimelinking=no
9434 # Test if we are trying to use run time linking or normal
9435 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9436 # need to do runtime linking.
9437 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9438 for ld_flag in $LDFLAGS; do
9439 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9440 aix_use_runtimelinking=yes
9441 break
9443 done
9445 esac
9447 exp_sym_flag='-bexport'
9448 no_entry_flag='-bnoentry'
9451 # When large executables or shared objects are built, AIX ld can
9452 # have problems creating the table of contents. If linking a library
9453 # or program results in "error TOC overflow" add -mminimal-toc to
9454 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9455 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9457 archive_cmds=''
9458 hardcode_direct=yes
9459 hardcode_direct_absolute=yes
9460 hardcode_libdir_separator=':'
9461 link_all_deplibs=yes
9462 file_list_spec='${wl}-f,'
9464 if test "$GCC" = yes; then
9465 case $host_os in aix4.[012]|aix4.[012].*)
9466 # We only want to do this on AIX 4.2 and lower, the check
9467 # below for broken collect2 doesn't work under 4.3+
9468 collect2name=`${CC} -print-prog-name=collect2`
9469 if test -f "$collect2name" &&
9470 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9471 then
9472 # We have reworked collect2
9474 else
9475 # We have old collect2
9476 hardcode_direct=unsupported
9477 # It fails to find uninstalled libraries when the uninstalled
9478 # path is not listed in the libpath. Setting hardcode_minus_L
9479 # to unsupported forces relinking
9480 hardcode_minus_L=yes
9481 hardcode_libdir_flag_spec='-L$libdir'
9482 hardcode_libdir_separator=
9485 esac
9486 shared_flag='-shared'
9487 if test "$aix_use_runtimelinking" = yes; then
9488 shared_flag="$shared_flag "'${wl}-G'
9490 else
9491 # not using gcc
9492 if test "$host_cpu" = ia64; then
9493 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9494 # chokes on -Wl,-G. The following line is correct:
9495 shared_flag='-G'
9496 else
9497 if test "$aix_use_runtimelinking" = yes; then
9498 shared_flag='${wl}-G'
9499 else
9500 shared_flag='${wl}-bM:SRE'
9505 export_dynamic_flag_spec='${wl}-bexpall'
9506 # It seems that -bexpall does not export symbols beginning with
9507 # underscore (_), so it is better to generate a list of symbols to export.
9508 always_export_symbols=yes
9509 if test "$aix_use_runtimelinking" = yes; then
9510 # Warning - without using the other runtime loading flags (-brtl),
9511 # -berok will link without error, but may produce a broken library.
9512 allow_undefined_flag='-berok'
9513 # Determine the default libpath from the value encoded in an
9514 # empty executable.
9515 if test x$gcc_no_link = xyes; then
9516 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9519 /* end confdefs.h. */
9522 main ()
9526 return 0;
9528 _ACEOF
9529 if ac_fn_c_try_link "$LINENO"; then :
9531 lt_aix_libpath_sed='
9532 /Import File Strings/,/^$/ {
9533 /^0/ {
9534 s/^0 *\(.*\)$/\1/
9538 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9539 # Check for a 64-bit object if we didn't find anything.
9540 if test -z "$aix_libpath"; then
9541 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9544 rm -f core conftest.err conftest.$ac_objext \
9545 conftest$ac_exeext conftest.$ac_ext
9546 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9548 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9549 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"
9550 else
9551 if test "$host_cpu" = ia64; then
9552 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9553 allow_undefined_flag="-z nodefs"
9554 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"
9555 else
9556 # Determine the default libpath from the value encoded in an
9557 # empty executable.
9558 if test x$gcc_no_link = xyes; then
9559 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9562 /* end confdefs.h. */
9565 main ()
9569 return 0;
9571 _ACEOF
9572 if ac_fn_c_try_link "$LINENO"; then :
9574 lt_aix_libpath_sed='
9575 /Import File Strings/,/^$/ {
9576 /^0/ {
9577 s/^0 *\(.*\)$/\1/
9581 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9582 # Check for a 64-bit object if we didn't find anything.
9583 if test -z "$aix_libpath"; then
9584 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9587 rm -f core conftest.err conftest.$ac_objext \
9588 conftest$ac_exeext conftest.$ac_ext
9589 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9591 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9592 # Warning - without using the other run time loading flags,
9593 # -berok will link without error, but may produce a broken library.
9594 no_undefined_flag=' ${wl}-bernotok'
9595 allow_undefined_flag=' ${wl}-berok'
9596 if test "$with_gnu_ld" = yes; then
9597 # We only use this code for GNU lds that support --whole-archive.
9598 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9599 else
9600 # Exported symbols can be pulled into shared objects from archives
9601 whole_archive_flag_spec='$convenience'
9603 archive_cmds_need_lc=yes
9604 # This is similar to how AIX traditionally builds its shared libraries.
9605 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'
9610 amigaos*)
9611 case $host_cpu in
9612 powerpc)
9613 # see comment about AmigaOS4 .so support
9614 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9615 archive_expsym_cmds=''
9617 m68k)
9618 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)'
9619 hardcode_libdir_flag_spec='-L$libdir'
9620 hardcode_minus_L=yes
9622 esac
9625 bsdi[45]*)
9626 export_dynamic_flag_spec=-rdynamic
9629 cygwin* | mingw* | pw32* | cegcc*)
9630 # When not using gcc, we currently assume that we are using
9631 # Microsoft Visual C++.
9632 # hardcode_libdir_flag_spec is actually meaningless, as there is
9633 # no search path for DLLs.
9634 hardcode_libdir_flag_spec=' '
9635 allow_undefined_flag=unsupported
9636 # Tell ltmain to make .lib files, not .a files.
9637 libext=lib
9638 # Tell ltmain to make .dll files, not .so files.
9639 shrext_cmds=".dll"
9640 # FIXME: Setting linknames here is a bad hack.
9641 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9642 # The linker will automatically build a .lib file if we build a DLL.
9643 old_archive_from_new_cmds='true'
9644 # FIXME: Should let the user specify the lib program.
9645 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9646 fix_srcfile_path='`cygpath -w "$srcfile"`'
9647 enable_shared_with_static_runtimes=yes
9650 darwin* | rhapsody*)
9653 archive_cmds_need_lc=no
9654 hardcode_direct=no
9655 hardcode_automatic=yes
9656 hardcode_shlibpath_var=unsupported
9657 if test "$lt_cv_ld_force_load" = "yes"; then
9658 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\"`'
9659 else
9660 whole_archive_flag_spec=''
9662 link_all_deplibs=yes
9663 allow_undefined_flag="$_lt_dar_allow_undefined"
9664 case $cc_basename in
9665 ifort*) _lt_dar_can_shared=yes ;;
9666 *) _lt_dar_can_shared=$GCC ;;
9667 esac
9668 if test "$_lt_dar_can_shared" = "yes"; then
9669 output_verbose_link_cmd=func_echo_all
9670 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9671 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9672 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}"
9673 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}"
9675 else
9676 ld_shlibs=no
9681 dgux*)
9682 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9683 hardcode_libdir_flag_spec='-L$libdir'
9684 hardcode_shlibpath_var=no
9687 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9688 # support. Future versions do this automatically, but an explicit c++rt0.o
9689 # does not break anything, and helps significantly (at the cost of a little
9690 # extra space).
9691 freebsd2.2*)
9692 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9693 hardcode_libdir_flag_spec='-R$libdir'
9694 hardcode_direct=yes
9695 hardcode_shlibpath_var=no
9698 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9699 freebsd2*)
9700 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9701 hardcode_direct=yes
9702 hardcode_minus_L=yes
9703 hardcode_shlibpath_var=no
9706 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9707 freebsd* | dragonfly*)
9708 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9709 hardcode_libdir_flag_spec='-R$libdir'
9710 hardcode_direct=yes
9711 hardcode_shlibpath_var=no
9714 hpux9*)
9715 if test "$GCC" = yes; then
9716 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'
9717 else
9718 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'
9720 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9721 hardcode_libdir_separator=:
9722 hardcode_direct=yes
9724 # hardcode_minus_L: Not really in the search PATH,
9725 # but as the default location of the library.
9726 hardcode_minus_L=yes
9727 export_dynamic_flag_spec='${wl}-E'
9730 hpux10*)
9731 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9732 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9733 else
9734 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9736 if test "$with_gnu_ld" = no; then
9737 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9738 hardcode_libdir_flag_spec_ld='+b $libdir'
9739 hardcode_libdir_separator=:
9740 hardcode_direct=yes
9741 hardcode_direct_absolute=yes
9742 export_dynamic_flag_spec='${wl}-E'
9743 # hardcode_minus_L: Not really in the search PATH,
9744 # but as the default location of the library.
9745 hardcode_minus_L=yes
9749 hpux11*)
9750 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9751 case $host_cpu in
9752 hppa*64*)
9753 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9755 ia64*)
9756 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9759 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9761 esac
9762 else
9763 case $host_cpu in
9764 hppa*64*)
9765 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9767 ia64*)
9768 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9772 # Older versions of the 11.00 compiler do not understand -b yet
9773 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9775 $as_echo_n "checking if $CC understands -b... " >&6; }
9776 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9777 $as_echo_n "(cached) " >&6
9778 else
9779 lt_cv_prog_compiler__b=no
9780 save_LDFLAGS="$LDFLAGS"
9781 LDFLAGS="$LDFLAGS -b"
9782 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9783 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9784 # The linker can only warn and ignore the option if not recognized
9785 # So say no if there are warnings
9786 if test -s conftest.err; then
9787 # Append any errors to the config.log.
9788 cat conftest.err 1>&5
9789 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9790 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9791 if diff conftest.exp conftest.er2 >/dev/null; then
9792 lt_cv_prog_compiler__b=yes
9794 else
9795 lt_cv_prog_compiler__b=yes
9798 $RM -r conftest*
9799 LDFLAGS="$save_LDFLAGS"
9802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9803 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9805 if test x"$lt_cv_prog_compiler__b" = xyes; then
9806 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9807 else
9808 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9812 esac
9814 if test "$with_gnu_ld" = no; then
9815 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9816 hardcode_libdir_separator=:
9818 case $host_cpu in
9819 hppa*64*|ia64*)
9820 hardcode_direct=no
9821 hardcode_shlibpath_var=no
9824 hardcode_direct=yes
9825 hardcode_direct_absolute=yes
9826 export_dynamic_flag_spec='${wl}-E'
9828 # hardcode_minus_L: Not really in the search PATH,
9829 # but as the default location of the library.
9830 hardcode_minus_L=yes
9832 esac
9836 irix5* | irix6* | nonstopux*)
9837 if test "$GCC" = yes; then
9838 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'
9839 # Try to use the -exported_symbol ld option, if it does not
9840 # work, assume that -exports_file does not work either and
9841 # implicitly export all symbols.
9842 save_LDFLAGS="$LDFLAGS"
9843 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9844 if test x$gcc_no_link = xyes; then
9845 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9848 /* end confdefs.h. */
9849 int foo(void) {}
9850 _ACEOF
9851 if ac_fn_c_try_link "$LINENO"; then :
9852 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'
9855 rm -f core conftest.err conftest.$ac_objext \
9856 conftest$ac_exeext conftest.$ac_ext
9857 LDFLAGS="$save_LDFLAGS"
9858 else
9859 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'
9860 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'
9862 archive_cmds_need_lc='no'
9863 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9864 hardcode_libdir_separator=:
9865 inherit_rpath=yes
9866 link_all_deplibs=yes
9869 netbsd*)
9870 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9871 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9872 else
9873 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9875 hardcode_libdir_flag_spec='-R$libdir'
9876 hardcode_direct=yes
9877 hardcode_shlibpath_var=no
9880 newsos6)
9881 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9882 hardcode_direct=yes
9883 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9884 hardcode_libdir_separator=:
9885 hardcode_shlibpath_var=no
9888 *nto* | *qnx*)
9891 openbsd*)
9892 if test -f /usr/libexec/ld.so; then
9893 hardcode_direct=yes
9894 hardcode_shlibpath_var=no
9895 hardcode_direct_absolute=yes
9896 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9897 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9898 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9899 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9900 export_dynamic_flag_spec='${wl}-E'
9901 else
9902 case $host_os in
9903 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9904 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9905 hardcode_libdir_flag_spec='-R$libdir'
9908 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9909 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9911 esac
9913 else
9914 ld_shlibs=no
9918 os2*)
9919 hardcode_libdir_flag_spec='-L$libdir'
9920 hardcode_minus_L=yes
9921 allow_undefined_flag=unsupported
9922 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'
9923 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9926 osf3*)
9927 if test "$GCC" = yes; then
9928 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9929 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'
9930 else
9931 allow_undefined_flag=' -expect_unresolved \*'
9932 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'
9934 archive_cmds_need_lc='no'
9935 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9936 hardcode_libdir_separator=:
9939 osf4* | osf5*) # as osf3* with the addition of -msym flag
9940 if test "$GCC" = yes; then
9941 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9942 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'
9943 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9944 else
9945 allow_undefined_flag=' -expect_unresolved \*'
9946 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'
9947 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~
9948 $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'
9950 # Both c and cxx compiler support -rpath directly
9951 hardcode_libdir_flag_spec='-rpath $libdir'
9953 archive_cmds_need_lc='no'
9954 hardcode_libdir_separator=:
9957 solaris*)
9958 no_undefined_flag=' -z defs'
9959 if test "$GCC" = yes; then
9960 wlarc='${wl}'
9961 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9962 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9963 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9964 else
9965 case `$CC -V 2>&1` in
9966 *"Compilers 5.0"*)
9967 wlarc=''
9968 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9969 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9970 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9973 wlarc='${wl}'
9974 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9975 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9976 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9978 esac
9980 hardcode_libdir_flag_spec='-R$libdir'
9981 hardcode_shlibpath_var=no
9982 case $host_os in
9983 solaris2.[0-5] | solaris2.[0-5].*) ;;
9985 # The compiler driver will combine and reorder linker options,
9986 # but understands `-z linker_flag'. GCC discards it without `$wl',
9987 # but is careful enough not to reorder.
9988 # Supported since Solaris 2.6 (maybe 2.5.1?)
9989 if test "$GCC" = yes; then
9990 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9991 else
9992 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9995 esac
9996 link_all_deplibs=yes
9999 sunos4*)
10000 if test "x$host_vendor" = xsequent; then
10001 # Use $CC to link under sequent, because it throws in some extra .o
10002 # files that make .init and .fini sections work.
10003 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10004 else
10005 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10007 hardcode_libdir_flag_spec='-L$libdir'
10008 hardcode_direct=yes
10009 hardcode_minus_L=yes
10010 hardcode_shlibpath_var=no
10013 sysv4)
10014 case $host_vendor in
10015 sni)
10016 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10017 hardcode_direct=yes # is this really true???
10019 siemens)
10020 ## LD is ld it makes a PLAMLIB
10021 ## CC just makes a GrossModule.
10022 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10023 reload_cmds='$CC -r -o $output$reload_objs'
10024 hardcode_direct=no
10026 motorola)
10027 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10028 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10030 esac
10031 runpath_var='LD_RUN_PATH'
10032 hardcode_shlibpath_var=no
10035 sysv4.3*)
10036 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10037 hardcode_shlibpath_var=no
10038 export_dynamic_flag_spec='-Bexport'
10041 sysv4*MP*)
10042 if test -d /usr/nec; then
10043 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10044 hardcode_shlibpath_var=no
10045 runpath_var=LD_RUN_PATH
10046 hardcode_runpath_var=yes
10047 ld_shlibs=yes
10051 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10052 no_undefined_flag='${wl}-z,text'
10053 archive_cmds_need_lc=no
10054 hardcode_shlibpath_var=no
10055 runpath_var='LD_RUN_PATH'
10057 if test "$GCC" = yes; then
10058 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10059 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10060 else
10061 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10062 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10066 sysv5* | sco3.2v5* | sco5v6*)
10067 # Note: We can NOT use -z defs as we might desire, because we do not
10068 # link with -lc, and that would cause any symbols used from libc to
10069 # always be unresolved, which means just about no library would
10070 # ever link correctly. If we're not using GNU ld we use -z text
10071 # though, which does catch some bad symbols but isn't as heavy-handed
10072 # as -z defs.
10073 no_undefined_flag='${wl}-z,text'
10074 allow_undefined_flag='${wl}-z,nodefs'
10075 archive_cmds_need_lc=no
10076 hardcode_shlibpath_var=no
10077 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10078 hardcode_libdir_separator=':'
10079 link_all_deplibs=yes
10080 export_dynamic_flag_spec='${wl}-Bexport'
10081 runpath_var='LD_RUN_PATH'
10083 if test "$GCC" = yes; then
10084 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10085 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10086 else
10087 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10088 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10092 uts4*)
10093 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10094 hardcode_libdir_flag_spec='-L$libdir'
10095 hardcode_shlibpath_var=no
10099 ld_shlibs=no
10101 esac
10103 if test x$host_vendor = xsni; then
10104 case $host in
10105 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10106 export_dynamic_flag_spec='${wl}-Blargedynsym'
10108 esac
10112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10113 $as_echo "$ld_shlibs" >&6; }
10114 test "$ld_shlibs" = no && can_build_shared=no
10116 with_gnu_ld=$with_gnu_ld
10133 # Do we need to explicitly link libc?
10135 case "x$archive_cmds_need_lc" in
10136 x|xyes)
10137 # Assume -lc should be added
10138 archive_cmds_need_lc=yes
10140 if test "$enable_shared" = yes && test "$GCC" = yes; then
10141 case $archive_cmds in
10142 *'~'*)
10143 # FIXME: we may have to deal with multi-command sequences.
10145 '$CC '*)
10146 # Test whether the compiler implicitly links with -lc since on some
10147 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10148 # to ld, don't add -lc before -lgcc.
10149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10150 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10151 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10152 $as_echo_n "(cached) " >&6
10153 else
10154 $RM conftest*
10155 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10157 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10158 (eval $ac_compile) 2>&5
10159 ac_status=$?
10160 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10161 test $ac_status = 0; } 2>conftest.err; then
10162 soname=conftest
10163 lib=conftest
10164 libobjs=conftest.$ac_objext
10165 deplibs=
10166 wl=$lt_prog_compiler_wl
10167 pic_flag=$lt_prog_compiler_pic
10168 compiler_flags=-v
10169 linker_flags=-v
10170 verstring=
10171 output_objdir=.
10172 libname=conftest
10173 lt_save_allow_undefined_flag=$allow_undefined_flag
10174 allow_undefined_flag=
10175 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10176 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10177 ac_status=$?
10178 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10179 test $ac_status = 0; }
10180 then
10181 lt_cv_archive_cmds_need_lc=no
10182 else
10183 lt_cv_archive_cmds_need_lc=yes
10185 allow_undefined_flag=$lt_save_allow_undefined_flag
10186 else
10187 cat conftest.err 1>&5
10189 $RM conftest*
10192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10193 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10194 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10196 esac
10199 esac
10357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10358 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10360 if test "$GCC" = yes; then
10361 case $host_os in
10362 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10363 *) lt_awk_arg="/^libraries:/" ;;
10364 esac
10365 case $host_os in
10366 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10367 *) lt_sed_strip_eq="s,=/,/,g" ;;
10368 esac
10369 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10370 case $lt_search_path_spec in
10371 *\;*)
10372 # if the path contains ";" then we assume it to be the separator
10373 # otherwise default to the standard path separator (i.e. ":") - it is
10374 # assumed that no part of a normal pathname contains ";" but that should
10375 # okay in the real world where ";" in dirpaths is itself problematic.
10376 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10379 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10381 esac
10382 # Ok, now we have the path, separated by spaces, we can step through it
10383 # and add multilib dir if necessary.
10384 lt_tmp_lt_search_path_spec=
10385 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10386 for lt_sys_path in $lt_search_path_spec; do
10387 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10388 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10389 else
10390 test -d "$lt_sys_path" && \
10391 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10393 done
10394 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10395 BEGIN {RS=" "; FS="/|\n";} {
10396 lt_foo="";
10397 lt_count=0;
10398 for (lt_i = NF; lt_i > 0; lt_i--) {
10399 if ($lt_i != "" && $lt_i != ".") {
10400 if ($lt_i == "..") {
10401 lt_count++;
10402 } else {
10403 if (lt_count == 0) {
10404 lt_foo="/" $lt_i lt_foo;
10405 } else {
10406 lt_count--;
10411 if (lt_foo != "") { lt_freq[lt_foo]++; }
10412 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10414 # AWK program above erroneously prepends '/' to C:/dos/paths
10415 # for these hosts.
10416 case $host_os in
10417 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10418 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10419 esac
10420 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10421 else
10422 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10424 library_names_spec=
10425 libname_spec='lib$name'
10426 soname_spec=
10427 shrext_cmds=".so"
10428 postinstall_cmds=
10429 postuninstall_cmds=
10430 finish_cmds=
10431 finish_eval=
10432 shlibpath_var=
10433 shlibpath_overrides_runpath=unknown
10434 version_type=none
10435 dynamic_linker="$host_os ld.so"
10436 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10437 need_lib_prefix=unknown
10438 hardcode_into_libs=no
10440 # when you set need_version to no, make sure it does not cause -set_version
10441 # flags to be left without arguments
10442 need_version=unknown
10444 case $host_os in
10445 aix3*)
10446 version_type=linux
10447 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10448 shlibpath_var=LIBPATH
10450 # AIX 3 has no versioning support, so we append a major version to the name.
10451 soname_spec='${libname}${release}${shared_ext}$major'
10454 aix[4-9]*)
10455 version_type=linux
10456 need_lib_prefix=no
10457 need_version=no
10458 hardcode_into_libs=yes
10459 if test "$host_cpu" = ia64; then
10460 # AIX 5 supports IA64
10461 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10462 shlibpath_var=LD_LIBRARY_PATH
10463 else
10464 # With GCC up to 2.95.x, collect2 would create an import file
10465 # for dependence libraries. The import file would start with
10466 # the line `#! .'. This would cause the generated library to
10467 # depend on `.', always an invalid library. This was fixed in
10468 # development snapshots of GCC prior to 3.0.
10469 case $host_os in
10470 aix4 | aix4.[01] | aix4.[01].*)
10471 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10472 echo ' yes '
10473 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10475 else
10476 can_build_shared=no
10479 esac
10480 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10481 # soname into executable. Probably we can add versioning support to
10482 # collect2, so additional links can be useful in future.
10483 if test "$aix_use_runtimelinking" = yes; then
10484 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10485 # instead of lib<name>.a to let people know that these are not
10486 # typical AIX shared libraries.
10487 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10488 else
10489 # We preserve .a as extension for shared libraries through AIX4.2
10490 # and later when we are not doing run time linking.
10491 library_names_spec='${libname}${release}.a $libname.a'
10492 soname_spec='${libname}${release}${shared_ext}$major'
10494 shlibpath_var=LIBPATH
10498 amigaos*)
10499 case $host_cpu in
10500 powerpc)
10501 # Since July 2007 AmigaOS4 officially supports .so libraries.
10502 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10503 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10505 m68k)
10506 library_names_spec='$libname.ixlibrary $libname.a'
10507 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10508 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'
10510 esac
10513 beos*)
10514 library_names_spec='${libname}${shared_ext}'
10515 dynamic_linker="$host_os ld.so"
10516 shlibpath_var=LIBRARY_PATH
10519 bsdi[45]*)
10520 version_type=linux
10521 need_version=no
10522 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10523 soname_spec='${libname}${release}${shared_ext}$major'
10524 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10525 shlibpath_var=LD_LIBRARY_PATH
10526 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10527 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10528 # the default ld.so.conf also contains /usr/contrib/lib and
10529 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10530 # libtool to hard-code these into programs
10533 cygwin* | mingw* | pw32* | cegcc*)
10534 version_type=windows
10535 shrext_cmds=".dll"
10536 need_version=no
10537 need_lib_prefix=no
10539 case $GCC,$host_os in
10540 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10541 library_names_spec='$libname.dll.a'
10542 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10543 postinstall_cmds='base_file=`basename \${file}`~
10544 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10545 dldir=$destdir/`dirname \$dlpath`~
10546 test -d \$dldir || mkdir -p \$dldir~
10547 $install_prog $dir/$dlname \$dldir/$dlname~
10548 chmod a+x \$dldir/$dlname~
10549 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10550 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10552 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10553 dlpath=$dir/\$dldll~
10554 $RM \$dlpath'
10555 shlibpath_overrides_runpath=yes
10557 case $host_os in
10558 cygwin*)
10559 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10560 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10562 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10564 mingw* | cegcc*)
10565 # MinGW DLLs use traditional 'lib' prefix
10566 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10568 pw32*)
10569 # pw32 DLLs use 'pw' prefix rather than 'lib'
10570 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10572 esac
10576 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10578 esac
10579 dynamic_linker='Win32 ld.exe'
10580 # FIXME: first we should search . and the directory the executable is in
10581 shlibpath_var=PATH
10584 darwin* | rhapsody*)
10585 dynamic_linker="$host_os dyld"
10586 version_type=darwin
10587 need_lib_prefix=no
10588 need_version=no
10589 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10590 soname_spec='${libname}${release}${major}$shared_ext'
10591 shlibpath_overrides_runpath=yes
10592 shlibpath_var=DYLD_LIBRARY_PATH
10593 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10595 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10596 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10599 dgux*)
10600 version_type=linux
10601 need_lib_prefix=no
10602 need_version=no
10603 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10604 soname_spec='${libname}${release}${shared_ext}$major'
10605 shlibpath_var=LD_LIBRARY_PATH
10608 freebsd* | dragonfly*)
10609 # DragonFly does not have aout. When/if they implement a new
10610 # versioning mechanism, adjust this.
10611 if test -x /usr/bin/objformat; then
10612 objformat=`/usr/bin/objformat`
10613 else
10614 case $host_os in
10615 freebsd[123]*) objformat=aout ;;
10616 *) objformat=elf ;;
10617 esac
10619 version_type=freebsd-$objformat
10620 case $version_type in
10621 freebsd-elf*)
10622 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10623 need_version=no
10624 need_lib_prefix=no
10626 freebsd-*)
10627 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10628 need_version=yes
10630 esac
10631 shlibpath_var=LD_LIBRARY_PATH
10632 case $host_os in
10633 freebsd2*)
10634 shlibpath_overrides_runpath=yes
10636 freebsd3.[01]* | freebsdelf3.[01]*)
10637 shlibpath_overrides_runpath=yes
10638 hardcode_into_libs=yes
10640 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10641 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10642 shlibpath_overrides_runpath=no
10643 hardcode_into_libs=yes
10645 *) # from 4.6 on, and DragonFly
10646 shlibpath_overrides_runpath=yes
10647 hardcode_into_libs=yes
10649 esac
10652 gnu*)
10653 version_type=linux
10654 need_lib_prefix=no
10655 need_version=no
10656 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10657 soname_spec='${libname}${release}${shared_ext}$major'
10658 shlibpath_var=LD_LIBRARY_PATH
10659 hardcode_into_libs=yes
10662 haiku*)
10663 version_type=linux
10664 need_lib_prefix=no
10665 need_version=no
10666 dynamic_linker="$host_os runtime_loader"
10667 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10668 soname_spec='${libname}${release}${shared_ext}$major'
10669 shlibpath_var=LIBRARY_PATH
10670 shlibpath_overrides_runpath=yes
10671 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10672 hardcode_into_libs=yes
10675 hpux9* | hpux10* | hpux11*)
10676 # Give a soname corresponding to the major version so that dld.sl refuses to
10677 # link against other versions.
10678 version_type=sunos
10679 need_lib_prefix=no
10680 need_version=no
10681 case $host_cpu in
10682 ia64*)
10683 shrext_cmds='.so'
10684 hardcode_into_libs=yes
10685 dynamic_linker="$host_os dld.so"
10686 shlibpath_var=LD_LIBRARY_PATH
10687 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10688 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10689 soname_spec='${libname}${release}${shared_ext}$major'
10690 if test "X$HPUX_IA64_MODE" = X32; then
10691 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10692 else
10693 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10695 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10697 hppa*64*)
10698 shrext_cmds='.sl'
10699 hardcode_into_libs=yes
10700 dynamic_linker="$host_os dld.sl"
10701 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10702 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10703 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10704 soname_spec='${libname}${release}${shared_ext}$major'
10705 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10706 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10709 shrext_cmds='.sl'
10710 dynamic_linker="$host_os dld.sl"
10711 shlibpath_var=SHLIB_PATH
10712 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
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'
10716 esac
10717 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10718 postinstall_cmds='chmod 555 $lib'
10719 # or fails outright, so override atomically:
10720 install_override_mode=555
10723 interix[3-9]*)
10724 version_type=linux
10725 need_lib_prefix=no
10726 need_version=no
10727 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10728 soname_spec='${libname}${release}${shared_ext}$major'
10729 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10730 shlibpath_var=LD_LIBRARY_PATH
10731 shlibpath_overrides_runpath=no
10732 hardcode_into_libs=yes
10735 irix5* | irix6* | nonstopux*)
10736 case $host_os in
10737 nonstopux*) version_type=nonstopux ;;
10739 if test "$lt_cv_prog_gnu_ld" = yes; then
10740 version_type=linux
10741 else
10742 version_type=irix
10743 fi ;;
10744 esac
10745 need_lib_prefix=no
10746 need_version=no
10747 soname_spec='${libname}${release}${shared_ext}$major'
10748 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10749 case $host_os in
10750 irix5* | nonstopux*)
10751 libsuff= shlibsuff=
10754 case $LD in # libtool.m4 will add one of these switches to LD
10755 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10756 libsuff= shlibsuff= libmagic=32-bit;;
10757 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10758 libsuff=32 shlibsuff=N32 libmagic=N32;;
10759 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10760 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10761 *) libsuff= shlibsuff= libmagic=never-match;;
10762 esac
10764 esac
10765 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10766 shlibpath_overrides_runpath=no
10767 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10768 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10769 hardcode_into_libs=yes
10772 # No shared lib support for Linux oldld, aout, or coff.
10773 linux*oldld* | linux*aout* | linux*coff*)
10774 dynamic_linker=no
10777 # This must be Linux ELF.
10778 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10779 version_type=linux
10780 need_lib_prefix=no
10781 need_version=no
10782 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10783 soname_spec='${libname}${release}${shared_ext}$major'
10784 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10785 shlibpath_var=LD_LIBRARY_PATH
10786 shlibpath_overrides_runpath=no
10788 # Some binutils ld are patched to set DT_RUNPATH
10789 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10790 $as_echo_n "(cached) " >&6
10791 else
10792 lt_cv_shlibpath_overrides_runpath=no
10793 save_LDFLAGS=$LDFLAGS
10794 save_libdir=$libdir
10795 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10796 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10797 if test x$gcc_no_link = xyes; then
10798 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10801 /* end confdefs.h. */
10804 main ()
10808 return 0;
10810 _ACEOF
10811 if ac_fn_c_try_link "$LINENO"; then :
10812 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10813 lt_cv_shlibpath_overrides_runpath=yes
10816 rm -f core conftest.err conftest.$ac_objext \
10817 conftest$ac_exeext conftest.$ac_ext
10818 LDFLAGS=$save_LDFLAGS
10819 libdir=$save_libdir
10823 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10825 # This implies no fast_install, which is unacceptable.
10826 # Some rework will be needed to allow for fast_install
10827 # before this can be enabled.
10828 hardcode_into_libs=yes
10830 # Append ld.so.conf contents to the search path
10831 if test -f /etc/ld.so.conf; then
10832 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' ' '`
10833 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10836 # We used to test for /lib/ld.so.1 and disable shared libraries on
10837 # powerpc, because MkLinux only supported shared libraries with the
10838 # GNU dynamic linker. Since this was broken with cross compilers,
10839 # most powerpc-linux boxes support dynamic linking these days and
10840 # people can always --disable-shared, the test was removed, and we
10841 # assume the GNU/Linux dynamic linker is in use.
10842 dynamic_linker='GNU/Linux ld.so'
10845 netbsd*)
10846 version_type=sunos
10847 need_lib_prefix=no
10848 need_version=no
10849 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10850 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10851 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10852 dynamic_linker='NetBSD (a.out) ld.so'
10853 else
10854 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10855 soname_spec='${libname}${release}${shared_ext}$major'
10856 dynamic_linker='NetBSD ld.elf_so'
10858 shlibpath_var=LD_LIBRARY_PATH
10859 shlibpath_overrides_runpath=yes
10860 hardcode_into_libs=yes
10863 newsos6)
10864 version_type=linux
10865 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10866 shlibpath_var=LD_LIBRARY_PATH
10867 shlibpath_overrides_runpath=yes
10870 *nto* | *qnx*)
10871 version_type=qnx
10872 need_lib_prefix=no
10873 need_version=no
10874 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10875 soname_spec='${libname}${release}${shared_ext}$major'
10876 shlibpath_var=LD_LIBRARY_PATH
10877 shlibpath_overrides_runpath=no
10878 hardcode_into_libs=yes
10879 dynamic_linker='ldqnx.so'
10882 openbsd*)
10883 version_type=sunos
10884 sys_lib_dlsearch_path_spec="/usr/lib"
10885 need_lib_prefix=no
10886 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10887 case $host_os in
10888 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10889 *) need_version=no ;;
10890 esac
10891 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10892 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10893 shlibpath_var=LD_LIBRARY_PATH
10894 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10895 case $host_os in
10896 openbsd2.[89] | openbsd2.[89].*)
10897 shlibpath_overrides_runpath=no
10900 shlibpath_overrides_runpath=yes
10902 esac
10903 else
10904 shlibpath_overrides_runpath=yes
10908 os2*)
10909 libname_spec='$name'
10910 shrext_cmds=".dll"
10911 need_lib_prefix=no
10912 library_names_spec='$libname${shared_ext} $libname.a'
10913 dynamic_linker='OS/2 ld.exe'
10914 shlibpath_var=LIBPATH
10917 osf3* | osf4* | osf5*)
10918 version_type=osf
10919 need_lib_prefix=no
10920 need_version=no
10921 soname_spec='${libname}${release}${shared_ext}$major'
10922 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10923 shlibpath_var=LD_LIBRARY_PATH
10924 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10925 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10928 rdos*)
10929 dynamic_linker=no
10932 solaris*)
10933 version_type=linux
10934 need_lib_prefix=no
10935 need_version=no
10936 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10937 soname_spec='${libname}${release}${shared_ext}$major'
10938 shlibpath_var=LD_LIBRARY_PATH
10939 shlibpath_overrides_runpath=yes
10940 hardcode_into_libs=yes
10941 # ldd complains unless libraries are executable
10942 postinstall_cmds='chmod +x $lib'
10945 sunos4*)
10946 version_type=sunos
10947 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10948 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10949 shlibpath_var=LD_LIBRARY_PATH
10950 shlibpath_overrides_runpath=yes
10951 if test "$with_gnu_ld" = yes; then
10952 need_lib_prefix=no
10954 need_version=yes
10957 sysv4 | sysv4.3*)
10958 version_type=linux
10959 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10960 soname_spec='${libname}${release}${shared_ext}$major'
10961 shlibpath_var=LD_LIBRARY_PATH
10962 case $host_vendor in
10963 sni)
10964 shlibpath_overrides_runpath=no
10965 need_lib_prefix=no
10966 runpath_var=LD_RUN_PATH
10968 siemens)
10969 need_lib_prefix=no
10971 motorola)
10972 need_lib_prefix=no
10973 need_version=no
10974 shlibpath_overrides_runpath=no
10975 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10977 esac
10980 sysv4*MP*)
10981 if test -d /usr/nec ;then
10982 version_type=linux
10983 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10984 soname_spec='$libname${shared_ext}.$major'
10985 shlibpath_var=LD_LIBRARY_PATH
10989 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10990 version_type=freebsd-elf
10991 need_lib_prefix=no
10992 need_version=no
10993 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10994 soname_spec='${libname}${release}${shared_ext}$major'
10995 shlibpath_var=LD_LIBRARY_PATH
10996 shlibpath_overrides_runpath=yes
10997 hardcode_into_libs=yes
10998 if test "$with_gnu_ld" = yes; then
10999 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11000 else
11001 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11002 case $host_os in
11003 sco3.2v5*)
11004 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11006 esac
11008 sys_lib_dlsearch_path_spec='/usr/lib'
11011 tpf*)
11012 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11013 version_type=linux
11014 need_lib_prefix=no
11015 need_version=no
11016 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11017 shlibpath_var=LD_LIBRARY_PATH
11018 shlibpath_overrides_runpath=no
11019 hardcode_into_libs=yes
11022 uts4*)
11023 version_type=linux
11024 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11025 soname_spec='${libname}${release}${shared_ext}$major'
11026 shlibpath_var=LD_LIBRARY_PATH
11030 dynamic_linker=no
11032 esac
11033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11034 $as_echo "$dynamic_linker" >&6; }
11035 test "$dynamic_linker" = no && can_build_shared=no
11037 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11038 if test "$GCC" = yes; then
11039 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11042 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11043 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11045 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11046 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11141 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11142 hardcode_action=
11143 if test -n "$hardcode_libdir_flag_spec" ||
11144 test -n "$runpath_var" ||
11145 test "X$hardcode_automatic" = "Xyes" ; then
11147 # We can hardcode non-existent directories.
11148 if test "$hardcode_direct" != no &&
11149 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11150 # have to relink, otherwise we might link with an installed library
11151 # when we should be linking with a yet-to-be-installed one
11152 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11153 test "$hardcode_minus_L" != no; then
11154 # Linking always hardcodes the temporary library directory.
11155 hardcode_action=relink
11156 else
11157 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11158 hardcode_action=immediate
11160 else
11161 # We cannot hardcode anything, or else we can only hardcode existing
11162 # directories.
11163 hardcode_action=unsupported
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11166 $as_echo "$hardcode_action" >&6; }
11168 if test "$hardcode_action" = relink ||
11169 test "$inherit_rpath" = yes; then
11170 # Fast installation is not supported
11171 enable_fast_install=no
11172 elif test "$shlibpath_overrides_runpath" = yes ||
11173 test "$enable_shared" = no; then
11174 # Fast installation is not necessary
11175 enable_fast_install=needless
11183 if test "x$enable_dlopen" != xyes; then
11184 enable_dlopen=unknown
11185 enable_dlopen_self=unknown
11186 enable_dlopen_self_static=unknown
11187 else
11188 lt_cv_dlopen=no
11189 lt_cv_dlopen_libs=
11191 case $host_os in
11192 beos*)
11193 lt_cv_dlopen="load_add_on"
11194 lt_cv_dlopen_libs=
11195 lt_cv_dlopen_self=yes
11198 mingw* | pw32* | cegcc*)
11199 lt_cv_dlopen="LoadLibrary"
11200 lt_cv_dlopen_libs=
11203 cygwin*)
11204 lt_cv_dlopen="dlopen"
11205 lt_cv_dlopen_libs=
11208 darwin*)
11209 # if libdl is installed we need to link against it
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11211 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11212 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11213 $as_echo_n "(cached) " >&6
11214 else
11215 ac_check_lib_save_LIBS=$LIBS
11216 LIBS="-ldl $LIBS"
11217 if test x$gcc_no_link = xyes; then
11218 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11221 /* end confdefs.h. */
11223 /* Override any GCC internal prototype to avoid an error.
11224 Use char because int might match the return type of a GCC
11225 builtin and then its argument prototype would still apply. */
11226 #ifdef __cplusplus
11227 extern "C"
11228 #endif
11229 char dlopen ();
11231 main ()
11233 return dlopen ();
11235 return 0;
11237 _ACEOF
11238 if ac_fn_c_try_link "$LINENO"; then :
11239 ac_cv_lib_dl_dlopen=yes
11240 else
11241 ac_cv_lib_dl_dlopen=no
11243 rm -f core conftest.err conftest.$ac_objext \
11244 conftest$ac_exeext conftest.$ac_ext
11245 LIBS=$ac_check_lib_save_LIBS
11247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11248 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11249 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11250 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11251 else
11253 lt_cv_dlopen="dyld"
11254 lt_cv_dlopen_libs=
11255 lt_cv_dlopen_self=yes
11262 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11263 if test "x$ac_cv_func_shl_load" = x""yes; then :
11264 lt_cv_dlopen="shl_load"
11265 else
11266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11267 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11268 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11269 $as_echo_n "(cached) " >&6
11270 else
11271 ac_check_lib_save_LIBS=$LIBS
11272 LIBS="-ldld $LIBS"
11273 if test x$gcc_no_link = xyes; then
11274 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11277 /* end confdefs.h. */
11279 /* Override any GCC internal prototype to avoid an error.
11280 Use char because int might match the return type of a GCC
11281 builtin and then its argument prototype would still apply. */
11282 #ifdef __cplusplus
11283 extern "C"
11284 #endif
11285 char shl_load ();
11287 main ()
11289 return shl_load ();
11291 return 0;
11293 _ACEOF
11294 if ac_fn_c_try_link "$LINENO"; then :
11295 ac_cv_lib_dld_shl_load=yes
11296 else
11297 ac_cv_lib_dld_shl_load=no
11299 rm -f core conftest.err conftest.$ac_objext \
11300 conftest$ac_exeext conftest.$ac_ext
11301 LIBS=$ac_check_lib_save_LIBS
11303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11304 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11305 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11306 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11307 else
11308 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11309 if test "x$ac_cv_func_dlopen" = x""yes; then :
11310 lt_cv_dlopen="dlopen"
11311 else
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11313 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11314 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11315 $as_echo_n "(cached) " >&6
11316 else
11317 ac_check_lib_save_LIBS=$LIBS
11318 LIBS="-ldl $LIBS"
11319 if test x$gcc_no_link = xyes; then
11320 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11323 /* end confdefs.h. */
11325 /* Override any GCC internal prototype to avoid an error.
11326 Use char because int might match the return type of a GCC
11327 builtin and then its argument prototype would still apply. */
11328 #ifdef __cplusplus
11329 extern "C"
11330 #endif
11331 char dlopen ();
11333 main ()
11335 return dlopen ();
11337 return 0;
11339 _ACEOF
11340 if ac_fn_c_try_link "$LINENO"; then :
11341 ac_cv_lib_dl_dlopen=yes
11342 else
11343 ac_cv_lib_dl_dlopen=no
11345 rm -f core conftest.err conftest.$ac_objext \
11346 conftest$ac_exeext conftest.$ac_ext
11347 LIBS=$ac_check_lib_save_LIBS
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11350 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11351 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11352 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11353 else
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11355 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11356 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11357 $as_echo_n "(cached) " >&6
11358 else
11359 ac_check_lib_save_LIBS=$LIBS
11360 LIBS="-lsvld $LIBS"
11361 if test x$gcc_no_link = xyes; then
11362 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11365 /* end confdefs.h. */
11367 /* Override any GCC internal prototype to avoid an error.
11368 Use char because int might match the return type of a GCC
11369 builtin and then its argument prototype would still apply. */
11370 #ifdef __cplusplus
11371 extern "C"
11372 #endif
11373 char dlopen ();
11375 main ()
11377 return dlopen ();
11379 return 0;
11381 _ACEOF
11382 if ac_fn_c_try_link "$LINENO"; then :
11383 ac_cv_lib_svld_dlopen=yes
11384 else
11385 ac_cv_lib_svld_dlopen=no
11387 rm -f core conftest.err conftest.$ac_objext \
11388 conftest$ac_exeext conftest.$ac_ext
11389 LIBS=$ac_check_lib_save_LIBS
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11392 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11393 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11394 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11395 else
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11397 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11398 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11399 $as_echo_n "(cached) " >&6
11400 else
11401 ac_check_lib_save_LIBS=$LIBS
11402 LIBS="-ldld $LIBS"
11403 if test x$gcc_no_link = xyes; then
11404 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11407 /* end confdefs.h. */
11409 /* Override any GCC internal prototype to avoid an error.
11410 Use char because int might match the return type of a GCC
11411 builtin and then its argument prototype would still apply. */
11412 #ifdef __cplusplus
11413 extern "C"
11414 #endif
11415 char dld_link ();
11417 main ()
11419 return dld_link ();
11421 return 0;
11423 _ACEOF
11424 if ac_fn_c_try_link "$LINENO"; then :
11425 ac_cv_lib_dld_dld_link=yes
11426 else
11427 ac_cv_lib_dld_dld_link=no
11429 rm -f core conftest.err conftest.$ac_objext \
11430 conftest$ac_exeext conftest.$ac_ext
11431 LIBS=$ac_check_lib_save_LIBS
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11434 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11435 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11436 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11455 esac
11457 if test "x$lt_cv_dlopen" != xno; then
11458 enable_dlopen=yes
11459 else
11460 enable_dlopen=no
11463 case $lt_cv_dlopen in
11464 dlopen)
11465 save_CPPFLAGS="$CPPFLAGS"
11466 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11468 save_LDFLAGS="$LDFLAGS"
11469 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11471 save_LIBS="$LIBS"
11472 LIBS="$lt_cv_dlopen_libs $LIBS"
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11475 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11476 if test "${lt_cv_dlopen_self+set}" = set; then :
11477 $as_echo_n "(cached) " >&6
11478 else
11479 if test "$cross_compiling" = yes; then :
11480 lt_cv_dlopen_self=cross
11481 else
11482 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11483 lt_status=$lt_dlunknown
11484 cat > conftest.$ac_ext <<_LT_EOF
11485 #line 11485 "configure"
11486 #include "confdefs.h"
11488 #if HAVE_DLFCN_H
11489 #include <dlfcn.h>
11490 #endif
11492 #include <stdio.h>
11494 #ifdef RTLD_GLOBAL
11495 # define LT_DLGLOBAL RTLD_GLOBAL
11496 #else
11497 # ifdef DL_GLOBAL
11498 # define LT_DLGLOBAL DL_GLOBAL
11499 # else
11500 # define LT_DLGLOBAL 0
11501 # endif
11502 #endif
11504 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11505 find out it does not work in some platform. */
11506 #ifndef LT_DLLAZY_OR_NOW
11507 # ifdef RTLD_LAZY
11508 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11509 # else
11510 # ifdef DL_LAZY
11511 # define LT_DLLAZY_OR_NOW DL_LAZY
11512 # else
11513 # ifdef RTLD_NOW
11514 # define LT_DLLAZY_OR_NOW RTLD_NOW
11515 # else
11516 # ifdef DL_NOW
11517 # define LT_DLLAZY_OR_NOW DL_NOW
11518 # else
11519 # define LT_DLLAZY_OR_NOW 0
11520 # endif
11521 # endif
11522 # endif
11523 # endif
11524 #endif
11526 /* When -fvisbility=hidden is used, assume the code has been annotated
11527 correspondingly for the symbols needed. */
11528 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11529 void fnord () __attribute__((visibility("default")));
11530 #endif
11532 void fnord () { int i=42; }
11533 int main ()
11535 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11536 int status = $lt_dlunknown;
11538 if (self)
11540 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11541 else
11543 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11544 else puts (dlerror ());
11546 /* dlclose (self); */
11548 else
11549 puts (dlerror ());
11551 return status;
11553 _LT_EOF
11554 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11555 (eval $ac_link) 2>&5
11556 ac_status=$?
11557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11558 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11559 (./conftest; exit; ) >&5 2>/dev/null
11560 lt_status=$?
11561 case x$lt_status in
11562 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11563 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11564 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11565 esac
11566 else :
11567 # compilation failed
11568 lt_cv_dlopen_self=no
11571 rm -fr conftest*
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11576 $as_echo "$lt_cv_dlopen_self" >&6; }
11578 if test "x$lt_cv_dlopen_self" = xyes; then
11579 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11581 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11582 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11583 $as_echo_n "(cached) " >&6
11584 else
11585 if test "$cross_compiling" = yes; then :
11586 lt_cv_dlopen_self_static=cross
11587 else
11588 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11589 lt_status=$lt_dlunknown
11590 cat > conftest.$ac_ext <<_LT_EOF
11591 #line 11591 "configure"
11592 #include "confdefs.h"
11594 #if HAVE_DLFCN_H
11595 #include <dlfcn.h>
11596 #endif
11598 #include <stdio.h>
11600 #ifdef RTLD_GLOBAL
11601 # define LT_DLGLOBAL RTLD_GLOBAL
11602 #else
11603 # ifdef DL_GLOBAL
11604 # define LT_DLGLOBAL DL_GLOBAL
11605 # else
11606 # define LT_DLGLOBAL 0
11607 # endif
11608 #endif
11610 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11611 find out it does not work in some platform. */
11612 #ifndef LT_DLLAZY_OR_NOW
11613 # ifdef RTLD_LAZY
11614 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11615 # else
11616 # ifdef DL_LAZY
11617 # define LT_DLLAZY_OR_NOW DL_LAZY
11618 # else
11619 # ifdef RTLD_NOW
11620 # define LT_DLLAZY_OR_NOW RTLD_NOW
11621 # else
11622 # ifdef DL_NOW
11623 # define LT_DLLAZY_OR_NOW DL_NOW
11624 # else
11625 # define LT_DLLAZY_OR_NOW 0
11626 # endif
11627 # endif
11628 # endif
11629 # endif
11630 #endif
11632 /* When -fvisbility=hidden is used, assume the code has been annotated
11633 correspondingly for the symbols needed. */
11634 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11635 void fnord () __attribute__((visibility("default")));
11636 #endif
11638 void fnord () { int i=42; }
11639 int main ()
11641 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11642 int status = $lt_dlunknown;
11644 if (self)
11646 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11647 else
11649 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11650 else puts (dlerror ());
11652 /* dlclose (self); */
11654 else
11655 puts (dlerror ());
11657 return status;
11659 _LT_EOF
11660 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11661 (eval $ac_link) 2>&5
11662 ac_status=$?
11663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11664 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11665 (./conftest; exit; ) >&5 2>/dev/null
11666 lt_status=$?
11667 case x$lt_status in
11668 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11669 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11670 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11671 esac
11672 else :
11673 # compilation failed
11674 lt_cv_dlopen_self_static=no
11677 rm -fr conftest*
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11682 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11685 CPPFLAGS="$save_CPPFLAGS"
11686 LDFLAGS="$save_LDFLAGS"
11687 LIBS="$save_LIBS"
11689 esac
11691 case $lt_cv_dlopen_self in
11692 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11693 *) enable_dlopen_self=unknown ;;
11694 esac
11696 case $lt_cv_dlopen_self_static in
11697 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11698 *) enable_dlopen_self_static=unknown ;;
11699 esac
11718 striplib=
11719 old_striplib=
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11721 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11722 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11723 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11724 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11726 $as_echo "yes" >&6; }
11727 else
11728 # FIXME - insert some real tests, host_os isn't really good enough
11729 case $host_os in
11730 darwin*)
11731 if test -n "$STRIP" ; then
11732 striplib="$STRIP -x"
11733 old_striplib="$STRIP -S"
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11735 $as_echo "yes" >&6; }
11736 else
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11738 $as_echo "no" >&6; }
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11743 $as_echo "no" >&6; }
11745 esac
11759 # Report which library types will actually be built
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11761 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11763 $as_echo "$can_build_shared" >&6; }
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11766 $as_echo_n "checking whether to build shared libraries... " >&6; }
11767 test "$can_build_shared" = "no" && enable_shared=no
11769 # On AIX, shared libraries and static libraries use the same namespace, and
11770 # are all built from PIC.
11771 case $host_os in
11772 aix3*)
11773 test "$enable_shared" = yes && enable_static=no
11774 if test -n "$RANLIB"; then
11775 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11776 postinstall_cmds='$RANLIB $lib'
11780 aix[4-9]*)
11781 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11782 test "$enable_shared" = yes && enable_static=no
11785 esac
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11787 $as_echo "$enable_shared" >&6; }
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11790 $as_echo_n "checking whether to build static libraries... " >&6; }
11791 # Make sure either enable_shared or enable_static is yes.
11792 test "$enable_shared" = yes || enable_static=yes
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11794 $as_echo "$enable_static" >&6; }
11800 ac_ext=c
11801 ac_cpp='$CPP $CPPFLAGS'
11802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11806 CC="$lt_save_CC"
11808 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11809 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11810 (test "X$CXX" != "Xg++"))) ; then
11811 ac_ext=cpp
11812 ac_cpp='$CXXCPP $CPPFLAGS'
11813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11817 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11818 if test -z "$CXXCPP"; then
11819 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11820 $as_echo_n "(cached) " >&6
11821 else
11822 # Double quotes because CXXCPP needs to be expanded
11823 for CXXCPP in "$CXX -E" "/lib/cpp"
11825 ac_preproc_ok=false
11826 for ac_cxx_preproc_warn_flag in '' yes
11828 # Use a header file that comes with gcc, so configuring glibc
11829 # with a fresh cross-compiler works.
11830 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11831 # <limits.h> exists even on freestanding compilers.
11832 # On the NeXT, cc -E runs the code through the compiler's parser,
11833 # not just through cpp. "Syntax error" is here to catch this case.
11834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11835 /* end confdefs.h. */
11836 #ifdef __STDC__
11837 # include <limits.h>
11838 #else
11839 # include <assert.h>
11840 #endif
11841 Syntax error
11842 _ACEOF
11843 if ac_fn_cxx_try_cpp "$LINENO"; then :
11845 else
11846 # Broken: fails on valid input.
11847 continue
11849 rm -f conftest.err conftest.$ac_ext
11851 # OK, works on sane cases. Now check whether nonexistent headers
11852 # can be detected and how.
11853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11854 /* end confdefs.h. */
11855 #include <ac_nonexistent.h>
11856 _ACEOF
11857 if ac_fn_cxx_try_cpp "$LINENO"; then :
11858 # Broken: success on invalid input.
11859 continue
11860 else
11861 # Passes both tests.
11862 ac_preproc_ok=:
11863 break
11865 rm -f conftest.err conftest.$ac_ext
11867 done
11868 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11869 rm -f conftest.err conftest.$ac_ext
11870 if $ac_preproc_ok; then :
11871 break
11874 done
11875 ac_cv_prog_CXXCPP=$CXXCPP
11878 CXXCPP=$ac_cv_prog_CXXCPP
11879 else
11880 ac_cv_prog_CXXCPP=$CXXCPP
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11883 $as_echo "$CXXCPP" >&6; }
11884 ac_preproc_ok=false
11885 for ac_cxx_preproc_warn_flag in '' yes
11887 # Use a header file that comes with gcc, so configuring glibc
11888 # with a fresh cross-compiler works.
11889 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11890 # <limits.h> exists even on freestanding compilers.
11891 # On the NeXT, cc -E runs the code through the compiler's parser,
11892 # not just through cpp. "Syntax error" is here to catch this case.
11893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11894 /* end confdefs.h. */
11895 #ifdef __STDC__
11896 # include <limits.h>
11897 #else
11898 # include <assert.h>
11899 #endif
11900 Syntax error
11901 _ACEOF
11902 if ac_fn_cxx_try_cpp "$LINENO"; then :
11904 else
11905 # Broken: fails on valid input.
11906 continue
11908 rm -f conftest.err conftest.$ac_ext
11910 # OK, works on sane cases. Now check whether nonexistent headers
11911 # can be detected and how.
11912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11913 /* end confdefs.h. */
11914 #include <ac_nonexistent.h>
11915 _ACEOF
11916 if ac_fn_cxx_try_cpp "$LINENO"; then :
11917 # Broken: success on invalid input.
11918 continue
11919 else
11920 # Passes both tests.
11921 ac_preproc_ok=:
11922 break
11924 rm -f conftest.err conftest.$ac_ext
11926 done
11927 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11928 rm -f conftest.err conftest.$ac_ext
11929 if $ac_preproc_ok; then :
11931 else
11932 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11933 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11934 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11935 See \`config.log' for more details." "$LINENO" 5; }
11938 ac_ext=c
11939 ac_cpp='$CPP $CPPFLAGS'
11940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11944 else
11945 _lt_caught_CXX_error=yes
11948 ac_ext=cpp
11949 ac_cpp='$CXXCPP $CPPFLAGS'
11950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11954 archive_cmds_need_lc_CXX=no
11955 allow_undefined_flag_CXX=
11956 always_export_symbols_CXX=no
11957 archive_expsym_cmds_CXX=
11958 compiler_needs_object_CXX=no
11959 export_dynamic_flag_spec_CXX=
11960 hardcode_direct_CXX=no
11961 hardcode_direct_absolute_CXX=no
11962 hardcode_libdir_flag_spec_CXX=
11963 hardcode_libdir_flag_spec_ld_CXX=
11964 hardcode_libdir_separator_CXX=
11965 hardcode_minus_L_CXX=no
11966 hardcode_shlibpath_var_CXX=unsupported
11967 hardcode_automatic_CXX=no
11968 inherit_rpath_CXX=no
11969 module_cmds_CXX=
11970 module_expsym_cmds_CXX=
11971 link_all_deplibs_CXX=unknown
11972 old_archive_cmds_CXX=$old_archive_cmds
11973 reload_flag_CXX=$reload_flag
11974 reload_cmds_CXX=$reload_cmds
11975 no_undefined_flag_CXX=
11976 whole_archive_flag_spec_CXX=
11977 enable_shared_with_static_runtimes_CXX=no
11979 # Source file extension for C++ test sources.
11980 ac_ext=cpp
11982 # Object file extension for compiled C++ test sources.
11983 objext=o
11984 objext_CXX=$objext
11986 # No sense in running all these tests if we already determined that
11987 # the CXX compiler isn't working. Some variables (like enable_shared)
11988 # are currently assumed to apply to all compilers on this platform,
11989 # and will be corrupted by setting them based on a non-working compiler.
11990 if test "$_lt_caught_CXX_error" != yes; then
11991 # Code to be used in simple compile tests
11992 lt_simple_compile_test_code="int some_variable = 0;"
11994 # Code to be used in simple link tests
11995 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11997 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12004 # If no C compiler was specified, use CC.
12005 LTCC=${LTCC-"$CC"}
12007 # If no C compiler flags were specified, use CFLAGS.
12008 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12010 # Allow CC to be a program name with arguments.
12011 compiler=$CC
12014 # save warnings/boilerplate of simple test code
12015 ac_outfile=conftest.$ac_objext
12016 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12017 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12018 _lt_compiler_boilerplate=`cat conftest.err`
12019 $RM conftest*
12021 ac_outfile=conftest.$ac_objext
12022 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12023 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12024 _lt_linker_boilerplate=`cat conftest.err`
12025 $RM -r conftest*
12028 # Allow CC to be a program name with arguments.
12029 lt_save_CC=$CC
12030 lt_save_LD=$LD
12031 lt_save_GCC=$GCC
12032 GCC=$GXX
12033 lt_save_with_gnu_ld=$with_gnu_ld
12034 lt_save_path_LD=$lt_cv_path_LD
12035 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12036 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12037 else
12038 $as_unset lt_cv_prog_gnu_ld
12040 if test -n "${lt_cv_path_LDCXX+set}"; then
12041 lt_cv_path_LD=$lt_cv_path_LDCXX
12042 else
12043 $as_unset lt_cv_path_LD
12045 test -z "${LDCXX+set}" || LD=$LDCXX
12046 CC=${CXX-"c++"}
12047 compiler=$CC
12048 compiler_CXX=$CC
12049 for cc_temp in $compiler""; do
12050 case $cc_temp in
12051 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12052 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12053 \-*) ;;
12054 *) break;;
12055 esac
12056 done
12057 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12060 if test -n "$compiler"; then
12061 # We don't want -fno-exception when compiling C++ code, so set the
12062 # no_builtin_flag separately
12063 if test "$GXX" = yes; then
12064 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12065 else
12066 lt_prog_compiler_no_builtin_flag_CXX=
12069 if test "$GXX" = yes; then
12070 # Set up default GNU C++ configuration
12074 # Check whether --with-gnu-ld was given.
12075 if test "${with_gnu_ld+set}" = set; then :
12076 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12077 else
12078 with_gnu_ld=no
12081 ac_prog=ld
12082 if test "$GCC" = yes; then
12083 # Check if gcc -print-prog-name=ld gives a path.
12084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12085 $as_echo_n "checking for ld used by $CC... " >&6; }
12086 case $host in
12087 *-*-mingw*)
12088 # gcc leaves a trailing carriage return which upsets mingw
12089 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12091 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12092 esac
12093 case $ac_prog in
12094 # Accept absolute paths.
12095 [\\/]* | ?:[\\/]*)
12096 re_direlt='/[^/][^/]*/\.\./'
12097 # Canonicalize the pathname of ld
12098 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12099 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12100 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12101 done
12102 test -z "$LD" && LD="$ac_prog"
12105 # If it fails, then pretend we aren't using GCC.
12106 ac_prog=ld
12109 # If it is relative, then search for the first ld in PATH.
12110 with_gnu_ld=unknown
12112 esac
12113 elif test "$with_gnu_ld" = yes; then
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12115 $as_echo_n "checking for GNU ld... " >&6; }
12116 else
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12118 $as_echo_n "checking for non-GNU ld... " >&6; }
12120 if test "${lt_cv_path_LD+set}" = set; then :
12121 $as_echo_n "(cached) " >&6
12122 else
12123 if test -z "$LD"; then
12124 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12125 for ac_dir in $PATH; do
12126 IFS="$lt_save_ifs"
12127 test -z "$ac_dir" && ac_dir=.
12128 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12129 lt_cv_path_LD="$ac_dir/$ac_prog"
12130 # Check to see if the program is GNU ld. I'd rather use --version,
12131 # but apparently some variants of GNU ld only accept -v.
12132 # Break only if it was the GNU/non-GNU ld that we prefer.
12133 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12134 *GNU* | *'with BFD'*)
12135 test "$with_gnu_ld" != no && break
12138 test "$with_gnu_ld" != yes && break
12140 esac
12142 done
12143 IFS="$lt_save_ifs"
12144 else
12145 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12149 LD="$lt_cv_path_LD"
12150 if test -n "$LD"; then
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12152 $as_echo "$LD" >&6; }
12153 else
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12155 $as_echo "no" >&6; }
12157 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12159 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12160 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12161 $as_echo_n "(cached) " >&6
12162 else
12163 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12164 case `$LD -v 2>&1 </dev/null` in
12165 *GNU* | *'with BFD'*)
12166 lt_cv_prog_gnu_ld=yes
12169 lt_cv_prog_gnu_ld=no
12171 esac
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12174 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12175 with_gnu_ld=$lt_cv_prog_gnu_ld
12183 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12184 # archiving commands below assume that GNU ld is being used.
12185 if test "$with_gnu_ld" = yes; then
12186 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12187 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'
12189 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12190 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12192 # If archive_cmds runs LD, not CC, wlarc should be empty
12193 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12194 # investigate it a little bit more. (MM)
12195 wlarc='${wl}'
12197 # ancient GNU ld didn't support --whole-archive et. al.
12198 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12199 $GREP 'no-whole-archive' > /dev/null; then
12200 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12201 else
12202 whole_archive_flag_spec_CXX=
12204 else
12205 with_gnu_ld=no
12206 wlarc=
12208 # A generic and very simple default shared library creation
12209 # command for GNU C++ for the case where it uses the native
12210 # linker, instead of GNU ld. If possible, this setting should
12211 # overridden to take advantage of the native linker features on
12212 # the platform it is being used on.
12213 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12216 # Commands to make compiler produce verbose output that lists
12217 # what "hidden" libraries, object files and flags are used when
12218 # linking a shared library.
12219 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12221 else
12222 GXX=no
12223 with_gnu_ld=no
12224 wlarc=
12227 # PORTME: fill in a description of your system's C++ link characteristics
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12229 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12230 ld_shlibs_CXX=yes
12231 case $host_os in
12232 aix3*)
12233 # FIXME: insert proper C++ library support
12234 ld_shlibs_CXX=no
12236 aix[4-9]*)
12237 if test "$host_cpu" = ia64; then
12238 # On IA64, the linker does run time linking by default, so we don't
12239 # have to do anything special.
12240 aix_use_runtimelinking=no
12241 exp_sym_flag='-Bexport'
12242 no_entry_flag=""
12243 else
12244 aix_use_runtimelinking=no
12246 # Test if we are trying to use run time linking or normal
12247 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12248 # need to do runtime linking.
12249 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12250 for ld_flag in $LDFLAGS; do
12251 case $ld_flag in
12252 *-brtl*)
12253 aix_use_runtimelinking=yes
12254 break
12256 esac
12257 done
12259 esac
12261 exp_sym_flag='-bexport'
12262 no_entry_flag='-bnoentry'
12265 # When large executables or shared objects are built, AIX ld can
12266 # have problems creating the table of contents. If linking a library
12267 # or program results in "error TOC overflow" add -mminimal-toc to
12268 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12269 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12271 archive_cmds_CXX=''
12272 hardcode_direct_CXX=yes
12273 hardcode_direct_absolute_CXX=yes
12274 hardcode_libdir_separator_CXX=':'
12275 link_all_deplibs_CXX=yes
12276 file_list_spec_CXX='${wl}-f,'
12278 if test "$GXX" = yes; then
12279 case $host_os in aix4.[012]|aix4.[012].*)
12280 # We only want to do this on AIX 4.2 and lower, the check
12281 # below for broken collect2 doesn't work under 4.3+
12282 collect2name=`${CC} -print-prog-name=collect2`
12283 if test -f "$collect2name" &&
12284 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12285 then
12286 # We have reworked collect2
12288 else
12289 # We have old collect2
12290 hardcode_direct_CXX=unsupported
12291 # It fails to find uninstalled libraries when the uninstalled
12292 # path is not listed in the libpath. Setting hardcode_minus_L
12293 # to unsupported forces relinking
12294 hardcode_minus_L_CXX=yes
12295 hardcode_libdir_flag_spec_CXX='-L$libdir'
12296 hardcode_libdir_separator_CXX=
12298 esac
12299 shared_flag='-shared'
12300 if test "$aix_use_runtimelinking" = yes; then
12301 shared_flag="$shared_flag "'${wl}-G'
12303 else
12304 # not using gcc
12305 if test "$host_cpu" = ia64; then
12306 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12307 # chokes on -Wl,-G. The following line is correct:
12308 shared_flag='-G'
12309 else
12310 if test "$aix_use_runtimelinking" = yes; then
12311 shared_flag='${wl}-G'
12312 else
12313 shared_flag='${wl}-bM:SRE'
12318 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12319 # It seems that -bexpall does not export symbols beginning with
12320 # underscore (_), so it is better to generate a list of symbols to
12321 # export.
12322 always_export_symbols_CXX=yes
12323 if test "$aix_use_runtimelinking" = yes; then
12324 # Warning - without using the other runtime loading flags (-brtl),
12325 # -berok will link without error, but may produce a broken library.
12326 allow_undefined_flag_CXX='-berok'
12327 # Determine the default libpath from the value encoded in an empty
12328 # executable.
12329 if test x$gcc_no_link = xyes; then
12330 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12333 /* end confdefs.h. */
12336 main ()
12340 return 0;
12342 _ACEOF
12343 if ac_fn_cxx_try_link "$LINENO"; then :
12345 lt_aix_libpath_sed='
12346 /Import File Strings/,/^$/ {
12347 /^0/ {
12348 s/^0 *\(.*\)$/\1/
12352 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12353 # Check for a 64-bit object if we didn't find anything.
12354 if test -z "$aix_libpath"; then
12355 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12358 rm -f core conftest.err conftest.$ac_objext \
12359 conftest$ac_exeext conftest.$ac_ext
12360 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12362 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12364 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"
12365 else
12366 if test "$host_cpu" = ia64; then
12367 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12368 allow_undefined_flag_CXX="-z nodefs"
12369 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"
12370 else
12371 # Determine the default libpath from the value encoded in an
12372 # empty executable.
12373 if test x$gcc_no_link = xyes; then
12374 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12377 /* end confdefs.h. */
12380 main ()
12384 return 0;
12386 _ACEOF
12387 if ac_fn_cxx_try_link "$LINENO"; then :
12389 lt_aix_libpath_sed='
12390 /Import File Strings/,/^$/ {
12391 /^0/ {
12392 s/^0 *\(.*\)$/\1/
12396 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12397 # Check for a 64-bit object if we didn't find anything.
12398 if test -z "$aix_libpath"; then
12399 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12402 rm -f core conftest.err conftest.$ac_objext \
12403 conftest$ac_exeext conftest.$ac_ext
12404 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12406 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12407 # Warning - without using the other run time loading flags,
12408 # -berok will link without error, but may produce a broken library.
12409 no_undefined_flag_CXX=' ${wl}-bernotok'
12410 allow_undefined_flag_CXX=' ${wl}-berok'
12411 if test "$with_gnu_ld" = yes; then
12412 # We only use this code for GNU lds that support --whole-archive.
12413 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12414 else
12415 # Exported symbols can be pulled into shared objects from archives
12416 whole_archive_flag_spec_CXX='$convenience'
12418 archive_cmds_need_lc_CXX=yes
12419 # This is similar to how AIX traditionally builds its shared
12420 # libraries.
12421 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'
12426 beos*)
12427 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12428 allow_undefined_flag_CXX=unsupported
12429 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12430 # support --undefined. This deserves some investigation. FIXME
12431 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12432 else
12433 ld_shlibs_CXX=no
12437 chorus*)
12438 case $cc_basename in
12440 # FIXME: insert proper C++ library support
12441 ld_shlibs_CXX=no
12443 esac
12446 cygwin* | mingw* | pw32* | cegcc*)
12447 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12448 # as there is no search path for DLLs.
12449 hardcode_libdir_flag_spec_CXX='-L$libdir'
12450 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12451 allow_undefined_flag_CXX=unsupported
12452 always_export_symbols_CXX=no
12453 enable_shared_with_static_runtimes_CXX=yes
12455 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12456 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'
12457 # If the export-symbols file already is a .def file (1st line
12458 # is EXPORTS), use it as is; otherwise, prepend...
12459 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12460 cp $export_symbols $output_objdir/$soname.def;
12461 else
12462 echo EXPORTS > $output_objdir/$soname.def;
12463 cat $export_symbols >> $output_objdir/$soname.def;
12465 $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'
12466 else
12467 ld_shlibs_CXX=no
12470 darwin* | rhapsody*)
12473 archive_cmds_need_lc_CXX=no
12474 hardcode_direct_CXX=no
12475 hardcode_automatic_CXX=yes
12476 hardcode_shlibpath_var_CXX=unsupported
12477 if test "$lt_cv_ld_force_load" = "yes"; then
12478 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\"`'
12479 else
12480 whole_archive_flag_spec_CXX=''
12482 link_all_deplibs_CXX=yes
12483 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12484 case $cc_basename in
12485 ifort*) _lt_dar_can_shared=yes ;;
12486 *) _lt_dar_can_shared=$GCC ;;
12487 esac
12488 if test "$_lt_dar_can_shared" = "yes"; then
12489 output_verbose_link_cmd=func_echo_all
12490 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}"
12491 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12492 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}"
12493 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}"
12494 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12495 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}"
12496 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}"
12499 else
12500 ld_shlibs_CXX=no
12505 dgux*)
12506 case $cc_basename in
12507 ec++*)
12508 # FIXME: insert proper C++ library support
12509 ld_shlibs_CXX=no
12511 ghcx*)
12512 # Green Hills C++ Compiler
12513 # FIXME: insert proper C++ library support
12514 ld_shlibs_CXX=no
12517 # FIXME: insert proper C++ library support
12518 ld_shlibs_CXX=no
12520 esac
12523 freebsd[12]*)
12524 # C++ shared libraries reported to be fairly broken before
12525 # switch to ELF
12526 ld_shlibs_CXX=no
12529 freebsd-elf*)
12530 archive_cmds_need_lc_CXX=no
12533 freebsd* | dragonfly*)
12534 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12535 # conventions
12536 ld_shlibs_CXX=yes
12539 gnu*)
12542 haiku*)
12543 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12544 link_all_deplibs_CXX=yes
12547 hpux9*)
12548 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12549 hardcode_libdir_separator_CXX=:
12550 export_dynamic_flag_spec_CXX='${wl}-E'
12551 hardcode_direct_CXX=yes
12552 hardcode_minus_L_CXX=yes # Not in the search PATH,
12553 # but as the default
12554 # location of the library.
12556 case $cc_basename in
12557 CC*)
12558 # FIXME: insert proper C++ library support
12559 ld_shlibs_CXX=no
12561 aCC*)
12562 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'
12563 # Commands to make compiler produce verbose output that lists
12564 # what "hidden" libraries, object files and flags are used when
12565 # linking a shared library.
12567 # There doesn't appear to be a way to prevent this compiler from
12568 # explicitly linking system object files so we need to strip them
12569 # from the output so that they don't get included in the library
12570 # dependencies.
12571 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"'
12574 if test "$GXX" = yes; then
12575 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'
12576 else
12577 # FIXME: insert proper C++ library support
12578 ld_shlibs_CXX=no
12581 esac
12584 hpux10*|hpux11*)
12585 if test $with_gnu_ld = no; then
12586 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12587 hardcode_libdir_separator_CXX=:
12589 case $host_cpu in
12590 hppa*64*|ia64*)
12593 export_dynamic_flag_spec_CXX='${wl}-E'
12595 esac
12597 case $host_cpu in
12598 hppa*64*|ia64*)
12599 hardcode_direct_CXX=no
12600 hardcode_shlibpath_var_CXX=no
12603 hardcode_direct_CXX=yes
12604 hardcode_direct_absolute_CXX=yes
12605 hardcode_minus_L_CXX=yes # Not in the search PATH,
12606 # but as the default
12607 # location of the library.
12609 esac
12611 case $cc_basename in
12612 CC*)
12613 # FIXME: insert proper C++ library support
12614 ld_shlibs_CXX=no
12616 aCC*)
12617 case $host_cpu in
12618 hppa*64*)
12619 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12621 ia64*)
12622 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12625 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12627 esac
12628 # Commands to make compiler produce verbose output that lists
12629 # what "hidden" libraries, object files and flags are used when
12630 # linking a shared library.
12632 # There doesn't appear to be a way to prevent this compiler from
12633 # explicitly linking system object files so we need to strip them
12634 # from the output so that they don't get included in the library
12635 # dependencies.
12636 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"'
12639 if test "$GXX" = yes; then
12640 if test $with_gnu_ld = no; then
12641 case $host_cpu in
12642 hppa*64*)
12643 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12645 ia64*)
12646 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12649 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'
12651 esac
12653 else
12654 # FIXME: insert proper C++ library support
12655 ld_shlibs_CXX=no
12658 esac
12661 interix[3-9]*)
12662 hardcode_direct_CXX=no
12663 hardcode_shlibpath_var_CXX=no
12664 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12665 export_dynamic_flag_spec_CXX='${wl}-E'
12666 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12667 # Instead, shared libraries are loaded at an image base (0x10000000 by
12668 # default) and relocated if they conflict, which is a slow very memory
12669 # consuming and fragmenting process. To avoid this, we pick a random,
12670 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12671 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12672 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'
12673 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'
12675 irix5* | irix6*)
12676 case $cc_basename in
12677 CC*)
12678 # SGI C++
12679 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'
12681 # Archives containing C++ object files must be created using
12682 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12683 # necessary to make sure instantiated templates are included
12684 # in the archive.
12685 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12688 if test "$GXX" = yes; then
12689 if test "$with_gnu_ld" = no; then
12690 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'
12691 else
12692 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'
12695 link_all_deplibs_CXX=yes
12697 esac
12698 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12699 hardcode_libdir_separator_CXX=:
12700 inherit_rpath_CXX=yes
12703 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12704 case $cc_basename in
12705 KCC*)
12706 # Kuck and Associates, Inc. (KAI) C++ Compiler
12708 # KCC will only create a shared library if the output file
12709 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12710 # to its proper name (with version) after linking.
12711 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'
12712 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'
12713 # Commands to make compiler produce verbose output that lists
12714 # what "hidden" libraries, object files and flags are used when
12715 # linking a shared library.
12717 # There doesn't appear to be a way to prevent this compiler from
12718 # explicitly linking system object files so we need to strip them
12719 # from the output so that they don't get included in the library
12720 # dependencies.
12721 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"'
12723 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12724 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12726 # Archives containing C++ object files must be created using
12727 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12728 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12730 icpc* | ecpc* )
12731 # Intel C++
12732 with_gnu_ld=yes
12733 # version 8.0 and above of icpc choke on multiply defined symbols
12734 # if we add $predep_objects and $postdep_objects, however 7.1 and
12735 # earlier do not add the objects themselves.
12736 case `$CC -V 2>&1` in
12737 *"Version 7."*)
12738 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12739 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'
12741 *) # Version 8.0 or newer
12742 tmp_idyn=
12743 case $host_cpu in
12744 ia64*) tmp_idyn=' -i_dynamic';;
12745 esac
12746 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12747 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'
12749 esac
12750 archive_cmds_need_lc_CXX=no
12751 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12752 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12753 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12755 pgCC* | pgcpp*)
12756 # Portland Group C++ compiler
12757 case `$CC -V` in
12758 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12759 prelink_cmds_CXX='tpldir=Template.dir~
12760 rm -rf $tpldir~
12761 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12762 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12763 old_archive_cmds_CXX='tpldir=Template.dir~
12764 rm -rf $tpldir~
12765 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12766 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12767 $RANLIB $oldlib'
12768 archive_cmds_CXX='tpldir=Template.dir~
12769 rm -rf $tpldir~
12770 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12771 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12772 archive_expsym_cmds_CXX='tpldir=Template.dir~
12773 rm -rf $tpldir~
12774 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12775 $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'
12777 *) # Version 6 and above use weak symbols
12778 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12779 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'
12781 esac
12783 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12784 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12785 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'
12787 cxx*)
12788 # Compaq C++
12789 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12790 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'
12792 runpath_var=LD_RUN_PATH
12793 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12794 hardcode_libdir_separator_CXX=:
12796 # Commands to make compiler produce verbose output that lists
12797 # what "hidden" libraries, object files and flags are used when
12798 # linking a shared library.
12800 # There doesn't appear to be a way to prevent this compiler from
12801 # explicitly linking system object files so we need to strip them
12802 # from the output so that they don't get included in the library
12803 # dependencies.
12804 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'
12806 xl* | mpixl* | bgxl*)
12807 # IBM XL 8.0 on PPC, with GNU ld
12808 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12809 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12810 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12811 if test "x$supports_anon_versioning" = xyes; then
12812 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12813 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12814 echo "local: *; };" >> $output_objdir/$libname.ver~
12815 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12819 case `$CC -V 2>&1 | sed 5q` in
12820 *Sun\ C*)
12821 # Sun C++ 5.9
12822 no_undefined_flag_CXX=' -zdefs'
12823 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12824 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'
12825 hardcode_libdir_flag_spec_CXX='-R$libdir'
12826 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'
12827 compiler_needs_object_CXX=yes
12829 # Not sure whether something based on
12830 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12831 # would be better.
12832 output_verbose_link_cmd='func_echo_all'
12834 # Archives containing C++ object files must be created using
12835 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12836 # necessary to make sure instantiated templates are included
12837 # in the archive.
12838 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12840 esac
12842 esac
12845 lynxos*)
12846 # FIXME: insert proper C++ library support
12847 ld_shlibs_CXX=no
12850 m88k*)
12851 # FIXME: insert proper C++ library support
12852 ld_shlibs_CXX=no
12855 mvs*)
12856 case $cc_basename in
12857 cxx*)
12858 # FIXME: insert proper C++ library support
12859 ld_shlibs_CXX=no
12862 # FIXME: insert proper C++ library support
12863 ld_shlibs_CXX=no
12865 esac
12868 netbsd*)
12869 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12870 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12871 wlarc=
12872 hardcode_libdir_flag_spec_CXX='-R$libdir'
12873 hardcode_direct_CXX=yes
12874 hardcode_shlibpath_var_CXX=no
12876 # Workaround some broken pre-1.5 toolchains
12877 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12880 *nto* | *qnx*)
12881 ld_shlibs_CXX=yes
12884 openbsd2*)
12885 # C++ shared libraries are fairly broken
12886 ld_shlibs_CXX=no
12889 openbsd*)
12890 if test -f /usr/libexec/ld.so; then
12891 hardcode_direct_CXX=yes
12892 hardcode_shlibpath_var_CXX=no
12893 hardcode_direct_absolute_CXX=yes
12894 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12895 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12896 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12897 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12898 export_dynamic_flag_spec_CXX='${wl}-E'
12899 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12901 output_verbose_link_cmd=func_echo_all
12902 else
12903 ld_shlibs_CXX=no
12907 osf3* | osf4* | osf5*)
12908 case $cc_basename in
12909 KCC*)
12910 # Kuck and Associates, Inc. (KAI) C++ Compiler
12912 # KCC will only create a shared library if the output file
12913 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12914 # to its proper name (with version) after linking.
12915 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'
12917 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12918 hardcode_libdir_separator_CXX=:
12920 # Archives containing C++ object files must be created using
12921 # the KAI C++ compiler.
12922 case $host in
12923 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12924 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12925 esac
12927 RCC*)
12928 # Rational C++ 2.4.1
12929 # FIXME: insert proper C++ library support
12930 ld_shlibs_CXX=no
12932 cxx*)
12933 case $host in
12934 osf3*)
12935 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12936 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'
12937 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12940 allow_undefined_flag_CXX=' -expect_unresolved \*'
12941 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'
12942 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12943 echo "-hidden">> $lib.exp~
12944 $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~
12945 $RM $lib.exp'
12946 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12948 esac
12950 hardcode_libdir_separator_CXX=:
12952 # Commands to make compiler produce verbose output that lists
12953 # what "hidden" libraries, object files and flags are used when
12954 # linking a shared library.
12956 # There doesn't appear to be a way to prevent this compiler from
12957 # explicitly linking system object files so we need to strip them
12958 # from the output so that they don't get included in the library
12959 # dependencies.
12960 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"'
12963 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12964 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12965 case $host in
12966 osf3*)
12967 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'
12970 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'
12972 esac
12974 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
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.
12980 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12982 else
12983 # FIXME: insert proper C++ library support
12984 ld_shlibs_CXX=no
12987 esac
12990 psos*)
12991 # FIXME: insert proper C++ library support
12992 ld_shlibs_CXX=no
12995 sunos4*)
12996 case $cc_basename in
12997 CC*)
12998 # Sun C++ 4.x
12999 # FIXME: insert proper C++ library support
13000 ld_shlibs_CXX=no
13002 lcc*)
13003 # Lucid
13004 # FIXME: insert proper C++ library support
13005 ld_shlibs_CXX=no
13008 # FIXME: insert proper C++ library support
13009 ld_shlibs_CXX=no
13011 esac
13014 solaris*)
13015 case $cc_basename in
13016 CC*)
13017 # Sun C++ 4.2, 5.x and Centerline C++
13018 archive_cmds_need_lc_CXX=yes
13019 no_undefined_flag_CXX=' -zdefs'
13020 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13021 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13022 $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'
13024 hardcode_libdir_flag_spec_CXX='-R$libdir'
13025 hardcode_shlibpath_var_CXX=no
13026 case $host_os in
13027 solaris2.[0-5] | solaris2.[0-5].*) ;;
13029 # The compiler driver will combine and reorder linker options,
13030 # but understands `-z linker_flag'.
13031 # Supported since Solaris 2.6 (maybe 2.5.1?)
13032 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13034 esac
13035 link_all_deplibs_CXX=yes
13037 output_verbose_link_cmd='func_echo_all'
13039 # Archives containing C++ object files must be created using
13040 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13041 # necessary to make sure instantiated templates are included
13042 # in the archive.
13043 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13045 gcx*)
13046 # Green Hills C++ Compiler
13047 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13049 # The C++ compiler must be used to create the archive.
13050 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13053 # GNU C++ compiler with Solaris linker
13054 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13055 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13056 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13057 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13058 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13059 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13061 # Commands to make compiler produce verbose output that lists
13062 # what "hidden" libraries, object files and flags are used when
13063 # linking a shared library.
13064 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13065 else
13066 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13067 # platform.
13068 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13069 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13070 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13072 # Commands to make compiler produce verbose output that lists
13073 # what "hidden" libraries, object files and flags are used when
13074 # linking a shared library.
13075 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13078 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13079 case $host_os in
13080 solaris2.[0-5] | solaris2.[0-5].*) ;;
13082 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13084 esac
13087 esac
13090 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13091 no_undefined_flag_CXX='${wl}-z,text'
13092 archive_cmds_need_lc_CXX=no
13093 hardcode_shlibpath_var_CXX=no
13094 runpath_var='LD_RUN_PATH'
13096 case $cc_basename in
13097 CC*)
13098 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13099 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13102 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13103 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13105 esac
13108 sysv5* | sco3.2v5* | sco5v6*)
13109 # Note: We can NOT use -z defs as we might desire, because we do not
13110 # link with -lc, and that would cause any symbols used from libc to
13111 # always be unresolved, which means just about no library would
13112 # ever link correctly. If we're not using GNU ld we use -z text
13113 # though, which does catch some bad symbols but isn't as heavy-handed
13114 # as -z defs.
13115 no_undefined_flag_CXX='${wl}-z,text'
13116 allow_undefined_flag_CXX='${wl}-z,nodefs'
13117 archive_cmds_need_lc_CXX=no
13118 hardcode_shlibpath_var_CXX=no
13119 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13120 hardcode_libdir_separator_CXX=':'
13121 link_all_deplibs_CXX=yes
13122 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13123 runpath_var='LD_RUN_PATH'
13125 case $cc_basename in
13126 CC*)
13127 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13128 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13129 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13130 '"$old_archive_cmds_CXX"
13131 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13132 '"$reload_cmds_CXX"
13135 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13136 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13138 esac
13141 tandem*)
13142 case $cc_basename in
13143 NCC*)
13144 # NonStop-UX NCC 3.20
13145 # FIXME: insert proper C++ library support
13146 ld_shlibs_CXX=no
13149 # FIXME: insert proper C++ library support
13150 ld_shlibs_CXX=no
13152 esac
13155 vxworks*)
13156 # FIXME: insert proper C++ library support
13157 ld_shlibs_CXX=no
13161 # FIXME: insert proper C++ library support
13162 ld_shlibs_CXX=no
13164 esac
13166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13167 $as_echo "$ld_shlibs_CXX" >&6; }
13168 test "$ld_shlibs_CXX" = no && can_build_shared=no
13170 GCC_CXX="$GXX"
13171 LD_CXX="$LD"
13173 ## CAVEAT EMPTOR:
13174 ## There is no encapsulation within the following macros, do not change
13175 ## the running order or otherwise move them around unless you know exactly
13176 ## what you are doing...
13177 # Dependencies to place before and after the object being linked:
13178 predep_objects_CXX=
13179 postdep_objects_CXX=
13180 predeps_CXX=
13181 postdeps_CXX=
13182 compiler_lib_search_path_CXX=
13184 cat > conftest.$ac_ext <<_LT_EOF
13185 class Foo
13187 public:
13188 Foo (void) { a = 0; }
13189 private:
13190 int a;
13192 _LT_EOF
13194 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13195 (eval $ac_compile) 2>&5
13196 ac_status=$?
13197 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13198 test $ac_status = 0; }; then
13199 # Parse the compiler output and extract the necessary
13200 # objects, libraries and library flags.
13202 # Sentinel used to keep track of whether or not we are before
13203 # the conftest object file.
13204 pre_test_object_deps_done=no
13206 for p in `eval "$output_verbose_link_cmd"`; do
13207 case $p in
13209 -L* | -R* | -l*)
13210 # Some compilers place space between "-{L,R}" and the path.
13211 # Remove the space.
13212 if test $p = "-L" ||
13213 test $p = "-R"; then
13214 prev=$p
13215 continue
13216 else
13217 prev=
13220 if test "$pre_test_object_deps_done" = no; then
13221 case $p in
13222 -L* | -R*)
13223 # Internal compiler library paths should come after those
13224 # provided the user. The postdeps already come after the
13225 # user supplied libs so there is no need to process them.
13226 if test -z "$compiler_lib_search_path_CXX"; then
13227 compiler_lib_search_path_CXX="${prev}${p}"
13228 else
13229 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13232 # The "-l" case would never come before the object being
13233 # linked, so don't bother handling this case.
13234 esac
13235 else
13236 if test -z "$postdeps_CXX"; then
13237 postdeps_CXX="${prev}${p}"
13238 else
13239 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13244 *.$objext)
13245 # This assumes that the test object file only shows up
13246 # once in the compiler output.
13247 if test "$p" = "conftest.$objext"; then
13248 pre_test_object_deps_done=yes
13249 continue
13252 if test "$pre_test_object_deps_done" = no; then
13253 if test -z "$predep_objects_CXX"; then
13254 predep_objects_CXX="$p"
13255 else
13256 predep_objects_CXX="$predep_objects_CXX $p"
13258 else
13259 if test -z "$postdep_objects_CXX"; then
13260 postdep_objects_CXX="$p"
13261 else
13262 postdep_objects_CXX="$postdep_objects_CXX $p"
13267 *) ;; # Ignore the rest.
13269 esac
13270 done
13272 # Clean up.
13273 rm -f a.out a.exe
13274 else
13275 echo "libtool.m4: error: problem compiling CXX test program"
13278 $RM -f confest.$objext
13280 # PORTME: override above test on systems where it is broken
13281 case $host_os in
13282 interix[3-9]*)
13283 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13284 # hack all around it, let's just trust "g++" to DTRT.
13285 predep_objects_CXX=
13286 postdep_objects_CXX=
13287 postdeps_CXX=
13290 linux*)
13291 case `$CC -V 2>&1 | sed 5q` in
13292 *Sun\ C*)
13293 # Sun C++ 5.9
13295 # The more standards-conforming stlport4 library is
13296 # incompatible with the Cstd library. Avoid specifying
13297 # it if it's in CXXFLAGS. Ignore libCrun as
13298 # -library=stlport4 depends on it.
13299 case " $CXX $CXXFLAGS " in
13300 *" -library=stlport4 "*)
13301 solaris_use_stlport4=yes
13303 esac
13305 if test "$solaris_use_stlport4" != yes; then
13306 postdeps_CXX='-library=Cstd -library=Crun'
13309 esac
13312 solaris*)
13313 case $cc_basename in
13314 CC*)
13315 # The more standards-conforming stlport4 library is
13316 # incompatible with the Cstd library. Avoid specifying
13317 # it if it's in CXXFLAGS. Ignore libCrun as
13318 # -library=stlport4 depends on it.
13319 case " $CXX $CXXFLAGS " in
13320 *" -library=stlport4 "*)
13321 solaris_use_stlport4=yes
13323 esac
13325 # Adding this requires a known-good setup of shared libraries for
13326 # Sun compiler versions before 5.6, else PIC objects from an old
13327 # archive will be linked into the output, leading to subtle bugs.
13328 if test "$solaris_use_stlport4" != yes; then
13329 postdeps_CXX='-library=Cstd -library=Crun'
13332 esac
13334 esac
13337 case " $postdeps_CXX " in
13338 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13339 esac
13340 compiler_lib_search_dirs_CXX=
13341 if test -n "${compiler_lib_search_path_CXX}"; then
13342 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13375 lt_prog_compiler_wl_CXX=
13376 lt_prog_compiler_pic_CXX=
13377 lt_prog_compiler_static_CXX=
13379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13380 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13382 # C++ specific cases for pic, static, wl, etc.
13383 if test "$GXX" = yes; then
13384 lt_prog_compiler_wl_CXX='-Wl,'
13385 lt_prog_compiler_static_CXX='-static'
13387 case $host_os in
13388 aix*)
13389 # All AIX code is PIC.
13390 if test "$host_cpu" = ia64; then
13391 # AIX 5 now supports IA64 processor
13392 lt_prog_compiler_static_CXX='-Bstatic'
13396 amigaos*)
13397 case $host_cpu in
13398 powerpc)
13399 # see comment about AmigaOS4 .so support
13400 lt_prog_compiler_pic_CXX='-fPIC'
13402 m68k)
13403 # FIXME: we need at least 68020 code to build shared libraries, but
13404 # adding the `-m68020' flag to GCC prevents building anything better,
13405 # like `-m68040'.
13406 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13408 esac
13411 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13412 # PIC is the default for these OSes.
13414 mingw* | cygwin* | os2* | pw32* | cegcc*)
13415 # This hack is so that the source file can tell whether it is being
13416 # built for inclusion in a dll (and should export symbols for example).
13417 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13418 # (--disable-auto-import) libraries
13419 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13421 darwin* | rhapsody*)
13422 # PIC is the default on this platform
13423 # Common symbols not allowed in MH_DYLIB files
13424 lt_prog_compiler_pic_CXX='-fno-common'
13426 *djgpp*)
13427 # DJGPP does not support shared libraries at all
13428 lt_prog_compiler_pic_CXX=
13430 haiku*)
13431 # PIC is the default for Haiku.
13432 # The "-static" flag exists, but is broken.
13433 lt_prog_compiler_static_CXX=
13435 interix[3-9]*)
13436 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13437 # Instead, we relocate shared libraries at runtime.
13439 sysv4*MP*)
13440 if test -d /usr/nec; then
13441 lt_prog_compiler_pic_CXX=-Kconform_pic
13444 hpux*)
13445 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13446 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13447 # sets the default TLS model and affects inlining.
13448 case $host_cpu in
13449 hppa*64*)
13452 lt_prog_compiler_pic_CXX='-fPIC'
13454 esac
13456 *qnx* | *nto*)
13457 # QNX uses GNU C++, but need to define -shared option too, otherwise
13458 # it will coredump.
13459 lt_prog_compiler_pic_CXX='-fPIC -shared'
13462 lt_prog_compiler_pic_CXX='-fPIC'
13464 esac
13465 else
13466 case $host_os in
13467 aix[4-9]*)
13468 # All AIX code is PIC.
13469 if test "$host_cpu" = ia64; then
13470 # AIX 5 now supports IA64 processor
13471 lt_prog_compiler_static_CXX='-Bstatic'
13472 else
13473 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13476 chorus*)
13477 case $cc_basename in
13478 cxch68*)
13479 # Green Hills C++ Compiler
13480 # _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"
13482 esac
13484 dgux*)
13485 case $cc_basename in
13486 ec++*)
13487 lt_prog_compiler_pic_CXX='-KPIC'
13489 ghcx*)
13490 # Green Hills C++ Compiler
13491 lt_prog_compiler_pic_CXX='-pic'
13495 esac
13497 freebsd* | dragonfly*)
13498 # FreeBSD uses GNU C++
13500 hpux9* | hpux10* | hpux11*)
13501 case $cc_basename in
13502 CC*)
13503 lt_prog_compiler_wl_CXX='-Wl,'
13504 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13505 if test "$host_cpu" != ia64; then
13506 lt_prog_compiler_pic_CXX='+Z'
13509 aCC*)
13510 lt_prog_compiler_wl_CXX='-Wl,'
13511 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13512 case $host_cpu in
13513 hppa*64*|ia64*)
13514 # +Z the default
13517 lt_prog_compiler_pic_CXX='+Z'
13519 esac
13523 esac
13525 interix*)
13526 # This is c89, which is MS Visual C++ (no shared libs)
13527 # Anyone wants to do a port?
13529 irix5* | irix6* | nonstopux*)
13530 case $cc_basename in
13531 CC*)
13532 lt_prog_compiler_wl_CXX='-Wl,'
13533 lt_prog_compiler_static_CXX='-non_shared'
13534 # CC pic flag -KPIC is the default.
13538 esac
13540 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13541 case $cc_basename in
13542 KCC*)
13543 # KAI C++ Compiler
13544 lt_prog_compiler_wl_CXX='--backend -Wl,'
13545 lt_prog_compiler_pic_CXX='-fPIC'
13547 ecpc* )
13548 # old Intel C++ for x86_64 which still supported -KPIC.
13549 lt_prog_compiler_wl_CXX='-Wl,'
13550 lt_prog_compiler_pic_CXX='-KPIC'
13551 lt_prog_compiler_static_CXX='-static'
13553 icpc* )
13554 # Intel C++, used to be incompatible with GCC.
13555 # ICC 10 doesn't accept -KPIC any more.
13556 lt_prog_compiler_wl_CXX='-Wl,'
13557 lt_prog_compiler_pic_CXX='-fPIC'
13558 lt_prog_compiler_static_CXX='-static'
13560 pgCC* | pgcpp*)
13561 # Portland Group C++ compiler
13562 lt_prog_compiler_wl_CXX='-Wl,'
13563 lt_prog_compiler_pic_CXX='-fpic'
13564 lt_prog_compiler_static_CXX='-Bstatic'
13566 cxx*)
13567 # Compaq C++
13568 # Make sure the PIC flag is empty. It appears that all Alpha
13569 # Linux and Compaq Tru64 Unix objects are PIC.
13570 lt_prog_compiler_pic_CXX=
13571 lt_prog_compiler_static_CXX='-non_shared'
13573 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13574 # IBM XL 8.0, 9.0 on PPC and BlueGene
13575 lt_prog_compiler_wl_CXX='-Wl,'
13576 lt_prog_compiler_pic_CXX='-qpic'
13577 lt_prog_compiler_static_CXX='-qstaticlink'
13580 case `$CC -V 2>&1 | sed 5q` in
13581 *Sun\ C*)
13582 # Sun C++ 5.9
13583 lt_prog_compiler_pic_CXX='-KPIC'
13584 lt_prog_compiler_static_CXX='-Bstatic'
13585 lt_prog_compiler_wl_CXX='-Qoption ld '
13587 esac
13589 esac
13591 lynxos*)
13593 m88k*)
13595 mvs*)
13596 case $cc_basename in
13597 cxx*)
13598 lt_prog_compiler_pic_CXX='-W c,exportall'
13602 esac
13604 netbsd*)
13606 *qnx* | *nto*)
13607 # QNX uses GNU C++, but need to define -shared option too, otherwise
13608 # it will coredump.
13609 lt_prog_compiler_pic_CXX='-fPIC -shared'
13611 osf3* | osf4* | osf5*)
13612 case $cc_basename in
13613 KCC*)
13614 lt_prog_compiler_wl_CXX='--backend -Wl,'
13616 RCC*)
13617 # Rational C++ 2.4.1
13618 lt_prog_compiler_pic_CXX='-pic'
13620 cxx*)
13621 # Digital/Compaq C++
13622 lt_prog_compiler_wl_CXX='-Wl,'
13623 # Make sure the PIC flag is empty. It appears that all Alpha
13624 # Linux and Compaq Tru64 Unix objects are PIC.
13625 lt_prog_compiler_pic_CXX=
13626 lt_prog_compiler_static_CXX='-non_shared'
13630 esac
13632 psos*)
13634 solaris*)
13635 case $cc_basename in
13636 CC*)
13637 # Sun C++ 4.2, 5.x and Centerline C++
13638 lt_prog_compiler_pic_CXX='-KPIC'
13639 lt_prog_compiler_static_CXX='-Bstatic'
13640 lt_prog_compiler_wl_CXX='-Qoption ld '
13642 gcx*)
13643 # Green Hills C++ Compiler
13644 lt_prog_compiler_pic_CXX='-PIC'
13648 esac
13650 sunos4*)
13651 case $cc_basename in
13652 CC*)
13653 # Sun C++ 4.x
13654 lt_prog_compiler_pic_CXX='-pic'
13655 lt_prog_compiler_static_CXX='-Bstatic'
13657 lcc*)
13658 # Lucid
13659 lt_prog_compiler_pic_CXX='-pic'
13663 esac
13665 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13666 case $cc_basename in
13667 CC*)
13668 lt_prog_compiler_wl_CXX='-Wl,'
13669 lt_prog_compiler_pic_CXX='-KPIC'
13670 lt_prog_compiler_static_CXX='-Bstatic'
13672 esac
13674 tandem*)
13675 case $cc_basename in
13676 NCC*)
13677 # NonStop-UX NCC 3.20
13678 lt_prog_compiler_pic_CXX='-KPIC'
13682 esac
13684 vxworks*)
13687 lt_prog_compiler_can_build_shared_CXX=no
13689 esac
13692 case $host_os in
13693 # For platforms which do not support PIC, -DPIC is meaningless:
13694 *djgpp*)
13695 lt_prog_compiler_pic_CXX=
13698 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13700 esac
13701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13702 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13707 # Check to make sure the PIC flag actually works.
13709 if test -n "$lt_prog_compiler_pic_CXX"; then
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13711 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13712 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13713 $as_echo_n "(cached) " >&6
13714 else
13715 lt_cv_prog_compiler_pic_works_CXX=no
13716 ac_outfile=conftest.$ac_objext
13717 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13718 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13719 # Insert the option either (1) after the last *FLAGS variable, or
13720 # (2) before a word containing "conftest.", or (3) at the end.
13721 # Note that $ac_compile itself does not contain backslashes and begins
13722 # with a dollar sign (not a hyphen), so the echo should work correctly.
13723 # The option is referenced via a variable to avoid confusing sed.
13724 lt_compile=`echo "$ac_compile" | $SED \
13725 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13726 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13727 -e 's:$: $lt_compiler_flag:'`
13728 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13729 (eval "$lt_compile" 2>conftest.err)
13730 ac_status=$?
13731 cat conftest.err >&5
13732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13733 if (exit $ac_status) && test -s "$ac_outfile"; then
13734 # The compiler can only warn and ignore the option if not recognized
13735 # So say no if there are warnings other than the usual output.
13736 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13737 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13738 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13739 lt_cv_prog_compiler_pic_works_CXX=yes
13742 $RM conftest*
13745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13746 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13748 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13749 case $lt_prog_compiler_pic_CXX in
13750 "" | " "*) ;;
13751 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13752 esac
13753 else
13754 lt_prog_compiler_pic_CXX=
13755 lt_prog_compiler_can_build_shared_CXX=no
13763 # Check to make sure the static flag actually works.
13765 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13767 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13768 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13769 $as_echo_n "(cached) " >&6
13770 else
13771 lt_cv_prog_compiler_static_works_CXX=no
13772 save_LDFLAGS="$LDFLAGS"
13773 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13774 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13775 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13776 # The linker can only warn and ignore the option if not recognized
13777 # So say no if there are warnings
13778 if test -s conftest.err; then
13779 # Append any errors to the config.log.
13780 cat conftest.err 1>&5
13781 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13782 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13783 if diff conftest.exp conftest.er2 >/dev/null; then
13784 lt_cv_prog_compiler_static_works_CXX=yes
13786 else
13787 lt_cv_prog_compiler_static_works_CXX=yes
13790 $RM -r conftest*
13791 LDFLAGS="$save_LDFLAGS"
13794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13795 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13797 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13799 else
13800 lt_prog_compiler_static_CXX=
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13807 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13808 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13809 $as_echo_n "(cached) " >&6
13810 else
13811 lt_cv_prog_compiler_c_o_CXX=no
13812 $RM -r conftest 2>/dev/null
13813 mkdir conftest
13814 cd conftest
13815 mkdir out
13816 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13818 lt_compiler_flag="-o out/conftest2.$ac_objext"
13819 # Insert the option either (1) after the last *FLAGS variable, or
13820 # (2) before a word containing "conftest.", or (3) at the end.
13821 # Note that $ac_compile itself does not contain backslashes and begins
13822 # with a dollar sign (not a hyphen), so the echo should work correctly.
13823 lt_compile=`echo "$ac_compile" | $SED \
13824 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13825 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13826 -e 's:$: $lt_compiler_flag:'`
13827 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13828 (eval "$lt_compile" 2>out/conftest.err)
13829 ac_status=$?
13830 cat out/conftest.err >&5
13831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13832 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13833 then
13834 # The compiler can only warn and ignore the option if not recognized
13835 # So say no if there are warnings
13836 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13837 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13838 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13839 lt_cv_prog_compiler_c_o_CXX=yes
13842 chmod u+w . 2>&5
13843 $RM conftest*
13844 # SGI C++ compiler will create directory out/ii_files/ for
13845 # template instantiation
13846 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13847 $RM out/* && rmdir out
13848 cd ..
13849 $RM -r conftest
13850 $RM conftest*
13853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13854 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13859 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13860 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13861 $as_echo_n "(cached) " >&6
13862 else
13863 lt_cv_prog_compiler_c_o_CXX=no
13864 $RM -r conftest 2>/dev/null
13865 mkdir conftest
13866 cd conftest
13867 mkdir out
13868 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13870 lt_compiler_flag="-o out/conftest2.$ac_objext"
13871 # Insert the option either (1) after the last *FLAGS variable, or
13872 # (2) before a word containing "conftest.", or (3) at the end.
13873 # Note that $ac_compile itself does not contain backslashes and begins
13874 # with a dollar sign (not a hyphen), so the echo should work correctly.
13875 lt_compile=`echo "$ac_compile" | $SED \
13876 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13877 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13878 -e 's:$: $lt_compiler_flag:'`
13879 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13880 (eval "$lt_compile" 2>out/conftest.err)
13881 ac_status=$?
13882 cat out/conftest.err >&5
13883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13884 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13885 then
13886 # The compiler can only warn and ignore the option if not recognized
13887 # So say no if there are warnings
13888 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13889 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13890 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13891 lt_cv_prog_compiler_c_o_CXX=yes
13894 chmod u+w . 2>&5
13895 $RM conftest*
13896 # SGI C++ compiler will create directory out/ii_files/ for
13897 # template instantiation
13898 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13899 $RM out/* && rmdir out
13900 cd ..
13901 $RM -r conftest
13902 $RM conftest*
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13906 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13911 hard_links="nottested"
13912 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13913 # do not overwrite the value of need_locks provided by the user
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13915 $as_echo_n "checking if we can lock with hard links... " >&6; }
13916 hard_links=yes
13917 $RM conftest*
13918 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13919 touch conftest.a
13920 ln conftest.a conftest.b 2>&5 || hard_links=no
13921 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13923 $as_echo "$hard_links" >&6; }
13924 if test "$hard_links" = no; then
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13926 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13927 need_locks=warn
13929 else
13930 need_locks=no
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13936 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13938 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13939 case $host_os in
13940 aix[4-9]*)
13941 # If we're using GNU nm, then we don't want the "-C" option.
13942 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13943 # Also, AIX nm treats weak defined symbols like other global defined
13944 # symbols, whereas GNU nm marks them as "W".
13945 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13946 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'
13947 else
13948 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'
13951 pw32*)
13952 export_symbols_cmds_CXX="$ltdll_cmds"
13954 cygwin* | mingw* | cegcc*)
13955 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'
13958 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13960 esac
13961 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13964 $as_echo "$ld_shlibs_CXX" >&6; }
13965 test "$ld_shlibs_CXX" = no && can_build_shared=no
13967 with_gnu_ld_CXX=$with_gnu_ld
13975 # Do we need to explicitly link libc?
13977 case "x$archive_cmds_need_lc_CXX" in
13978 x|xyes)
13979 # Assume -lc should be added
13980 archive_cmds_need_lc_CXX=yes
13982 if test "$enable_shared" = yes && test "$GCC" = yes; then
13983 case $archive_cmds_CXX in
13984 *'~'*)
13985 # FIXME: we may have to deal with multi-command sequences.
13987 '$CC '*)
13988 # Test whether the compiler implicitly links with -lc since on some
13989 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13990 # to ld, don't add -lc before -lgcc.
13991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13992 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13993 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
13994 $as_echo_n "(cached) " >&6
13995 else
13996 $RM conftest*
13997 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13999 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14000 (eval $ac_compile) 2>&5
14001 ac_status=$?
14002 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14003 test $ac_status = 0; } 2>conftest.err; then
14004 soname=conftest
14005 lib=conftest
14006 libobjs=conftest.$ac_objext
14007 deplibs=
14008 wl=$lt_prog_compiler_wl_CXX
14009 pic_flag=$lt_prog_compiler_pic_CXX
14010 compiler_flags=-v
14011 linker_flags=-v
14012 verstring=
14013 output_objdir=.
14014 libname=conftest
14015 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14016 allow_undefined_flag_CXX=
14017 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14018 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14019 ac_status=$?
14020 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14021 test $ac_status = 0; }
14022 then
14023 lt_cv_archive_cmds_need_lc_CXX=no
14024 else
14025 lt_cv_archive_cmds_need_lc_CXX=yes
14027 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14028 else
14029 cat conftest.err 1>&5
14031 $RM conftest*
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14035 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14036 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14038 esac
14041 esac
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14107 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14109 library_names_spec=
14110 libname_spec='lib$name'
14111 soname_spec=
14112 shrext_cmds=".so"
14113 postinstall_cmds=
14114 postuninstall_cmds=
14115 finish_cmds=
14116 finish_eval=
14117 shlibpath_var=
14118 shlibpath_overrides_runpath=unknown
14119 version_type=none
14120 dynamic_linker="$host_os ld.so"
14121 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14122 need_lib_prefix=unknown
14123 hardcode_into_libs=no
14125 # when you set need_version to no, make sure it does not cause -set_version
14126 # flags to be left without arguments
14127 need_version=unknown
14129 case $host_os in
14130 aix3*)
14131 version_type=linux
14132 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14133 shlibpath_var=LIBPATH
14135 # AIX 3 has no versioning support, so we append a major version to the name.
14136 soname_spec='${libname}${release}${shared_ext}$major'
14139 aix[4-9]*)
14140 version_type=linux
14141 need_lib_prefix=no
14142 need_version=no
14143 hardcode_into_libs=yes
14144 if test "$host_cpu" = ia64; then
14145 # AIX 5 supports IA64
14146 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14147 shlibpath_var=LD_LIBRARY_PATH
14148 else
14149 # With GCC up to 2.95.x, collect2 would create an import file
14150 # for dependence libraries. The import file would start with
14151 # the line `#! .'. This would cause the generated library to
14152 # depend on `.', always an invalid library. This was fixed in
14153 # development snapshots of GCC prior to 3.0.
14154 case $host_os in
14155 aix4 | aix4.[01] | aix4.[01].*)
14156 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14157 echo ' yes '
14158 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14160 else
14161 can_build_shared=no
14164 esac
14165 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14166 # soname into executable. Probably we can add versioning support to
14167 # collect2, so additional links can be useful in future.
14168 if test "$aix_use_runtimelinking" = yes; then
14169 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14170 # instead of lib<name>.a to let people know that these are not
14171 # typical AIX shared libraries.
14172 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14173 else
14174 # We preserve .a as extension for shared libraries through AIX4.2
14175 # and later when we are not doing run time linking.
14176 library_names_spec='${libname}${release}.a $libname.a'
14177 soname_spec='${libname}${release}${shared_ext}$major'
14179 shlibpath_var=LIBPATH
14183 amigaos*)
14184 case $host_cpu in
14185 powerpc)
14186 # Since July 2007 AmigaOS4 officially supports .so libraries.
14187 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14188 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14190 m68k)
14191 library_names_spec='$libname.ixlibrary $libname.a'
14192 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14193 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'
14195 esac
14198 beos*)
14199 library_names_spec='${libname}${shared_ext}'
14200 dynamic_linker="$host_os ld.so"
14201 shlibpath_var=LIBRARY_PATH
14204 bsdi[45]*)
14205 version_type=linux
14206 need_version=no
14207 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14208 soname_spec='${libname}${release}${shared_ext}$major'
14209 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14210 shlibpath_var=LD_LIBRARY_PATH
14211 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14212 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14213 # the default ld.so.conf also contains /usr/contrib/lib and
14214 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14215 # libtool to hard-code these into programs
14218 cygwin* | mingw* | pw32* | cegcc*)
14219 version_type=windows
14220 shrext_cmds=".dll"
14221 need_version=no
14222 need_lib_prefix=no
14224 case $GCC,$host_os in
14225 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14226 library_names_spec='$libname.dll.a'
14227 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14228 postinstall_cmds='base_file=`basename \${file}`~
14229 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14230 dldir=$destdir/`dirname \$dlpath`~
14231 test -d \$dldir || mkdir -p \$dldir~
14232 $install_prog $dir/$dlname \$dldir/$dlname~
14233 chmod a+x \$dldir/$dlname~
14234 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14235 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14237 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14238 dlpath=$dir/\$dldll~
14239 $RM \$dlpath'
14240 shlibpath_overrides_runpath=yes
14242 case $host_os in
14243 cygwin*)
14244 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14245 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14248 mingw* | cegcc*)
14249 # MinGW DLLs use traditional 'lib' prefix
14250 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14252 pw32*)
14253 # pw32 DLLs use 'pw' prefix rather than 'lib'
14254 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14256 esac
14260 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14262 esac
14263 dynamic_linker='Win32 ld.exe'
14264 # FIXME: first we should search . and the directory the executable is in
14265 shlibpath_var=PATH
14268 darwin* | rhapsody*)
14269 dynamic_linker="$host_os dyld"
14270 version_type=darwin
14271 need_lib_prefix=no
14272 need_version=no
14273 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14274 soname_spec='${libname}${release}${major}$shared_ext'
14275 shlibpath_overrides_runpath=yes
14276 shlibpath_var=DYLD_LIBRARY_PATH
14277 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14279 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14282 dgux*)
14283 version_type=linux
14284 need_lib_prefix=no
14285 need_version=no
14286 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14287 soname_spec='${libname}${release}${shared_ext}$major'
14288 shlibpath_var=LD_LIBRARY_PATH
14291 freebsd* | dragonfly*)
14292 # DragonFly does not have aout. When/if they implement a new
14293 # versioning mechanism, adjust this.
14294 if test -x /usr/bin/objformat; then
14295 objformat=`/usr/bin/objformat`
14296 else
14297 case $host_os in
14298 freebsd[123]*) objformat=aout ;;
14299 *) objformat=elf ;;
14300 esac
14302 version_type=freebsd-$objformat
14303 case $version_type in
14304 freebsd-elf*)
14305 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14306 need_version=no
14307 need_lib_prefix=no
14309 freebsd-*)
14310 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14311 need_version=yes
14313 esac
14314 shlibpath_var=LD_LIBRARY_PATH
14315 case $host_os in
14316 freebsd2*)
14317 shlibpath_overrides_runpath=yes
14319 freebsd3.[01]* | freebsdelf3.[01]*)
14320 shlibpath_overrides_runpath=yes
14321 hardcode_into_libs=yes
14323 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14324 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14325 shlibpath_overrides_runpath=no
14326 hardcode_into_libs=yes
14328 *) # from 4.6 on, and DragonFly
14329 shlibpath_overrides_runpath=yes
14330 hardcode_into_libs=yes
14332 esac
14335 gnu*)
14336 version_type=linux
14337 need_lib_prefix=no
14338 need_version=no
14339 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14340 soname_spec='${libname}${release}${shared_ext}$major'
14341 shlibpath_var=LD_LIBRARY_PATH
14342 hardcode_into_libs=yes
14345 haiku*)
14346 version_type=linux
14347 need_lib_prefix=no
14348 need_version=no
14349 dynamic_linker="$host_os runtime_loader"
14350 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14351 soname_spec='${libname}${release}${shared_ext}$major'
14352 shlibpath_var=LIBRARY_PATH
14353 shlibpath_overrides_runpath=yes
14354 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14355 hardcode_into_libs=yes
14358 hpux9* | hpux10* | hpux11*)
14359 # Give a soname corresponding to the major version so that dld.sl refuses to
14360 # link against other versions.
14361 version_type=sunos
14362 need_lib_prefix=no
14363 need_version=no
14364 case $host_cpu in
14365 ia64*)
14366 shrext_cmds='.so'
14367 hardcode_into_libs=yes
14368 dynamic_linker="$host_os dld.so"
14369 shlibpath_var=LD_LIBRARY_PATH
14370 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14371 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14372 soname_spec='${libname}${release}${shared_ext}$major'
14373 if test "X$HPUX_IA64_MODE" = X32; then
14374 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14375 else
14376 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14378 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14380 hppa*64*)
14381 shrext_cmds='.sl'
14382 hardcode_into_libs=yes
14383 dynamic_linker="$host_os dld.sl"
14384 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14385 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14386 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14387 soname_spec='${libname}${release}${shared_ext}$major'
14388 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14389 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14392 shrext_cmds='.sl'
14393 dynamic_linker="$host_os dld.sl"
14394 shlibpath_var=SHLIB_PATH
14395 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
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'
14399 esac
14400 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14401 postinstall_cmds='chmod 555 $lib'
14402 # or fails outright, so override atomically:
14403 install_override_mode=555
14406 interix[3-9]*)
14407 version_type=linux
14408 need_lib_prefix=no
14409 need_version=no
14410 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14411 soname_spec='${libname}${release}${shared_ext}$major'
14412 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14413 shlibpath_var=LD_LIBRARY_PATH
14414 shlibpath_overrides_runpath=no
14415 hardcode_into_libs=yes
14418 irix5* | irix6* | nonstopux*)
14419 case $host_os in
14420 nonstopux*) version_type=nonstopux ;;
14422 if test "$lt_cv_prog_gnu_ld" = yes; then
14423 version_type=linux
14424 else
14425 version_type=irix
14426 fi ;;
14427 esac
14428 need_lib_prefix=no
14429 need_version=no
14430 soname_spec='${libname}${release}${shared_ext}$major'
14431 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14432 case $host_os in
14433 irix5* | nonstopux*)
14434 libsuff= shlibsuff=
14437 case $LD in # libtool.m4 will add one of these switches to LD
14438 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14439 libsuff= shlibsuff= libmagic=32-bit;;
14440 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14441 libsuff=32 shlibsuff=N32 libmagic=N32;;
14442 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14443 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14444 *) libsuff= shlibsuff= libmagic=never-match;;
14445 esac
14447 esac
14448 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14449 shlibpath_overrides_runpath=no
14450 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14451 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14452 hardcode_into_libs=yes
14455 # No shared lib support for Linux oldld, aout, or coff.
14456 linux*oldld* | linux*aout* | linux*coff*)
14457 dynamic_linker=no
14460 # This must be Linux ELF.
14461 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14462 version_type=linux
14463 need_lib_prefix=no
14464 need_version=no
14465 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14466 soname_spec='${libname}${release}${shared_ext}$major'
14467 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14468 shlibpath_var=LD_LIBRARY_PATH
14469 shlibpath_overrides_runpath=no
14471 # Some binutils ld are patched to set DT_RUNPATH
14472 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14473 $as_echo_n "(cached) " >&6
14474 else
14475 lt_cv_shlibpath_overrides_runpath=no
14476 save_LDFLAGS=$LDFLAGS
14477 save_libdir=$libdir
14478 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14479 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14480 if test x$gcc_no_link = xyes; then
14481 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14484 /* end confdefs.h. */
14487 main ()
14491 return 0;
14493 _ACEOF
14494 if ac_fn_cxx_try_link "$LINENO"; then :
14495 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14496 lt_cv_shlibpath_overrides_runpath=yes
14499 rm -f core conftest.err conftest.$ac_objext \
14500 conftest$ac_exeext conftest.$ac_ext
14501 LDFLAGS=$save_LDFLAGS
14502 libdir=$save_libdir
14506 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14508 # This implies no fast_install, which is unacceptable.
14509 # Some rework will be needed to allow for fast_install
14510 # before this can be enabled.
14511 hardcode_into_libs=yes
14513 # Append ld.so.conf contents to the search path
14514 if test -f /etc/ld.so.conf; then
14515 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' ' '`
14516 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14519 # We used to test for /lib/ld.so.1 and disable shared libraries on
14520 # powerpc, because MkLinux only supported shared libraries with the
14521 # GNU dynamic linker. Since this was broken with cross compilers,
14522 # most powerpc-linux boxes support dynamic linking these days and
14523 # people can always --disable-shared, the test was removed, and we
14524 # assume the GNU/Linux dynamic linker is in use.
14525 dynamic_linker='GNU/Linux ld.so'
14528 netbsd*)
14529 version_type=sunos
14530 need_lib_prefix=no
14531 need_version=no
14532 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14533 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14534 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14535 dynamic_linker='NetBSD (a.out) ld.so'
14536 else
14537 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14538 soname_spec='${libname}${release}${shared_ext}$major'
14539 dynamic_linker='NetBSD ld.elf_so'
14541 shlibpath_var=LD_LIBRARY_PATH
14542 shlibpath_overrides_runpath=yes
14543 hardcode_into_libs=yes
14546 newsos6)
14547 version_type=linux
14548 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14549 shlibpath_var=LD_LIBRARY_PATH
14550 shlibpath_overrides_runpath=yes
14553 *nto* | *qnx*)
14554 version_type=qnx
14555 need_lib_prefix=no
14556 need_version=no
14557 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14558 soname_spec='${libname}${release}${shared_ext}$major'
14559 shlibpath_var=LD_LIBRARY_PATH
14560 shlibpath_overrides_runpath=no
14561 hardcode_into_libs=yes
14562 dynamic_linker='ldqnx.so'
14565 openbsd*)
14566 version_type=sunos
14567 sys_lib_dlsearch_path_spec="/usr/lib"
14568 need_lib_prefix=no
14569 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14570 case $host_os in
14571 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14572 *) need_version=no ;;
14573 esac
14574 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14575 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14576 shlibpath_var=LD_LIBRARY_PATH
14577 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14578 case $host_os in
14579 openbsd2.[89] | openbsd2.[89].*)
14580 shlibpath_overrides_runpath=no
14583 shlibpath_overrides_runpath=yes
14585 esac
14586 else
14587 shlibpath_overrides_runpath=yes
14591 os2*)
14592 libname_spec='$name'
14593 shrext_cmds=".dll"
14594 need_lib_prefix=no
14595 library_names_spec='$libname${shared_ext} $libname.a'
14596 dynamic_linker='OS/2 ld.exe'
14597 shlibpath_var=LIBPATH
14600 osf3* | osf4* | osf5*)
14601 version_type=osf
14602 need_lib_prefix=no
14603 need_version=no
14604 soname_spec='${libname}${release}${shared_ext}$major'
14605 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14606 shlibpath_var=LD_LIBRARY_PATH
14607 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14608 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14611 rdos*)
14612 dynamic_linker=no
14615 solaris*)
14616 version_type=linux
14617 need_lib_prefix=no
14618 need_version=no
14619 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14620 soname_spec='${libname}${release}${shared_ext}$major'
14621 shlibpath_var=LD_LIBRARY_PATH
14622 shlibpath_overrides_runpath=yes
14623 hardcode_into_libs=yes
14624 # ldd complains unless libraries are executable
14625 postinstall_cmds='chmod +x $lib'
14628 sunos4*)
14629 version_type=sunos
14630 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14631 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14632 shlibpath_var=LD_LIBRARY_PATH
14633 shlibpath_overrides_runpath=yes
14634 if test "$with_gnu_ld" = yes; then
14635 need_lib_prefix=no
14637 need_version=yes
14640 sysv4 | sysv4.3*)
14641 version_type=linux
14642 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14643 soname_spec='${libname}${release}${shared_ext}$major'
14644 shlibpath_var=LD_LIBRARY_PATH
14645 case $host_vendor in
14646 sni)
14647 shlibpath_overrides_runpath=no
14648 need_lib_prefix=no
14649 runpath_var=LD_RUN_PATH
14651 siemens)
14652 need_lib_prefix=no
14654 motorola)
14655 need_lib_prefix=no
14656 need_version=no
14657 shlibpath_overrides_runpath=no
14658 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14660 esac
14663 sysv4*MP*)
14664 if test -d /usr/nec ;then
14665 version_type=linux
14666 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14667 soname_spec='$libname${shared_ext}.$major'
14668 shlibpath_var=LD_LIBRARY_PATH
14672 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14673 version_type=freebsd-elf
14674 need_lib_prefix=no
14675 need_version=no
14676 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14677 soname_spec='${libname}${release}${shared_ext}$major'
14678 shlibpath_var=LD_LIBRARY_PATH
14679 shlibpath_overrides_runpath=yes
14680 hardcode_into_libs=yes
14681 if test "$with_gnu_ld" = yes; then
14682 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14683 else
14684 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14685 case $host_os in
14686 sco3.2v5*)
14687 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14689 esac
14691 sys_lib_dlsearch_path_spec='/usr/lib'
14694 tpf*)
14695 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14696 version_type=linux
14697 need_lib_prefix=no
14698 need_version=no
14699 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14700 shlibpath_var=LD_LIBRARY_PATH
14701 shlibpath_overrides_runpath=no
14702 hardcode_into_libs=yes
14705 uts4*)
14706 version_type=linux
14707 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14708 soname_spec='${libname}${release}${shared_ext}$major'
14709 shlibpath_var=LD_LIBRARY_PATH
14713 dynamic_linker=no
14715 esac
14716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14717 $as_echo "$dynamic_linker" >&6; }
14718 test "$dynamic_linker" = no && can_build_shared=no
14720 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14721 if test "$GCC" = yes; then
14722 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14725 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14726 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14728 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14729 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14770 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14771 hardcode_action_CXX=
14772 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14773 test -n "$runpath_var_CXX" ||
14774 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14776 # We can hardcode non-existent directories.
14777 if test "$hardcode_direct_CXX" != no &&
14778 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14779 # have to relink, otherwise we might link with an installed library
14780 # when we should be linking with a yet-to-be-installed one
14781 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14782 test "$hardcode_minus_L_CXX" != no; then
14783 # Linking always hardcodes the temporary library directory.
14784 hardcode_action_CXX=relink
14785 else
14786 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14787 hardcode_action_CXX=immediate
14789 else
14790 # We cannot hardcode anything, or else we can only hardcode existing
14791 # directories.
14792 hardcode_action_CXX=unsupported
14794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14795 $as_echo "$hardcode_action_CXX" >&6; }
14797 if test "$hardcode_action_CXX" = relink ||
14798 test "$inherit_rpath_CXX" = yes; then
14799 # Fast installation is not supported
14800 enable_fast_install=no
14801 elif test "$shlibpath_overrides_runpath" = yes ||
14802 test "$enable_shared" = no; then
14803 # Fast installation is not necessary
14804 enable_fast_install=needless
14813 fi # test -n "$compiler"
14815 CC=$lt_save_CC
14816 LDCXX=$LD
14817 LD=$lt_save_LD
14818 GCC=$lt_save_GCC
14819 with_gnu_ld=$lt_save_with_gnu_ld
14820 lt_cv_path_LDCXX=$lt_cv_path_LD
14821 lt_cv_path_LD=$lt_save_path_LD
14822 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14823 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14824 fi # test "$_lt_caught_CXX_error" != yes
14826 ac_ext=c
14827 ac_cpp='$CPP $CPPFLAGS'
14828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14844 ac_config_commands="$ac_config_commands libtool"
14849 # Only expand once:
14855 case $host in
14856 *-cygwin* | *-mingw*)
14857 # 'host' will be top-level target in the case of a target lib,
14858 # we must compare to with_cross_host to decide if this is a native
14859 # or cross-compiler and select where to install dlls appropriately.
14860 if test -n "$with_cross_host" &&
14861 test x"$with_cross_host" != x"no"; then
14862 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14863 else
14864 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14868 lt_host_flags=
14870 esac
14877 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14878 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14880 # Possibly disable most of the library.
14881 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14882 ## than just ignoring the results. Faster /and/ more correct, win win.
14884 # Check whether --enable-hosted-libstdcxx was given.
14885 if test "${enable_hosted_libstdcxx+set}" = set; then :
14886 enableval=$enable_hosted_libstdcxx;
14887 else
14888 case "$host" in
14889 arm*-*-symbianelf*)
14890 enable_hosted_libstdcxx=no
14893 enable_hosted_libstdcxx=yes
14895 esac
14898 if test "$enable_hosted_libstdcxx" = no; then
14899 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14900 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14901 is_hosted=no
14902 hosted_define=0
14903 enable_abi_check=no
14904 enable_libstdcxx_pch=no
14905 else
14906 is_hosted=yes
14907 hosted_define=1
14911 cat >>confdefs.h <<_ACEOF
14912 #define _GLIBCXX_HOSTED $hosted_define
14913 _ACEOF
14917 # Enable compiler support that doesn't require linking.
14919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14920 $as_echo_n "checking for exception model to use... " >&6; }
14922 ac_ext=cpp
14923 ac_cpp='$CXXCPP $CPPFLAGS'
14924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14928 # Check whether --enable-sjlj-exceptions was given.
14929 if test "${enable_sjlj_exceptions+set}" = set; then :
14930 enableval=$enable_sjlj_exceptions;
14931 case "$enableval" in
14932 yes|no|auto) ;;
14933 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
14934 esac
14936 else
14937 enable_sjlj_exceptions=auto
14942 if test $enable_sjlj_exceptions = auto; then
14943 # Botheration. Now we've got to detect the exception model. Link tests
14944 # against libgcc.a are problematic since we've not been given proper -L
14945 # bits for single-tree newlib and libgloss.
14947 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
14948 cat > conftest.$ac_ext << EOF
14949 #line 14949 "configure"
14950 struct S { ~S(); };
14951 void bar();
14952 void foo()
14954 S s;
14955 bar();
14958 old_CXXFLAGS="$CXXFLAGS"
14959 CXXFLAGS=-S
14960 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14961 (eval $ac_compile) 2>&5
14962 ac_status=$?
14963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14964 test $ac_status = 0; }; then
14965 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14966 enable_sjlj_exceptions=yes
14967 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14968 enable_sjlj_exceptions=no
14969 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14970 enable_sjlj_exceptions=no
14973 CXXFLAGS="$old_CXXFLAGS"
14974 rm -f conftest*
14977 # This is a tad weird, for hysterical raisins. We have to map
14978 # enable/disable to two different models.
14979 case $enable_sjlj_exceptions in
14980 yes)
14982 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
14984 ac_exception_model_name=sjlj
14987 ac_exception_model_name="call frame"
14990 as_fn_error "unable to detect exception model" "$LINENO" 5
14992 esac
14993 ac_ext=c
14994 ac_cpp='$CPP $CPPFLAGS'
14995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15000 $as_echo "$ac_exception_model_name" >&6; }
15003 # Check whether --enable-libstdcxx-pch was given.
15004 if test "${enable_libstdcxx_pch+set}" = set; then :
15005 enableval=$enable_libstdcxx_pch;
15006 case "$enableval" in
15007 yes|no) ;;
15008 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15009 esac
15011 else
15012 enable_libstdcxx_pch=$is_hosted
15016 if test $enable_libstdcxx_pch = yes; then
15017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15018 $as_echo_n "checking for compiler with PCH support... " >&6; }
15019 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15020 $as_echo_n "(cached) " >&6
15021 else
15022 ac_save_CXXFLAGS="$CXXFLAGS"
15023 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15025 ac_ext=cpp
15026 ac_cpp='$CXXCPP $CPPFLAGS'
15027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15031 echo '#include <math.h>' > conftest.h
15032 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15033 -o conftest.h.gch 1>&5 2>&1 &&
15034 echo '#error "pch failed"' > conftest.h &&
15035 echo '#include "conftest.h"' > conftest.cc &&
15036 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15037 then
15038 glibcxx_cv_prog_CXX_pch=yes
15039 else
15040 glibcxx_cv_prog_CXX_pch=no
15042 rm -f conftest*
15043 CXXFLAGS=$ac_save_CXXFLAGS
15044 ac_ext=c
15045 ac_cpp='$CPP $CPPFLAGS'
15046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15053 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15054 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15058 $as_echo_n "checking for enabled PCH... " >&6; }
15059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15060 $as_echo "$enable_libstdcxx_pch" >&6; }
15063 if test $enable_libstdcxx_pch = yes; then
15064 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15065 else
15066 glibcxx_PCHFLAGS=""
15071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15072 $as_echo_n "checking for thread model used by GCC... " >&6; }
15073 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15075 $as_echo "$target_thread_file" >&6; }
15077 if test $target_thread_file != single; then
15079 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
15083 glibcxx_thread_h=gthr-$target_thread_file.h
15085 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
15086 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
15087 enable_thread=yes
15088 else
15089 enable_thread=no
15096 ac_ext=cpp
15097 ac_cpp='$CXXCPP $CPPFLAGS'
15098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15102 old_CXXFLAGS="$CXXFLAGS"
15104 # Do link tests if possible, instead asm tests, limited to some platforms
15105 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15106 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15107 atomic_builtins_link_tests=no
15108 if test x$gcc_no_link != xyes; then
15109 # Can do link tests. Limit to some tested platforms
15110 case "$host" in
15111 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15112 atomic_builtins_link_tests=yes
15114 esac
15117 if test x$atomic_builtins_link_tests = xyes; then
15119 # Do link tests.
15121 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15124 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15125 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15126 $as_echo_n "(cached) " >&6
15127 else
15129 if test x$gcc_no_link = xyes; then
15130 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15133 /* end confdefs.h. */
15136 main ()
15138 typedef bool atomic_type;
15139 atomic_type c1;
15140 atomic_type c2;
15141 const atomic_type c3(0);
15142 __sync_fetch_and_add(&c1, c2);
15143 __sync_val_compare_and_swap(&c1, c3, c2);
15144 __sync_lock_test_and_set(&c1, c3);
15145 __sync_lock_release(&c1);
15146 __sync_synchronize();
15148 return 0;
15150 _ACEOF
15151 if ac_fn_cxx_try_link "$LINENO"; then :
15152 glibcxx_cv_atomic_bool=yes
15153 else
15154 glibcxx_cv_atomic_bool=no
15156 rm -f core conftest.err conftest.$ac_objext \
15157 conftest$ac_exeext conftest.$ac_ext
15161 if test $glibcxx_cv_atomic_bool = yes; then
15163 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15167 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15170 $as_echo_n "checking for atomic builtins for short... " >&6; }
15171 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15172 $as_echo_n "(cached) " >&6
15173 else
15175 if test x$gcc_no_link = xyes; then
15176 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15179 /* end confdefs.h. */
15182 main ()
15184 typedef short atomic_type;
15185 atomic_type c1;
15186 atomic_type c2;
15187 const atomic_type c3(0);
15188 __sync_fetch_and_add(&c1, c2);
15189 __sync_val_compare_and_swap(&c1, c3, c2);
15190 __sync_lock_test_and_set(&c1, c3);
15191 __sync_lock_release(&c1);
15192 __sync_synchronize();
15194 return 0;
15196 _ACEOF
15197 if ac_fn_cxx_try_link "$LINENO"; then :
15198 glibcxx_cv_atomic_short=yes
15199 else
15200 glibcxx_cv_atomic_short=no
15202 rm -f core conftest.err conftest.$ac_objext \
15203 conftest$ac_exeext conftest.$ac_ext
15207 if test $glibcxx_cv_atomic_short = yes; then
15209 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15213 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15216 $as_echo_n "checking for atomic builtins for int... " >&6; }
15217 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15218 $as_echo_n "(cached) " >&6
15219 else
15221 if test x$gcc_no_link = xyes; then
15222 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15225 /* end confdefs.h. */
15228 main ()
15230 typedef int atomic_type;
15231 atomic_type c1;
15232 atomic_type c2;
15233 const atomic_type c3(0);
15234 __sync_fetch_and_add(&c1, c2);
15235 __sync_val_compare_and_swap(&c1, c3, c2);
15236 __sync_lock_test_and_set(&c1, c3);
15237 __sync_lock_release(&c1);
15238 __sync_synchronize();
15240 return 0;
15242 _ACEOF
15243 if ac_fn_cxx_try_link "$LINENO"; then :
15244 glibcxx_cv_atomic_int=yes
15245 else
15246 glibcxx_cv_atomic_int=no
15248 rm -f core conftest.err conftest.$ac_objext \
15249 conftest$ac_exeext conftest.$ac_ext
15253 if test $glibcxx_cv_atomic_int = yes; then
15255 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15259 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15262 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15263 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15264 $as_echo_n "(cached) " >&6
15265 else
15267 if test x$gcc_no_link = xyes; then
15268 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15271 /* end confdefs.h. */
15274 main ()
15276 typedef long long atomic_type;
15277 atomic_type c1;
15278 atomic_type c2;
15279 const atomic_type c3(0);
15280 __sync_fetch_and_add(&c1, c2);
15281 __sync_val_compare_and_swap(&c1, c3, c2);
15282 __sync_lock_test_and_set(&c1, c3);
15283 __sync_lock_release(&c1);
15284 __sync_synchronize();
15286 return 0;
15288 _ACEOF
15289 if ac_fn_cxx_try_link "$LINENO"; then :
15290 glibcxx_cv_atomic_long_long=yes
15291 else
15292 glibcxx_cv_atomic_long_long=no
15294 rm -f core conftest.err conftest.$ac_objext \
15295 conftest$ac_exeext conftest.$ac_ext
15299 if test $glibcxx_cv_atomic_long_long = yes; then
15301 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15305 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15307 else
15309 # Do asm tests.
15311 # Compile unoptimized.
15312 CXXFLAGS='-O0 -S'
15314 # Fake what AC_TRY_COMPILE does.
15316 cat > conftest.$ac_ext << EOF
15317 #line 15317 "configure"
15318 int main()
15320 typedef bool atomic_type;
15321 atomic_type c1;
15322 atomic_type c2;
15323 const atomic_type c3(0);
15324 __sync_fetch_and_add(&c1, c2);
15325 __sync_val_compare_and_swap(&c1, c3, c2);
15326 __sync_lock_test_and_set(&c1, c3);
15327 __sync_lock_release(&c1);
15328 __sync_synchronize();
15329 return 0;
15333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15334 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15335 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15336 (eval $ac_compile) 2>&5
15337 ac_status=$?
15338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15339 test $ac_status = 0; }; then
15340 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15341 glibcxx_cv_atomic_bool=no
15342 else
15344 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15346 glibcxx_cv_atomic_bool=yes
15349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15350 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15351 rm -f conftest*
15353 cat > conftest.$ac_ext << EOF
15354 #line 15354 "configure"
15355 int main()
15357 typedef short atomic_type;
15358 atomic_type c1;
15359 atomic_type c2;
15360 const atomic_type c3(0);
15361 __sync_fetch_and_add(&c1, c2);
15362 __sync_val_compare_and_swap(&c1, c3, c2);
15363 __sync_lock_test_and_set(&c1, c3);
15364 __sync_lock_release(&c1);
15365 __sync_synchronize();
15366 return 0;
15370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15371 $as_echo_n "checking for atomic builtins for short... " >&6; }
15372 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15373 (eval $ac_compile) 2>&5
15374 ac_status=$?
15375 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15376 test $ac_status = 0; }; then
15377 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15378 glibcxx_cv_atomic_short=no
15379 else
15381 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15383 glibcxx_cv_atomic_short=yes
15386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15387 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15388 rm -f conftest*
15390 cat > conftest.$ac_ext << EOF
15391 #line 15391 "configure"
15392 int main()
15394 // NB: _Atomic_word not necessarily int.
15395 typedef int atomic_type;
15396 atomic_type c1;
15397 atomic_type c2;
15398 const atomic_type c3(0);
15399 __sync_fetch_and_add(&c1, c2);
15400 __sync_val_compare_and_swap(&c1, c3, c2);
15401 __sync_lock_test_and_set(&c1, c3);
15402 __sync_lock_release(&c1);
15403 __sync_synchronize();
15404 return 0;
15408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15409 $as_echo_n "checking for atomic builtins for int... " >&6; }
15410 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15411 (eval $ac_compile) 2>&5
15412 ac_status=$?
15413 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15414 test $ac_status = 0; }; then
15415 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15416 glibcxx_cv_atomic_int=no
15417 else
15419 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15421 glibcxx_cv_atomic_int=yes
15424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15425 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15426 rm -f conftest*
15428 cat > conftest.$ac_ext << EOF
15429 #line 15429 "configure"
15430 int main()
15432 typedef long long atomic_type;
15433 atomic_type c1;
15434 atomic_type c2;
15435 const atomic_type c3(0);
15436 __sync_fetch_and_add(&c1, c2);
15437 __sync_val_compare_and_swap(&c1, c3, c2);
15438 __sync_lock_test_and_set(&c1, c3);
15439 __sync_lock_release(&c1);
15440 __sync_synchronize();
15441 return 0;
15445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15446 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15447 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15448 (eval $ac_compile) 2>&5
15449 ac_status=$?
15450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15451 test $ac_status = 0; }; then
15452 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15453 glibcxx_cv_atomic_long_long=no
15454 else
15456 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15458 glibcxx_cv_atomic_long_long=yes
15461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15462 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15463 rm -f conftest*
15467 CXXFLAGS="$old_CXXFLAGS"
15468 ac_ext=c
15469 ac_cpp='$CPP $CPPFLAGS'
15470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15475 # Set atomicity_dir to builtins if either of above tests pass.
15476 if test $glibcxx_cv_atomic_int = yes || test $glibcxx_cv_atomic_bool = yes ; then
15477 atomicity_dir=cpu/generic/atomicity_builtins
15480 # If still generic, set to mutex.
15481 if test $atomicity_dir = "cpu/generic" ; then
15482 atomicity_dir=cpu/generic/atomicity_mutex
15483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15484 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15485 if test "x$target_thread_file" = xsingle; then
15486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15487 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15489 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15490 else
15491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15492 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15494 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15501 # Fake what AC_TRY_COMPILE does, without linking as this is
15502 # unnecessary for this test.
15504 cat > conftest.$ac_ext << EOF
15505 #line 15505 "configure"
15506 int main()
15508 _Decimal32 d1;
15509 _Decimal64 d2;
15510 _Decimal128 d3;
15511 return 0;
15515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15516 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15517 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15518 (eval $ac_compile) 2>&5
15519 ac_status=$?
15520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15521 test $ac_status = 0; }; then
15523 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15525 enable_dfp=yes
15526 else
15527 enable_dfp=no
15529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15530 $as_echo "$enable_dfp" >&6; }
15531 rm -f conftest*
15534 # Checks for compiler support that doesn't require linking.
15536 # All these tests are for C++; save the language and the compiler flags.
15537 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15538 # found in GLIBCXX_CONFIGURE.
15540 ac_ext=cpp
15541 ac_cpp='$CXXCPP $CPPFLAGS'
15542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15546 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15547 ac_save_CXXFLAGS="$CXXFLAGS"
15549 # Check for maintainer-mode bits.
15550 if test x"$USE_MAINTAINER_MODE" = xno; then
15551 WERROR=''
15552 else
15553 WERROR='-Werror'
15556 # Check for -ffunction-sections -fdata-sections
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15558 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15559 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15561 /* end confdefs.h. */
15562 int foo; void bar() { };
15564 main ()
15568 return 0;
15570 _ACEOF
15571 if ac_fn_cxx_try_compile "$LINENO"; then :
15572 ac_fdsections=yes
15573 else
15574 ac_fdsections=no
15576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15577 if test "$ac_test_CXXFLAGS" = set; then
15578 CXXFLAGS="$ac_save_CXXFLAGS"
15579 else
15580 # this is the suspicious part
15581 CXXFLAGS=''
15583 if test x"$ac_fdsections" = x"yes"; then
15584 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15587 $as_echo "$ac_fdsections" >&6; }
15589 ac_ext=c
15590 ac_cpp='$CPP $CPPFLAGS'
15591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15599 # Enable all the variable C++ runtime options that don't require linking.
15601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15602 $as_echo_n "checking for underlying I/O to use... " >&6; }
15603 # Check whether --enable-cstdio was given.
15604 if test "${enable_cstdio+set}" = set; then :
15605 enableval=$enable_cstdio;
15606 case "$enableval" in
15607 stdio) ;;
15608 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15609 esac
15611 else
15612 enable_cstdio=stdio
15617 # Now that libio has been removed, you can have any color you want as long
15618 # as it's black. This is one big no-op until other packages are added, but
15619 # showing the framework never hurts.
15620 case ${enable_cstdio} in
15621 stdio)
15622 CSTDIO_H=config/io/c_io_stdio.h
15623 BASIC_FILE_H=config/io/basic_file_stdio.h
15624 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15626 $as_echo "stdio" >&6; }
15628 esac
15635 # Check whether --enable-clocale was given.
15636 if test "${enable_clocale+set}" = set; then :
15637 enableval=$enable_clocale;
15638 case "$enableval" in
15639 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
15640 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15641 esac
15643 else
15644 enable_clocale=auto
15649 # Deal with gettext issues. Default to not using it (=no) until we detect
15650 # support for it later. Let the user turn it off via --e/d, but let that
15651 # default to on for easier handling.
15652 USE_NLS=no
15653 # Check whether --enable-nls was given.
15654 if test "${enable_nls+set}" = set; then :
15655 enableval=$enable_nls;
15656 else
15657 enable_nls=yes
15661 # Either a known packaage, or "auto"
15662 if test $enable_clocale = no || test $enable_clocale = yes; then
15663 enable_clocale=auto
15665 enable_clocale_flag=$enable_clocale
15667 # Probe for locale model to use if none specified.
15668 # Default to "generic".
15669 if test $enable_clocale_flag = auto; then
15670 case ${target_os} in
15671 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15672 enable_clocale_flag=gnu
15674 darwin* | freebsd*)
15675 enable_clocale_flag=darwin
15678 enable_clocale_flag=generic
15680 esac
15683 # Sanity check model, and test for special functionality.
15684 if test $enable_clocale_flag = gnu; then
15685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15686 /* end confdefs.h. */
15688 #include <features.h>
15689 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15690 _GLIBCXX_ok
15691 #endif
15693 _ACEOF
15694 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15695 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15696 enable_clocale_flag=gnu
15697 else
15698 enable_clocale_flag=generic
15700 rm -f conftest*
15703 # Set it to scream when it hurts.
15704 ac_save_CFLAGS="$CFLAGS"
15705 CFLAGS="-Wimplicit-function-declaration -Werror"
15707 # Use strxfrm_l if available.
15708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15709 /* end confdefs.h. */
15710 #define _GNU_SOURCE 1
15711 #include <string.h>
15712 #include <locale.h>
15714 main ()
15716 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15718 return 0;
15720 _ACEOF
15721 if ac_fn_c_try_compile "$LINENO"; then :
15723 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15728 # Use strerror_l if available.
15729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15730 /* end confdefs.h. */
15731 #define _GNU_SOURCE 1
15732 #include <string.h>
15733 #include <locale.h>
15735 main ()
15737 __locale_t loc; strerror_l(5, loc);
15739 return 0;
15741 _ACEOF
15742 if ac_fn_c_try_compile "$LINENO"; then :
15744 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15749 CFLAGS="$ac_save_CFLAGS"
15752 # Perhaps use strerror_r if available, and strerror_l isn't.
15753 ac_save_CFLAGS="$CFLAGS"
15754 CFLAGS="-Wimplicit-function-declaration -Werror"
15755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15756 /* end confdefs.h. */
15757 #define _GNU_SOURCE 1
15758 #include <string.h>
15759 #include <locale.h>
15761 main ()
15763 char s[128]; strerror_r(5, s, 128);
15765 return 0;
15767 _ACEOF
15768 if ac_fn_c_try_compile "$LINENO"; then :
15770 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15774 CFLAGS="$ac_save_CFLAGS"
15776 # Set configure bits for specified locale package
15777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15778 $as_echo_n "checking for C locale to use... " >&6; }
15779 case ${enable_clocale_flag} in
15780 generic)
15781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15782 $as_echo "generic" >&6; }
15784 CLOCALE_H=config/locale/generic/c_locale.h
15785 CLOCALE_CC=config/locale/generic/c_locale.cc
15786 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15787 CCOLLATE_CC=config/locale/generic/collate_members.cc
15788 CCTYPE_CC=config/locale/generic/ctype_members.cc
15789 CMESSAGES_H=config/locale/generic/messages_members.h
15790 CMESSAGES_CC=config/locale/generic/messages_members.cc
15791 CMONEY_CC=config/locale/generic/monetary_members.cc
15792 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15793 CTIME_H=config/locale/generic/time_members.h
15794 CTIME_CC=config/locale/generic/time_members.cc
15795 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15797 darwin)
15798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15799 $as_echo "darwin or freebsd" >&6; }
15801 CLOCALE_H=config/locale/generic/c_locale.h
15802 CLOCALE_CC=config/locale/generic/c_locale.cc
15803 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15804 CCOLLATE_CC=config/locale/generic/collate_members.cc
15805 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15806 CMESSAGES_H=config/locale/generic/messages_members.h
15807 CMESSAGES_CC=config/locale/generic/messages_members.cc
15808 CMONEY_CC=config/locale/generic/monetary_members.cc
15809 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15810 CTIME_H=config/locale/generic/time_members.h
15811 CTIME_CC=config/locale/generic/time_members.cc
15812 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15815 gnu)
15816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15817 $as_echo "gnu" >&6; }
15819 # Declare intention to use gettext, and add support for specific
15820 # languages.
15821 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15822 ALL_LINGUAS="de fr"
15824 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15825 # Extract the first word of "msgfmt", so it can be a program name with args.
15826 set dummy msgfmt; ac_word=$2
15827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15828 $as_echo_n "checking for $ac_word... " >&6; }
15829 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15830 $as_echo_n "(cached) " >&6
15831 else
15832 if test -n "$check_msgfmt"; then
15833 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15834 else
15835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15836 for as_dir in $PATH
15838 IFS=$as_save_IFS
15839 test -z "$as_dir" && as_dir=.
15840 for ac_exec_ext in '' $ac_executable_extensions; do
15841 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15842 ac_cv_prog_check_msgfmt="yes"
15843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15844 break 2
15846 done
15847 done
15848 IFS=$as_save_IFS
15850 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15853 check_msgfmt=$ac_cv_prog_check_msgfmt
15854 if test -n "$check_msgfmt"; then
15855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15856 $as_echo "$check_msgfmt" >&6; }
15857 else
15858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15859 $as_echo "no" >&6; }
15863 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15864 USE_NLS=yes
15866 # Export the build objects.
15867 for ling in $ALL_LINGUAS; do \
15868 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15869 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15870 done
15874 CLOCALE_H=config/locale/gnu/c_locale.h
15875 CLOCALE_CC=config/locale/gnu/c_locale.cc
15876 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15877 CCOLLATE_CC=config/locale/gnu/collate_members.cc
15878 CCTYPE_CC=config/locale/gnu/ctype_members.cc
15879 CMESSAGES_H=config/locale/gnu/messages_members.h
15880 CMESSAGES_CC=config/locale/gnu/messages_members.cc
15881 CMONEY_CC=config/locale/gnu/monetary_members.cc
15882 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15883 CTIME_H=config/locale/gnu/time_members.h
15884 CTIME_CC=config/locale/gnu/time_members.cc
15885 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15887 ieee_1003.1-2001)
15888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15889 $as_echo "IEEE 1003.1" >&6; }
15891 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15892 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15893 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15894 CCOLLATE_CC=config/locale/generic/collate_members.cc
15895 CCTYPE_CC=config/locale/generic/ctype_members.cc
15896 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15897 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15898 CMONEY_CC=config/locale/generic/monetary_members.cc
15899 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15900 CTIME_H=config/locale/generic/time_members.h
15901 CTIME_CC=config/locale/generic/time_members.cc
15902 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15904 esac
15906 # This is where the testsuite looks for locale catalogs, using the
15907 # -DLOCALEDIR define during testsuite compilation.
15908 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15911 # A standalone libintl (e.g., GNU libintl) may be in use.
15912 if test $USE_NLS = yes; then
15913 for ac_header in libintl.h
15914 do :
15915 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15916 if test "x$ac_cv_header_libintl_h" = x""yes; then :
15917 cat >>confdefs.h <<_ACEOF
15918 #define HAVE_LIBINTL_H 1
15919 _ACEOF
15921 else
15922 USE_NLS=no
15925 done
15927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
15928 $as_echo_n "checking for library containing gettext... " >&6; }
15929 if test "${ac_cv_search_gettext+set}" = set; then :
15930 $as_echo_n "(cached) " >&6
15931 else
15932 ac_func_search_save_LIBS=$LIBS
15933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15934 /* end confdefs.h. */
15936 /* Override any GCC internal prototype to avoid an error.
15937 Use char because int might match the return type of a GCC
15938 builtin and then its argument prototype would still apply. */
15939 #ifdef __cplusplus
15940 extern "C"
15941 #endif
15942 char gettext ();
15944 main ()
15946 return gettext ();
15948 return 0;
15950 _ACEOF
15951 for ac_lib in '' intl; do
15952 if test -z "$ac_lib"; then
15953 ac_res="none required"
15954 else
15955 ac_res=-l$ac_lib
15956 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15958 if test x$gcc_no_link = xyes; then
15959 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15961 if ac_fn_c_try_link "$LINENO"; then :
15962 ac_cv_search_gettext=$ac_res
15964 rm -f core conftest.err conftest.$ac_objext \
15965 conftest$ac_exeext
15966 if test "${ac_cv_search_gettext+set}" = set; then :
15967 break
15969 done
15970 if test "${ac_cv_search_gettext+set}" = set; then :
15972 else
15973 ac_cv_search_gettext=no
15975 rm conftest.$ac_ext
15976 LIBS=$ac_func_search_save_LIBS
15978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
15979 $as_echo "$ac_cv_search_gettext" >&6; }
15980 ac_res=$ac_cv_search_gettext
15981 if test "$ac_res" != no; then :
15982 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15984 else
15985 USE_NLS=no
15989 if test $USE_NLS = yes; then
15991 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16011 $as_echo_n "checking for std::allocator base class... " >&6; }
16012 # Check whether --enable-libstdcxx-allocator was given.
16013 if test "${enable_libstdcxx_allocator+set}" = set; then :
16014 enableval=$enable_libstdcxx_allocator;
16015 case "$enableval" in
16016 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16017 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16018 esac
16020 else
16021 enable_libstdcxx_allocator=auto
16026 # If they didn't use this option switch, or if they specified --enable
16027 # with no specific model, we'll have to look for one. If they
16028 # specified --disable (???), do likewise.
16029 if test $enable_libstdcxx_allocator = no ||
16030 test $enable_libstdcxx_allocator = yes;
16031 then
16032 enable_libstdcxx_allocator=auto
16035 # Either a known package, or "auto". Auto implies the default choice
16036 # for a particular platform.
16037 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16039 # Probe for host-specific support if no specific model is specified.
16040 # Default to "new".
16041 if test $enable_libstdcxx_allocator_flag = auto; then
16042 case ${target_os} in
16043 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16044 enable_libstdcxx_allocator_flag=new
16047 enable_libstdcxx_allocator_flag=new
16049 esac
16051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16052 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16055 # Set configure bits for specified locale package
16056 case ${enable_libstdcxx_allocator_flag} in
16057 bitmap)
16058 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16059 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16061 malloc)
16062 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16063 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16066 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16067 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16069 new)
16070 ALLOCATOR_H=config/allocator/new_allocator_base.h
16071 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16073 pool)
16074 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16075 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16077 esac
16083 # Check whether --enable-cheaders was given.
16084 if test "${enable_cheaders+set}" = set; then :
16085 enableval=$enable_cheaders;
16086 case "$enableval" in
16087 c|c_std|c_global) ;;
16088 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16089 esac
16091 else
16092 enable_cheaders=$c_model
16096 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16097 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16099 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16101 # Allow overrides to configure.host here.
16102 if test $enable_cheaders = c_global; then
16103 c_compatibility=yes
16112 # Check whether --enable-long-long was given.
16113 if test "${enable_long_long+set}" = set; then :
16114 enableval=$enable_long_long;
16115 case "$enableval" in
16116 yes|no) ;;
16117 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16118 esac
16120 else
16121 enable_long_long=yes
16125 if test $enable_long_long = yes; then
16127 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16131 $as_echo_n "checking for enabled long long specializations... " >&6; }
16132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16133 $as_echo "$enable_long_long" >&6; }
16136 # Check whether --enable-wchar_t was given.
16137 if test "${enable_wchar_t+set}" = set; then :
16138 enableval=$enable_wchar_t;
16139 case "$enableval" in
16140 yes|no) ;;
16141 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16142 esac
16144 else
16145 enable_wchar_t=yes
16150 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16151 for ac_header in wchar.h
16152 do :
16153 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16154 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16155 cat >>confdefs.h <<_ACEOF
16156 #define HAVE_WCHAR_H 1
16157 _ACEOF
16158 ac_has_wchar_h=yes
16159 else
16160 ac_has_wchar_h=no
16163 done
16165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16166 $as_echo_n "checking for mbstate_t... " >&6; }
16167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16168 /* end confdefs.h. */
16169 #include <wchar.h>
16171 main ()
16173 mbstate_t teststate;
16175 return 0;
16177 _ACEOF
16178 if ac_fn_c_try_compile "$LINENO"; then :
16179 have_mbstate_t=yes
16180 else
16181 have_mbstate_t=no
16183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16185 $as_echo "$have_mbstate_t" >&6; }
16186 if test x"$have_mbstate_t" = xyes; then
16188 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16192 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16193 # ac_has_wchar_h.
16194 for ac_header in wctype.h
16195 do :
16196 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16197 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16198 cat >>confdefs.h <<_ACEOF
16199 #define HAVE_WCTYPE_H 1
16200 _ACEOF
16201 ac_has_wctype_h=yes
16202 else
16203 ac_has_wctype_h=no
16206 done
16209 if test x"$enable_wchar_t" = x"yes"; then
16212 ac_ext=cpp
16213 ac_cpp='$CXXCPP $CPPFLAGS'
16214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16219 if test x"$ac_has_wchar_h" = xyes &&
16220 test x"$ac_has_wctype_h" = xyes; then
16221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16222 /* end confdefs.h. */
16223 #include <wchar.h>
16224 #include <stddef.h>
16225 wint_t i;
16226 long l = WEOF;
16227 long j = WCHAR_MIN;
16228 long k = WCHAR_MAX;
16229 namespace test
16231 using ::btowc;
16232 using ::fgetwc;
16233 using ::fgetws;
16234 using ::fputwc;
16235 using ::fputws;
16236 using ::fwide;
16237 using ::fwprintf;
16238 using ::fwscanf;
16239 using ::getwc;
16240 using ::getwchar;
16241 using ::mbrlen;
16242 using ::mbrtowc;
16243 using ::mbsinit;
16244 using ::mbsrtowcs;
16245 using ::putwc;
16246 using ::putwchar;
16247 using ::swprintf;
16248 using ::swscanf;
16249 using ::ungetwc;
16250 using ::vfwprintf;
16251 using ::vswprintf;
16252 using ::vwprintf;
16253 using ::wcrtomb;
16254 using ::wcscat;
16255 using ::wcschr;
16256 using ::wcscmp;
16257 using ::wcscoll;
16258 using ::wcscpy;
16259 using ::wcscspn;
16260 using ::wcsftime;
16261 using ::wcslen;
16262 using ::wcsncat;
16263 using ::wcsncmp;
16264 using ::wcsncpy;
16265 using ::wcspbrk;
16266 using ::wcsrchr;
16267 using ::wcsrtombs;
16268 using ::wcsspn;
16269 using ::wcsstr;
16270 using ::wcstod;
16271 using ::wcstok;
16272 using ::wcstol;
16273 using ::wcstoul;
16274 using ::wcsxfrm;
16275 using ::wctob;
16276 using ::wmemchr;
16277 using ::wmemcmp;
16278 using ::wmemcpy;
16279 using ::wmemmove;
16280 using ::wmemset;
16281 using ::wprintf;
16282 using ::wscanf;
16286 main ()
16290 return 0;
16292 _ACEOF
16293 if ac_fn_cxx_try_compile "$LINENO"; then :
16295 else
16296 enable_wchar_t=no
16298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16299 else
16300 enable_wchar_t=no
16303 ac_ext=c
16304 ac_cpp='$CPP $CPPFLAGS'
16305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16311 if test x"$enable_wchar_t" = x"yes"; then
16313 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16318 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16320 $as_echo "$enable_wchar_t" >&6; }
16324 # Check whether --enable-c99 was given.
16325 if test "${enable_c99+set}" = set; then :
16326 enableval=$enable_c99;
16327 case "$enableval" in
16328 yes|no) ;;
16329 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16330 esac
16332 else
16333 enable_c99=yes
16338 if test x"$enable_c99" = x"yes"; then
16341 ac_ext=cpp
16342 ac_cpp='$CXXCPP $CPPFLAGS'
16343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16348 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16349 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16350 # spuriously enabled.
16351 # Long term, -std=c++0x could be even better, could manage to explicitely
16352 # request C99 facilities to the underlying C headers.
16353 ac_save_CXXFLAGS="$CXXFLAGS"
16354 CXXFLAGS="$CXXFLAGS -std=c++98"
16355 ac_save_LIBS="$LIBS"
16356 ac_save_gcc_no_link="$gcc_no_link"
16358 if test x$gcc_no_link != xyes; then
16359 # Use -fno-exceptions to that the C driver can link these tests without
16360 # hitting undefined references to personality routines.
16361 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16363 $as_echo_n "checking for sin in -lm... " >&6; }
16364 if test "${ac_cv_lib_m_sin+set}" = set; then :
16365 $as_echo_n "(cached) " >&6
16366 else
16367 ac_check_lib_save_LIBS=$LIBS
16368 LIBS="-lm $LIBS"
16369 if test x$gcc_no_link = xyes; then
16370 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16373 /* end confdefs.h. */
16375 /* Override any GCC internal prototype to avoid an error.
16376 Use char because int might match the return type of a GCC
16377 builtin and then its argument prototype would still apply. */
16378 #ifdef __cplusplus
16379 extern "C"
16380 #endif
16381 char sin ();
16383 main ()
16385 return sin ();
16387 return 0;
16389 _ACEOF
16390 if ac_fn_cxx_try_link "$LINENO"; then :
16391 ac_cv_lib_m_sin=yes
16392 else
16393 ac_cv_lib_m_sin=no
16395 rm -f core conftest.err conftest.$ac_objext \
16396 conftest$ac_exeext conftest.$ac_ext
16397 LIBS=$ac_check_lib_save_LIBS
16399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16400 $as_echo "$ac_cv_lib_m_sin" >&6; }
16401 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16403 LIBS="$LIBS -lm"
16405 else
16407 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16408 gcc_no_link=yes
16414 # Check for the existence of <math.h> functions used if C99 is enabled.
16415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16416 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16417 if test "${glibcxx_cv_c99_math+set}" = set; then :
16418 $as_echo_n "(cached) " >&6
16419 else
16421 if test x$gcc_no_link = xyes; then
16422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16423 /* end confdefs.h. */
16424 #include <math.h>
16425 volatile double d1, d2;
16426 volatile int i;
16428 main ()
16430 i = fpclassify(d1);
16431 i = isfinite(d1);
16432 i = isinf(d1);
16433 i = isnan(d1);
16434 i = isnormal(d1);
16435 i = signbit(d1);
16436 i = isgreater(d1, d2);
16437 i = isgreaterequal(d1, d2);
16438 i = isless(d1, d2);
16439 i = islessequal(d1, d2);
16440 i = islessgreater(d1, d2);
16441 i = islessgreater(d1, d2);
16442 i = isunordered(d1, d2);
16445 return 0;
16447 _ACEOF
16448 if ac_fn_cxx_try_compile "$LINENO"; then :
16449 glibcxx_cv_c99_math=yes
16450 else
16451 glibcxx_cv_c99_math=no
16453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16454 else
16455 if test x$gcc_no_link = xyes; then
16456 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16459 /* end confdefs.h. */
16460 #include <math.h>
16461 volatile double d1, d2;
16462 volatile int i;
16464 main ()
16466 i = fpclassify(d1);
16467 i = isfinite(d1);
16468 i = isinf(d1);
16469 i = isnan(d1);
16470 i = isnormal(d1);
16471 i = signbit(d1);
16472 i = isgreater(d1, d2);
16473 i = isgreaterequal(d1, d2);
16474 i = isless(d1, d2);
16475 i = islessequal(d1, d2);
16476 i = islessgreater(d1, d2);
16477 i = islessgreater(d1, d2);
16478 i = isunordered(d1, d2);
16481 return 0;
16483 _ACEOF
16484 if ac_fn_cxx_try_link "$LINENO"; then :
16485 glibcxx_cv_c99_math=yes
16486 else
16487 glibcxx_cv_c99_math=no
16489 rm -f core conftest.err conftest.$ac_objext \
16490 conftest$ac_exeext conftest.$ac_ext
16495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16496 $as_echo "$glibcxx_cv_c99_math" >&6; }
16497 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16499 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16503 # Check for the existence of <complex.h> complex math functions.
16504 # This is necessary even though libstdc++ uses the builtin versions
16505 # of these functions, because if the builtin cannot be used, a reference
16506 # to the library function is emitted.
16507 for ac_header in tgmath.h
16508 do :
16509 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16510 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16511 cat >>confdefs.h <<_ACEOF
16512 #define HAVE_TGMATH_H 1
16513 _ACEOF
16514 ac_has_tgmath_h=yes
16515 else
16516 ac_has_tgmath_h=no
16519 done
16521 for ac_header in complex.h
16522 do :
16523 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16524 if test "x$ac_cv_header_complex_h" = x""yes; then :
16525 cat >>confdefs.h <<_ACEOF
16526 #define HAVE_COMPLEX_H 1
16527 _ACEOF
16528 ac_has_complex_h=yes
16529 else
16530 ac_has_complex_h=no
16533 done
16535 glibcxx_cv_c99_complex=no;
16536 if test x"$ac_has_complex_h" = x"yes"; then
16537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16538 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16539 if test x$gcc_no_link = xyes; then
16540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16541 /* end confdefs.h. */
16542 #include <complex.h>
16543 typedef __complex__ float float_type;
16544 typedef __complex__ double double_type;
16545 typedef __complex__ long double ld_type;
16546 volatile float_type tmpf;
16547 volatile double_type tmpd;
16548 volatile ld_type tmpld;
16549 volatile float f;
16550 volatile double d;
16551 volatile long double ld;
16553 main ()
16555 f = cabsf(tmpf);
16556 f = cargf(tmpf);
16557 tmpf = ccosf(tmpf);
16558 tmpf = ccoshf(tmpf);
16559 tmpf = cexpf(tmpf);
16560 tmpf = clogf(tmpf);
16561 tmpf = csinf(tmpf);
16562 tmpf = csinhf(tmpf);
16563 tmpf = csqrtf(tmpf);
16564 tmpf = ctanf(tmpf);
16565 tmpf = ctanhf(tmpf);
16566 tmpf = cpowf(tmpf, tmpf);
16567 tmpf = cprojf(tmpf);
16568 d = cabs(tmpd);
16569 d = carg(tmpd);
16570 tmpd = ccos(tmpd);
16571 tmpd = ccosh(tmpd);
16572 tmpd = cexp(tmpd);
16573 tmpd = clog(tmpd);
16574 tmpd = csin(tmpd);
16575 tmpd = csinh(tmpd);
16576 tmpd = csqrt(tmpd);
16577 tmpd = ctan(tmpd);
16578 tmpd = ctanh(tmpd);
16579 tmpd = cpow(tmpd, tmpd);
16580 tmpd = cproj(tmpd);
16581 ld = cabsl(tmpld);
16582 ld = cargl(tmpld);
16583 tmpld = ccosl(tmpld);
16584 tmpld = ccoshl(tmpld);
16585 tmpld = cexpl(tmpld);
16586 tmpld = clogl(tmpld);
16587 tmpld = csinl(tmpld);
16588 tmpld = csinhl(tmpld);
16589 tmpld = csqrtl(tmpld);
16590 tmpld = ctanl(tmpld);
16591 tmpld = ctanhl(tmpld);
16592 tmpld = cpowl(tmpld, tmpld);
16593 tmpld = cprojl(tmpld);
16596 return 0;
16598 _ACEOF
16599 if ac_fn_cxx_try_compile "$LINENO"; then :
16600 glibcxx_cv_c99_complex=yes
16601 else
16602 glibcxx_cv_c99_complex=no
16604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16605 else
16606 if test x$gcc_no_link = xyes; then
16607 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16610 /* end confdefs.h. */
16611 #include <complex.h>
16612 typedef __complex__ float float_type;
16613 typedef __complex__ double double_type;
16614 typedef __complex__ long double ld_type;
16615 volatile float_type tmpf;
16616 volatile double_type tmpd;
16617 volatile ld_type tmpld;
16618 volatile float f;
16619 volatile double d;
16620 volatile long double ld;
16622 main ()
16624 f = cabsf(tmpf);
16625 f = cargf(tmpf);
16626 tmpf = ccosf(tmpf);
16627 tmpf = ccoshf(tmpf);
16628 tmpf = cexpf(tmpf);
16629 tmpf = clogf(tmpf);
16630 tmpf = csinf(tmpf);
16631 tmpf = csinhf(tmpf);
16632 tmpf = csqrtf(tmpf);
16633 tmpf = ctanf(tmpf);
16634 tmpf = ctanhf(tmpf);
16635 tmpf = cpowf(tmpf, tmpf);
16636 tmpf = cprojf(tmpf);
16637 d = cabs(tmpd);
16638 d = carg(tmpd);
16639 tmpd = ccos(tmpd);
16640 tmpd = ccosh(tmpd);
16641 tmpd = cexp(tmpd);
16642 tmpd = clog(tmpd);
16643 tmpd = csin(tmpd);
16644 tmpd = csinh(tmpd);
16645 tmpd = csqrt(tmpd);
16646 tmpd = ctan(tmpd);
16647 tmpd = ctanh(tmpd);
16648 tmpd = cpow(tmpd, tmpd);
16649 tmpd = cproj(tmpd);
16650 ld = cabsl(tmpld);
16651 ld = cargl(tmpld);
16652 tmpld = ccosl(tmpld);
16653 tmpld = ccoshl(tmpld);
16654 tmpld = cexpl(tmpld);
16655 tmpld = clogl(tmpld);
16656 tmpld = csinl(tmpld);
16657 tmpld = csinhl(tmpld);
16658 tmpld = csqrtl(tmpld);
16659 tmpld = ctanl(tmpld);
16660 tmpld = ctanhl(tmpld);
16661 tmpld = cpowl(tmpld, tmpld);
16662 tmpld = cprojl(tmpld);
16665 return 0;
16667 _ACEOF
16668 if ac_fn_cxx_try_link "$LINENO"; then :
16669 glibcxx_cv_c99_complex=yes
16670 else
16671 glibcxx_cv_c99_complex=no
16673 rm -f core conftest.err conftest.$ac_objext \
16674 conftest$ac_exeext conftest.$ac_ext
16677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16678 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16679 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16681 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16685 # Check for the existence in <stdio.h> of vscanf, et. al.
16686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16687 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16688 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16689 $as_echo_n "(cached) " >&6
16690 else
16692 if test x$gcc_no_link = xyes; then
16693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16694 /* end confdefs.h. */
16695 #include <stdio.h>
16696 #include <stdarg.h>
16697 void foo(char* fmt, ...)
16699 va_list args; va_start(args, fmt);
16700 vfscanf(stderr, "%i", args);
16701 vscanf("%i", args);
16702 vsnprintf(fmt, 0, "%i", args);
16703 vsscanf(fmt, "%i", args);
16706 main ()
16708 snprintf("12", 0, "%i");
16710 return 0;
16712 _ACEOF
16713 if ac_fn_cxx_try_compile "$LINENO"; then :
16714 glibcxx_cv_c99_stdio=yes
16715 else
16716 glibcxx_cv_c99_stdio=no
16718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16719 else
16720 if test x$gcc_no_link = xyes; then
16721 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16724 /* end confdefs.h. */
16725 #include <stdio.h>
16726 #include <stdarg.h>
16727 void foo(char* fmt, ...)
16729 va_list args; va_start(args, fmt);
16730 vfscanf(stderr, "%i", args);
16731 vscanf("%i", args);
16732 vsnprintf(fmt, 0, "%i", args);
16733 vsscanf(fmt, "%i", args);
16736 main ()
16738 snprintf("12", 0, "%i");
16740 return 0;
16742 _ACEOF
16743 if ac_fn_cxx_try_link "$LINENO"; then :
16744 glibcxx_cv_c99_stdio=yes
16745 else
16746 glibcxx_cv_c99_stdio=no
16748 rm -f core conftest.err conftest.$ac_objext \
16749 conftest$ac_exeext conftest.$ac_ext
16754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16755 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16757 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16759 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16760 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16761 $as_echo_n "(cached) " >&6
16762 else
16764 if test x$gcc_no_link = xyes; then
16765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16766 /* end confdefs.h. */
16767 #include <stdlib.h>
16768 volatile float f;
16769 volatile long double ld;
16770 volatile unsigned long long ll;
16771 lldiv_t mydivt;
16773 main ()
16775 char* tmp;
16776 f = strtof("gnu", &tmp);
16777 ld = strtold("gnu", &tmp);
16778 ll = strtoll("gnu", &tmp, 10);
16779 ll = strtoull("gnu", &tmp, 10);
16780 ll = llabs(10);
16781 mydivt = lldiv(10,1);
16782 ll = mydivt.quot;
16783 ll = mydivt.rem;
16784 ll = atoll("10");
16785 _Exit(0);
16788 return 0;
16790 _ACEOF
16791 if ac_fn_cxx_try_compile "$LINENO"; then :
16792 glibcxx_cv_c99_stdlib=yes
16793 else
16794 glibcxx_cv_c99_stdlib=no
16796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16797 else
16798 if test x$gcc_no_link = xyes; then
16799 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16802 /* end confdefs.h. */
16803 #include <stdlib.h>
16804 volatile float f;
16805 volatile long double ld;
16806 volatile unsigned long long ll;
16807 lldiv_t mydivt;
16809 main ()
16811 char* tmp;
16812 f = strtof("gnu", &tmp);
16813 ld = strtold("gnu", &tmp);
16814 ll = strtoll("gnu", &tmp, 10);
16815 ll = strtoull("gnu", &tmp, 10);
16816 ll = llabs(10);
16817 mydivt = lldiv(10,1);
16818 ll = mydivt.quot;
16819 ll = mydivt.rem;
16820 ll = atoll("10");
16821 _Exit(0);
16824 return 0;
16826 _ACEOF
16827 if ac_fn_cxx_try_link "$LINENO"; then :
16828 glibcxx_cv_c99_stdlib=yes
16829 else
16830 glibcxx_cv_c99_stdlib=no
16832 rm -f core conftest.err conftest.$ac_objext \
16833 conftest$ac_exeext conftest.$ac_ext
16838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16839 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16841 # Check for the existence in <wchar.h> of wcstold, etc.
16842 glibcxx_cv_c99_wchar=no;
16843 if test x"$ac_has_wchar_h" = xyes &&
16844 test x"$ac_has_wctype_h" = xyes; then
16845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16846 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16848 /* end confdefs.h. */
16849 #include <wchar.h>
16850 namespace test
16852 using ::wcstold;
16853 using ::wcstoll;
16854 using ::wcstoull;
16858 main ()
16862 return 0;
16864 _ACEOF
16865 if ac_fn_cxx_try_compile "$LINENO"; then :
16866 glibcxx_cv_c99_wchar=yes
16867 else
16868 glibcxx_cv_c99_wchar=no
16870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16872 # Checks for wide character functions that may not be present.
16873 # Injection of these is wrapped with guard macros.
16874 # NB: only put functions here, instead of immediately above, if
16875 # absolutely necessary.
16876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16877 /* end confdefs.h. */
16878 #include <wchar.h>
16879 namespace test { using ::vfwscanf; }
16881 main ()
16885 return 0;
16887 _ACEOF
16888 if ac_fn_cxx_try_compile "$LINENO"; then :
16890 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
16893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16896 /* end confdefs.h. */
16897 #include <wchar.h>
16898 namespace test { using ::vswscanf; }
16900 main ()
16904 return 0;
16906 _ACEOF
16907 if ac_fn_cxx_try_compile "$LINENO"; then :
16909 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
16912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16915 /* end confdefs.h. */
16916 #include <wchar.h>
16917 namespace test { using ::vwscanf; }
16919 main ()
16923 return 0;
16925 _ACEOF
16926 if ac_fn_cxx_try_compile "$LINENO"; then :
16928 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
16931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16934 /* end confdefs.h. */
16935 #include <wchar.h>
16936 namespace test { using ::wcstof; }
16938 main ()
16942 return 0;
16944 _ACEOF
16945 if ac_fn_cxx_try_compile "$LINENO"; then :
16947 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
16950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16953 /* end confdefs.h. */
16954 #include <wctype.h>
16956 main ()
16958 wint_t t; int i = iswblank(t);
16960 return 0;
16962 _ACEOF
16963 if ac_fn_cxx_try_compile "$LINENO"; then :
16965 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
16968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
16971 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
16974 # Option parsed, now set things appropriately.
16975 if test x"$glibcxx_cv_c99_math" = x"no" ||
16976 test x"$glibcxx_cv_c99_complex" = x"no" ||
16977 test x"$glibcxx_cv_c99_stdio" = x"no" ||
16978 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
16979 test x"$glibcxx_cv_c99_wchar" = x"no"; then
16980 enable_c99=no;
16981 else
16983 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
16987 gcc_no_link="$ac_save_gcc_no_link"
16988 LIBS="$ac_save_LIBS"
16989 CXXFLAGS="$ac_save_CXXFLAGS"
16990 ac_ext=c
16991 ac_cpp='$CPP $CPPFLAGS'
16992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
16999 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17001 $as_echo "$enable_c99" >&6; }
17004 # Check whether --enable-concept-checks was given.
17005 if test "${enable_concept_checks+set}" = set; then :
17006 enableval=$enable_concept_checks;
17007 case "$enableval" in
17008 yes|no) ;;
17009 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17010 esac
17012 else
17013 enable_concept_checks=no
17017 if test $enable_concept_checks = yes; then
17019 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17024 # Check whether --enable-libstdcxx-debug-flags was given.
17025 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17026 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17027 xno | x) enable_libstdcxx_debug_flags= ;;
17028 x-*) ;;
17029 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17030 esac
17031 else
17032 enable_libstdcxx_debug_flags="-g3 -O0"
17037 # Option parsed, now set things appropriately
17038 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17041 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17042 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17046 $as_echo_n "checking for additional debug build... " >&6; }
17047 # Check whether --enable-libstdcxx-debug was given.
17048 if test "${enable_libstdcxx_debug+set}" = set; then :
17049 enableval=$enable_libstdcxx_debug;
17050 case "$enableval" in
17051 yes|no) ;;
17052 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17053 esac
17055 else
17056 enable_libstdcxx_debug=no
17060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17061 $as_echo "$enable_libstdcxx_debug" >&6; }
17066 enable_parallel=no;
17068 # See if configured libgomp/omp.h exists. (libgomp may be in
17069 # noconfigdirs but not explicitly disabled.)
17070 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17071 enable_parallel=yes;
17072 else
17073 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17074 $as_echo "$as_me: target-libgomp not built" >&6;}
17077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17078 $as_echo_n "checking for parallel mode support... " >&6; }
17079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17080 $as_echo "$enable_parallel" >&6; }
17083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17084 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17085 # Check whether --enable-cxx-flags was given.
17086 if test "${enable_cxx_flags+set}" = set; then :
17087 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17088 xno | x) enable_cxx_flags= ;;
17089 x-*) ;;
17090 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17091 esac
17092 else
17093 enable_cxx_flags=
17098 # Run through flags (either default or command-line) and set anything
17099 # extra (e.g., #defines) that must accompany particular g++ options.
17100 if test -n "$enable_cxx_flags"; then
17101 for f in $enable_cxx_flags; do
17102 case "$f" in
17103 -fhonor-std) ;;
17104 -*) ;;
17105 *) # and we're trying to pass /what/ exactly?
17106 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17107 esac
17108 done
17111 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17113 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17117 # Check whether --enable-fully-dynamic-string was given.
17118 if test "${enable_fully_dynamic_string+set}" = set; then :
17119 enableval=$enable_fully_dynamic_string;
17120 case "$enableval" in
17121 yes|no) ;;
17122 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17123 esac
17125 else
17126 enable_fully_dynamic_string=no
17130 if test $enable_fully_dynamic_string = yes; then
17132 $as_echo "#define _GLIBCXX_FULLY_DYNAMIC_STRING 1" >>confdefs.h
17137 # Checks for operating systems support that doesn't require linking.
17140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17141 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17142 if test "${glibcxx_cv_system_error1+set}" = set; then :
17143 $as_echo_n "(cached) " >&6
17144 else
17146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17147 /* end confdefs.h. */
17148 #include <errno.h>
17150 main ()
17152 int i = EOWNERDEAD;
17154 return 0;
17156 _ACEOF
17157 if ac_fn_c_try_compile "$LINENO"; then :
17158 glibcxx_cv_system_error1=yes
17159 else
17160 glibcxx_cv_system_error1=no
17162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17167 $as_echo "$glibcxx_cv_system_error1" >&6; }
17168 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17170 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17174 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17175 if test "${glibcxx_cv_system_error2+set}" = set; then :
17176 $as_echo_n "(cached) " >&6
17177 else
17179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17180 /* end confdefs.h. */
17181 #include <errno.h>
17183 main ()
17185 int i = ENOTRECOVERABLE;
17187 return 0;
17189 _ACEOF
17190 if ac_fn_c_try_compile "$LINENO"; then :
17191 glibcxx_cv_system_error2=yes
17192 else
17193 glibcxx_cv_system_error2=no
17195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17200 $as_echo "$glibcxx_cv_system_error2" >&6; }
17201 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17203 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17207 $as_echo_n "checking for ENOLINK... " >&6; }
17208 if test "${glibcxx_cv_system_error3+set}" = set; then :
17209 $as_echo_n "(cached) " >&6
17210 else
17212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17213 /* end confdefs.h. */
17214 #include <errno.h>
17216 main ()
17218 int i = ENOLINK;
17220 return 0;
17222 _ACEOF
17223 if ac_fn_c_try_compile "$LINENO"; then :
17224 glibcxx_cv_system_error3=yes
17225 else
17226 glibcxx_cv_system_error3=no
17228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17233 $as_echo "$glibcxx_cv_system_error3" >&6; }
17234 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17236 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17240 $as_echo_n "checking for EPROTO... " >&6; }
17241 if test "${glibcxx_cv_system_error4+set}" = set; then :
17242 $as_echo_n "(cached) " >&6
17243 else
17245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17246 /* end confdefs.h. */
17247 #include <errno.h>
17249 main ()
17251 int i = EPROTO;
17253 return 0;
17255 _ACEOF
17256 if ac_fn_c_try_compile "$LINENO"; then :
17257 glibcxx_cv_system_error4=yes
17258 else
17259 glibcxx_cv_system_error4=no
17261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17266 $as_echo "$glibcxx_cv_system_error4" >&6; }
17267 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17269 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17273 $as_echo_n "checking for ENODATA... " >&6; }
17274 if test "${glibcxx_cv_system_error5+set}" = set; then :
17275 $as_echo_n "(cached) " >&6
17276 else
17278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17279 /* end confdefs.h. */
17280 #include <errno.h>
17282 main ()
17284 int i = ENODATA;
17286 return 0;
17288 _ACEOF
17289 if ac_fn_c_try_compile "$LINENO"; then :
17290 glibcxx_cv_system_error5=yes
17291 else
17292 glibcxx_cv_system_error5=no
17294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17299 $as_echo "$glibcxx_cv_system_error5" >&6; }
17300 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17302 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17306 $as_echo_n "checking for ENOSR... " >&6; }
17307 if test "${glibcxx_cv_system_error6+set}" = set; then :
17308 $as_echo_n "(cached) " >&6
17309 else
17311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17312 /* end confdefs.h. */
17313 #include <errno.h>
17315 main ()
17317 int i = ENOSR;
17319 return 0;
17321 _ACEOF
17322 if ac_fn_c_try_compile "$LINENO"; then :
17323 glibcxx_cv_system_error6=yes
17324 else
17325 glibcxx_cv_system_error6=no
17327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17332 $as_echo "$glibcxx_cv_system_error6" >&6; }
17333 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17335 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17339 $as_echo_n "checking for ENOSTR... " >&6; }
17340 if test "${glibcxx_cv_system_error7+set}" = set; then :
17341 $as_echo_n "(cached) " >&6
17342 else
17344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17345 /* end confdefs.h. */
17346 #include <errno.h>
17348 main ()
17350 int i = ENOSTR;
17352 return 0;
17354 _ACEOF
17355 if ac_fn_c_try_compile "$LINENO"; then :
17356 glibcxx_cv_system_error7=yes
17357 else
17358 glibcxx_cv_system_error7=no
17360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17365 $as_echo "$glibcxx_cv_system_error7" >&6; }
17366 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17368 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17372 $as_echo_n "checking for ETIME... " >&6; }
17373 if test "${glibcxx_cv_system_error8+set}" = set; then :
17374 $as_echo_n "(cached) " >&6
17375 else
17377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17378 /* end confdefs.h. */
17379 #include <errno.h>
17381 main ()
17383 int i = ETIME;
17385 return 0;
17387 _ACEOF
17388 if ac_fn_c_try_compile "$LINENO"; then :
17389 glibcxx_cv_system_error8=yes
17390 else
17391 glibcxx_cv_system_error8=no
17393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17398 $as_echo "$glibcxx_cv_system_error8" >&6; }
17399 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17401 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17405 $as_echo_n "checking for EBADMSG... " >&6; }
17406 if test "${glibcxx_cv_system_error9+set}" = set; then :
17407 $as_echo_n "(cached) " >&6
17408 else
17410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17411 /* end confdefs.h. */
17412 #include <errno.h>
17414 main ()
17416 int i = EBADMSG;
17418 return 0;
17420 _ACEOF
17421 if ac_fn_c_try_compile "$LINENO"; then :
17422 glibcxx_cv_system_error9=yes
17423 else
17424 glibcxx_cv_system_error9=no
17426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17431 $as_echo "$glibcxx_cv_system_error9" >&6; }
17432 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17434 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17438 $as_echo_n "checking for ECANCELED... " >&6; }
17439 if test "${glibcxx_cv_system_error10+set}" = set; then :
17440 $as_echo_n "(cached) " >&6
17441 else
17443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17444 /* end confdefs.h. */
17445 #include <errno.h>
17447 main ()
17449 int i = ECANCELED;
17451 return 0;
17453 _ACEOF
17454 if ac_fn_c_try_compile "$LINENO"; then :
17455 glibcxx_cv_system_error10=yes
17456 else
17457 glibcxx_cv_system_error10=no
17459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17464 $as_echo "$glibcxx_cv_system_error10" >&6; }
17465 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17467 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17471 $as_echo_n "checking for EOVERFLOW... " >&6; }
17472 if test "${glibcxx_cv_system_error11+set}" = set; then :
17473 $as_echo_n "(cached) " >&6
17474 else
17476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17477 /* end confdefs.h. */
17478 #include <errno.h>
17480 main ()
17482 int i = EOVERFLOW;
17484 return 0;
17486 _ACEOF
17487 if ac_fn_c_try_compile "$LINENO"; then :
17488 glibcxx_cv_system_error11=yes
17489 else
17490 glibcxx_cv_system_error11=no
17492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17497 $as_echo "$glibcxx_cv_system_error11" >&6; }
17498 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17500 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17504 $as_echo_n "checking for ENOTSUP... " >&6; }
17505 if test "${glibcxx_cv_system_error12+set}" = set; then :
17506 $as_echo_n "(cached) " >&6
17507 else
17509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17510 /* end confdefs.h. */
17511 #include <errno.h>
17513 main ()
17515 int i = ENOTSUP;
17517 return 0;
17519 _ACEOF
17520 if ac_fn_c_try_compile "$LINENO"; then :
17521 glibcxx_cv_system_error12=yes
17522 else
17523 glibcxx_cv_system_error12=no
17525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17530 $as_echo "$glibcxx_cv_system_error12" >&6; }
17531 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17533 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17537 $as_echo_n "checking for EIDRM... " >&6; }
17538 if test "${glibcxx_cv_system_error13+set}" = set; then :
17539 $as_echo_n "(cached) " >&6
17540 else
17542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17543 /* end confdefs.h. */
17544 #include <errno.h>
17546 main ()
17548 int i = EIDRM;
17550 return 0;
17552 _ACEOF
17553 if ac_fn_c_try_compile "$LINENO"; then :
17554 glibcxx_cv_system_error13=yes
17555 else
17556 glibcxx_cv_system_error13=no
17558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17563 $as_echo "$glibcxx_cv_system_error13" >&6; }
17564 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17566 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17570 $as_echo_n "checking for ETXTBSY... " >&6; }
17571 if test "${glibcxx_cv_system_error14+set}" = set; then :
17572 $as_echo_n "(cached) " >&6
17573 else
17575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17576 /* end confdefs.h. */
17577 #include <errno.h>
17579 main ()
17581 int i = ETXTBSY;
17583 return 0;
17585 _ACEOF
17586 if ac_fn_c_try_compile "$LINENO"; then :
17587 glibcxx_cv_system_error14=yes
17588 else
17589 glibcxx_cv_system_error14=no
17591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17596 $as_echo "$glibcxx_cv_system_error14" >&6; }
17597 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17599 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17605 # For the streamoff typedef.
17609 ac_ext=cpp
17610 ac_cpp='$CXXCPP $CPPFLAGS'
17611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
17617 $as_echo_n "checking for int64_t... " >&6; }
17618 if test "${glibcxx_cv_INT64_T+set}" = set; then :
17619 $as_echo_n "(cached) " >&6
17620 else
17622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17623 /* end confdefs.h. */
17624 #include <stdint.h>
17626 main ()
17628 int64_t var;
17630 return 0;
17632 _ACEOF
17633 if ac_fn_cxx_try_compile "$LINENO"; then :
17634 glibcxx_cv_INT64_T=yes
17635 else
17636 glibcxx_cv_INT64_T=no
17638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17643 if test $glibcxx_cv_INT64_T = yes; then
17645 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
17647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
17648 $as_echo "$glibcxx_cv_INT64_T" >&6; }
17650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
17651 $as_echo_n "checking for int64_t as long... " >&6; }
17652 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
17653 $as_echo_n "(cached) " >&6
17654 else
17656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17657 /* end confdefs.h. */
17658 #include <stdint.h>
17659 template<typename, typename> struct same { enum { value = -1 }; };
17660 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17661 int array[same<int64_t, long>::value];
17663 main ()
17667 return 0;
17669 _ACEOF
17670 if ac_fn_cxx_try_compile "$LINENO"; then :
17671 glibcxx_cv_int64_t_long=yes
17672 else
17673 glibcxx_cv_int64_t_long=no
17675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17680 if test $glibcxx_cv_int64_t_long = yes; then
17682 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
17684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
17685 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
17688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
17689 $as_echo_n "checking for int64_t as long long... " >&6; }
17690 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
17691 $as_echo_n "(cached) " >&6
17692 else
17694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17695 /* end confdefs.h. */
17696 #include <stdint.h>
17697 template<typename, typename> struct same { enum { value = -1 }; };
17698 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17699 int array[same<int64_t, long long>::value];
17701 main ()
17705 return 0;
17707 _ACEOF
17708 if ac_fn_cxx_try_compile "$LINENO"; then :
17709 glibcxx_cv_int64_t_long_long=yes
17710 else
17711 glibcxx_cv_int64_t_long_long=no
17713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17718 if test $glibcxx_cv_int64_t_long_long = yes; then
17720 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
17722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
17723 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
17727 ac_ext=c
17728 ac_cpp='$CPP $CPPFLAGS'
17729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17735 # For LFS support.
17738 ac_ext=cpp
17739 ac_cpp='$CXXCPP $CPPFLAGS'
17740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17744 ac_save_CXXFLAGS="$CXXFLAGS"
17745 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
17747 $as_echo_n "checking for LFS support... " >&6; }
17748 if test "${glibcxx_cv_LFS+set}" = set; then :
17749 $as_echo_n "(cached) " >&6
17750 else
17752 if test x$gcc_no_link = xyes; then
17753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17754 /* end confdefs.h. */
17755 #include <unistd.h>
17756 #include <stdio.h>
17757 #include <sys/stat.h>
17760 main ()
17762 FILE* fp;
17763 fopen64("t", "w");
17764 fseeko64(fp, 0, SEEK_CUR);
17765 ftello64(fp);
17766 lseek64(1, 0, SEEK_CUR);
17767 struct stat64 buf;
17768 fstat64(1, &buf);
17770 return 0;
17772 _ACEOF
17773 if ac_fn_cxx_try_compile "$LINENO"; then :
17774 glibcxx_cv_LFS=yes
17775 else
17776 glibcxx_cv_LFS=no
17778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17779 else
17780 if test x$gcc_no_link = xyes; then
17781 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17784 /* end confdefs.h. */
17785 #include <unistd.h>
17786 #include <stdio.h>
17787 #include <sys/stat.h>
17790 main ()
17792 FILE* fp;
17793 fopen64("t", "w");
17794 fseeko64(fp, 0, SEEK_CUR);
17795 ftello64(fp);
17796 lseek64(1, 0, SEEK_CUR);
17797 struct stat64 buf;
17798 fstat64(1, &buf);
17800 return 0;
17802 _ACEOF
17803 if ac_fn_cxx_try_link "$LINENO"; then :
17804 glibcxx_cv_LFS=yes
17805 else
17806 glibcxx_cv_LFS=no
17808 rm -f core conftest.err conftest.$ac_objext \
17809 conftest$ac_exeext conftest.$ac_ext
17814 if test $glibcxx_cv_LFS = yes; then
17816 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
17819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
17820 $as_echo "$glibcxx_cv_LFS" >&6; }
17821 CXXFLAGS="$ac_save_CXXFLAGS"
17822 ac_ext=c
17823 ac_cpp='$CPP $CPPFLAGS'
17824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17830 # For showmanyc_helper().
17831 for ac_header in sys/ioctl.h sys/filio.h
17832 do :
17833 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17834 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17835 eval as_val=\$$as_ac_Header
17836 if test "x$as_val" = x""yes; then :
17837 cat >>confdefs.h <<_ACEOF
17838 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17839 _ACEOF
17843 done
17848 ac_ext=cpp
17849 ac_cpp='$CXXCPP $CPPFLAGS'
17850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17854 ac_save_CXXFLAGS="$CXXFLAGS"
17855 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
17858 $as_echo_n "checking for poll... " >&6; }
17859 if test "${glibcxx_cv_POLL+set}" = set; then :
17860 $as_echo_n "(cached) " >&6
17861 else
17863 if test x$gcc_no_link = xyes; then
17864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17865 /* end confdefs.h. */
17866 #include <poll.h>
17868 main ()
17870 struct pollfd pfd[1];
17871 pfd[0].events = POLLIN;
17872 poll(pfd, 1, 0);
17874 return 0;
17876 _ACEOF
17877 if ac_fn_cxx_try_compile "$LINENO"; then :
17878 glibcxx_cv_POLL=yes
17879 else
17880 glibcxx_cv_POLL=no
17882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17883 else
17884 if test x$gcc_no_link = xyes; then
17885 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17888 /* end confdefs.h. */
17889 #include <poll.h>
17891 main ()
17893 struct pollfd pfd[1];
17894 pfd[0].events = POLLIN;
17895 poll(pfd, 1, 0);
17897 return 0;
17899 _ACEOF
17900 if ac_fn_cxx_try_link "$LINENO"; then :
17901 glibcxx_cv_POLL=yes
17902 else
17903 glibcxx_cv_POLL=no
17905 rm -f core conftest.err conftest.$ac_objext \
17906 conftest$ac_exeext conftest.$ac_ext
17911 if test $glibcxx_cv_POLL = yes; then
17913 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
17917 $as_echo "$glibcxx_cv_POLL" >&6; }
17919 CXXFLAGS="$ac_save_CXXFLAGS"
17920 ac_ext=c
17921 ac_cpp='$CPP $CPPFLAGS'
17922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17930 ac_ext=cpp
17931 ac_cpp='$CXXCPP $CPPFLAGS'
17932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17936 ac_save_CXXFLAGS="$CXXFLAGS"
17937 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
17940 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
17941 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
17942 $as_echo_n "(cached) " >&6
17943 else
17945 if test x$gcc_no_link = xyes; then
17946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17947 /* end confdefs.h. */
17948 #include <sys/stat.h>
17950 main ()
17952 struct stat buffer;
17953 fstat(0, &buffer);
17954 S_ISREG(buffer.st_mode);
17956 return 0;
17958 _ACEOF
17959 if ac_fn_cxx_try_compile "$LINENO"; then :
17960 glibcxx_cv_S_ISREG=yes
17961 else
17962 glibcxx_cv_S_ISREG=no
17964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17965 else
17966 if test x$gcc_no_link = xyes; then
17967 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17970 /* end confdefs.h. */
17971 #include <sys/stat.h>
17973 main ()
17975 struct stat buffer;
17976 fstat(0, &buffer);
17977 S_ISREG(buffer.st_mode);
17979 return 0;
17981 _ACEOF
17982 if ac_fn_cxx_try_link "$LINENO"; then :
17983 glibcxx_cv_S_ISREG=yes
17984 else
17985 glibcxx_cv_S_ISREG=no
17987 rm -f core conftest.err conftest.$ac_objext \
17988 conftest$ac_exeext conftest.$ac_ext
17993 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
17994 $as_echo_n "(cached) " >&6
17995 else
17997 if test x$gcc_no_link = xyes; then
17998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17999 /* end confdefs.h. */
18000 #include <sys/stat.h>
18002 main ()
18004 struct stat buffer;
18005 fstat(0, &buffer);
18006 S_IFREG & buffer.st_mode;
18008 return 0;
18010 _ACEOF
18011 if ac_fn_cxx_try_compile "$LINENO"; then :
18012 glibcxx_cv_S_IFREG=yes
18013 else
18014 glibcxx_cv_S_IFREG=no
18016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18017 else
18018 if test x$gcc_no_link = xyes; then
18019 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18022 /* end confdefs.h. */
18023 #include <sys/stat.h>
18025 main ()
18027 struct stat buffer;
18028 fstat(0, &buffer);
18029 S_IFREG & buffer.st_mode;
18031 return 0;
18033 _ACEOF
18034 if ac_fn_cxx_try_link "$LINENO"; then :
18035 glibcxx_cv_S_IFREG=yes
18036 else
18037 glibcxx_cv_S_IFREG=no
18039 rm -f core conftest.err conftest.$ac_objext \
18040 conftest$ac_exeext conftest.$ac_ext
18045 res=no
18046 if test $glibcxx_cv_S_ISREG = yes; then
18048 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18050 res=S_ISREG
18051 elif test $glibcxx_cv_S_IFREG = yes; then
18053 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18055 res=S_IFREG
18057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18058 $as_echo "$res" >&6; }
18060 CXXFLAGS="$ac_save_CXXFLAGS"
18061 ac_ext=c
18062 ac_cpp='$CPP $CPPFLAGS'
18063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18069 # For xsputn_2().
18070 for ac_header in sys/uio.h
18071 do :
18072 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18073 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18074 cat >>confdefs.h <<_ACEOF
18075 #define HAVE_SYS_UIO_H 1
18076 _ACEOF
18080 done
18085 ac_ext=cpp
18086 ac_cpp='$CXXCPP $CPPFLAGS'
18087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18091 ac_save_CXXFLAGS="$CXXFLAGS"
18092 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18095 $as_echo_n "checking for writev... " >&6; }
18096 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18097 $as_echo_n "(cached) " >&6
18098 else
18100 if test x$gcc_no_link = xyes; then
18101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18102 /* end confdefs.h. */
18103 #include <sys/uio.h>
18105 main ()
18107 struct iovec iov[2];
18108 writev(0, iov, 0);
18110 return 0;
18112 _ACEOF
18113 if ac_fn_cxx_try_compile "$LINENO"; then :
18114 glibcxx_cv_WRITEV=yes
18115 else
18116 glibcxx_cv_WRITEV=no
18118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18119 else
18120 if test x$gcc_no_link = xyes; then
18121 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18124 /* end confdefs.h. */
18125 #include <sys/uio.h>
18127 main ()
18129 struct iovec iov[2];
18130 writev(0, iov, 0);
18132 return 0;
18134 _ACEOF
18135 if ac_fn_cxx_try_link "$LINENO"; then :
18136 glibcxx_cv_WRITEV=yes
18137 else
18138 glibcxx_cv_WRITEV=no
18140 rm -f core conftest.err conftest.$ac_objext \
18141 conftest$ac_exeext conftest.$ac_ext
18146 if test $glibcxx_cv_WRITEV = yes; then
18148 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18152 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18154 CXXFLAGS="$ac_save_CXXFLAGS"
18155 ac_ext=c
18156 ac_cpp='$CPP $CPPFLAGS'
18157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18163 # For C99 support to TR1.
18167 ac_ext=cpp
18168 ac_cpp='$CXXCPP $CPPFLAGS'
18169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18174 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18175 # undefined and fake C99 facilities may be spuriously enabled.
18176 ac_save_CXXFLAGS="$CXXFLAGS"
18177 CXXFLAGS="$CXXFLAGS -std=c++98"
18179 # Check for the existence of <complex.h> complex math functions used
18180 # by tr1/complex.
18181 for ac_header in complex.h
18182 do :
18183 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18184 if test "x$ac_cv_header_complex_h" = x""yes; then :
18185 cat >>confdefs.h <<_ACEOF
18186 #define HAVE_COMPLEX_H 1
18187 _ACEOF
18188 ac_has_complex_h=yes
18189 else
18190 ac_has_complex_h=no
18193 done
18195 ac_c99_complex_tr1=no;
18196 if test x"$ac_has_complex_h" = x"yes"; then
18197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18198 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18200 /* end confdefs.h. */
18201 #include <complex.h>
18203 main ()
18205 typedef __complex__ float float_type; float_type tmpf;
18206 cacosf(tmpf);
18207 casinf(tmpf);
18208 catanf(tmpf);
18209 cacoshf(tmpf);
18210 casinhf(tmpf);
18211 catanhf(tmpf);
18212 typedef __complex__ double double_type; double_type tmpd;
18213 cacos(tmpd);
18214 casin(tmpd);
18215 catan(tmpd);
18216 cacosh(tmpd);
18217 casinh(tmpd);
18218 catanh(tmpd);
18219 typedef __complex__ long double ld_type; ld_type tmpld;
18220 cacosl(tmpld);
18221 casinl(tmpld);
18222 catanl(tmpld);
18223 cacoshl(tmpld);
18224 casinhl(tmpld);
18225 catanhl(tmpld);
18228 return 0;
18230 _ACEOF
18231 if ac_fn_cxx_try_compile "$LINENO"; then :
18232 ac_c99_complex_tr1=yes
18233 else
18234 ac_c99_complex_tr1=no
18236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18239 $as_echo "$ac_c99_complex_tr1" >&6; }
18240 if test x"$ac_c99_complex_tr1" = x"yes"; then
18242 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18246 # Check for the existence of <ctype.h> functions.
18247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18248 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18249 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18250 $as_echo_n "(cached) " >&6
18251 else
18253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18254 /* end confdefs.h. */
18255 #include <ctype.h>
18257 main ()
18259 int ch;
18260 int ret;
18261 ret = isblank(ch);
18264 return 0;
18266 _ACEOF
18267 if ac_fn_cxx_try_compile "$LINENO"; then :
18268 glibcxx_cv_c99_ctype_tr1=yes
18269 else
18270 glibcxx_cv_c99_ctype_tr1=no
18272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18277 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18278 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18280 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18284 # Check for the existence of <fenv.h> functions.
18285 for ac_header in fenv.h
18286 do :
18287 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18288 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18289 cat >>confdefs.h <<_ACEOF
18290 #define HAVE_FENV_H 1
18291 _ACEOF
18292 ac_has_fenv_h=yes
18293 else
18294 ac_has_fenv_h=no
18297 done
18299 ac_c99_fenv_tr1=no;
18300 if test x"$ac_has_fenv_h" = x"yes"; then
18301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18302 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18304 /* end confdefs.h. */
18305 #include <fenv.h>
18307 main ()
18309 int except, mode;
18310 fexcept_t* pflag;
18311 fenv_t* penv;
18312 int ret;
18313 ret = feclearexcept(except);
18314 ret = fegetexceptflag(pflag, except);
18315 ret = feraiseexcept(except);
18316 ret = fesetexceptflag(pflag, except);
18317 ret = fetestexcept(except);
18318 ret = fegetround();
18319 ret = fesetround(mode);
18320 ret = fegetenv(penv);
18321 ret = feholdexcept(penv);
18322 ret = fesetenv(penv);
18323 ret = feupdateenv(penv);
18326 return 0;
18328 _ACEOF
18329 if ac_fn_cxx_try_compile "$LINENO"; then :
18330 ac_c99_fenv_tr1=yes
18331 else
18332 ac_c99_fenv_tr1=no
18334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18337 $as_echo "$ac_c99_fenv_tr1" >&6; }
18338 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18340 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18344 # Check for the existence of <stdint.h> types.
18345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18346 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18347 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18348 $as_echo_n "(cached) " >&6
18349 else
18351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18352 /* end confdefs.h. */
18353 #define __STDC_LIMIT_MACROS
18354 #define __STDC_CONSTANT_MACROS
18355 #include <stdint.h>
18357 main ()
18359 typedef int8_t my_int8_t;
18360 my_int8_t i8 = INT8_MIN;
18361 i8 = INT8_MAX;
18362 typedef int16_t my_int16_t;
18363 my_int16_t i16 = INT16_MIN;
18364 i16 = INT16_MAX;
18365 typedef int32_t my_int32_t;
18366 my_int32_t i32 = INT32_MIN;
18367 i32 = INT32_MAX;
18368 typedef int64_t my_int64_t;
18369 my_int64_t i64 = INT64_MIN;
18370 i64 = INT64_MAX;
18371 typedef int_fast8_t my_int_fast8_t;
18372 my_int_fast8_t if8 = INT_FAST8_MIN;
18373 if8 = INT_FAST8_MAX;
18374 typedef int_fast16_t my_int_fast16_t;
18375 my_int_fast16_t if16 = INT_FAST16_MIN;
18376 if16 = INT_FAST16_MAX;
18377 typedef int_fast32_t my_int_fast32_t;
18378 my_int_fast32_t if32 = INT_FAST32_MIN;
18379 if32 = INT_FAST32_MAX;
18380 typedef int_fast64_t my_int_fast64_t;
18381 my_int_fast64_t if64 = INT_FAST64_MIN;
18382 if64 = INT_FAST64_MAX;
18383 typedef int_least8_t my_int_least8_t;
18384 my_int_least8_t il8 = INT_LEAST8_MIN;
18385 il8 = INT_LEAST8_MAX;
18386 typedef int_least16_t my_int_least16_t;
18387 my_int_least16_t il16 = INT_LEAST16_MIN;
18388 il16 = INT_LEAST16_MAX;
18389 typedef int_least32_t my_int_least32_t;
18390 my_int_least32_t il32 = INT_LEAST32_MIN;
18391 il32 = INT_LEAST32_MAX;
18392 typedef int_least64_t my_int_least64_t;
18393 my_int_least64_t il64 = INT_LEAST64_MIN;
18394 il64 = INT_LEAST64_MAX;
18395 typedef intmax_t my_intmax_t;
18396 my_intmax_t im = INTMAX_MAX;
18397 im = INTMAX_MIN;
18398 typedef intptr_t my_intptr_t;
18399 my_intptr_t ip = INTPTR_MAX;
18400 ip = INTPTR_MIN;
18401 typedef uint8_t my_uint8_t;
18402 my_uint8_t ui8 = UINT8_MAX;
18403 ui8 = UINT8_MAX;
18404 typedef uint16_t my_uint16_t;
18405 my_uint16_t ui16 = UINT16_MAX;
18406 ui16 = UINT16_MAX;
18407 typedef uint32_t my_uint32_t;
18408 my_uint32_t ui32 = UINT32_MAX;
18409 ui32 = UINT32_MAX;
18410 typedef uint64_t my_uint64_t;
18411 my_uint64_t ui64 = UINT64_MAX;
18412 ui64 = UINT64_MAX;
18413 typedef uint_fast8_t my_uint_fast8_t;
18414 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18415 uif8 = UINT_FAST8_MAX;
18416 typedef uint_fast16_t my_uint_fast16_t;
18417 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18418 uif16 = UINT_FAST16_MAX;
18419 typedef uint_fast32_t my_uint_fast32_t;
18420 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18421 uif32 = UINT_FAST32_MAX;
18422 typedef uint_fast64_t my_uint_fast64_t;
18423 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18424 uif64 = UINT_FAST64_MAX;
18425 typedef uint_least8_t my_uint_least8_t;
18426 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18427 uil8 = UINT_LEAST8_MAX;
18428 typedef uint_least16_t my_uint_least16_t;
18429 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18430 uil16 = UINT_LEAST16_MAX;
18431 typedef uint_least32_t my_uint_least32_t;
18432 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18433 uil32 = UINT_LEAST32_MAX;
18434 typedef uint_least64_t my_uint_least64_t;
18435 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18436 uil64 = UINT_LEAST64_MAX;
18437 typedef uintmax_t my_uintmax_t;
18438 my_uintmax_t uim = UINTMAX_MAX;
18439 uim = UINTMAX_MAX;
18440 typedef uintptr_t my_uintptr_t;
18441 my_uintptr_t uip = UINTPTR_MAX;
18442 uip = UINTPTR_MAX;
18445 return 0;
18447 _ACEOF
18448 if ac_fn_cxx_try_compile "$LINENO"; then :
18449 glibcxx_cv_c99_stdint_tr1=yes
18450 else
18451 glibcxx_cv_c99_stdint_tr1=no
18453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18458 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18459 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18461 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18465 # Check for the existence of <math.h> functions.
18466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18467 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18468 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18469 $as_echo_n "(cached) " >&6
18470 else
18472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18473 /* end confdefs.h. */
18474 #include <math.h>
18476 main ()
18478 typedef double_t my_double_t;
18479 typedef float_t my_float_t;
18480 acosh(0.0);
18481 acoshf(0.0f);
18482 acoshl(0.0l);
18483 asinh(0.0);
18484 asinhf(0.0f);
18485 asinhl(0.0l);
18486 atanh(0.0);
18487 atanhf(0.0f);
18488 atanhl(0.0l);
18489 cbrt(0.0);
18490 cbrtf(0.0f);
18491 cbrtl(0.0l);
18492 copysign(0.0, 0.0);
18493 copysignf(0.0f, 0.0f);
18494 copysignl(0.0l, 0.0l);
18495 erf(0.0);
18496 erff(0.0f);
18497 erfl(0.0l);
18498 erfc(0.0);
18499 erfcf(0.0f);
18500 erfcl(0.0l);
18501 exp2(0.0);
18502 exp2f(0.0f);
18503 exp2l(0.0l);
18504 expm1(0.0);
18505 expm1f(0.0f);
18506 expm1l(0.0l);
18507 fdim(0.0, 0.0);
18508 fdimf(0.0f, 0.0f);
18509 fdiml(0.0l, 0.0l);
18510 fma(0.0, 0.0, 0.0);
18511 fmaf(0.0f, 0.0f, 0.0f);
18512 fmal(0.0l, 0.0l, 0.0l);
18513 fmax(0.0, 0.0);
18514 fmaxf(0.0f, 0.0f);
18515 fmaxl(0.0l, 0.0l);
18516 fmin(0.0, 0.0);
18517 fminf(0.0f, 0.0f);
18518 fminl(0.0l, 0.0l);
18519 hypot(0.0, 0.0);
18520 hypotf(0.0f, 0.0f);
18521 hypotl(0.0l, 0.0l);
18522 ilogb(0.0);
18523 ilogbf(0.0f);
18524 ilogbl(0.0l);
18525 lgamma(0.0);
18526 lgammaf(0.0f);
18527 lgammal(0.0l);
18528 llrint(0.0);
18529 llrintf(0.0f);
18530 llrintl(0.0l);
18531 llround(0.0);
18532 llroundf(0.0f);
18533 llroundl(0.0l);
18534 log1p(0.0);
18535 log1pf(0.0f);
18536 log1pl(0.0l);
18537 log2(0.0);
18538 log2f(0.0f);
18539 log2l(0.0l);
18540 logb(0.0);
18541 logbf(0.0f);
18542 logbl(0.0l);
18543 lrint(0.0);
18544 lrintf(0.0f);
18545 lrintl(0.0l);
18546 lround(0.0);
18547 lroundf(0.0f);
18548 lroundl(0.0l);
18549 nan(0);
18550 nanf(0);
18551 nanl(0);
18552 nearbyint(0.0);
18553 nearbyintf(0.0f);
18554 nearbyintl(0.0l);
18555 nextafter(0.0, 0.0);
18556 nextafterf(0.0f, 0.0f);
18557 nextafterl(0.0l, 0.0l);
18558 nexttoward(0.0, 0.0);
18559 nexttowardf(0.0f, 0.0f);
18560 nexttowardl(0.0l, 0.0l);
18561 remainder(0.0, 0.0);
18562 remainderf(0.0f, 0.0f);
18563 remainderl(0.0l, 0.0l);
18564 remquo(0.0, 0.0, 0);
18565 remquof(0.0f, 0.0f, 0);
18566 remquol(0.0l, 0.0l, 0);
18567 rint(0.0);
18568 rintf(0.0f);
18569 rintl(0.0l);
18570 round(0.0);
18571 roundf(0.0f);
18572 roundl(0.0l);
18573 scalbln(0.0, 0l);
18574 scalblnf(0.0f, 0l);
18575 scalblnl(0.0l, 0l);
18576 scalbn(0.0, 0);
18577 scalbnf(0.0f, 0);
18578 scalbnl(0.0l, 0);
18579 tgamma(0.0);
18580 tgammaf(0.0f);
18581 tgammal(0.0l);
18582 trunc(0.0);
18583 truncf(0.0f);
18584 truncl(0.0l);
18587 return 0;
18589 _ACEOF
18590 if ac_fn_cxx_try_compile "$LINENO"; then :
18591 glibcxx_cv_c99_math_tr1=yes
18592 else
18593 glibcxx_cv_c99_math_tr1=no
18595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
18600 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
18601 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
18603 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
18607 # Check for the existence of <inttypes.h> functions (NB: doesn't make
18608 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18609 ac_c99_inttypes_tr1=no;
18610 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
18612 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18614 /* end confdefs.h. */
18615 #include <inttypes.h>
18617 main ()
18619 intmax_t i, numer, denom, base;
18620 const char* s;
18621 char** endptr;
18622 intmax_t ret = imaxabs(i);
18623 imaxdiv_t dret = imaxdiv(numer, denom);
18624 ret = strtoimax(s, endptr, base);
18625 uintmax_t uret = strtoumax(s, endptr, base);
18628 return 0;
18630 _ACEOF
18631 if ac_fn_cxx_try_compile "$LINENO"; then :
18632 ac_c99_inttypes_tr1=yes
18633 else
18634 ac_c99_inttypes_tr1=no
18636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
18639 $as_echo "$ac_c99_inttypes_tr1" >&6; }
18640 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
18642 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
18646 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
18647 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18648 ac_c99_inttypes_wchar_t_tr1=no;
18649 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
18651 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18653 /* end confdefs.h. */
18654 #include <inttypes.h>
18656 main ()
18658 intmax_t base;
18659 const wchar_t* s;
18660 wchar_t** endptr;
18661 intmax_t ret = wcstoimax(s, endptr, base);
18662 uintmax_t uret = wcstoumax(s, endptr, base);
18665 return 0;
18667 _ACEOF
18668 if ac_fn_cxx_try_compile "$LINENO"; then :
18669 ac_c99_inttypes_wchar_t_tr1=yes
18670 else
18671 ac_c99_inttypes_wchar_t_tr1=no
18673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
18676 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
18677 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
18679 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
18683 # Check for the existence of the <stdbool.h> header.
18684 for ac_header in stdbool.h
18685 do :
18686 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
18687 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
18688 cat >>confdefs.h <<_ACEOF
18689 #define HAVE_STDBOOL_H 1
18690 _ACEOF
18694 done
18697 CXXFLAGS="$ac_save_CXXFLAGS"
18698 ac_ext=c
18699 ac_cpp='$CPP $CPPFLAGS'
18700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18706 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
18709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
18710 $as_echo_n "checking for the value of EOF... " >&6; }
18711 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
18712 $as_echo_n "(cached) " >&6
18713 else
18715 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
18717 else
18718 as_fn_error "computing EOF failed" "$LINENO" 5
18723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
18724 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
18726 cat >>confdefs.h <<_ACEOF
18727 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
18728 _ACEOF
18731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
18732 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
18733 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
18734 $as_echo_n "(cached) " >&6
18735 else
18737 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
18739 else
18740 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
18745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
18746 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
18748 cat >>confdefs.h <<_ACEOF
18749 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
18750 _ACEOF
18753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
18754 $as_echo_n "checking for the value of SEEK_END... " >&6; }
18755 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
18756 $as_echo_n "(cached) " >&6
18757 else
18759 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
18761 else
18762 as_fn_error "computing SEEK_END failed" "$LINENO" 5
18767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
18768 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
18770 cat >>confdefs.h <<_ACEOF
18771 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
18772 _ACEOF
18776 # For gettimeofday support.
18779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18780 $as_echo_n "checking for gettimeofday... " >&6; }
18783 ac_ext=cpp
18784 ac_cpp='$CXXCPP $CPPFLAGS'
18785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18789 ac_save_CXXFLAGS="$CXXFLAGS"
18790 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18792 ac_has_gettimeofday=no;
18793 for ac_header in sys/time.h
18794 do :
18795 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
18796 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
18797 cat >>confdefs.h <<_ACEOF
18798 #define HAVE_SYS_TIME_H 1
18799 _ACEOF
18800 ac_has_sys_time_h=yes
18801 else
18802 ac_has_sys_time_h=no
18805 done
18807 if test x"$ac_has_sys_time_h" = x"yes"; then
18808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18809 $as_echo_n "checking for gettimeofday... " >&6; }
18810 if test x$gcc_no_link = xyes; then
18811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18812 /* end confdefs.h. */
18813 #include <sys/time.h>
18815 main ()
18817 timeval tv; gettimeofday(&tv, 0);
18819 return 0;
18821 _ACEOF
18822 if ac_fn_cxx_try_compile "$LINENO"; then :
18823 ac_has_gettimeofday=yes
18824 else
18825 ac_has_gettimeofday=no
18827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18828 else
18829 if test x$gcc_no_link = xyes; then
18830 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18833 /* end confdefs.h. */
18834 #include <sys/time.h>
18836 main ()
18838 timeval tv; gettimeofday(&tv, 0);
18840 return 0;
18842 _ACEOF
18843 if ac_fn_cxx_try_link "$LINENO"; then :
18844 ac_has_gettimeofday=yes
18845 else
18846 ac_has_gettimeofday=no
18848 rm -f core conftest.err conftest.$ac_objext \
18849 conftest$ac_exeext conftest.$ac_ext
18852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
18853 $as_echo "$ac_has_gettimeofday" >&6; }
18856 if test x"$ac_has_gettimeofday" = x"yes"; then
18858 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
18862 CXXFLAGS="$ac_save_CXXFLAGS"
18863 ac_ext=c
18864 ac_cpp='$CPP $CPPFLAGS'
18865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18871 # For clock_gettime, nanosleep and sched_yield support.
18872 # NB: The default is [no], because otherwise it requires linking.
18875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
18876 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
18877 # Check whether --enable-libstdcxx-time was given.
18878 if test "${enable_libstdcxx_time+set}" = set; then :
18879 enableval=$enable_libstdcxx_time;
18880 case "$enableval" in
18881 yes|no|rt) ;;
18882 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
18883 esac
18885 else
18886 enable_libstdcxx_time=no
18892 ac_ext=cpp
18893 ac_cpp='$CXXCPP $CPPFLAGS'
18894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18898 ac_save_CXXFLAGS="$CXXFLAGS"
18899 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18900 ac_save_LIBS="$LIBS"
18902 ac_has_clock_monotonic=no
18903 ac_has_clock_realtime=no
18904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
18905 $as_echo "$enable_libstdcxx_time" >&6; }
18907 if test x"$enable_libstdcxx_time" != x"no"; then
18909 if test x"$enable_libstdcxx_time" = x"rt"; then
18910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18911 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18912 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18913 $as_echo_n "(cached) " >&6
18914 else
18915 ac_func_search_save_LIBS=$LIBS
18916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18917 /* end confdefs.h. */
18919 /* Override any GCC internal prototype to avoid an error.
18920 Use char because int might match the return type of a GCC
18921 builtin and then its argument prototype would still apply. */
18922 #ifdef __cplusplus
18923 extern "C"
18924 #endif
18925 char clock_gettime ();
18927 main ()
18929 return clock_gettime ();
18931 return 0;
18933 _ACEOF
18934 for ac_lib in '' rt posix4; do
18935 if test -z "$ac_lib"; then
18936 ac_res="none required"
18937 else
18938 ac_res=-l$ac_lib
18939 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18941 if test x$gcc_no_link = xyes; then
18942 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18944 if ac_fn_cxx_try_link "$LINENO"; then :
18945 ac_cv_search_clock_gettime=$ac_res
18947 rm -f core conftest.err conftest.$ac_objext \
18948 conftest$ac_exeext
18949 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18950 break
18952 done
18953 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18955 else
18956 ac_cv_search_clock_gettime=no
18958 rm conftest.$ac_ext
18959 LIBS=$ac_func_search_save_LIBS
18961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18962 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18963 ac_res=$ac_cv_search_clock_gettime
18964 if test "$ac_res" != no; then :
18965 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
18970 $as_echo_n "checking for library containing nanosleep... " >&6; }
18971 if test "${ac_cv_search_nanosleep+set}" = set; then :
18972 $as_echo_n "(cached) " >&6
18973 else
18974 ac_func_search_save_LIBS=$LIBS
18975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18976 /* end confdefs.h. */
18978 /* Override any GCC internal prototype to avoid an error.
18979 Use char because int might match the return type of a GCC
18980 builtin and then its argument prototype would still apply. */
18981 #ifdef __cplusplus
18982 extern "C"
18983 #endif
18984 char nanosleep ();
18986 main ()
18988 return nanosleep ();
18990 return 0;
18992 _ACEOF
18993 for ac_lib in '' rt posix4; do
18994 if test -z "$ac_lib"; then
18995 ac_res="none required"
18996 else
18997 ac_res=-l$ac_lib
18998 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19000 if test x$gcc_no_link = xyes; then
19001 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19003 if ac_fn_cxx_try_link "$LINENO"; then :
19004 ac_cv_search_nanosleep=$ac_res
19006 rm -f core conftest.err conftest.$ac_objext \
19007 conftest$ac_exeext
19008 if test "${ac_cv_search_nanosleep+set}" = set; then :
19009 break
19011 done
19012 if test "${ac_cv_search_nanosleep+set}" = set; then :
19014 else
19015 ac_cv_search_nanosleep=no
19017 rm conftest.$ac_ext
19018 LIBS=$ac_func_search_save_LIBS
19020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19021 $as_echo "$ac_cv_search_nanosleep" >&6; }
19022 ac_res=$ac_cv_search_nanosleep
19023 if test "$ac_res" != no; then :
19024 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19028 else
19029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19030 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19031 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19032 $as_echo_n "(cached) " >&6
19033 else
19034 ac_func_search_save_LIBS=$LIBS
19035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19036 /* end confdefs.h. */
19038 /* Override any GCC internal prototype to avoid an error.
19039 Use char because int might match the return type of a GCC
19040 builtin and then its argument prototype would still apply. */
19041 #ifdef __cplusplus
19042 extern "C"
19043 #endif
19044 char clock_gettime ();
19046 main ()
19048 return clock_gettime ();
19050 return 0;
19052 _ACEOF
19053 for ac_lib in '' posix4; do
19054 if test -z "$ac_lib"; then
19055 ac_res="none required"
19056 else
19057 ac_res=-l$ac_lib
19058 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19060 if test x$gcc_no_link = xyes; then
19061 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19063 if ac_fn_cxx_try_link "$LINENO"; then :
19064 ac_cv_search_clock_gettime=$ac_res
19066 rm -f core conftest.err conftest.$ac_objext \
19067 conftest$ac_exeext
19068 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19069 break
19071 done
19072 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19074 else
19075 ac_cv_search_clock_gettime=no
19077 rm conftest.$ac_ext
19078 LIBS=$ac_func_search_save_LIBS
19080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19081 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19082 ac_res=$ac_cv_search_clock_gettime
19083 if test "$ac_res" != no; then :
19084 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19089 $as_echo_n "checking for library containing nanosleep... " >&6; }
19090 if test "${ac_cv_search_nanosleep+set}" = set; then :
19091 $as_echo_n "(cached) " >&6
19092 else
19093 ac_func_search_save_LIBS=$LIBS
19094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19095 /* end confdefs.h. */
19097 /* Override any GCC internal prototype to avoid an error.
19098 Use char because int might match the return type of a GCC
19099 builtin and then its argument prototype would still apply. */
19100 #ifdef __cplusplus
19101 extern "C"
19102 #endif
19103 char nanosleep ();
19105 main ()
19107 return nanosleep ();
19109 return 0;
19111 _ACEOF
19112 for ac_lib in '' posix4; do
19113 if test -z "$ac_lib"; then
19114 ac_res="none required"
19115 else
19116 ac_res=-l$ac_lib
19117 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19119 if test x$gcc_no_link = xyes; then
19120 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19122 if ac_fn_cxx_try_link "$LINENO"; then :
19123 ac_cv_search_nanosleep=$ac_res
19125 rm -f core conftest.err conftest.$ac_objext \
19126 conftest$ac_exeext
19127 if test "${ac_cv_search_nanosleep+set}" = set; then :
19128 break
19130 done
19131 if test "${ac_cv_search_nanosleep+set}" = set; then :
19133 else
19134 ac_cv_search_nanosleep=no
19136 rm conftest.$ac_ext
19137 LIBS=$ac_func_search_save_LIBS
19139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19140 $as_echo "$ac_cv_search_nanosleep" >&6; }
19141 ac_res=$ac_cv_search_nanosleep
19142 if test "$ac_res" != no; then :
19143 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19149 case "$ac_cv_search_clock_gettime" in
19150 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19152 esac
19153 case "$ac_cv_search_nanosleep" in
19154 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19156 esac
19158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19159 $as_echo_n "checking for library containing sched_yield... " >&6; }
19160 if test "${ac_cv_search_sched_yield+set}" = set; then :
19161 $as_echo_n "(cached) " >&6
19162 else
19163 ac_func_search_save_LIBS=$LIBS
19164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19165 /* end confdefs.h. */
19167 /* Override any GCC internal prototype to avoid an error.
19168 Use char because int might match the return type of a GCC
19169 builtin and then its argument prototype would still apply. */
19170 #ifdef __cplusplus
19171 extern "C"
19172 #endif
19173 char sched_yield ();
19175 main ()
19177 return sched_yield ();
19179 return 0;
19181 _ACEOF
19182 for ac_lib in '' rt posix4; do
19183 if test -z "$ac_lib"; then
19184 ac_res="none required"
19185 else
19186 ac_res=-l$ac_lib
19187 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19189 if test x$gcc_no_link = xyes; then
19190 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19192 if ac_fn_cxx_try_link "$LINENO"; then :
19193 ac_cv_search_sched_yield=$ac_res
19195 rm -f core conftest.err conftest.$ac_objext \
19196 conftest$ac_exeext
19197 if test "${ac_cv_search_sched_yield+set}" = set; then :
19198 break
19200 done
19201 if test "${ac_cv_search_sched_yield+set}" = set; then :
19203 else
19204 ac_cv_search_sched_yield=no
19206 rm conftest.$ac_ext
19207 LIBS=$ac_func_search_save_LIBS
19209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19210 $as_echo "$ac_cv_search_sched_yield" >&6; }
19211 ac_res=$ac_cv_search_sched_yield
19212 if test "$ac_res" != no; then :
19213 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19218 case "$ac_cv_search_sched_yield" in
19219 -lposix4*)
19220 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19222 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19225 -lrt*)
19226 if test x"$enable_libstdcxx_time" = x"rt"; then
19227 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19229 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19235 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19238 esac
19240 for ac_header in unistd.h
19241 do :
19242 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19243 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19244 cat >>confdefs.h <<_ACEOF
19245 #define HAVE_UNISTD_H 1
19246 _ACEOF
19247 ac_has_unistd_h=yes
19248 else
19249 ac_has_unistd_h=no
19252 done
19255 if test x"$ac_has_unistd_h" = x"yes"; then
19256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19257 $as_echo_n "checking for monotonic clock... " >&6; }
19258 if test x$gcc_no_link = xyes; then
19259 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19262 /* end confdefs.h. */
19263 #include <unistd.h>
19264 #include <time.h>
19267 main ()
19269 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19270 timespec tp;
19271 #endif
19272 clock_gettime(CLOCK_MONOTONIC, &tp);
19275 return 0;
19277 _ACEOF
19278 if ac_fn_cxx_try_link "$LINENO"; then :
19279 ac_has_clock_monotonic=yes
19280 else
19281 ac_has_clock_monotonic=no
19283 rm -f core conftest.err conftest.$ac_objext \
19284 conftest$ac_exeext conftest.$ac_ext
19286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19287 $as_echo "$ac_has_clock_monotonic" >&6; }
19289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19290 $as_echo_n "checking for realtime clock... " >&6; }
19291 if test x$gcc_no_link = xyes; then
19292 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19295 /* end confdefs.h. */
19296 #include <unistd.h>
19297 #include <time.h>
19300 main ()
19302 #if _POSIX_TIMERS > 0
19303 timespec tp;
19304 #endif
19305 clock_gettime(CLOCK_REALTIME, &tp);
19308 return 0;
19310 _ACEOF
19311 if ac_fn_cxx_try_link "$LINENO"; then :
19312 ac_has_clock_realtime=yes
19313 else
19314 ac_has_clock_realtime=no
19316 rm -f core conftest.err conftest.$ac_objext \
19317 conftest$ac_exeext conftest.$ac_ext
19319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19320 $as_echo "$ac_has_clock_realtime" >&6; }
19322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19323 $as_echo_n "checking for nanosleep... " >&6; }
19324 if test x$gcc_no_link = xyes; then
19325 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19328 /* end confdefs.h. */
19329 #include <unistd.h>
19330 #include <time.h>
19333 main ()
19335 #if _POSIX_TIMERS > 0
19336 timespec tp;
19337 #endif
19338 nanosleep(&tp, 0);
19341 return 0;
19343 _ACEOF
19344 if ac_fn_cxx_try_link "$LINENO"; then :
19345 ac_has_nanosleep=yes
19346 else
19347 ac_has_nanosleep=no
19349 rm -f core conftest.err conftest.$ac_objext \
19350 conftest$ac_exeext conftest.$ac_ext
19352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19353 $as_echo "$ac_has_nanosleep" >&6; }
19357 if test x"$ac_has_clock_monotonic" = x"yes"; then
19359 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19363 if test x"$ac_has_clock_realtime" = x"yes"; then
19365 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19369 if test x"$ac_has_nanosleep" = x"yes"; then
19371 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19377 CXXFLAGS="$ac_save_CXXFLAGS"
19378 LIBS="$ac_save_LIBS"
19379 ac_ext=c
19380 ac_cpp='$CPP $CPPFLAGS'
19381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19387 # For gthread support
19390 ac_ext=cpp
19391 ac_cpp='$CXXCPP $CPPFLAGS'
19392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19397 ac_save_CXXFLAGS="$CXXFLAGS"
19398 CXXFLAGS="$CXXFLAGS -fno-exceptions -I${toplevel_srcdir}/gcc"
19400 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
19401 case $target_thread_file in
19402 posix)
19403 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
19404 esac
19406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
19407 $as_echo_n "checking for gthreads library... " >&6; }
19409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19410 /* end confdefs.h. */
19411 #include "gthr.h"
19413 main ()
19416 #ifndef __GTHREADS_CXX0X
19417 #error
19418 #endif
19420 // In case of POSIX threads check _POSIX_TIMEOUTS too.
19421 #if (defined(_PTHREADS) \
19422 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
19423 #error
19424 #endif
19427 return 0;
19429 _ACEOF
19430 if ac_fn_cxx_try_compile "$LINENO"; then :
19431 ac_has_gthreads=yes
19432 else
19433 ac_has_gthreads=no
19435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
19438 $as_echo "$ac_has_gthreads" >&6; }
19440 if test x"$ac_has_gthreads" = x"yes"; then
19442 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
19446 CXXFLAGS="$ac_save_CXXFLAGS"
19447 ac_ext=c
19448 ac_cpp='$CPP $CPPFLAGS'
19449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19456 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19457 if test "x$ac_cv_header_locale_h" = x""yes; then :
19459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19460 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19461 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19462 $as_echo_n "(cached) " >&6
19463 else
19464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19465 /* end confdefs.h. */
19466 #include <locale.h>
19468 main ()
19470 return LC_MESSAGES
19472 return 0;
19474 _ACEOF
19475 if ac_fn_c_try_compile "$LINENO"; then :
19476 ac_cv_val_LC_MESSAGES=yes
19477 else
19478 ac_cv_val_LC_MESSAGES=no
19480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19483 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19484 if test $ac_cv_val_LC_MESSAGES = yes; then
19486 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19495 # Check for available headers.
19496 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
19497 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
19498 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
19499 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
19500 wchar.h wctype.h
19501 do :
19502 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19503 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19504 eval as_val=\$$as_ac_Header
19505 if test "x$as_val" = x""yes; then :
19506 cat >>confdefs.h <<_ACEOF
19507 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19508 _ACEOF
19512 done
19515 # Only do link tests if native. Else, hardcode.
19516 if $GLIBCXX_IS_NATIVE; then
19518 # We can do more elaborate tests that assume a working linker.
19519 CANADIAN=no
19523 # Check whether --with-gnu-ld was given.
19524 if test "${with_gnu_ld+set}" = set; then :
19525 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
19526 else
19527 with_gnu_ld=no
19530 ac_prog=ld
19531 if test "$GCC" = yes; then
19532 # Check if gcc -print-prog-name=ld gives a path.
19533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
19534 $as_echo_n "checking for ld used by $CC... " >&6; }
19535 case $host in
19536 *-*-mingw*)
19537 # gcc leaves a trailing carriage return which upsets mingw
19538 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
19540 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
19541 esac
19542 case $ac_prog in
19543 # Accept absolute paths.
19544 [\\/]* | ?:[\\/]*)
19545 re_direlt='/[^/][^/]*/\.\./'
19546 # Canonicalize the pathname of ld
19547 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
19548 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
19549 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
19550 done
19551 test -z "$LD" && LD="$ac_prog"
19554 # If it fails, then pretend we aren't using GCC.
19555 ac_prog=ld
19558 # If it is relative, then search for the first ld in PATH.
19559 with_gnu_ld=unknown
19561 esac
19562 elif test "$with_gnu_ld" = yes; then
19563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
19564 $as_echo_n "checking for GNU ld... " >&6; }
19565 else
19566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
19567 $as_echo_n "checking for non-GNU ld... " >&6; }
19569 if test "${lt_cv_path_LD+set}" = set; then :
19570 $as_echo_n "(cached) " >&6
19571 else
19572 if test -z "$LD"; then
19573 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
19574 for ac_dir in $PATH; do
19575 IFS="$lt_save_ifs"
19576 test -z "$ac_dir" && ac_dir=.
19577 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
19578 lt_cv_path_LD="$ac_dir/$ac_prog"
19579 # Check to see if the program is GNU ld. I'd rather use --version,
19580 # but apparently some variants of GNU ld only accept -v.
19581 # Break only if it was the GNU/non-GNU ld that we prefer.
19582 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
19583 *GNU* | *'with BFD'*)
19584 test "$with_gnu_ld" != no && break
19587 test "$with_gnu_ld" != yes && break
19589 esac
19591 done
19592 IFS="$lt_save_ifs"
19593 else
19594 lt_cv_path_LD="$LD" # Let the user override the test with a path.
19598 LD="$lt_cv_path_LD"
19599 if test -n "$LD"; then
19600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
19601 $as_echo "$LD" >&6; }
19602 else
19603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19604 $as_echo "no" >&6; }
19606 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
19607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
19608 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
19609 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
19610 $as_echo_n "(cached) " >&6
19611 else
19612 # I'd rather use --version here, but apparently some GNU lds only accept -v.
19613 case `$LD -v 2>&1 </dev/null` in
19614 *GNU* | *'with BFD'*)
19615 lt_cv_prog_gnu_ld=yes
19618 lt_cv_prog_gnu_ld=no
19620 esac
19622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
19623 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
19624 with_gnu_ld=$lt_cv_prog_gnu_ld
19632 # If we're not using GNU ld, then there's no point in even trying these
19633 # tests. Check for that first. We should have already tested for gld
19634 # by now (in libtool), but require it now just to be safe...
19635 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
19636 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
19640 # The name set by libtool depends on the version of libtool. Shame on us
19641 # for depending on an impl detail, but c'est la vie. Older versions used
19642 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
19643 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
19644 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
19645 # set (hence we're using an older libtool), then set it.
19646 if test x${with_gnu_ld+set} != xset; then
19647 if test x${ac_cv_prog_gnu_ld+set} != xset; then
19648 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
19649 with_gnu_ld=no
19650 else
19651 with_gnu_ld=$ac_cv_prog_gnu_ld
19655 # Start by getting the version number. I think the libtool test already
19656 # does some of this, but throws away the result.
19657 glibcxx_ld_is_gold=no
19658 if test x"$with_gnu_ld" = x"yes"; then
19659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
19660 $as_echo_n "checking for ld version... " >&6; }
19662 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
19663 glibcxx_ld_is_gold=yes
19665 ldver=`$LD --version 2>/dev/null |
19666 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'`
19668 glibcxx_gnu_ld_version=`echo $ldver | \
19669 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
19670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
19671 $as_echo "$glibcxx_gnu_ld_version" >&6; }
19674 # Set --gc-sections.
19675 glibcxx_have_gc_sections=no
19676 if test "$glibcxx_ld_is_gold" = "yes"; then
19677 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
19678 glibcxx_have_gc_sections=yes
19680 else
19681 glibcxx_gcsections_min_ld=21602
19682 if test x"$with_gnu_ld" = x"yes" &&
19683 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
19684 glibcxx_have_gc_sections=yes
19687 if test "$glibcxx_have_gc_sections" = "yes"; then
19688 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
19689 # NB: This flag only works reliably after 2.16.1. Configure tests
19690 # for this are difficult, so hard wire a value that should work.
19692 ac_test_CFLAGS="${CFLAGS+set}"
19693 ac_save_CFLAGS="$CFLAGS"
19694 CFLAGS='-Wl,--gc-sections'
19696 # Check for -Wl,--gc-sections
19697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
19698 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
19699 if test x$gcc_no_link = xyes; then
19700 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19703 /* end confdefs.h. */
19704 int one(void) { return 1; }
19705 int two(void) { return 2; }
19708 main ()
19710 two();
19712 return 0;
19714 _ACEOF
19715 if ac_fn_c_try_link "$LINENO"; then :
19716 ac_gcsections=yes
19717 else
19718 ac_gcsections=no
19720 rm -f core conftest.err conftest.$ac_objext \
19721 conftest$ac_exeext conftest.$ac_ext
19722 if test "$ac_gcsections" = "yes"; then
19723 rm -f conftest.c
19724 touch conftest.c
19725 if $CC -c conftest.c; then
19726 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
19727 grep "Warning: gc-sections option ignored" > /dev/null; then
19728 ac_gcsections=no
19731 rm -f conftest.c conftest.o conftest
19733 if test "$ac_gcsections" = "yes"; then
19734 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
19736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
19737 $as_echo "$ac_gcsections" >&6; }
19739 if test "$ac_test_CFLAGS" = set; then
19740 CFLAGS="$ac_save_CFLAGS"
19741 else
19742 # this is the suspicious part
19743 CFLAGS=''
19747 # Set -z,relro.
19748 # Note this is only for shared objects.
19749 ac_ld_relro=no
19750 if test x"$with_gnu_ld" = x"yes"; then
19751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
19752 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
19753 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
19754 if test -n "$cxx_z_relo"; then
19755 OPT_LDFLAGS="-Wl,-z,relro"
19756 ac_ld_relro=yes
19758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
19759 $as_echo "$ac_ld_relro" >&6; }
19762 # Set linker optimization flags.
19763 if test x"$with_gnu_ld" = x"yes"; then
19764 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
19771 ac_test_CXXFLAGS="${CXXFLAGS+set}"
19772 ac_save_CXXFLAGS="$CXXFLAGS"
19773 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
19775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
19776 $as_echo_n "checking for sin in -lm... " >&6; }
19777 if test "${ac_cv_lib_m_sin+set}" = set; then :
19778 $as_echo_n "(cached) " >&6
19779 else
19780 ac_check_lib_save_LIBS=$LIBS
19781 LIBS="-lm $LIBS"
19782 if test x$gcc_no_link = xyes; then
19783 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19786 /* end confdefs.h. */
19788 /* Override any GCC internal prototype to avoid an error.
19789 Use char because int might match the return type of a GCC
19790 builtin and then its argument prototype would still apply. */
19791 #ifdef __cplusplus
19792 extern "C"
19793 #endif
19794 char sin ();
19796 main ()
19798 return sin ();
19800 return 0;
19802 _ACEOF
19803 if ac_fn_c_try_link "$LINENO"; then :
19804 ac_cv_lib_m_sin=yes
19805 else
19806 ac_cv_lib_m_sin=no
19808 rm -f core conftest.err conftest.$ac_objext \
19809 conftest$ac_exeext conftest.$ac_ext
19810 LIBS=$ac_check_lib_save_LIBS
19812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
19813 $as_echo "$ac_cv_lib_m_sin" >&6; }
19814 if test "x$ac_cv_lib_m_sin" = x""yes; then :
19815 libm="-lm"
19818 ac_save_LIBS="$LIBS"
19819 LIBS="$LIBS $libm"
19823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
19824 $as_echo_n "checking for isinf declaration... " >&6; }
19825 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
19826 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
19827 $as_echo_n "(cached) " >&6
19828 else
19831 ac_ext=cpp
19832 ac_cpp='$CXXCPP $CPPFLAGS'
19833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19838 /* end confdefs.h. */
19839 #include <math.h>
19840 #ifdef HAVE_IEEEFP_H
19841 #include <ieeefp.h>
19842 #endif
19845 main ()
19847 isinf(0);
19849 return 0;
19851 _ACEOF
19852 if ac_fn_cxx_try_compile "$LINENO"; then :
19853 glibcxx_cv_func_isinf_use=yes
19854 else
19855 glibcxx_cv_func_isinf_use=no
19857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19858 ac_ext=c
19859 ac_cpp='$CPP $CPPFLAGS'
19860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
19869 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
19871 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
19872 for ac_func in isinf
19873 do :
19874 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
19875 if test "x$ac_cv_func_isinf" = x""yes; then :
19876 cat >>confdefs.h <<_ACEOF
19877 #define HAVE_ISINF 1
19878 _ACEOF
19881 done
19883 else
19885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
19886 $as_echo_n "checking for _isinf declaration... " >&6; }
19887 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
19888 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
19889 $as_echo_n "(cached) " >&6
19890 else
19893 ac_ext=cpp
19894 ac_cpp='$CXXCPP $CPPFLAGS'
19895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19900 /* end confdefs.h. */
19901 #include <math.h>
19902 #ifdef HAVE_IEEEFP_H
19903 #include <ieeefp.h>
19904 #endif
19907 main ()
19909 _isinf(0);
19911 return 0;
19913 _ACEOF
19914 if ac_fn_cxx_try_compile "$LINENO"; then :
19915 glibcxx_cv_func__isinf_use=yes
19916 else
19917 glibcxx_cv_func__isinf_use=no
19919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19920 ac_ext=c
19921 ac_cpp='$CPP $CPPFLAGS'
19922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
19931 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
19933 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
19934 for ac_func in _isinf
19935 do :
19936 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
19937 if test "x$ac_cv_func__isinf" = x""yes; then :
19938 cat >>confdefs.h <<_ACEOF
19939 #define HAVE__ISINF 1
19940 _ACEOF
19943 done
19952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
19953 $as_echo_n "checking for isnan declaration... " >&6; }
19954 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
19955 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
19956 $as_echo_n "(cached) " >&6
19957 else
19960 ac_ext=cpp
19961 ac_cpp='$CXXCPP $CPPFLAGS'
19962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19967 /* end confdefs.h. */
19968 #include <math.h>
19969 #ifdef HAVE_IEEEFP_H
19970 #include <ieeefp.h>
19971 #endif
19974 main ()
19976 isnan(0);
19978 return 0;
19980 _ACEOF
19981 if ac_fn_cxx_try_compile "$LINENO"; then :
19982 glibcxx_cv_func_isnan_use=yes
19983 else
19984 glibcxx_cv_func_isnan_use=no
19986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19987 ac_ext=c
19988 ac_cpp='$CPP $CPPFLAGS'
19989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
19998 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
20000 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
20001 for ac_func in isnan
20002 do :
20003 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
20004 if test "x$ac_cv_func_isnan" = x""yes; then :
20005 cat >>confdefs.h <<_ACEOF
20006 #define HAVE_ISNAN 1
20007 _ACEOF
20010 done
20012 else
20014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
20015 $as_echo_n "checking for _isnan declaration... " >&6; }
20016 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20017 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
20018 $as_echo_n "(cached) " >&6
20019 else
20022 ac_ext=cpp
20023 ac_cpp='$CXXCPP $CPPFLAGS'
20024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20029 /* end confdefs.h. */
20030 #include <math.h>
20031 #ifdef HAVE_IEEEFP_H
20032 #include <ieeefp.h>
20033 #endif
20036 main ()
20038 _isnan(0);
20040 return 0;
20042 _ACEOF
20043 if ac_fn_cxx_try_compile "$LINENO"; then :
20044 glibcxx_cv_func__isnan_use=yes
20045 else
20046 glibcxx_cv_func__isnan_use=no
20048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20049 ac_ext=c
20050 ac_cpp='$CPP $CPPFLAGS'
20051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20060 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20062 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20063 for ac_func in _isnan
20064 do :
20065 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20066 if test "x$ac_cv_func__isnan" = x""yes; then :
20067 cat >>confdefs.h <<_ACEOF
20068 #define HAVE__ISNAN 1
20069 _ACEOF
20072 done
20081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20082 $as_echo_n "checking for finite declaration... " >&6; }
20083 if test x${glibcxx_cv_func_finite_use+set} != xset; then
20084 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20085 $as_echo_n "(cached) " >&6
20086 else
20089 ac_ext=cpp
20090 ac_cpp='$CXXCPP $CPPFLAGS'
20091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20096 /* end confdefs.h. */
20097 #include <math.h>
20098 #ifdef HAVE_IEEEFP_H
20099 #include <ieeefp.h>
20100 #endif
20103 main ()
20105 finite(0);
20107 return 0;
20109 _ACEOF
20110 if ac_fn_cxx_try_compile "$LINENO"; then :
20111 glibcxx_cv_func_finite_use=yes
20112 else
20113 glibcxx_cv_func_finite_use=no
20115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20116 ac_ext=c
20117 ac_cpp='$CPP $CPPFLAGS'
20118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20127 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20129 if test x$glibcxx_cv_func_finite_use = x"yes"; then
20130 for ac_func in finite
20131 do :
20132 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20133 if test "x$ac_cv_func_finite" = x""yes; then :
20134 cat >>confdefs.h <<_ACEOF
20135 #define HAVE_FINITE 1
20136 _ACEOF
20139 done
20141 else
20143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20144 $as_echo_n "checking for _finite declaration... " >&6; }
20145 if test x${glibcxx_cv_func__finite_use+set} != xset; then
20146 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
20147 $as_echo_n "(cached) " >&6
20148 else
20151 ac_ext=cpp
20152 ac_cpp='$CXXCPP $CPPFLAGS'
20153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20158 /* end confdefs.h. */
20159 #include <math.h>
20160 #ifdef HAVE_IEEEFP_H
20161 #include <ieeefp.h>
20162 #endif
20165 main ()
20167 _finite(0);
20169 return 0;
20171 _ACEOF
20172 if ac_fn_cxx_try_compile "$LINENO"; then :
20173 glibcxx_cv_func__finite_use=yes
20174 else
20175 glibcxx_cv_func__finite_use=no
20177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20178 ac_ext=c
20179 ac_cpp='$CPP $CPPFLAGS'
20180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
20189 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
20191 if test x$glibcxx_cv_func__finite_use = x"yes"; then
20192 for ac_func in _finite
20193 do :
20194 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
20195 if test "x$ac_cv_func__finite" = x""yes; then :
20196 cat >>confdefs.h <<_ACEOF
20197 #define HAVE__FINITE 1
20198 _ACEOF
20201 done
20210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
20211 $as_echo_n "checking for sincos declaration... " >&6; }
20212 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20213 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
20214 $as_echo_n "(cached) " >&6
20215 else
20218 ac_ext=cpp
20219 ac_cpp='$CXXCPP $CPPFLAGS'
20220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20225 /* end confdefs.h. */
20226 #include <math.h>
20228 main ()
20230 sincos(0, 0, 0);
20232 return 0;
20234 _ACEOF
20235 if ac_fn_cxx_try_compile "$LINENO"; then :
20236 glibcxx_cv_func_sincos_use=yes
20237 else
20238 glibcxx_cv_func_sincos_use=no
20240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20241 ac_ext=c
20242 ac_cpp='$CPP $CPPFLAGS'
20243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
20252 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
20254 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20255 for ac_func in sincos
20256 do :
20257 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
20258 if test "x$ac_cv_func_sincos" = x""yes; then :
20259 cat >>confdefs.h <<_ACEOF
20260 #define HAVE_SINCOS 1
20261 _ACEOF
20264 done
20266 else
20268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
20269 $as_echo_n "checking for _sincos declaration... " >&6; }
20270 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20271 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
20272 $as_echo_n "(cached) " >&6
20273 else
20276 ac_ext=cpp
20277 ac_cpp='$CXXCPP $CPPFLAGS'
20278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20283 /* end confdefs.h. */
20284 #include <math.h>
20286 main ()
20288 _sincos(0, 0, 0);
20290 return 0;
20292 _ACEOF
20293 if ac_fn_cxx_try_compile "$LINENO"; then :
20294 glibcxx_cv_func__sincos_use=yes
20295 else
20296 glibcxx_cv_func__sincos_use=no
20298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20299 ac_ext=c
20300 ac_cpp='$CPP $CPPFLAGS'
20301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
20310 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
20312 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20313 for ac_func in _sincos
20314 do :
20315 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
20316 if test "x$ac_cv_func__sincos" = x""yes; then :
20317 cat >>confdefs.h <<_ACEOF
20318 #define HAVE__SINCOS 1
20319 _ACEOF
20322 done
20331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
20332 $as_echo_n "checking for fpclass declaration... " >&6; }
20333 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20334 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
20335 $as_echo_n "(cached) " >&6
20336 else
20339 ac_ext=cpp
20340 ac_cpp='$CXXCPP $CPPFLAGS'
20341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20346 /* end confdefs.h. */
20347 #include <math.h>
20348 #ifdef HAVE_IEEEFP_H
20349 #include <ieeefp.h>
20350 #endif
20353 main ()
20355 fpclass(0);
20357 return 0;
20359 _ACEOF
20360 if ac_fn_cxx_try_compile "$LINENO"; then :
20361 glibcxx_cv_func_fpclass_use=yes
20362 else
20363 glibcxx_cv_func_fpclass_use=no
20365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20366 ac_ext=c
20367 ac_cpp='$CPP $CPPFLAGS'
20368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
20377 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
20379 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20380 for ac_func in fpclass
20381 do :
20382 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
20383 if test "x$ac_cv_func_fpclass" = x""yes; then :
20384 cat >>confdefs.h <<_ACEOF
20385 #define HAVE_FPCLASS 1
20386 _ACEOF
20389 done
20391 else
20393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
20394 $as_echo_n "checking for _fpclass declaration... " >&6; }
20395 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20396 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
20397 $as_echo_n "(cached) " >&6
20398 else
20401 ac_ext=cpp
20402 ac_cpp='$CXXCPP $CPPFLAGS'
20403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20408 /* end confdefs.h. */
20409 #include <math.h>
20410 #ifdef HAVE_IEEEFP_H
20411 #include <ieeefp.h>
20412 #endif
20415 main ()
20417 _fpclass(0);
20419 return 0;
20421 _ACEOF
20422 if ac_fn_cxx_try_compile "$LINENO"; then :
20423 glibcxx_cv_func__fpclass_use=yes
20424 else
20425 glibcxx_cv_func__fpclass_use=no
20427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20428 ac_ext=c
20429 ac_cpp='$CPP $CPPFLAGS'
20430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
20439 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
20441 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20442 for ac_func in _fpclass
20443 do :
20444 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
20445 if test "x$ac_cv_func__fpclass" = x""yes; then :
20446 cat >>confdefs.h <<_ACEOF
20447 #define HAVE__FPCLASS 1
20448 _ACEOF
20451 done
20460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
20461 $as_echo_n "checking for qfpclass declaration... " >&6; }
20462 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
20463 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
20464 $as_echo_n "(cached) " >&6
20465 else
20468 ac_ext=cpp
20469 ac_cpp='$CXXCPP $CPPFLAGS'
20470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20475 /* end confdefs.h. */
20476 #include <math.h>
20477 #ifdef HAVE_IEEEFP_H
20478 #include <ieeefp.h>
20479 #endif
20482 main ()
20484 qfpclass(0);
20486 return 0;
20488 _ACEOF
20489 if ac_fn_cxx_try_compile "$LINENO"; then :
20490 glibcxx_cv_func_qfpclass_use=yes
20491 else
20492 glibcxx_cv_func_qfpclass_use=no
20494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20495 ac_ext=c
20496 ac_cpp='$CPP $CPPFLAGS'
20497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
20506 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
20508 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
20509 for ac_func in qfpclass
20510 do :
20511 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
20512 if test "x$ac_cv_func_qfpclass" = x""yes; then :
20513 cat >>confdefs.h <<_ACEOF
20514 #define HAVE_QFPCLASS 1
20515 _ACEOF
20518 done
20520 else
20522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
20523 $as_echo_n "checking for _qfpclass declaration... " >&6; }
20524 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
20525 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
20526 $as_echo_n "(cached) " >&6
20527 else
20530 ac_ext=cpp
20531 ac_cpp='$CXXCPP $CPPFLAGS'
20532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20537 /* end confdefs.h. */
20538 #include <math.h>
20539 #ifdef HAVE_IEEEFP_H
20540 #include <ieeefp.h>
20541 #endif
20544 main ()
20546 _qfpclass(0);
20548 return 0;
20550 _ACEOF
20551 if ac_fn_cxx_try_compile "$LINENO"; then :
20552 glibcxx_cv_func__qfpclass_use=yes
20553 else
20554 glibcxx_cv_func__qfpclass_use=no
20556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20557 ac_ext=c
20558 ac_cpp='$CPP $CPPFLAGS'
20559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
20568 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
20570 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
20571 for ac_func in _qfpclass
20572 do :
20573 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
20574 if test "x$ac_cv_func__qfpclass" = x""yes; then :
20575 cat >>confdefs.h <<_ACEOF
20576 #define HAVE__QFPCLASS 1
20577 _ACEOF
20580 done
20589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
20590 $as_echo_n "checking for hypot declaration... " >&6; }
20591 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
20592 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
20593 $as_echo_n "(cached) " >&6
20594 else
20597 ac_ext=cpp
20598 ac_cpp='$CXXCPP $CPPFLAGS'
20599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20604 /* end confdefs.h. */
20605 #include <math.h>
20607 main ()
20609 hypot(0, 0);
20611 return 0;
20613 _ACEOF
20614 if ac_fn_cxx_try_compile "$LINENO"; then :
20615 glibcxx_cv_func_hypot_use=yes
20616 else
20617 glibcxx_cv_func_hypot_use=no
20619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20620 ac_ext=c
20621 ac_cpp='$CPP $CPPFLAGS'
20622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
20631 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
20633 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
20634 for ac_func in hypot
20635 do :
20636 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
20637 if test "x$ac_cv_func_hypot" = x""yes; then :
20638 cat >>confdefs.h <<_ACEOF
20639 #define HAVE_HYPOT 1
20640 _ACEOF
20643 done
20645 else
20647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
20648 $as_echo_n "checking for _hypot declaration... " >&6; }
20649 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
20650 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
20651 $as_echo_n "(cached) " >&6
20652 else
20655 ac_ext=cpp
20656 ac_cpp='$CXXCPP $CPPFLAGS'
20657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20662 /* end confdefs.h. */
20663 #include <math.h>
20665 main ()
20667 _hypot(0, 0);
20669 return 0;
20671 _ACEOF
20672 if ac_fn_cxx_try_compile "$LINENO"; then :
20673 glibcxx_cv_func__hypot_use=yes
20674 else
20675 glibcxx_cv_func__hypot_use=no
20677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20678 ac_ext=c
20679 ac_cpp='$CPP $CPPFLAGS'
20680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
20689 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
20691 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
20692 for ac_func in _hypot
20693 do :
20694 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
20695 if test "x$ac_cv_func__hypot" = x""yes; then :
20696 cat >>confdefs.h <<_ACEOF
20697 #define HAVE__HYPOT 1
20698 _ACEOF
20701 done
20710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
20711 $as_echo_n "checking for float trig functions... " >&6; }
20712 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
20713 $as_echo_n "(cached) " >&6
20714 else
20717 ac_ext=cpp
20718 ac_cpp='$CXXCPP $CPPFLAGS'
20719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20724 /* end confdefs.h. */
20725 #include <math.h>
20727 main ()
20729 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
20731 return 0;
20733 _ACEOF
20734 if ac_fn_cxx_try_compile "$LINENO"; then :
20735 glibcxx_cv_func_float_trig_use=yes
20736 else
20737 glibcxx_cv_func_float_trig_use=no
20739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20740 ac_ext=c
20741 ac_cpp='$CPP $CPPFLAGS'
20742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
20749 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
20750 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
20751 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
20752 do :
20753 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20754 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20755 eval as_val=\$$as_ac_var
20756 if test "x$as_val" = x""yes; then :
20757 cat >>confdefs.h <<_ACEOF
20758 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20759 _ACEOF
20762 done
20764 else
20765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
20766 $as_echo_n "checking for _float trig functions... " >&6; }
20767 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
20768 $as_echo_n "(cached) " >&6
20769 else
20772 ac_ext=cpp
20773 ac_cpp='$CXXCPP $CPPFLAGS'
20774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20779 /* end confdefs.h. */
20780 #include <math.h>
20782 main ()
20784 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
20786 return 0;
20788 _ACEOF
20789 if ac_fn_cxx_try_compile "$LINENO"; then :
20790 glibcxx_cv_func__float_trig_use=yes
20791 else
20792 glibcxx_cv_func__float_trig_use=no
20794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20795 ac_ext=c
20796 ac_cpp='$CPP $CPPFLAGS'
20797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
20804 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
20805 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
20806 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
20807 do :
20808 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20809 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20810 eval as_val=\$$as_ac_var
20811 if test "x$as_val" = x""yes; then :
20812 cat >>confdefs.h <<_ACEOF
20813 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20814 _ACEOF
20817 done
20826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
20827 $as_echo_n "checking for float round functions... " >&6; }
20828 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
20829 $as_echo_n "(cached) " >&6
20830 else
20833 ac_ext=cpp
20834 ac_cpp='$CXXCPP $CPPFLAGS'
20835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20840 /* end confdefs.h. */
20841 #include <math.h>
20843 main ()
20845 ceilf (0); floorf (0);
20847 return 0;
20849 _ACEOF
20850 if ac_fn_cxx_try_compile "$LINENO"; then :
20851 glibcxx_cv_func_float_round_use=yes
20852 else
20853 glibcxx_cv_func_float_round_use=no
20855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20856 ac_ext=c
20857 ac_cpp='$CPP $CPPFLAGS'
20858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
20865 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
20866 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
20867 for ac_func in ceilf floorf
20868 do :
20869 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20870 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20871 eval as_val=\$$as_ac_var
20872 if test "x$as_val" = x""yes; then :
20873 cat >>confdefs.h <<_ACEOF
20874 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20875 _ACEOF
20878 done
20880 else
20881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
20882 $as_echo_n "checking for _float round functions... " >&6; }
20883 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
20884 $as_echo_n "(cached) " >&6
20885 else
20888 ac_ext=cpp
20889 ac_cpp='$CXXCPP $CPPFLAGS'
20890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20895 /* end confdefs.h. */
20896 #include <math.h>
20898 main ()
20900 _ceilf (0); _floorf (0);
20902 return 0;
20904 _ACEOF
20905 if ac_fn_cxx_try_compile "$LINENO"; then :
20906 glibcxx_cv_func__float_round_use=yes
20907 else
20908 glibcxx_cv_func__float_round_use=no
20910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20911 ac_ext=c
20912 ac_cpp='$CPP $CPPFLAGS'
20913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
20920 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
20921 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
20922 for ac_func in _ceilf _floorf
20923 do :
20924 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20925 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20926 eval as_val=\$$as_ac_var
20927 if test "x$as_val" = x""yes; then :
20928 cat >>confdefs.h <<_ACEOF
20929 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20930 _ACEOF
20933 done
20943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
20944 $as_echo_n "checking for expf declaration... " >&6; }
20945 if test x${glibcxx_cv_func_expf_use+set} != xset; then
20946 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
20947 $as_echo_n "(cached) " >&6
20948 else
20951 ac_ext=cpp
20952 ac_cpp='$CXXCPP $CPPFLAGS'
20953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20958 /* end confdefs.h. */
20959 #include <math.h>
20960 #ifdef HAVE_IEEEFP_H
20961 #include <ieeefp.h>
20962 #endif
20965 main ()
20967 expf(0);
20969 return 0;
20971 _ACEOF
20972 if ac_fn_cxx_try_compile "$LINENO"; then :
20973 glibcxx_cv_func_expf_use=yes
20974 else
20975 glibcxx_cv_func_expf_use=no
20977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20978 ac_ext=c
20979 ac_cpp='$CPP $CPPFLAGS'
20980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
20989 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
20991 if test x$glibcxx_cv_func_expf_use = x"yes"; then
20992 for ac_func in expf
20993 do :
20994 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
20995 if test "x$ac_cv_func_expf" = x""yes; then :
20996 cat >>confdefs.h <<_ACEOF
20997 #define HAVE_EXPF 1
20998 _ACEOF
21001 done
21003 else
21005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
21006 $as_echo_n "checking for _expf declaration... " >&6; }
21007 if test x${glibcxx_cv_func__expf_use+set} != xset; then
21008 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
21009 $as_echo_n "(cached) " >&6
21010 else
21013 ac_ext=cpp
21014 ac_cpp='$CXXCPP $CPPFLAGS'
21015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21020 /* end confdefs.h. */
21021 #include <math.h>
21022 #ifdef HAVE_IEEEFP_H
21023 #include <ieeefp.h>
21024 #endif
21027 main ()
21029 _expf(0);
21031 return 0;
21033 _ACEOF
21034 if ac_fn_cxx_try_compile "$LINENO"; then :
21035 glibcxx_cv_func__expf_use=yes
21036 else
21037 glibcxx_cv_func__expf_use=no
21039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21040 ac_ext=c
21041 ac_cpp='$CPP $CPPFLAGS'
21042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21051 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21053 if test x$glibcxx_cv_func__expf_use = x"yes"; then
21054 for ac_func in _expf
21055 do :
21056 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21057 if test "x$ac_cv_func__expf" = x""yes; then :
21058 cat >>confdefs.h <<_ACEOF
21059 #define HAVE__EXPF 1
21060 _ACEOF
21063 done
21072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21073 $as_echo_n "checking for isnanf declaration... " >&6; }
21074 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21075 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21076 $as_echo_n "(cached) " >&6
21077 else
21080 ac_ext=cpp
21081 ac_cpp='$CXXCPP $CPPFLAGS'
21082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21087 /* end confdefs.h. */
21088 #include <math.h>
21089 #ifdef HAVE_IEEEFP_H
21090 #include <ieeefp.h>
21091 #endif
21094 main ()
21096 isnanf(0);
21098 return 0;
21100 _ACEOF
21101 if ac_fn_cxx_try_compile "$LINENO"; then :
21102 glibcxx_cv_func_isnanf_use=yes
21103 else
21104 glibcxx_cv_func_isnanf_use=no
21106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21107 ac_ext=c
21108 ac_cpp='$CPP $CPPFLAGS'
21109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21118 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21120 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21121 for ac_func in isnanf
21122 do :
21123 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21124 if test "x$ac_cv_func_isnanf" = x""yes; then :
21125 cat >>confdefs.h <<_ACEOF
21126 #define HAVE_ISNANF 1
21127 _ACEOF
21130 done
21132 else
21134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21135 $as_echo_n "checking for _isnanf declaration... " >&6; }
21136 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21137 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21138 $as_echo_n "(cached) " >&6
21139 else
21142 ac_ext=cpp
21143 ac_cpp='$CXXCPP $CPPFLAGS'
21144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21149 /* end confdefs.h. */
21150 #include <math.h>
21151 #ifdef HAVE_IEEEFP_H
21152 #include <ieeefp.h>
21153 #endif
21156 main ()
21158 _isnanf(0);
21160 return 0;
21162 _ACEOF
21163 if ac_fn_cxx_try_compile "$LINENO"; then :
21164 glibcxx_cv_func__isnanf_use=yes
21165 else
21166 glibcxx_cv_func__isnanf_use=no
21168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21169 ac_ext=c
21170 ac_cpp='$CPP $CPPFLAGS'
21171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
21180 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
21182 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
21183 for ac_func in _isnanf
21184 do :
21185 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
21186 if test "x$ac_cv_func__isnanf" = x""yes; then :
21187 cat >>confdefs.h <<_ACEOF
21188 #define HAVE__ISNANF 1
21189 _ACEOF
21192 done
21201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
21202 $as_echo_n "checking for isinff declaration... " >&6; }
21203 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
21204 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
21205 $as_echo_n "(cached) " >&6
21206 else
21209 ac_ext=cpp
21210 ac_cpp='$CXXCPP $CPPFLAGS'
21211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21216 /* end confdefs.h. */
21217 #include <math.h>
21218 #ifdef HAVE_IEEEFP_H
21219 #include <ieeefp.h>
21220 #endif
21223 main ()
21225 isinff(0);
21227 return 0;
21229 _ACEOF
21230 if ac_fn_cxx_try_compile "$LINENO"; then :
21231 glibcxx_cv_func_isinff_use=yes
21232 else
21233 glibcxx_cv_func_isinff_use=no
21235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21236 ac_ext=c
21237 ac_cpp='$CPP $CPPFLAGS'
21238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
21247 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
21249 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
21250 for ac_func in isinff
21251 do :
21252 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
21253 if test "x$ac_cv_func_isinff" = x""yes; then :
21254 cat >>confdefs.h <<_ACEOF
21255 #define HAVE_ISINFF 1
21256 _ACEOF
21259 done
21261 else
21263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
21264 $as_echo_n "checking for _isinff declaration... " >&6; }
21265 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
21266 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
21267 $as_echo_n "(cached) " >&6
21268 else
21271 ac_ext=cpp
21272 ac_cpp='$CXXCPP $CPPFLAGS'
21273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21278 /* end confdefs.h. */
21279 #include <math.h>
21280 #ifdef HAVE_IEEEFP_H
21281 #include <ieeefp.h>
21282 #endif
21285 main ()
21287 _isinff(0);
21289 return 0;
21291 _ACEOF
21292 if ac_fn_cxx_try_compile "$LINENO"; then :
21293 glibcxx_cv_func__isinff_use=yes
21294 else
21295 glibcxx_cv_func__isinff_use=no
21297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21298 ac_ext=c
21299 ac_cpp='$CPP $CPPFLAGS'
21300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
21309 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
21311 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
21312 for ac_func in _isinff
21313 do :
21314 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
21315 if test "x$ac_cv_func__isinff" = x""yes; then :
21316 cat >>confdefs.h <<_ACEOF
21317 #define HAVE__ISINFF 1
21318 _ACEOF
21321 done
21330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
21331 $as_echo_n "checking for atan2f declaration... " >&6; }
21332 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
21333 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
21334 $as_echo_n "(cached) " >&6
21335 else
21338 ac_ext=cpp
21339 ac_cpp='$CXXCPP $CPPFLAGS'
21340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21345 /* end confdefs.h. */
21346 #include <math.h>
21348 main ()
21350 atan2f(0, 0);
21352 return 0;
21354 _ACEOF
21355 if ac_fn_cxx_try_compile "$LINENO"; then :
21356 glibcxx_cv_func_atan2f_use=yes
21357 else
21358 glibcxx_cv_func_atan2f_use=no
21360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21361 ac_ext=c
21362 ac_cpp='$CPP $CPPFLAGS'
21363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
21372 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
21374 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
21375 for ac_func in atan2f
21376 do :
21377 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
21378 if test "x$ac_cv_func_atan2f" = x""yes; then :
21379 cat >>confdefs.h <<_ACEOF
21380 #define HAVE_ATAN2F 1
21381 _ACEOF
21384 done
21386 else
21388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
21389 $as_echo_n "checking for _atan2f declaration... " >&6; }
21390 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
21391 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
21392 $as_echo_n "(cached) " >&6
21393 else
21396 ac_ext=cpp
21397 ac_cpp='$CXXCPP $CPPFLAGS'
21398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21403 /* end confdefs.h. */
21404 #include <math.h>
21406 main ()
21408 _atan2f(0, 0);
21410 return 0;
21412 _ACEOF
21413 if ac_fn_cxx_try_compile "$LINENO"; then :
21414 glibcxx_cv_func__atan2f_use=yes
21415 else
21416 glibcxx_cv_func__atan2f_use=no
21418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21419 ac_ext=c
21420 ac_cpp='$CPP $CPPFLAGS'
21421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
21430 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
21432 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
21433 for ac_func in _atan2f
21434 do :
21435 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
21436 if test "x$ac_cv_func__atan2f" = x""yes; then :
21437 cat >>confdefs.h <<_ACEOF
21438 #define HAVE__ATAN2F 1
21439 _ACEOF
21442 done
21451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
21452 $as_echo_n "checking for fabsf declaration... " >&6; }
21453 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
21454 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
21455 $as_echo_n "(cached) " >&6
21456 else
21459 ac_ext=cpp
21460 ac_cpp='$CXXCPP $CPPFLAGS'
21461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21466 /* end confdefs.h. */
21467 #include <math.h>
21468 #ifdef HAVE_IEEEFP_H
21469 #include <ieeefp.h>
21470 #endif
21473 main ()
21475 fabsf(0);
21477 return 0;
21479 _ACEOF
21480 if ac_fn_cxx_try_compile "$LINENO"; then :
21481 glibcxx_cv_func_fabsf_use=yes
21482 else
21483 glibcxx_cv_func_fabsf_use=no
21485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21486 ac_ext=c
21487 ac_cpp='$CPP $CPPFLAGS'
21488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
21497 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
21499 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
21500 for ac_func in fabsf
21501 do :
21502 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
21503 if test "x$ac_cv_func_fabsf" = x""yes; then :
21504 cat >>confdefs.h <<_ACEOF
21505 #define HAVE_FABSF 1
21506 _ACEOF
21509 done
21511 else
21513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
21514 $as_echo_n "checking for _fabsf declaration... " >&6; }
21515 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
21516 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
21517 $as_echo_n "(cached) " >&6
21518 else
21521 ac_ext=cpp
21522 ac_cpp='$CXXCPP $CPPFLAGS'
21523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21528 /* end confdefs.h. */
21529 #include <math.h>
21530 #ifdef HAVE_IEEEFP_H
21531 #include <ieeefp.h>
21532 #endif
21535 main ()
21537 _fabsf(0);
21539 return 0;
21541 _ACEOF
21542 if ac_fn_cxx_try_compile "$LINENO"; then :
21543 glibcxx_cv_func__fabsf_use=yes
21544 else
21545 glibcxx_cv_func__fabsf_use=no
21547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21548 ac_ext=c
21549 ac_cpp='$CPP $CPPFLAGS'
21550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
21559 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
21561 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
21562 for ac_func in _fabsf
21563 do :
21564 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
21565 if test "x$ac_cv_func__fabsf" = x""yes; then :
21566 cat >>confdefs.h <<_ACEOF
21567 #define HAVE__FABSF 1
21568 _ACEOF
21571 done
21580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
21581 $as_echo_n "checking for fmodf declaration... " >&6; }
21582 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
21583 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
21584 $as_echo_n "(cached) " >&6
21585 else
21588 ac_ext=cpp
21589 ac_cpp='$CXXCPP $CPPFLAGS'
21590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21595 /* end confdefs.h. */
21596 #include <math.h>
21598 main ()
21600 fmodf(0, 0);
21602 return 0;
21604 _ACEOF
21605 if ac_fn_cxx_try_compile "$LINENO"; then :
21606 glibcxx_cv_func_fmodf_use=yes
21607 else
21608 glibcxx_cv_func_fmodf_use=no
21610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21611 ac_ext=c
21612 ac_cpp='$CPP $CPPFLAGS'
21613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
21622 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
21624 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
21625 for ac_func in fmodf
21626 do :
21627 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
21628 if test "x$ac_cv_func_fmodf" = x""yes; then :
21629 cat >>confdefs.h <<_ACEOF
21630 #define HAVE_FMODF 1
21631 _ACEOF
21634 done
21636 else
21638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
21639 $as_echo_n "checking for _fmodf declaration... " >&6; }
21640 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
21641 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
21642 $as_echo_n "(cached) " >&6
21643 else
21646 ac_ext=cpp
21647 ac_cpp='$CXXCPP $CPPFLAGS'
21648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21653 /* end confdefs.h. */
21654 #include <math.h>
21656 main ()
21658 _fmodf(0, 0);
21660 return 0;
21662 _ACEOF
21663 if ac_fn_cxx_try_compile "$LINENO"; then :
21664 glibcxx_cv_func__fmodf_use=yes
21665 else
21666 glibcxx_cv_func__fmodf_use=no
21668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21669 ac_ext=c
21670 ac_cpp='$CPP $CPPFLAGS'
21671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
21680 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
21682 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
21683 for ac_func in _fmodf
21684 do :
21685 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
21686 if test "x$ac_cv_func__fmodf" = x""yes; then :
21687 cat >>confdefs.h <<_ACEOF
21688 #define HAVE__FMODF 1
21689 _ACEOF
21692 done
21701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
21702 $as_echo_n "checking for frexpf declaration... " >&6; }
21703 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
21704 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
21705 $as_echo_n "(cached) " >&6
21706 else
21709 ac_ext=cpp
21710 ac_cpp='$CXXCPP $CPPFLAGS'
21711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21716 /* end confdefs.h. */
21717 #include <math.h>
21719 main ()
21721 frexpf(0, 0);
21723 return 0;
21725 _ACEOF
21726 if ac_fn_cxx_try_compile "$LINENO"; then :
21727 glibcxx_cv_func_frexpf_use=yes
21728 else
21729 glibcxx_cv_func_frexpf_use=no
21731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21732 ac_ext=c
21733 ac_cpp='$CPP $CPPFLAGS'
21734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
21743 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
21745 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
21746 for ac_func in frexpf
21747 do :
21748 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
21749 if test "x$ac_cv_func_frexpf" = x""yes; then :
21750 cat >>confdefs.h <<_ACEOF
21751 #define HAVE_FREXPF 1
21752 _ACEOF
21755 done
21757 else
21759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
21760 $as_echo_n "checking for _frexpf declaration... " >&6; }
21761 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
21762 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
21763 $as_echo_n "(cached) " >&6
21764 else
21767 ac_ext=cpp
21768 ac_cpp='$CXXCPP $CPPFLAGS'
21769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21774 /* end confdefs.h. */
21775 #include <math.h>
21777 main ()
21779 _frexpf(0, 0);
21781 return 0;
21783 _ACEOF
21784 if ac_fn_cxx_try_compile "$LINENO"; then :
21785 glibcxx_cv_func__frexpf_use=yes
21786 else
21787 glibcxx_cv_func__frexpf_use=no
21789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21790 ac_ext=c
21791 ac_cpp='$CPP $CPPFLAGS'
21792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
21801 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
21803 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
21804 for ac_func in _frexpf
21805 do :
21806 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
21807 if test "x$ac_cv_func__frexpf" = x""yes; then :
21808 cat >>confdefs.h <<_ACEOF
21809 #define HAVE__FREXPF 1
21810 _ACEOF
21813 done
21822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
21823 $as_echo_n "checking for hypotf declaration... " >&6; }
21824 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
21825 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
21826 $as_echo_n "(cached) " >&6
21827 else
21830 ac_ext=cpp
21831 ac_cpp='$CXXCPP $CPPFLAGS'
21832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21837 /* end confdefs.h. */
21838 #include <math.h>
21840 main ()
21842 hypotf(0, 0);
21844 return 0;
21846 _ACEOF
21847 if ac_fn_cxx_try_compile "$LINENO"; then :
21848 glibcxx_cv_func_hypotf_use=yes
21849 else
21850 glibcxx_cv_func_hypotf_use=no
21852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21853 ac_ext=c
21854 ac_cpp='$CPP $CPPFLAGS'
21855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
21864 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
21866 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
21867 for ac_func in hypotf
21868 do :
21869 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
21870 if test "x$ac_cv_func_hypotf" = x""yes; then :
21871 cat >>confdefs.h <<_ACEOF
21872 #define HAVE_HYPOTF 1
21873 _ACEOF
21876 done
21878 else
21880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
21881 $as_echo_n "checking for _hypotf declaration... " >&6; }
21882 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
21883 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
21884 $as_echo_n "(cached) " >&6
21885 else
21888 ac_ext=cpp
21889 ac_cpp='$CXXCPP $CPPFLAGS'
21890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21895 /* end confdefs.h. */
21896 #include <math.h>
21898 main ()
21900 _hypotf(0, 0);
21902 return 0;
21904 _ACEOF
21905 if ac_fn_cxx_try_compile "$LINENO"; then :
21906 glibcxx_cv_func__hypotf_use=yes
21907 else
21908 glibcxx_cv_func__hypotf_use=no
21910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21911 ac_ext=c
21912 ac_cpp='$CPP $CPPFLAGS'
21913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
21922 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
21924 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
21925 for ac_func in _hypotf
21926 do :
21927 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
21928 if test "x$ac_cv_func__hypotf" = x""yes; then :
21929 cat >>confdefs.h <<_ACEOF
21930 #define HAVE__HYPOTF 1
21931 _ACEOF
21934 done
21943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
21944 $as_echo_n "checking for ldexpf declaration... " >&6; }
21945 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
21946 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
21947 $as_echo_n "(cached) " >&6
21948 else
21951 ac_ext=cpp
21952 ac_cpp='$CXXCPP $CPPFLAGS'
21953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21958 /* end confdefs.h. */
21959 #include <math.h>
21961 main ()
21963 ldexpf(0, 0);
21965 return 0;
21967 _ACEOF
21968 if ac_fn_cxx_try_compile "$LINENO"; then :
21969 glibcxx_cv_func_ldexpf_use=yes
21970 else
21971 glibcxx_cv_func_ldexpf_use=no
21973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21974 ac_ext=c
21975 ac_cpp='$CPP $CPPFLAGS'
21976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
21985 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
21987 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
21988 for ac_func in ldexpf
21989 do :
21990 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
21991 if test "x$ac_cv_func_ldexpf" = x""yes; then :
21992 cat >>confdefs.h <<_ACEOF
21993 #define HAVE_LDEXPF 1
21994 _ACEOF
21997 done
21999 else
22001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
22002 $as_echo_n "checking for _ldexpf declaration... " >&6; }
22003 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
22004 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
22005 $as_echo_n "(cached) " >&6
22006 else
22009 ac_ext=cpp
22010 ac_cpp='$CXXCPP $CPPFLAGS'
22011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22016 /* end confdefs.h. */
22017 #include <math.h>
22019 main ()
22021 _ldexpf(0, 0);
22023 return 0;
22025 _ACEOF
22026 if ac_fn_cxx_try_compile "$LINENO"; then :
22027 glibcxx_cv_func__ldexpf_use=yes
22028 else
22029 glibcxx_cv_func__ldexpf_use=no
22031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22032 ac_ext=c
22033 ac_cpp='$CPP $CPPFLAGS'
22034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22043 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22045 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22046 for ac_func in _ldexpf
22047 do :
22048 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22049 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22050 cat >>confdefs.h <<_ACEOF
22051 #define HAVE__LDEXPF 1
22052 _ACEOF
22055 done
22064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22065 $as_echo_n "checking for logf declaration... " >&6; }
22066 if test x${glibcxx_cv_func_logf_use+set} != xset; then
22067 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22068 $as_echo_n "(cached) " >&6
22069 else
22072 ac_ext=cpp
22073 ac_cpp='$CXXCPP $CPPFLAGS'
22074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22079 /* end confdefs.h. */
22080 #include <math.h>
22081 #ifdef HAVE_IEEEFP_H
22082 #include <ieeefp.h>
22083 #endif
22086 main ()
22088 logf(0);
22090 return 0;
22092 _ACEOF
22093 if ac_fn_cxx_try_compile "$LINENO"; then :
22094 glibcxx_cv_func_logf_use=yes
22095 else
22096 glibcxx_cv_func_logf_use=no
22098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22099 ac_ext=c
22100 ac_cpp='$CPP $CPPFLAGS'
22101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22110 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22112 if test x$glibcxx_cv_func_logf_use = x"yes"; then
22113 for ac_func in logf
22114 do :
22115 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22116 if test "x$ac_cv_func_logf" = x""yes; then :
22117 cat >>confdefs.h <<_ACEOF
22118 #define HAVE_LOGF 1
22119 _ACEOF
22122 done
22124 else
22126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22127 $as_echo_n "checking for _logf declaration... " >&6; }
22128 if test x${glibcxx_cv_func__logf_use+set} != xset; then
22129 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22130 $as_echo_n "(cached) " >&6
22131 else
22134 ac_ext=cpp
22135 ac_cpp='$CXXCPP $CPPFLAGS'
22136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22141 /* end confdefs.h. */
22142 #include <math.h>
22143 #ifdef HAVE_IEEEFP_H
22144 #include <ieeefp.h>
22145 #endif
22148 main ()
22150 _logf(0);
22152 return 0;
22154 _ACEOF
22155 if ac_fn_cxx_try_compile "$LINENO"; then :
22156 glibcxx_cv_func__logf_use=yes
22157 else
22158 glibcxx_cv_func__logf_use=no
22160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22161 ac_ext=c
22162 ac_cpp='$CPP $CPPFLAGS'
22163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
22172 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22174 if test x$glibcxx_cv_func__logf_use = x"yes"; then
22175 for ac_func in _logf
22176 do :
22177 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
22178 if test "x$ac_cv_func__logf" = x""yes; then :
22179 cat >>confdefs.h <<_ACEOF
22180 #define HAVE__LOGF 1
22181 _ACEOF
22184 done
22193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
22194 $as_echo_n "checking for log10f declaration... " >&6; }
22195 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
22196 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
22197 $as_echo_n "(cached) " >&6
22198 else
22201 ac_ext=cpp
22202 ac_cpp='$CXXCPP $CPPFLAGS'
22203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22208 /* end confdefs.h. */
22209 #include <math.h>
22210 #ifdef HAVE_IEEEFP_H
22211 #include <ieeefp.h>
22212 #endif
22215 main ()
22217 log10f(0);
22219 return 0;
22221 _ACEOF
22222 if ac_fn_cxx_try_compile "$LINENO"; then :
22223 glibcxx_cv_func_log10f_use=yes
22224 else
22225 glibcxx_cv_func_log10f_use=no
22227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22228 ac_ext=c
22229 ac_cpp='$CPP $CPPFLAGS'
22230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
22239 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
22241 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
22242 for ac_func in log10f
22243 do :
22244 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
22245 if test "x$ac_cv_func_log10f" = x""yes; then :
22246 cat >>confdefs.h <<_ACEOF
22247 #define HAVE_LOG10F 1
22248 _ACEOF
22251 done
22253 else
22255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
22256 $as_echo_n "checking for _log10f declaration... " >&6; }
22257 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
22258 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
22259 $as_echo_n "(cached) " >&6
22260 else
22263 ac_ext=cpp
22264 ac_cpp='$CXXCPP $CPPFLAGS'
22265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22270 /* end confdefs.h. */
22271 #include <math.h>
22272 #ifdef HAVE_IEEEFP_H
22273 #include <ieeefp.h>
22274 #endif
22277 main ()
22279 _log10f(0);
22281 return 0;
22283 _ACEOF
22284 if ac_fn_cxx_try_compile "$LINENO"; then :
22285 glibcxx_cv_func__log10f_use=yes
22286 else
22287 glibcxx_cv_func__log10f_use=no
22289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22290 ac_ext=c
22291 ac_cpp='$CPP $CPPFLAGS'
22292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
22301 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
22303 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
22304 for ac_func in _log10f
22305 do :
22306 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
22307 if test "x$ac_cv_func__log10f" = x""yes; then :
22308 cat >>confdefs.h <<_ACEOF
22309 #define HAVE__LOG10F 1
22310 _ACEOF
22313 done
22322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
22323 $as_echo_n "checking for modff declaration... " >&6; }
22324 if test x${glibcxx_cv_func_modff_use+set} != xset; then
22325 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
22326 $as_echo_n "(cached) " >&6
22327 else
22330 ac_ext=cpp
22331 ac_cpp='$CXXCPP $CPPFLAGS'
22332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22337 /* end confdefs.h. */
22338 #include <math.h>
22340 main ()
22342 modff(0, 0);
22344 return 0;
22346 _ACEOF
22347 if ac_fn_cxx_try_compile "$LINENO"; then :
22348 glibcxx_cv_func_modff_use=yes
22349 else
22350 glibcxx_cv_func_modff_use=no
22352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22353 ac_ext=c
22354 ac_cpp='$CPP $CPPFLAGS'
22355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
22364 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
22366 if test x$glibcxx_cv_func_modff_use = x"yes"; then
22367 for ac_func in modff
22368 do :
22369 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
22370 if test "x$ac_cv_func_modff" = x""yes; then :
22371 cat >>confdefs.h <<_ACEOF
22372 #define HAVE_MODFF 1
22373 _ACEOF
22376 done
22378 else
22380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
22381 $as_echo_n "checking for _modff declaration... " >&6; }
22382 if test x${glibcxx_cv_func__modff_use+set} != xset; then
22383 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
22384 $as_echo_n "(cached) " >&6
22385 else
22388 ac_ext=cpp
22389 ac_cpp='$CXXCPP $CPPFLAGS'
22390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22395 /* end confdefs.h. */
22396 #include <math.h>
22398 main ()
22400 _modff(0, 0);
22402 return 0;
22404 _ACEOF
22405 if ac_fn_cxx_try_compile "$LINENO"; then :
22406 glibcxx_cv_func__modff_use=yes
22407 else
22408 glibcxx_cv_func__modff_use=no
22410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22411 ac_ext=c
22412 ac_cpp='$CPP $CPPFLAGS'
22413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
22422 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
22424 if test x$glibcxx_cv_func__modff_use = x"yes"; then
22425 for ac_func in _modff
22426 do :
22427 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
22428 if test "x$ac_cv_func__modff" = x""yes; then :
22429 cat >>confdefs.h <<_ACEOF
22430 #define HAVE__MODFF 1
22431 _ACEOF
22434 done
22443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
22444 $as_echo_n "checking for modf declaration... " >&6; }
22445 if test x${glibcxx_cv_func_modf_use+set} != xset; then
22446 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
22447 $as_echo_n "(cached) " >&6
22448 else
22451 ac_ext=cpp
22452 ac_cpp='$CXXCPP $CPPFLAGS'
22453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22458 /* end confdefs.h. */
22459 #include <math.h>
22461 main ()
22463 modf(0, 0);
22465 return 0;
22467 _ACEOF
22468 if ac_fn_cxx_try_compile "$LINENO"; then :
22469 glibcxx_cv_func_modf_use=yes
22470 else
22471 glibcxx_cv_func_modf_use=no
22473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22474 ac_ext=c
22475 ac_cpp='$CPP $CPPFLAGS'
22476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
22485 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
22487 if test x$glibcxx_cv_func_modf_use = x"yes"; then
22488 for ac_func in modf
22489 do :
22490 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
22491 if test "x$ac_cv_func_modf" = x""yes; then :
22492 cat >>confdefs.h <<_ACEOF
22493 #define HAVE_MODF 1
22494 _ACEOF
22497 done
22499 else
22501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
22502 $as_echo_n "checking for _modf declaration... " >&6; }
22503 if test x${glibcxx_cv_func__modf_use+set} != xset; then
22504 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
22505 $as_echo_n "(cached) " >&6
22506 else
22509 ac_ext=cpp
22510 ac_cpp='$CXXCPP $CPPFLAGS'
22511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22516 /* end confdefs.h. */
22517 #include <math.h>
22519 main ()
22521 _modf(0, 0);
22523 return 0;
22525 _ACEOF
22526 if ac_fn_cxx_try_compile "$LINENO"; then :
22527 glibcxx_cv_func__modf_use=yes
22528 else
22529 glibcxx_cv_func__modf_use=no
22531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22532 ac_ext=c
22533 ac_cpp='$CPP $CPPFLAGS'
22534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
22543 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
22545 if test x$glibcxx_cv_func__modf_use = x"yes"; then
22546 for ac_func in _modf
22547 do :
22548 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
22549 if test "x$ac_cv_func__modf" = x""yes; then :
22550 cat >>confdefs.h <<_ACEOF
22551 #define HAVE__MODF 1
22552 _ACEOF
22555 done
22564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
22565 $as_echo_n "checking for powf declaration... " >&6; }
22566 if test x${glibcxx_cv_func_powf_use+set} != xset; then
22567 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
22568 $as_echo_n "(cached) " >&6
22569 else
22572 ac_ext=cpp
22573 ac_cpp='$CXXCPP $CPPFLAGS'
22574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22579 /* end confdefs.h. */
22580 #include <math.h>
22582 main ()
22584 powf(0, 0);
22586 return 0;
22588 _ACEOF
22589 if ac_fn_cxx_try_compile "$LINENO"; then :
22590 glibcxx_cv_func_powf_use=yes
22591 else
22592 glibcxx_cv_func_powf_use=no
22594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22595 ac_ext=c
22596 ac_cpp='$CPP $CPPFLAGS'
22597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
22606 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
22608 if test x$glibcxx_cv_func_powf_use = x"yes"; then
22609 for ac_func in powf
22610 do :
22611 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
22612 if test "x$ac_cv_func_powf" = x""yes; then :
22613 cat >>confdefs.h <<_ACEOF
22614 #define HAVE_POWF 1
22615 _ACEOF
22618 done
22620 else
22622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
22623 $as_echo_n "checking for _powf declaration... " >&6; }
22624 if test x${glibcxx_cv_func__powf_use+set} != xset; then
22625 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
22626 $as_echo_n "(cached) " >&6
22627 else
22630 ac_ext=cpp
22631 ac_cpp='$CXXCPP $CPPFLAGS'
22632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22637 /* end confdefs.h. */
22638 #include <math.h>
22640 main ()
22642 _powf(0, 0);
22644 return 0;
22646 _ACEOF
22647 if ac_fn_cxx_try_compile "$LINENO"; then :
22648 glibcxx_cv_func__powf_use=yes
22649 else
22650 glibcxx_cv_func__powf_use=no
22652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22653 ac_ext=c
22654 ac_cpp='$CPP $CPPFLAGS'
22655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
22664 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
22666 if test x$glibcxx_cv_func__powf_use = x"yes"; then
22667 for ac_func in _powf
22668 do :
22669 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
22670 if test "x$ac_cv_func__powf" = x""yes; then :
22671 cat >>confdefs.h <<_ACEOF
22672 #define HAVE__POWF 1
22673 _ACEOF
22676 done
22685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
22686 $as_echo_n "checking for sqrtf declaration... " >&6; }
22687 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
22688 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
22689 $as_echo_n "(cached) " >&6
22690 else
22693 ac_ext=cpp
22694 ac_cpp='$CXXCPP $CPPFLAGS'
22695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22700 /* end confdefs.h. */
22701 #include <math.h>
22702 #ifdef HAVE_IEEEFP_H
22703 #include <ieeefp.h>
22704 #endif
22707 main ()
22709 sqrtf(0);
22711 return 0;
22713 _ACEOF
22714 if ac_fn_cxx_try_compile "$LINENO"; then :
22715 glibcxx_cv_func_sqrtf_use=yes
22716 else
22717 glibcxx_cv_func_sqrtf_use=no
22719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22720 ac_ext=c
22721 ac_cpp='$CPP $CPPFLAGS'
22722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
22731 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
22733 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
22734 for ac_func in sqrtf
22735 do :
22736 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
22737 if test "x$ac_cv_func_sqrtf" = x""yes; then :
22738 cat >>confdefs.h <<_ACEOF
22739 #define HAVE_SQRTF 1
22740 _ACEOF
22743 done
22745 else
22747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
22748 $as_echo_n "checking for _sqrtf declaration... " >&6; }
22749 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
22750 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
22751 $as_echo_n "(cached) " >&6
22752 else
22755 ac_ext=cpp
22756 ac_cpp='$CXXCPP $CPPFLAGS'
22757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22762 /* end confdefs.h. */
22763 #include <math.h>
22764 #ifdef HAVE_IEEEFP_H
22765 #include <ieeefp.h>
22766 #endif
22769 main ()
22771 _sqrtf(0);
22773 return 0;
22775 _ACEOF
22776 if ac_fn_cxx_try_compile "$LINENO"; then :
22777 glibcxx_cv_func__sqrtf_use=yes
22778 else
22779 glibcxx_cv_func__sqrtf_use=no
22781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22782 ac_ext=c
22783 ac_cpp='$CPP $CPPFLAGS'
22784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
22793 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
22795 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
22796 for ac_func in _sqrtf
22797 do :
22798 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
22799 if test "x$ac_cv_func__sqrtf" = x""yes; then :
22800 cat >>confdefs.h <<_ACEOF
22801 #define HAVE__SQRTF 1
22802 _ACEOF
22805 done
22814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
22815 $as_echo_n "checking for sincosf declaration... " >&6; }
22816 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
22817 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
22818 $as_echo_n "(cached) " >&6
22819 else
22822 ac_ext=cpp
22823 ac_cpp='$CXXCPP $CPPFLAGS'
22824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22829 /* end confdefs.h. */
22830 #include <math.h>
22832 main ()
22834 sincosf(0, 0, 0);
22836 return 0;
22838 _ACEOF
22839 if ac_fn_cxx_try_compile "$LINENO"; then :
22840 glibcxx_cv_func_sincosf_use=yes
22841 else
22842 glibcxx_cv_func_sincosf_use=no
22844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22845 ac_ext=c
22846 ac_cpp='$CPP $CPPFLAGS'
22847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
22856 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
22858 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
22859 for ac_func in sincosf
22860 do :
22861 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
22862 if test "x$ac_cv_func_sincosf" = x""yes; then :
22863 cat >>confdefs.h <<_ACEOF
22864 #define HAVE_SINCOSF 1
22865 _ACEOF
22868 done
22870 else
22872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
22873 $as_echo_n "checking for _sincosf declaration... " >&6; }
22874 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
22875 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
22876 $as_echo_n "(cached) " >&6
22877 else
22880 ac_ext=cpp
22881 ac_cpp='$CXXCPP $CPPFLAGS'
22882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22887 /* end confdefs.h. */
22888 #include <math.h>
22890 main ()
22892 _sincosf(0, 0, 0);
22894 return 0;
22896 _ACEOF
22897 if ac_fn_cxx_try_compile "$LINENO"; then :
22898 glibcxx_cv_func__sincosf_use=yes
22899 else
22900 glibcxx_cv_func__sincosf_use=no
22902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22903 ac_ext=c
22904 ac_cpp='$CPP $CPPFLAGS'
22905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
22914 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
22916 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
22917 for ac_func in _sincosf
22918 do :
22919 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
22920 if test "x$ac_cv_func__sincosf" = x""yes; then :
22921 cat >>confdefs.h <<_ACEOF
22922 #define HAVE__SINCOSF 1
22923 _ACEOF
22926 done
22935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
22936 $as_echo_n "checking for finitef declaration... " >&6; }
22937 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
22938 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
22939 $as_echo_n "(cached) " >&6
22940 else
22943 ac_ext=cpp
22944 ac_cpp='$CXXCPP $CPPFLAGS'
22945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22950 /* end confdefs.h. */
22951 #include <math.h>
22952 #ifdef HAVE_IEEEFP_H
22953 #include <ieeefp.h>
22954 #endif
22957 main ()
22959 finitef(0);
22961 return 0;
22963 _ACEOF
22964 if ac_fn_cxx_try_compile "$LINENO"; then :
22965 glibcxx_cv_func_finitef_use=yes
22966 else
22967 glibcxx_cv_func_finitef_use=no
22969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22970 ac_ext=c
22971 ac_cpp='$CPP $CPPFLAGS'
22972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
22981 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
22983 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
22984 for ac_func in finitef
22985 do :
22986 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
22987 if test "x$ac_cv_func_finitef" = x""yes; then :
22988 cat >>confdefs.h <<_ACEOF
22989 #define HAVE_FINITEF 1
22990 _ACEOF
22993 done
22995 else
22997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
22998 $as_echo_n "checking for _finitef declaration... " >&6; }
22999 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
23000 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
23001 $as_echo_n "(cached) " >&6
23002 else
23005 ac_ext=cpp
23006 ac_cpp='$CXXCPP $CPPFLAGS'
23007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23012 /* end confdefs.h. */
23013 #include <math.h>
23014 #ifdef HAVE_IEEEFP_H
23015 #include <ieeefp.h>
23016 #endif
23019 main ()
23021 _finitef(0);
23023 return 0;
23025 _ACEOF
23026 if ac_fn_cxx_try_compile "$LINENO"; then :
23027 glibcxx_cv_func__finitef_use=yes
23028 else
23029 glibcxx_cv_func__finitef_use=no
23031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23032 ac_ext=c
23033 ac_cpp='$CPP $CPPFLAGS'
23034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23043 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23045 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23046 for ac_func in _finitef
23047 do :
23048 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23049 if test "x$ac_cv_func__finitef" = x""yes; then :
23050 cat >>confdefs.h <<_ACEOF
23051 #define HAVE__FINITEF 1
23052 _ACEOF
23055 done
23064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23065 $as_echo_n "checking for long double trig functions... " >&6; }
23066 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23067 $as_echo_n "(cached) " >&6
23068 else
23071 ac_ext=cpp
23072 ac_cpp='$CXXCPP $CPPFLAGS'
23073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23078 /* end confdefs.h. */
23079 #include <math.h>
23081 main ()
23083 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23085 return 0;
23087 _ACEOF
23088 if ac_fn_cxx_try_compile "$LINENO"; then :
23089 glibcxx_cv_func_long_double_trig_use=yes
23090 else
23091 glibcxx_cv_func_long_double_trig_use=no
23093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23094 ac_ext=c
23095 ac_cpp='$CPP $CPPFLAGS'
23096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23103 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23104 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23105 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23106 do :
23107 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23108 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23109 eval as_val=\$$as_ac_var
23110 if test "x$as_val" = x""yes; then :
23111 cat >>confdefs.h <<_ACEOF
23112 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23113 _ACEOF
23116 done
23118 else
23119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23120 $as_echo_n "checking for _long double trig functions... " >&6; }
23121 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23122 $as_echo_n "(cached) " >&6
23123 else
23126 ac_ext=cpp
23127 ac_cpp='$CXXCPP $CPPFLAGS'
23128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23133 /* end confdefs.h. */
23134 #include <math.h>
23136 main ()
23138 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23140 return 0;
23142 _ACEOF
23143 if ac_fn_cxx_try_compile "$LINENO"; then :
23144 glibcxx_cv_func__long_double_trig_use=yes
23145 else
23146 glibcxx_cv_func__long_double_trig_use=no
23148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23149 ac_ext=c
23150 ac_cpp='$CPP $CPPFLAGS'
23151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23158 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23159 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23160 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23161 do :
23162 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23163 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23164 eval as_val=\$$as_ac_var
23165 if test "x$as_val" = x""yes; then :
23166 cat >>confdefs.h <<_ACEOF
23167 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23168 _ACEOF
23171 done
23180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
23181 $as_echo_n "checking for long double round functions... " >&6; }
23182 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
23183 $as_echo_n "(cached) " >&6
23184 else
23187 ac_ext=cpp
23188 ac_cpp='$CXXCPP $CPPFLAGS'
23189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23194 /* end confdefs.h. */
23195 #include <math.h>
23197 main ()
23199 ceill (0); floorl (0);
23201 return 0;
23203 _ACEOF
23204 if ac_fn_cxx_try_compile "$LINENO"; then :
23205 glibcxx_cv_func_long_double_round_use=yes
23206 else
23207 glibcxx_cv_func_long_double_round_use=no
23209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23210 ac_ext=c
23211 ac_cpp='$CPP $CPPFLAGS'
23212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
23219 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
23220 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
23221 for ac_func in ceill floorl
23222 do :
23223 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23224 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23225 eval as_val=\$$as_ac_var
23226 if test "x$as_val" = x""yes; then :
23227 cat >>confdefs.h <<_ACEOF
23228 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23229 _ACEOF
23232 done
23234 else
23235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
23236 $as_echo_n "checking for _long double round functions... " >&6; }
23237 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
23238 $as_echo_n "(cached) " >&6
23239 else
23242 ac_ext=cpp
23243 ac_cpp='$CXXCPP $CPPFLAGS'
23244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23249 /* end confdefs.h. */
23250 #include <math.h>
23252 main ()
23254 _ceill (0); _floorl (0);
23256 return 0;
23258 _ACEOF
23259 if ac_fn_cxx_try_compile "$LINENO"; then :
23260 glibcxx_cv_func__long_double_round_use=yes
23261 else
23262 glibcxx_cv_func__long_double_round_use=no
23264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23265 ac_ext=c
23266 ac_cpp='$CPP $CPPFLAGS'
23267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
23274 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
23275 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
23276 for ac_func in _ceill _floorl
23277 do :
23278 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23279 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23280 eval as_val=\$$as_ac_var
23281 if test "x$as_val" = x""yes; then :
23282 cat >>confdefs.h <<_ACEOF
23283 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23284 _ACEOF
23287 done
23297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
23298 $as_echo_n "checking for isnanl declaration... " >&6; }
23299 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
23300 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
23301 $as_echo_n "(cached) " >&6
23302 else
23305 ac_ext=cpp
23306 ac_cpp='$CXXCPP $CPPFLAGS'
23307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23312 /* end confdefs.h. */
23313 #include <math.h>
23314 #ifdef HAVE_IEEEFP_H
23315 #include <ieeefp.h>
23316 #endif
23319 main ()
23321 isnanl(0);
23323 return 0;
23325 _ACEOF
23326 if ac_fn_cxx_try_compile "$LINENO"; then :
23327 glibcxx_cv_func_isnanl_use=yes
23328 else
23329 glibcxx_cv_func_isnanl_use=no
23331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23332 ac_ext=c
23333 ac_cpp='$CPP $CPPFLAGS'
23334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
23343 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
23345 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
23346 for ac_func in isnanl
23347 do :
23348 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
23349 if test "x$ac_cv_func_isnanl" = x""yes; then :
23350 cat >>confdefs.h <<_ACEOF
23351 #define HAVE_ISNANL 1
23352 _ACEOF
23355 done
23357 else
23359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
23360 $as_echo_n "checking for _isnanl declaration... " >&6; }
23361 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
23362 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
23363 $as_echo_n "(cached) " >&6
23364 else
23367 ac_ext=cpp
23368 ac_cpp='$CXXCPP $CPPFLAGS'
23369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23374 /* end confdefs.h. */
23375 #include <math.h>
23376 #ifdef HAVE_IEEEFP_H
23377 #include <ieeefp.h>
23378 #endif
23381 main ()
23383 _isnanl(0);
23385 return 0;
23387 _ACEOF
23388 if ac_fn_cxx_try_compile "$LINENO"; then :
23389 glibcxx_cv_func__isnanl_use=yes
23390 else
23391 glibcxx_cv_func__isnanl_use=no
23393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23394 ac_ext=c
23395 ac_cpp='$CPP $CPPFLAGS'
23396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
23405 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
23407 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
23408 for ac_func in _isnanl
23409 do :
23410 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
23411 if test "x$ac_cv_func__isnanl" = x""yes; then :
23412 cat >>confdefs.h <<_ACEOF
23413 #define HAVE__ISNANL 1
23414 _ACEOF
23417 done
23426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
23427 $as_echo_n "checking for isinfl declaration... " >&6; }
23428 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
23429 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
23430 $as_echo_n "(cached) " >&6
23431 else
23434 ac_ext=cpp
23435 ac_cpp='$CXXCPP $CPPFLAGS'
23436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23441 /* end confdefs.h. */
23442 #include <math.h>
23443 #ifdef HAVE_IEEEFP_H
23444 #include <ieeefp.h>
23445 #endif
23448 main ()
23450 isinfl(0);
23452 return 0;
23454 _ACEOF
23455 if ac_fn_cxx_try_compile "$LINENO"; then :
23456 glibcxx_cv_func_isinfl_use=yes
23457 else
23458 glibcxx_cv_func_isinfl_use=no
23460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23461 ac_ext=c
23462 ac_cpp='$CPP $CPPFLAGS'
23463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
23472 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
23474 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
23475 for ac_func in isinfl
23476 do :
23477 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
23478 if test "x$ac_cv_func_isinfl" = x""yes; then :
23479 cat >>confdefs.h <<_ACEOF
23480 #define HAVE_ISINFL 1
23481 _ACEOF
23484 done
23486 else
23488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
23489 $as_echo_n "checking for _isinfl declaration... " >&6; }
23490 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
23491 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
23492 $as_echo_n "(cached) " >&6
23493 else
23496 ac_ext=cpp
23497 ac_cpp='$CXXCPP $CPPFLAGS'
23498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23503 /* end confdefs.h. */
23504 #include <math.h>
23505 #ifdef HAVE_IEEEFP_H
23506 #include <ieeefp.h>
23507 #endif
23510 main ()
23512 _isinfl(0);
23514 return 0;
23516 _ACEOF
23517 if ac_fn_cxx_try_compile "$LINENO"; then :
23518 glibcxx_cv_func__isinfl_use=yes
23519 else
23520 glibcxx_cv_func__isinfl_use=no
23522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23523 ac_ext=c
23524 ac_cpp='$CPP $CPPFLAGS'
23525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
23534 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
23536 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
23537 for ac_func in _isinfl
23538 do :
23539 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
23540 if test "x$ac_cv_func__isinfl" = x""yes; then :
23541 cat >>confdefs.h <<_ACEOF
23542 #define HAVE__ISINFL 1
23543 _ACEOF
23546 done
23555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
23556 $as_echo_n "checking for atan2l declaration... " >&6; }
23557 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
23558 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
23559 $as_echo_n "(cached) " >&6
23560 else
23563 ac_ext=cpp
23564 ac_cpp='$CXXCPP $CPPFLAGS'
23565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23570 /* end confdefs.h. */
23571 #include <math.h>
23573 main ()
23575 atan2l(0, 0);
23577 return 0;
23579 _ACEOF
23580 if ac_fn_cxx_try_compile "$LINENO"; then :
23581 glibcxx_cv_func_atan2l_use=yes
23582 else
23583 glibcxx_cv_func_atan2l_use=no
23585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23586 ac_ext=c
23587 ac_cpp='$CPP $CPPFLAGS'
23588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
23597 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
23599 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
23600 for ac_func in atan2l
23601 do :
23602 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
23603 if test "x$ac_cv_func_atan2l" = x""yes; then :
23604 cat >>confdefs.h <<_ACEOF
23605 #define HAVE_ATAN2L 1
23606 _ACEOF
23609 done
23611 else
23613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
23614 $as_echo_n "checking for _atan2l declaration... " >&6; }
23615 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
23616 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
23617 $as_echo_n "(cached) " >&6
23618 else
23621 ac_ext=cpp
23622 ac_cpp='$CXXCPP $CPPFLAGS'
23623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23628 /* end confdefs.h. */
23629 #include <math.h>
23631 main ()
23633 _atan2l(0, 0);
23635 return 0;
23637 _ACEOF
23638 if ac_fn_cxx_try_compile "$LINENO"; then :
23639 glibcxx_cv_func__atan2l_use=yes
23640 else
23641 glibcxx_cv_func__atan2l_use=no
23643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23644 ac_ext=c
23645 ac_cpp='$CPP $CPPFLAGS'
23646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
23655 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
23657 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
23658 for ac_func in _atan2l
23659 do :
23660 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
23661 if test "x$ac_cv_func__atan2l" = x""yes; then :
23662 cat >>confdefs.h <<_ACEOF
23663 #define HAVE__ATAN2L 1
23664 _ACEOF
23667 done
23676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
23677 $as_echo_n "checking for expl declaration... " >&6; }
23678 if test x${glibcxx_cv_func_expl_use+set} != xset; then
23679 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
23680 $as_echo_n "(cached) " >&6
23681 else
23684 ac_ext=cpp
23685 ac_cpp='$CXXCPP $CPPFLAGS'
23686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23691 /* end confdefs.h. */
23692 #include <math.h>
23693 #ifdef HAVE_IEEEFP_H
23694 #include <ieeefp.h>
23695 #endif
23698 main ()
23700 expl(0);
23702 return 0;
23704 _ACEOF
23705 if ac_fn_cxx_try_compile "$LINENO"; then :
23706 glibcxx_cv_func_expl_use=yes
23707 else
23708 glibcxx_cv_func_expl_use=no
23710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23711 ac_ext=c
23712 ac_cpp='$CPP $CPPFLAGS'
23713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
23722 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
23724 if test x$glibcxx_cv_func_expl_use = x"yes"; then
23725 for ac_func in expl
23726 do :
23727 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
23728 if test "x$ac_cv_func_expl" = x""yes; then :
23729 cat >>confdefs.h <<_ACEOF
23730 #define HAVE_EXPL 1
23731 _ACEOF
23734 done
23736 else
23738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
23739 $as_echo_n "checking for _expl declaration... " >&6; }
23740 if test x${glibcxx_cv_func__expl_use+set} != xset; then
23741 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
23742 $as_echo_n "(cached) " >&6
23743 else
23746 ac_ext=cpp
23747 ac_cpp='$CXXCPP $CPPFLAGS'
23748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23753 /* end confdefs.h. */
23754 #include <math.h>
23755 #ifdef HAVE_IEEEFP_H
23756 #include <ieeefp.h>
23757 #endif
23760 main ()
23762 _expl(0);
23764 return 0;
23766 _ACEOF
23767 if ac_fn_cxx_try_compile "$LINENO"; then :
23768 glibcxx_cv_func__expl_use=yes
23769 else
23770 glibcxx_cv_func__expl_use=no
23772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23773 ac_ext=c
23774 ac_cpp='$CPP $CPPFLAGS'
23775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
23784 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
23786 if test x$glibcxx_cv_func__expl_use = x"yes"; then
23787 for ac_func in _expl
23788 do :
23789 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
23790 if test "x$ac_cv_func__expl" = x""yes; then :
23791 cat >>confdefs.h <<_ACEOF
23792 #define HAVE__EXPL 1
23793 _ACEOF
23796 done
23805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
23806 $as_echo_n "checking for fabsl declaration... " >&6; }
23807 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
23808 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
23809 $as_echo_n "(cached) " >&6
23810 else
23813 ac_ext=cpp
23814 ac_cpp='$CXXCPP $CPPFLAGS'
23815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23820 /* end confdefs.h. */
23821 #include <math.h>
23822 #ifdef HAVE_IEEEFP_H
23823 #include <ieeefp.h>
23824 #endif
23827 main ()
23829 fabsl(0);
23831 return 0;
23833 _ACEOF
23834 if ac_fn_cxx_try_compile "$LINENO"; then :
23835 glibcxx_cv_func_fabsl_use=yes
23836 else
23837 glibcxx_cv_func_fabsl_use=no
23839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23840 ac_ext=c
23841 ac_cpp='$CPP $CPPFLAGS'
23842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
23851 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
23853 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
23854 for ac_func in fabsl
23855 do :
23856 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
23857 if test "x$ac_cv_func_fabsl" = x""yes; then :
23858 cat >>confdefs.h <<_ACEOF
23859 #define HAVE_FABSL 1
23860 _ACEOF
23863 done
23865 else
23867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
23868 $as_echo_n "checking for _fabsl declaration... " >&6; }
23869 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
23870 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
23871 $as_echo_n "(cached) " >&6
23872 else
23875 ac_ext=cpp
23876 ac_cpp='$CXXCPP $CPPFLAGS'
23877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23882 /* end confdefs.h. */
23883 #include <math.h>
23884 #ifdef HAVE_IEEEFP_H
23885 #include <ieeefp.h>
23886 #endif
23889 main ()
23891 _fabsl(0);
23893 return 0;
23895 _ACEOF
23896 if ac_fn_cxx_try_compile "$LINENO"; then :
23897 glibcxx_cv_func__fabsl_use=yes
23898 else
23899 glibcxx_cv_func__fabsl_use=no
23901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23902 ac_ext=c
23903 ac_cpp='$CPP $CPPFLAGS'
23904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
23913 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
23915 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
23916 for ac_func in _fabsl
23917 do :
23918 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
23919 if test "x$ac_cv_func__fabsl" = x""yes; then :
23920 cat >>confdefs.h <<_ACEOF
23921 #define HAVE__FABSL 1
23922 _ACEOF
23925 done
23934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
23935 $as_echo_n "checking for fmodl declaration... " >&6; }
23936 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
23937 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
23938 $as_echo_n "(cached) " >&6
23939 else
23942 ac_ext=cpp
23943 ac_cpp='$CXXCPP $CPPFLAGS'
23944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23949 /* end confdefs.h. */
23950 #include <math.h>
23952 main ()
23954 fmodl(0, 0);
23956 return 0;
23958 _ACEOF
23959 if ac_fn_cxx_try_compile "$LINENO"; then :
23960 glibcxx_cv_func_fmodl_use=yes
23961 else
23962 glibcxx_cv_func_fmodl_use=no
23964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23965 ac_ext=c
23966 ac_cpp='$CPP $CPPFLAGS'
23967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
23976 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
23978 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
23979 for ac_func in fmodl
23980 do :
23981 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
23982 if test "x$ac_cv_func_fmodl" = x""yes; then :
23983 cat >>confdefs.h <<_ACEOF
23984 #define HAVE_FMODL 1
23985 _ACEOF
23988 done
23990 else
23992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
23993 $as_echo_n "checking for _fmodl declaration... " >&6; }
23994 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
23995 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
23996 $as_echo_n "(cached) " >&6
23997 else
24000 ac_ext=cpp
24001 ac_cpp='$CXXCPP $CPPFLAGS'
24002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24007 /* end confdefs.h. */
24008 #include <math.h>
24010 main ()
24012 _fmodl(0, 0);
24014 return 0;
24016 _ACEOF
24017 if ac_fn_cxx_try_compile "$LINENO"; then :
24018 glibcxx_cv_func__fmodl_use=yes
24019 else
24020 glibcxx_cv_func__fmodl_use=no
24022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24023 ac_ext=c
24024 ac_cpp='$CPP $CPPFLAGS'
24025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24034 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24036 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24037 for ac_func in _fmodl
24038 do :
24039 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24040 if test "x$ac_cv_func__fmodl" = x""yes; then :
24041 cat >>confdefs.h <<_ACEOF
24042 #define HAVE__FMODL 1
24043 _ACEOF
24046 done
24055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24056 $as_echo_n "checking for frexpl declaration... " >&6; }
24057 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24058 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24059 $as_echo_n "(cached) " >&6
24060 else
24063 ac_ext=cpp
24064 ac_cpp='$CXXCPP $CPPFLAGS'
24065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24070 /* end confdefs.h. */
24071 #include <math.h>
24073 main ()
24075 frexpl(0, 0);
24077 return 0;
24079 _ACEOF
24080 if ac_fn_cxx_try_compile "$LINENO"; then :
24081 glibcxx_cv_func_frexpl_use=yes
24082 else
24083 glibcxx_cv_func_frexpl_use=no
24085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24086 ac_ext=c
24087 ac_cpp='$CPP $CPPFLAGS'
24088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24097 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24099 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24100 for ac_func in frexpl
24101 do :
24102 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24103 if test "x$ac_cv_func_frexpl" = x""yes; then :
24104 cat >>confdefs.h <<_ACEOF
24105 #define HAVE_FREXPL 1
24106 _ACEOF
24109 done
24111 else
24113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24114 $as_echo_n "checking for _frexpl declaration... " >&6; }
24115 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24116 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24117 $as_echo_n "(cached) " >&6
24118 else
24121 ac_ext=cpp
24122 ac_cpp='$CXXCPP $CPPFLAGS'
24123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24128 /* end confdefs.h. */
24129 #include <math.h>
24131 main ()
24133 _frexpl(0, 0);
24135 return 0;
24137 _ACEOF
24138 if ac_fn_cxx_try_compile "$LINENO"; then :
24139 glibcxx_cv_func__frexpl_use=yes
24140 else
24141 glibcxx_cv_func__frexpl_use=no
24143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24144 ac_ext=c
24145 ac_cpp='$CPP $CPPFLAGS'
24146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24155 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24157 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24158 for ac_func in _frexpl
24159 do :
24160 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24161 if test "x$ac_cv_func__frexpl" = x""yes; then :
24162 cat >>confdefs.h <<_ACEOF
24163 #define HAVE__FREXPL 1
24164 _ACEOF
24167 done
24176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
24177 $as_echo_n "checking for hypotl declaration... " >&6; }
24178 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
24179 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
24180 $as_echo_n "(cached) " >&6
24181 else
24184 ac_ext=cpp
24185 ac_cpp='$CXXCPP $CPPFLAGS'
24186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24191 /* end confdefs.h. */
24192 #include <math.h>
24194 main ()
24196 hypotl(0, 0);
24198 return 0;
24200 _ACEOF
24201 if ac_fn_cxx_try_compile "$LINENO"; then :
24202 glibcxx_cv_func_hypotl_use=yes
24203 else
24204 glibcxx_cv_func_hypotl_use=no
24206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24207 ac_ext=c
24208 ac_cpp='$CPP $CPPFLAGS'
24209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
24218 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
24220 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
24221 for ac_func in hypotl
24222 do :
24223 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
24224 if test "x$ac_cv_func_hypotl" = x""yes; then :
24225 cat >>confdefs.h <<_ACEOF
24226 #define HAVE_HYPOTL 1
24227 _ACEOF
24230 done
24232 else
24234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
24235 $as_echo_n "checking for _hypotl declaration... " >&6; }
24236 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
24237 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
24238 $as_echo_n "(cached) " >&6
24239 else
24242 ac_ext=cpp
24243 ac_cpp='$CXXCPP $CPPFLAGS'
24244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24249 /* end confdefs.h. */
24250 #include <math.h>
24252 main ()
24254 _hypotl(0, 0);
24256 return 0;
24258 _ACEOF
24259 if ac_fn_cxx_try_compile "$LINENO"; then :
24260 glibcxx_cv_func__hypotl_use=yes
24261 else
24262 glibcxx_cv_func__hypotl_use=no
24264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24265 ac_ext=c
24266 ac_cpp='$CPP $CPPFLAGS'
24267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
24276 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
24278 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
24279 for ac_func in _hypotl
24280 do :
24281 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
24282 if test "x$ac_cv_func__hypotl" = x""yes; then :
24283 cat >>confdefs.h <<_ACEOF
24284 #define HAVE__HYPOTL 1
24285 _ACEOF
24288 done
24297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
24298 $as_echo_n "checking for ldexpl declaration... " >&6; }
24299 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
24300 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
24301 $as_echo_n "(cached) " >&6
24302 else
24305 ac_ext=cpp
24306 ac_cpp='$CXXCPP $CPPFLAGS'
24307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24312 /* end confdefs.h. */
24313 #include <math.h>
24315 main ()
24317 ldexpl(0, 0);
24319 return 0;
24321 _ACEOF
24322 if ac_fn_cxx_try_compile "$LINENO"; then :
24323 glibcxx_cv_func_ldexpl_use=yes
24324 else
24325 glibcxx_cv_func_ldexpl_use=no
24327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24328 ac_ext=c
24329 ac_cpp='$CPP $CPPFLAGS'
24330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
24339 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
24341 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
24342 for ac_func in ldexpl
24343 do :
24344 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
24345 if test "x$ac_cv_func_ldexpl" = x""yes; then :
24346 cat >>confdefs.h <<_ACEOF
24347 #define HAVE_LDEXPL 1
24348 _ACEOF
24351 done
24353 else
24355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
24356 $as_echo_n "checking for _ldexpl declaration... " >&6; }
24357 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
24358 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
24359 $as_echo_n "(cached) " >&6
24360 else
24363 ac_ext=cpp
24364 ac_cpp='$CXXCPP $CPPFLAGS'
24365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24370 /* end confdefs.h. */
24371 #include <math.h>
24373 main ()
24375 _ldexpl(0, 0);
24377 return 0;
24379 _ACEOF
24380 if ac_fn_cxx_try_compile "$LINENO"; then :
24381 glibcxx_cv_func__ldexpl_use=yes
24382 else
24383 glibcxx_cv_func__ldexpl_use=no
24385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24386 ac_ext=c
24387 ac_cpp='$CPP $CPPFLAGS'
24388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
24397 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
24399 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
24400 for ac_func in _ldexpl
24401 do :
24402 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
24403 if test "x$ac_cv_func__ldexpl" = x""yes; then :
24404 cat >>confdefs.h <<_ACEOF
24405 #define HAVE__LDEXPL 1
24406 _ACEOF
24409 done
24418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
24419 $as_echo_n "checking for logl declaration... " >&6; }
24420 if test x${glibcxx_cv_func_logl_use+set} != xset; then
24421 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
24422 $as_echo_n "(cached) " >&6
24423 else
24426 ac_ext=cpp
24427 ac_cpp='$CXXCPP $CPPFLAGS'
24428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24433 /* end confdefs.h. */
24434 #include <math.h>
24435 #ifdef HAVE_IEEEFP_H
24436 #include <ieeefp.h>
24437 #endif
24440 main ()
24442 logl(0);
24444 return 0;
24446 _ACEOF
24447 if ac_fn_cxx_try_compile "$LINENO"; then :
24448 glibcxx_cv_func_logl_use=yes
24449 else
24450 glibcxx_cv_func_logl_use=no
24452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24453 ac_ext=c
24454 ac_cpp='$CPP $CPPFLAGS'
24455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
24464 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
24466 if test x$glibcxx_cv_func_logl_use = x"yes"; then
24467 for ac_func in logl
24468 do :
24469 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
24470 if test "x$ac_cv_func_logl" = x""yes; then :
24471 cat >>confdefs.h <<_ACEOF
24472 #define HAVE_LOGL 1
24473 _ACEOF
24476 done
24478 else
24480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
24481 $as_echo_n "checking for _logl declaration... " >&6; }
24482 if test x${glibcxx_cv_func__logl_use+set} != xset; then
24483 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
24484 $as_echo_n "(cached) " >&6
24485 else
24488 ac_ext=cpp
24489 ac_cpp='$CXXCPP $CPPFLAGS'
24490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24495 /* end confdefs.h. */
24496 #include <math.h>
24497 #ifdef HAVE_IEEEFP_H
24498 #include <ieeefp.h>
24499 #endif
24502 main ()
24504 _logl(0);
24506 return 0;
24508 _ACEOF
24509 if ac_fn_cxx_try_compile "$LINENO"; then :
24510 glibcxx_cv_func__logl_use=yes
24511 else
24512 glibcxx_cv_func__logl_use=no
24514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24515 ac_ext=c
24516 ac_cpp='$CPP $CPPFLAGS'
24517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
24526 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
24528 if test x$glibcxx_cv_func__logl_use = x"yes"; then
24529 for ac_func in _logl
24530 do :
24531 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
24532 if test "x$ac_cv_func__logl" = x""yes; then :
24533 cat >>confdefs.h <<_ACEOF
24534 #define HAVE__LOGL 1
24535 _ACEOF
24538 done
24547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
24548 $as_echo_n "checking for log10l declaration... " >&6; }
24549 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
24550 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
24551 $as_echo_n "(cached) " >&6
24552 else
24555 ac_ext=cpp
24556 ac_cpp='$CXXCPP $CPPFLAGS'
24557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24562 /* end confdefs.h. */
24563 #include <math.h>
24564 #ifdef HAVE_IEEEFP_H
24565 #include <ieeefp.h>
24566 #endif
24569 main ()
24571 log10l(0);
24573 return 0;
24575 _ACEOF
24576 if ac_fn_cxx_try_compile "$LINENO"; then :
24577 glibcxx_cv_func_log10l_use=yes
24578 else
24579 glibcxx_cv_func_log10l_use=no
24581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24582 ac_ext=c
24583 ac_cpp='$CPP $CPPFLAGS'
24584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
24593 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
24595 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
24596 for ac_func in log10l
24597 do :
24598 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
24599 if test "x$ac_cv_func_log10l" = x""yes; then :
24600 cat >>confdefs.h <<_ACEOF
24601 #define HAVE_LOG10L 1
24602 _ACEOF
24605 done
24607 else
24609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
24610 $as_echo_n "checking for _log10l declaration... " >&6; }
24611 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
24612 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
24613 $as_echo_n "(cached) " >&6
24614 else
24617 ac_ext=cpp
24618 ac_cpp='$CXXCPP $CPPFLAGS'
24619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24624 /* end confdefs.h. */
24625 #include <math.h>
24626 #ifdef HAVE_IEEEFP_H
24627 #include <ieeefp.h>
24628 #endif
24631 main ()
24633 _log10l(0);
24635 return 0;
24637 _ACEOF
24638 if ac_fn_cxx_try_compile "$LINENO"; then :
24639 glibcxx_cv_func__log10l_use=yes
24640 else
24641 glibcxx_cv_func__log10l_use=no
24643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24644 ac_ext=c
24645 ac_cpp='$CPP $CPPFLAGS'
24646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
24655 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
24657 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
24658 for ac_func in _log10l
24659 do :
24660 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
24661 if test "x$ac_cv_func__log10l" = x""yes; then :
24662 cat >>confdefs.h <<_ACEOF
24663 #define HAVE__LOG10L 1
24664 _ACEOF
24667 done
24676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
24677 $as_echo_n "checking for modfl declaration... " >&6; }
24678 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
24679 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
24680 $as_echo_n "(cached) " >&6
24681 else
24684 ac_ext=cpp
24685 ac_cpp='$CXXCPP $CPPFLAGS'
24686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24691 /* end confdefs.h. */
24692 #include <math.h>
24694 main ()
24696 modfl(0, 0);
24698 return 0;
24700 _ACEOF
24701 if ac_fn_cxx_try_compile "$LINENO"; then :
24702 glibcxx_cv_func_modfl_use=yes
24703 else
24704 glibcxx_cv_func_modfl_use=no
24706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24707 ac_ext=c
24708 ac_cpp='$CPP $CPPFLAGS'
24709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
24718 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
24720 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24721 for ac_func in modfl
24722 do :
24723 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
24724 if test "x$ac_cv_func_modfl" = x""yes; then :
24725 cat >>confdefs.h <<_ACEOF
24726 #define HAVE_MODFL 1
24727 _ACEOF
24730 done
24732 else
24734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
24735 $as_echo_n "checking for _modfl declaration... " >&6; }
24736 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24737 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
24738 $as_echo_n "(cached) " >&6
24739 else
24742 ac_ext=cpp
24743 ac_cpp='$CXXCPP $CPPFLAGS'
24744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24749 /* end confdefs.h. */
24750 #include <math.h>
24752 main ()
24754 _modfl(0, 0);
24756 return 0;
24758 _ACEOF
24759 if ac_fn_cxx_try_compile "$LINENO"; then :
24760 glibcxx_cv_func__modfl_use=yes
24761 else
24762 glibcxx_cv_func__modfl_use=no
24764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24765 ac_ext=c
24766 ac_cpp='$CPP $CPPFLAGS'
24767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
24776 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
24778 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24779 for ac_func in _modfl
24780 do :
24781 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
24782 if test "x$ac_cv_func__modfl" = x""yes; then :
24783 cat >>confdefs.h <<_ACEOF
24784 #define HAVE__MODFL 1
24785 _ACEOF
24788 done
24797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
24798 $as_echo_n "checking for powl declaration... " >&6; }
24799 if test x${glibcxx_cv_func_powl_use+set} != xset; then
24800 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
24801 $as_echo_n "(cached) " >&6
24802 else
24805 ac_ext=cpp
24806 ac_cpp='$CXXCPP $CPPFLAGS'
24807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24812 /* end confdefs.h. */
24813 #include <math.h>
24815 main ()
24817 powl(0, 0);
24819 return 0;
24821 _ACEOF
24822 if ac_fn_cxx_try_compile "$LINENO"; then :
24823 glibcxx_cv_func_powl_use=yes
24824 else
24825 glibcxx_cv_func_powl_use=no
24827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24828 ac_ext=c
24829 ac_cpp='$CPP $CPPFLAGS'
24830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
24839 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
24841 if test x$glibcxx_cv_func_powl_use = x"yes"; then
24842 for ac_func in powl
24843 do :
24844 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
24845 if test "x$ac_cv_func_powl" = x""yes; then :
24846 cat >>confdefs.h <<_ACEOF
24847 #define HAVE_POWL 1
24848 _ACEOF
24851 done
24853 else
24855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
24856 $as_echo_n "checking for _powl declaration... " >&6; }
24857 if test x${glibcxx_cv_func__powl_use+set} != xset; then
24858 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
24859 $as_echo_n "(cached) " >&6
24860 else
24863 ac_ext=cpp
24864 ac_cpp='$CXXCPP $CPPFLAGS'
24865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24870 /* end confdefs.h. */
24871 #include <math.h>
24873 main ()
24875 _powl(0, 0);
24877 return 0;
24879 _ACEOF
24880 if ac_fn_cxx_try_compile "$LINENO"; then :
24881 glibcxx_cv_func__powl_use=yes
24882 else
24883 glibcxx_cv_func__powl_use=no
24885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24886 ac_ext=c
24887 ac_cpp='$CPP $CPPFLAGS'
24888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
24897 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
24899 if test x$glibcxx_cv_func__powl_use = x"yes"; then
24900 for ac_func in _powl
24901 do :
24902 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
24903 if test "x$ac_cv_func__powl" = x""yes; then :
24904 cat >>confdefs.h <<_ACEOF
24905 #define HAVE__POWL 1
24906 _ACEOF
24909 done
24918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
24919 $as_echo_n "checking for sqrtl declaration... " >&6; }
24920 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24921 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
24922 $as_echo_n "(cached) " >&6
24923 else
24926 ac_ext=cpp
24927 ac_cpp='$CXXCPP $CPPFLAGS'
24928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24933 /* end confdefs.h. */
24934 #include <math.h>
24935 #ifdef HAVE_IEEEFP_H
24936 #include <ieeefp.h>
24937 #endif
24940 main ()
24942 sqrtl(0);
24944 return 0;
24946 _ACEOF
24947 if ac_fn_cxx_try_compile "$LINENO"; then :
24948 glibcxx_cv_func_sqrtl_use=yes
24949 else
24950 glibcxx_cv_func_sqrtl_use=no
24952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24953 ac_ext=c
24954 ac_cpp='$CPP $CPPFLAGS'
24955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
24964 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
24966 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24967 for ac_func in sqrtl
24968 do :
24969 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
24970 if test "x$ac_cv_func_sqrtl" = x""yes; then :
24971 cat >>confdefs.h <<_ACEOF
24972 #define HAVE_SQRTL 1
24973 _ACEOF
24976 done
24978 else
24980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
24981 $as_echo_n "checking for _sqrtl declaration... " >&6; }
24982 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24983 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
24984 $as_echo_n "(cached) " >&6
24985 else
24988 ac_ext=cpp
24989 ac_cpp='$CXXCPP $CPPFLAGS'
24990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24995 /* end confdefs.h. */
24996 #include <math.h>
24997 #ifdef HAVE_IEEEFP_H
24998 #include <ieeefp.h>
24999 #endif
25002 main ()
25004 _sqrtl(0);
25006 return 0;
25008 _ACEOF
25009 if ac_fn_cxx_try_compile "$LINENO"; then :
25010 glibcxx_cv_func__sqrtl_use=yes
25011 else
25012 glibcxx_cv_func__sqrtl_use=no
25014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25015 ac_ext=c
25016 ac_cpp='$CPP $CPPFLAGS'
25017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
25026 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25028 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25029 for ac_func in _sqrtl
25030 do :
25031 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25032 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25033 cat >>confdefs.h <<_ACEOF
25034 #define HAVE__SQRTL 1
25035 _ACEOF
25038 done
25047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25048 $as_echo_n "checking for sincosl declaration... " >&6; }
25049 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25050 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25051 $as_echo_n "(cached) " >&6
25052 else
25055 ac_ext=cpp
25056 ac_cpp='$CXXCPP $CPPFLAGS'
25057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25062 /* end confdefs.h. */
25063 #include <math.h>
25065 main ()
25067 sincosl(0, 0, 0);
25069 return 0;
25071 _ACEOF
25072 if ac_fn_cxx_try_compile "$LINENO"; then :
25073 glibcxx_cv_func_sincosl_use=yes
25074 else
25075 glibcxx_cv_func_sincosl_use=no
25077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25078 ac_ext=c
25079 ac_cpp='$CPP $CPPFLAGS'
25080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25089 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25091 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25092 for ac_func in sincosl
25093 do :
25094 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25095 if test "x$ac_cv_func_sincosl" = x""yes; then :
25096 cat >>confdefs.h <<_ACEOF
25097 #define HAVE_SINCOSL 1
25098 _ACEOF
25101 done
25103 else
25105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25106 $as_echo_n "checking for _sincosl declaration... " >&6; }
25107 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25108 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25109 $as_echo_n "(cached) " >&6
25110 else
25113 ac_ext=cpp
25114 ac_cpp='$CXXCPP $CPPFLAGS'
25115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25120 /* end confdefs.h. */
25121 #include <math.h>
25123 main ()
25125 _sincosl(0, 0, 0);
25127 return 0;
25129 _ACEOF
25130 if ac_fn_cxx_try_compile "$LINENO"; then :
25131 glibcxx_cv_func__sincosl_use=yes
25132 else
25133 glibcxx_cv_func__sincosl_use=no
25135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25136 ac_ext=c
25137 ac_cpp='$CPP $CPPFLAGS'
25138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
25147 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25149 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25150 for ac_func in _sincosl
25151 do :
25152 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25153 if test "x$ac_cv_func__sincosl" = x""yes; then :
25154 cat >>confdefs.h <<_ACEOF
25155 #define HAVE__SINCOSL 1
25156 _ACEOF
25159 done
25168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25169 $as_echo_n "checking for finitel declaration... " >&6; }
25170 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25171 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
25172 $as_echo_n "(cached) " >&6
25173 else
25176 ac_ext=cpp
25177 ac_cpp='$CXXCPP $CPPFLAGS'
25178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25183 /* end confdefs.h. */
25184 #include <math.h>
25185 #ifdef HAVE_IEEEFP_H
25186 #include <ieeefp.h>
25187 #endif
25190 main ()
25192 finitel(0);
25194 return 0;
25196 _ACEOF
25197 if ac_fn_cxx_try_compile "$LINENO"; then :
25198 glibcxx_cv_func_finitel_use=yes
25199 else
25200 glibcxx_cv_func_finitel_use=no
25202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25203 ac_ext=c
25204 ac_cpp='$CPP $CPPFLAGS'
25205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
25214 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
25216 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25217 for ac_func in finitel
25218 do :
25219 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
25220 if test "x$ac_cv_func_finitel" = x""yes; then :
25221 cat >>confdefs.h <<_ACEOF
25222 #define HAVE_FINITEL 1
25223 _ACEOF
25226 done
25228 else
25230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
25231 $as_echo_n "checking for _finitel declaration... " >&6; }
25232 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25233 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
25234 $as_echo_n "(cached) " >&6
25235 else
25238 ac_ext=cpp
25239 ac_cpp='$CXXCPP $CPPFLAGS'
25240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25245 /* end confdefs.h. */
25246 #include <math.h>
25247 #ifdef HAVE_IEEEFP_H
25248 #include <ieeefp.h>
25249 #endif
25252 main ()
25254 _finitel(0);
25256 return 0;
25258 _ACEOF
25259 if ac_fn_cxx_try_compile "$LINENO"; then :
25260 glibcxx_cv_func__finitel_use=yes
25261 else
25262 glibcxx_cv_func__finitel_use=no
25264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25265 ac_ext=c
25266 ac_cpp='$CPP $CPPFLAGS'
25267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
25276 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
25278 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25279 for ac_func in _finitel
25280 do :
25281 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
25282 if test "x$ac_cv_func__finitel" = x""yes; then :
25283 cat >>confdefs.h <<_ACEOF
25284 #define HAVE__FINITEL 1
25285 _ACEOF
25288 done
25296 LIBS="$ac_save_LIBS"
25297 CXXFLAGS="$ac_save_CXXFLAGS"
25300 ac_test_CXXFLAGS="${CXXFLAGS+set}"
25301 ac_save_CXXFLAGS="$CXXFLAGS"
25302 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
25306 $as_echo_n "checking for strtold declaration... " >&6; }
25307 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25308 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
25309 $as_echo_n "(cached) " >&6
25310 else
25313 ac_ext=cpp
25314 ac_cpp='$CXXCPP $CPPFLAGS'
25315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25320 /* end confdefs.h. */
25321 #include <stdlib.h>
25323 main ()
25325 strtold(0, 0);
25327 return 0;
25329 _ACEOF
25330 if ac_fn_cxx_try_compile "$LINENO"; then :
25331 glibcxx_cv_func_strtold_use=yes
25332 else
25333 glibcxx_cv_func_strtold_use=no
25335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25336 ac_ext=c
25337 ac_cpp='$CPP $CPPFLAGS'
25338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
25347 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
25348 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25349 for ac_func in strtold
25350 do :
25351 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
25352 if test "x$ac_cv_func_strtold" = x""yes; then :
25353 cat >>confdefs.h <<_ACEOF
25354 #define HAVE_STRTOLD 1
25355 _ACEOF
25358 done
25365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
25366 $as_echo_n "checking for strtof declaration... " >&6; }
25367 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
25368 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
25369 $as_echo_n "(cached) " >&6
25370 else
25373 ac_ext=cpp
25374 ac_cpp='$CXXCPP $CPPFLAGS'
25375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25380 /* end confdefs.h. */
25381 #include <stdlib.h>
25383 main ()
25385 strtof(0, 0);
25387 return 0;
25389 _ACEOF
25390 if ac_fn_cxx_try_compile "$LINENO"; then :
25391 glibcxx_cv_func_strtof_use=yes
25392 else
25393 glibcxx_cv_func_strtof_use=no
25395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25396 ac_ext=c
25397 ac_cpp='$CPP $CPPFLAGS'
25398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
25407 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
25408 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
25409 for ac_func in strtof
25410 do :
25411 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
25412 if test "x$ac_cv_func_strtof" = x""yes; then :
25413 cat >>confdefs.h <<_ACEOF
25414 #define HAVE_STRTOF 1
25415 _ACEOF
25418 done
25425 CXXFLAGS="$ac_save_CXXFLAGS"
25428 # For /dev/random and /dev/urandom for TR1.
25431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
25432 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
25433 if test "${glibcxx_cv_random_tr1+set}" = set; then :
25434 $as_echo_n "(cached) " >&6
25435 else
25437 if test -r /dev/random && test -r /dev/urandom; then
25438 glibcxx_cv_random_tr1=yes;
25439 else
25440 glibcxx_cv_random_tr1=no;
25445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
25446 $as_echo "$glibcxx_cv_random_tr1" >&6; }
25448 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
25450 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
25456 # For TLS support.
25459 # Check whether --enable-tls was given.
25460 if test "${enable_tls+set}" = set; then :
25461 enableval=$enable_tls;
25462 case "$enableval" in
25463 yes|no) ;;
25464 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
25465 esac
25467 else
25468 enable_tls=yes
25472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
25473 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
25474 if test "${gcc_cv_have_tls+set}" = set; then :
25475 $as_echo_n "(cached) " >&6
25476 else
25478 if test "$cross_compiling" = yes; then :
25479 if test x$gcc_no_link = xyes; then
25480 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25483 /* end confdefs.h. */
25484 __thread int a; int b; int main() { return a = b; }
25485 _ACEOF
25486 if ac_fn_c_try_link "$LINENO"; then :
25487 chktls_save_LDFLAGS="$LDFLAGS"
25488 case $host in
25489 *-*-linux*)
25490 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
25492 esac
25493 chktls_save_CFLAGS="$CFLAGS"
25494 CFLAGS="-fPIC $CFLAGS"
25495 if test x$gcc_no_link = xyes; then
25496 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25499 /* end confdefs.h. */
25500 int f() { return 0; }
25501 _ACEOF
25502 if ac_fn_c_try_link "$LINENO"; then :
25503 if test x$gcc_no_link = xyes; then
25504 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25507 /* end confdefs.h. */
25508 __thread int a; int b; int f() { return a = b; }
25509 _ACEOF
25510 if ac_fn_c_try_link "$LINENO"; then :
25511 gcc_cv_have_tls=yes
25512 else
25513 gcc_cv_have_tls=no
25515 rm -f core conftest.err conftest.$ac_objext \
25516 conftest$ac_exeext conftest.$ac_ext
25517 else
25518 gcc_cv_have_tls=yes
25520 rm -f core conftest.err conftest.$ac_objext \
25521 conftest$ac_exeext conftest.$ac_ext
25522 CFLAGS="$chktls_save_CFLAGS"
25523 LDFLAGS="$chktls_save_LDFLAGS"
25524 else
25525 gcc_cv_have_tls=no
25527 rm -f core conftest.err conftest.$ac_objext \
25528 conftest$ac_exeext conftest.$ac_ext
25531 else
25532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25533 /* end confdefs.h. */
25534 __thread int a; int b; int main() { return a = b; }
25535 _ACEOF
25536 if ac_fn_c_try_run "$LINENO"; then :
25537 chktls_save_LDFLAGS="$LDFLAGS"
25538 LDFLAGS="-static $LDFLAGS"
25539 if test x$gcc_no_link = xyes; then
25540 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25543 /* end confdefs.h. */
25544 int main() { return 0; }
25545 _ACEOF
25546 if ac_fn_c_try_link "$LINENO"; then :
25547 if test "$cross_compiling" = yes; then :
25548 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25549 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25550 as_fn_error "cannot run test program while cross compiling
25551 See \`config.log' for more details." "$LINENO" 5; }
25552 else
25553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25554 /* end confdefs.h. */
25555 __thread int a; int b; int main() { return a = b; }
25556 _ACEOF
25557 if ac_fn_c_try_run "$LINENO"; then :
25558 gcc_cv_have_tls=yes
25559 else
25560 gcc_cv_have_tls=no
25562 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25563 conftest.$ac_objext conftest.beam conftest.$ac_ext
25566 else
25567 gcc_cv_have_tls=yes
25569 rm -f core conftest.err conftest.$ac_objext \
25570 conftest$ac_exeext conftest.$ac_ext
25571 LDFLAGS="$chktls_save_LDFLAGS"
25572 if test $gcc_cv_have_tls = yes; then
25573 chktls_save_CFLAGS="$CFLAGS"
25574 thread_CFLAGS=failed
25575 for flag in '' '-pthread' '-lpthread'; do
25576 CFLAGS="$flag $chktls_save_CFLAGS"
25577 if test x$gcc_no_link = xyes; then
25578 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25581 /* end confdefs.h. */
25582 #include <pthread.h>
25583 void *g(void *d) { return NULL; }
25585 main ()
25587 pthread_t t; pthread_create(&t,NULL,g,NULL);
25589 return 0;
25591 _ACEOF
25592 if ac_fn_c_try_link "$LINENO"; then :
25593 thread_CFLAGS="$flag"
25595 rm -f core conftest.err conftest.$ac_objext \
25596 conftest$ac_exeext conftest.$ac_ext
25597 if test "X$thread_CFLAGS" != Xfailed; then
25598 break
25600 done
25601 CFLAGS="$chktls_save_CFLAGS"
25602 if test "X$thread_CFLAGS" != Xfailed; then
25603 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
25604 if test "$cross_compiling" = yes; then :
25605 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25606 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25607 as_fn_error "cannot run test program while cross compiling
25608 See \`config.log' for more details." "$LINENO" 5; }
25609 else
25610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25611 /* end confdefs.h. */
25612 #include <pthread.h>
25613 __thread int a;
25614 static int *volatile a_in_other_thread;
25615 static void *
25616 thread_func (void *arg)
25618 a_in_other_thread = &a;
25619 return (void *)0;
25622 main ()
25624 pthread_t thread;
25625 void *thread_retval;
25626 int *volatile a_in_main_thread;
25627 a_in_main_thread = &a;
25628 if (pthread_create (&thread, (pthread_attr_t *)0,
25629 thread_func, (void *)0))
25630 return 0;
25631 if (pthread_join (thread, &thread_retval))
25632 return 0;
25633 return (a_in_other_thread == a_in_main_thread);
25635 return 0;
25637 _ACEOF
25638 if ac_fn_c_try_run "$LINENO"; then :
25639 gcc_cv_have_tls=yes
25640 else
25641 gcc_cv_have_tls=no
25643 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25644 conftest.$ac_objext conftest.beam conftest.$ac_ext
25647 CFLAGS="$chktls_save_CFLAGS"
25650 else
25651 gcc_cv_have_tls=no
25653 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25654 conftest.$ac_objext conftest.beam conftest.$ac_ext
25658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
25659 $as_echo "$gcc_cv_have_tls" >&6; }
25660 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
25662 $as_echo "#define HAVE_TLS 1" >>confdefs.h
25666 # For iconv support.
25668 if test "X$prefix" = "XNONE"; then
25669 acl_final_prefix="$ac_default_prefix"
25670 else
25671 acl_final_prefix="$prefix"
25673 if test "X$exec_prefix" = "XNONE"; then
25674 acl_final_exec_prefix='${prefix}'
25675 else
25676 acl_final_exec_prefix="$exec_prefix"
25678 acl_save_prefix="$prefix"
25679 prefix="$acl_final_prefix"
25680 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
25681 prefix="$acl_save_prefix"
25684 # Check whether --with-gnu-ld was given.
25685 if test "${with_gnu_ld+set}" = set; then :
25686 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
25687 else
25688 with_gnu_ld=no
25691 # Prepare PATH_SEPARATOR.
25692 # The user is always right.
25693 if test "${PATH_SEPARATOR+set}" != set; then
25694 echo "#! /bin/sh" >conf$$.sh
25695 echo "exit 0" >>conf$$.sh
25696 chmod +x conf$$.sh
25697 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25698 PATH_SEPARATOR=';'
25699 else
25700 PATH_SEPARATOR=:
25702 rm -f conf$$.sh
25704 ac_prog=ld
25705 if test "$GCC" = yes; then
25706 # Check if gcc -print-prog-name=ld gives a path.
25707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
25708 $as_echo_n "checking for ld used by GCC... " >&6; }
25709 case $host in
25710 *-*-mingw*)
25711 # gcc leaves a trailing carriage return which upsets mingw
25712 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
25714 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
25715 esac
25716 case $ac_prog in
25717 # Accept absolute paths.
25718 [\\/]* | [A-Za-z]:[\\/]*)
25719 re_direlt='/[^/][^/]*/\.\./'
25720 # Canonicalize the path of ld
25721 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
25722 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
25723 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
25724 done
25725 test -z "$LD" && LD="$ac_prog"
25728 # If it fails, then pretend we aren't using GCC.
25729 ac_prog=ld
25732 # If it is relative, then search for the first ld in PATH.
25733 with_gnu_ld=unknown
25735 esac
25736 elif test "$with_gnu_ld" = yes; then
25737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
25738 $as_echo_n "checking for GNU ld... " >&6; }
25739 else
25740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
25741 $as_echo_n "checking for non-GNU ld... " >&6; }
25743 if test "${acl_cv_path_LD+set}" = set; then :
25744 $as_echo_n "(cached) " >&6
25745 else
25746 if test -z "$LD"; then
25747 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
25748 for ac_dir in $PATH; do
25749 test -z "$ac_dir" && ac_dir=.
25750 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
25751 acl_cv_path_LD="$ac_dir/$ac_prog"
25752 # Check to see if the program is GNU ld. I'd rather use --version,
25753 # but apparently some GNU ld's only accept -v.
25754 # Break only if it was the GNU/non-GNU ld that we prefer.
25755 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
25756 test "$with_gnu_ld" != no && break
25757 else
25758 test "$with_gnu_ld" != yes && break
25761 done
25762 IFS="$ac_save_ifs"
25763 else
25764 acl_cv_path_LD="$LD" # Let the user override the test with a path.
25768 LD="$acl_cv_path_LD"
25769 if test -n "$LD"; then
25770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
25771 $as_echo "$LD" >&6; }
25772 else
25773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25774 $as_echo "no" >&6; }
25776 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
25777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
25778 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
25779 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
25780 $as_echo_n "(cached) " >&6
25781 else
25782 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
25783 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
25784 acl_cv_prog_gnu_ld=yes
25785 else
25786 acl_cv_prog_gnu_ld=no
25789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
25790 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
25791 with_gnu_ld=$acl_cv_prog_gnu_ld
25795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
25796 $as_echo_n "checking for shared library run path origin... " >&6; }
25797 if test "${acl_cv_rpath+set}" = set; then :
25798 $as_echo_n "(cached) " >&6
25799 else
25801 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
25802 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
25803 . ./conftest.sh
25804 rm -f ./conftest.sh
25805 acl_cv_rpath=done
25808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
25809 $as_echo "$acl_cv_rpath" >&6; }
25810 wl="$acl_cv_wl"
25811 libext="$acl_cv_libext"
25812 shlibext="$acl_cv_shlibext"
25813 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
25814 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
25815 hardcode_direct="$acl_cv_hardcode_direct"
25816 hardcode_minus_L="$acl_cv_hardcode_minus_L"
25817 # Check whether --enable-rpath was given.
25818 if test "${enable_rpath+set}" = set; then :
25819 enableval=$enable_rpath; :
25820 else
25821 enable_rpath=yes
25831 use_additional=yes
25833 acl_save_prefix="$prefix"
25834 prefix="$acl_final_prefix"
25835 acl_save_exec_prefix="$exec_prefix"
25836 exec_prefix="$acl_final_exec_prefix"
25838 eval additional_includedir=\"$includedir\"
25839 eval additional_libdir=\"$libdir\"
25841 exec_prefix="$acl_save_exec_prefix"
25842 prefix="$acl_save_prefix"
25845 # Check whether --with-libiconv-prefix was given.
25846 if test "${with_libiconv_prefix+set}" = set; then :
25847 withval=$with_libiconv_prefix;
25848 if test "X$withval" = "Xno"; then
25849 use_additional=no
25850 else
25851 if test "X$withval" = "X"; then
25853 acl_save_prefix="$prefix"
25854 prefix="$acl_final_prefix"
25855 acl_save_exec_prefix="$exec_prefix"
25856 exec_prefix="$acl_final_exec_prefix"
25858 eval additional_includedir=\"$includedir\"
25859 eval additional_libdir=\"$libdir\"
25861 exec_prefix="$acl_save_exec_prefix"
25862 prefix="$acl_save_prefix"
25864 else
25865 additional_includedir="$withval/include"
25866 additional_libdir="$withval/lib"
25872 LIBICONV=
25873 LTLIBICONV=
25874 INCICONV=
25875 rpathdirs=
25876 ltrpathdirs=
25877 names_already_handled=
25878 names_next_round='iconv '
25879 while test -n "$names_next_round"; do
25880 names_this_round="$names_next_round"
25881 names_next_round=
25882 for name in $names_this_round; do
25883 already_handled=
25884 for n in $names_already_handled; do
25885 if test "$n" = "$name"; then
25886 already_handled=yes
25887 break
25889 done
25890 if test -z "$already_handled"; then
25891 names_already_handled="$names_already_handled $name"
25892 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
25893 eval value=\"\$HAVE_LIB$uppername\"
25894 if test -n "$value"; then
25895 if test "$value" = yes; then
25896 eval value=\"\$LIB$uppername\"
25897 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
25898 eval value=\"\$LTLIB$uppername\"
25899 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
25900 else
25903 else
25904 found_dir=
25905 found_la=
25906 found_so=
25907 found_a=
25908 if test $use_additional = yes; then
25909 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
25910 found_dir="$additional_libdir"
25911 found_so="$additional_libdir/lib$name.$shlibext"
25912 if test -f "$additional_libdir/lib$name.la"; then
25913 found_la="$additional_libdir/lib$name.la"
25915 else
25916 if test -f "$additional_libdir/lib$name.$libext"; then
25917 found_dir="$additional_libdir"
25918 found_a="$additional_libdir/lib$name.$libext"
25919 if test -f "$additional_libdir/lib$name.la"; then
25920 found_la="$additional_libdir/lib$name.la"
25925 if test "X$found_dir" = "X"; then
25926 for x in $LDFLAGS $LTLIBICONV; do
25928 acl_save_prefix="$prefix"
25929 prefix="$acl_final_prefix"
25930 acl_save_exec_prefix="$exec_prefix"
25931 exec_prefix="$acl_final_exec_prefix"
25932 eval x=\"$x\"
25933 exec_prefix="$acl_save_exec_prefix"
25934 prefix="$acl_save_prefix"
25936 case "$x" in
25937 -L*)
25938 dir=`echo "X$x" | sed -e 's/^X-L//'`
25939 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
25940 found_dir="$dir"
25941 found_so="$dir/lib$name.$shlibext"
25942 if test -f "$dir/lib$name.la"; then
25943 found_la="$dir/lib$name.la"
25945 else
25946 if test -f "$dir/lib$name.$libext"; then
25947 found_dir="$dir"
25948 found_a="$dir/lib$name.$libext"
25949 if test -f "$dir/lib$name.la"; then
25950 found_la="$dir/lib$name.la"
25955 esac
25956 if test "X$found_dir" != "X"; then
25957 break
25959 done
25961 if test "X$found_dir" != "X"; then
25962 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
25963 if test "X$found_so" != "X"; then
25964 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
25965 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25966 else
25967 haveit=
25968 for x in $ltrpathdirs; do
25969 if test "X$x" = "X$found_dir"; then
25970 haveit=yes
25971 break
25973 done
25974 if test -z "$haveit"; then
25975 ltrpathdirs="$ltrpathdirs $found_dir"
25977 if test "$hardcode_direct" = yes; then
25978 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25979 else
25980 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
25981 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25982 haveit=
25983 for x in $rpathdirs; do
25984 if test "X$x" = "X$found_dir"; then
25985 haveit=yes
25986 break
25988 done
25989 if test -z "$haveit"; then
25990 rpathdirs="$rpathdirs $found_dir"
25992 else
25993 haveit=
25994 for x in $LDFLAGS $LIBICONV; do
25996 acl_save_prefix="$prefix"
25997 prefix="$acl_final_prefix"
25998 acl_save_exec_prefix="$exec_prefix"
25999 exec_prefix="$acl_final_exec_prefix"
26000 eval x=\"$x\"
26001 exec_prefix="$acl_save_exec_prefix"
26002 prefix="$acl_save_prefix"
26004 if test "X$x" = "X-L$found_dir"; then
26005 haveit=yes
26006 break
26008 done
26009 if test -z "$haveit"; then
26010 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
26012 if test "$hardcode_minus_L" != no; then
26013 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26014 else
26015 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26020 else
26021 if test "X$found_a" != "X"; then
26022 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
26023 else
26024 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
26027 additional_includedir=
26028 case "$found_dir" in
26029 */lib | */lib/)
26030 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26031 additional_includedir="$basedir/include"
26033 esac
26034 if test "X$additional_includedir" != "X"; then
26035 if test "X$additional_includedir" != "X/usr/include"; then
26036 haveit=
26037 if test "X$additional_includedir" = "X/usr/local/include"; then
26038 if test -n "$GCC"; then
26039 case $host_os in
26040 linux*) haveit=yes;;
26041 esac
26044 if test -z "$haveit"; then
26045 for x in $CPPFLAGS $INCICONV; do
26047 acl_save_prefix="$prefix"
26048 prefix="$acl_final_prefix"
26049 acl_save_exec_prefix="$exec_prefix"
26050 exec_prefix="$acl_final_exec_prefix"
26051 eval x=\"$x\"
26052 exec_prefix="$acl_save_exec_prefix"
26053 prefix="$acl_save_prefix"
26055 if test "X$x" = "X-I$additional_includedir"; then
26056 haveit=yes
26057 break
26059 done
26060 if test -z "$haveit"; then
26061 if test -d "$additional_includedir"; then
26062 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26068 if test -n "$found_la"; then
26069 save_libdir="$libdir"
26070 case "$found_la" in
26071 */* | *\\*) . "$found_la" ;;
26072 *) . "./$found_la" ;;
26073 esac
26074 libdir="$save_libdir"
26075 for dep in $dependency_libs; do
26076 case "$dep" in
26077 -L*)
26078 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26079 if test "X$additional_libdir" != "X/usr/lib"; then
26080 haveit=
26081 if test "X$additional_libdir" = "X/usr/local/lib"; then
26082 if test -n "$GCC"; then
26083 case $host_os in
26084 linux*) haveit=yes;;
26085 esac
26088 if test -z "$haveit"; then
26089 haveit=
26090 for x in $LDFLAGS $LIBICONV; do
26092 acl_save_prefix="$prefix"
26093 prefix="$acl_final_prefix"
26094 acl_save_exec_prefix="$exec_prefix"
26095 exec_prefix="$acl_final_exec_prefix"
26096 eval x=\"$x\"
26097 exec_prefix="$acl_save_exec_prefix"
26098 prefix="$acl_save_prefix"
26100 if test "X$x" = "X-L$additional_libdir"; then
26101 haveit=yes
26102 break
26104 done
26105 if test -z "$haveit"; then
26106 if test -d "$additional_libdir"; then
26107 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26110 haveit=
26111 for x in $LDFLAGS $LTLIBICONV; do
26113 acl_save_prefix="$prefix"
26114 prefix="$acl_final_prefix"
26115 acl_save_exec_prefix="$exec_prefix"
26116 exec_prefix="$acl_final_exec_prefix"
26117 eval x=\"$x\"
26118 exec_prefix="$acl_save_exec_prefix"
26119 prefix="$acl_save_prefix"
26121 if test "X$x" = "X-L$additional_libdir"; then
26122 haveit=yes
26123 break
26125 done
26126 if test -z "$haveit"; then
26127 if test -d "$additional_libdir"; then
26128 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26134 -R*)
26135 dir=`echo "X$dep" | sed -e 's/^X-R//'`
26136 if test "$enable_rpath" != no; then
26137 haveit=
26138 for x in $rpathdirs; do
26139 if test "X$x" = "X$dir"; then
26140 haveit=yes
26141 break
26143 done
26144 if test -z "$haveit"; then
26145 rpathdirs="$rpathdirs $dir"
26147 haveit=
26148 for x in $ltrpathdirs; do
26149 if test "X$x" = "X$dir"; then
26150 haveit=yes
26151 break
26153 done
26154 if test -z "$haveit"; then
26155 ltrpathdirs="$ltrpathdirs $dir"
26159 -l*)
26160 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26162 *.la)
26163 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26166 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26167 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26169 esac
26170 done
26172 else
26173 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26174 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26178 done
26179 done
26180 if test "X$rpathdirs" != "X"; then
26181 if test -n "$hardcode_libdir_separator"; then
26182 alldirs=
26183 for found_dir in $rpathdirs; do
26184 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
26185 done
26186 acl_save_libdir="$libdir"
26187 libdir="$alldirs"
26188 eval flag=\"$hardcode_libdir_flag_spec\"
26189 libdir="$acl_save_libdir"
26190 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26191 else
26192 for found_dir in $rpathdirs; do
26193 acl_save_libdir="$libdir"
26194 libdir="$found_dir"
26195 eval flag=\"$hardcode_libdir_flag_spec\"
26196 libdir="$acl_save_libdir"
26197 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26198 done
26201 if test "X$ltrpathdirs" != "X"; then
26202 for found_dir in $ltrpathdirs; do
26203 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
26204 done
26213 am_save_CPPFLAGS="$CPPFLAGS"
26215 for element in $INCICONV; do
26216 haveit=
26217 for x in $CPPFLAGS; do
26219 acl_save_prefix="$prefix"
26220 prefix="$acl_final_prefix"
26221 acl_save_exec_prefix="$exec_prefix"
26222 exec_prefix="$acl_final_exec_prefix"
26223 eval x=\"$x\"
26224 exec_prefix="$acl_save_exec_prefix"
26225 prefix="$acl_save_prefix"
26227 if test "X$x" = "X$element"; then
26228 haveit=yes
26229 break
26231 done
26232 if test -z "$haveit"; then
26233 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
26235 done
26238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
26239 $as_echo_n "checking for iconv... " >&6; }
26240 if test "${am_cv_func_iconv+set}" = set; then :
26241 $as_echo_n "(cached) " >&6
26242 else
26244 am_cv_func_iconv="no, consider installing GNU libiconv"
26245 am_cv_lib_iconv=no
26246 if test x$gcc_no_link = xyes; then
26247 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26250 /* end confdefs.h. */
26251 #include <stdlib.h>
26252 #include <iconv.h>
26254 main ()
26256 iconv_t cd = iconv_open("","");
26257 iconv(cd,NULL,NULL,NULL,NULL);
26258 iconv_close(cd);
26260 return 0;
26262 _ACEOF
26263 if ac_fn_c_try_link "$LINENO"; then :
26264 am_cv_func_iconv=yes
26266 rm -f core conftest.err conftest.$ac_objext \
26267 conftest$ac_exeext conftest.$ac_ext
26268 if test "$am_cv_func_iconv" != yes; then
26269 am_save_LIBS="$LIBS"
26270 LIBS="$LIBS $LIBICONV"
26271 if test x$gcc_no_link = xyes; then
26272 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26275 /* end confdefs.h. */
26276 #include <stdlib.h>
26277 #include <iconv.h>
26279 main ()
26281 iconv_t cd = iconv_open("","");
26282 iconv(cd,NULL,NULL,NULL,NULL);
26283 iconv_close(cd);
26285 return 0;
26287 _ACEOF
26288 if ac_fn_c_try_link "$LINENO"; then :
26289 am_cv_lib_iconv=yes
26290 am_cv_func_iconv=yes
26292 rm -f core conftest.err conftest.$ac_objext \
26293 conftest$ac_exeext conftest.$ac_ext
26294 LIBS="$am_save_LIBS"
26298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
26299 $as_echo "$am_cv_func_iconv" >&6; }
26300 if test "$am_cv_func_iconv" = yes; then
26302 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26305 if test "$am_cv_lib_iconv" = yes; then
26306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
26307 $as_echo_n "checking how to link with libiconv... " >&6; }
26308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
26309 $as_echo "$LIBICONV" >&6; }
26310 else
26311 CPPFLAGS="$am_save_CPPFLAGS"
26312 LIBICONV=
26313 LTLIBICONV=
26318 if test "$am_cv_func_iconv" = yes; then
26319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
26320 $as_echo_n "checking for iconv declaration... " >&6; }
26321 if test "${am_cv_proto_iconv+set}" = set; then :
26322 $as_echo_n "(cached) " >&6
26323 else
26325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26326 /* end confdefs.h. */
26328 #include <stdlib.h>
26329 #include <iconv.h>
26330 extern
26331 #ifdef __cplusplus
26333 #endif
26334 #if defined(__STDC__) || defined(__cplusplus)
26335 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26336 #else
26337 size_t iconv();
26338 #endif
26341 main ()
26345 return 0;
26347 _ACEOF
26348 if ac_fn_c_try_compile "$LINENO"; then :
26349 am_cv_proto_iconv_arg1=""
26350 else
26351 am_cv_proto_iconv_arg1="const"
26353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26354 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);"
26357 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
26358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
26359 }$am_cv_proto_iconv" >&5
26360 $as_echo "${ac_t:-
26361 }$am_cv_proto_iconv" >&6; }
26363 cat >>confdefs.h <<_ACEOF
26364 #define ICONV_CONST $am_cv_proto_iconv_arg1
26365 _ACEOF
26370 else
26372 # This lets us hard-code the functionality we know we'll have in the cross
26373 # target environment. "Let" is a sugar-coated word placed on an especially
26374 # dull and tedious hack, actually.
26376 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
26377 # that involve linking, can't be used:
26378 # "cannot open sim-crt0.o"
26379 # "cannot open crt0.o"
26380 # etc. All this is because there currently exists no unified, consistent
26381 # way for top level CC information to be passed down to target directories:
26382 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
26383 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
26384 # crosses can be removed.
26386 # If Canadian cross, then don't pick up tools from the build directory.
26387 # Used only in GLIBCXX_EXPORT_INCLUDES.
26388 if test -n "$with_cross_host" &&
26389 test x"$build_alias" != x"$with_cross_host" &&
26390 test x"$build" != x"$target";
26391 then
26392 CANADIAN=yes
26393 else
26394 CANADIAN=no
26397 # Construct crosses by hand, eliminating bits that need ld...
26398 # GLIBCXX_CHECK_MATH_SUPPORT
26400 # First, test for "known" system libraries. We may be using newlib even
26401 # on a hosted environment.
26402 if test "x${with_newlib}" = "xyes"; then
26403 os_include_dir="os/newlib"
26404 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
26407 # GLIBCXX_CHECK_STDLIB_SUPPORT
26408 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
26411 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
26413 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
26415 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
26417 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
26419 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
26421 $as_echo "#define HAVE_COSF 1" >>confdefs.h
26423 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
26425 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
26427 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
26429 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
26431 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
26433 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
26435 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
26437 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
26439 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
26441 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
26443 $as_echo "#define HAVE_POWF 1" >>confdefs.h
26445 $as_echo "#define HAVE_SINF 1" >>confdefs.h
26447 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
26449 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
26451 $as_echo "#define HAVE_TANF 1" >>confdefs.h
26453 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
26456 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26458 else
26460 # Base decisions on target environment.
26461 case "${host}" in
26462 arm*-*-symbianelf*)
26463 # This is a freestanding configuration; there is nothing to do here.
26466 mips*-sde-elf*)
26467 # These definitions are for the SDE C library rather than newlib.
26468 SECTION_FLAGS='-ffunction-sections -fdata-sections'
26471 # All these tests are for C++; save the language and the compiler flags.
26472 # The CXXFLAGS thing is suspicious, but based on similar bits previously
26473 # found in GLIBCXX_CONFIGURE.
26475 ac_ext=cpp
26476 ac_cpp='$CXXCPP $CPPFLAGS'
26477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26481 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26482 ac_save_CXXFLAGS="$CXXFLAGS"
26484 # Check for maintainer-mode bits.
26485 if test x"$USE_MAINTAINER_MODE" = xno; then
26486 WERROR=''
26487 else
26488 WERROR='-Werror'
26491 # Check for -ffunction-sections -fdata-sections
26492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
26493 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
26494 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
26495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26496 /* end confdefs.h. */
26497 int foo; void bar() { };
26499 main ()
26503 return 0;
26505 _ACEOF
26506 if ac_fn_cxx_try_compile "$LINENO"; then :
26507 ac_fdsections=yes
26508 else
26509 ac_fdsections=no
26511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26512 if test "$ac_test_CXXFLAGS" = set; then
26513 CXXFLAGS="$ac_save_CXXFLAGS"
26514 else
26515 # this is the suspicious part
26516 CXXFLAGS=''
26518 if test x"$ac_fdsections" = x"yes"; then
26519 SECTION_FLAGS='-ffunction-sections -fdata-sections'
26521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
26522 $as_echo "$ac_fdsections" >&6; }
26524 ac_ext=c
26525 ac_cpp='$CPP $CPPFLAGS'
26526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26534 # If we're not using GNU ld, then there's no point in even trying these
26535 # tests. Check for that first. We should have already tested for gld
26536 # by now (in libtool), but require it now just to be safe...
26537 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
26538 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
26542 # The name set by libtool depends on the version of libtool. Shame on us
26543 # for depending on an impl detail, but c'est la vie. Older versions used
26544 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
26545 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
26546 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
26547 # set (hence we're using an older libtool), then set it.
26548 if test x${with_gnu_ld+set} != xset; then
26549 if test x${ac_cv_prog_gnu_ld+set} != xset; then
26550 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
26551 with_gnu_ld=no
26552 else
26553 with_gnu_ld=$ac_cv_prog_gnu_ld
26557 # Start by getting the version number. I think the libtool test already
26558 # does some of this, but throws away the result.
26559 glibcxx_ld_is_gold=no
26560 if test x"$with_gnu_ld" = x"yes"; then
26561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
26562 $as_echo_n "checking for ld version... " >&6; }
26564 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
26565 glibcxx_ld_is_gold=yes
26567 ldver=`$LD --version 2>/dev/null |
26568 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'`
26570 glibcxx_gnu_ld_version=`echo $ldver | \
26571 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
26572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
26573 $as_echo "$glibcxx_gnu_ld_version" >&6; }
26576 # Set --gc-sections.
26577 glibcxx_have_gc_sections=no
26578 if test "$glibcxx_ld_is_gold" = "yes"; then
26579 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
26580 glibcxx_have_gc_sections=yes
26582 else
26583 glibcxx_gcsections_min_ld=21602
26584 if test x"$with_gnu_ld" = x"yes" &&
26585 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
26586 glibcxx_have_gc_sections=yes
26589 if test "$glibcxx_have_gc_sections" = "yes"; then
26590 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
26591 # NB: This flag only works reliably after 2.16.1. Configure tests
26592 # for this are difficult, so hard wire a value that should work.
26594 ac_test_CFLAGS="${CFLAGS+set}"
26595 ac_save_CFLAGS="$CFLAGS"
26596 CFLAGS='-Wl,--gc-sections'
26598 # Check for -Wl,--gc-sections
26599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
26600 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
26601 if test x$gcc_no_link = xyes; then
26602 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26605 /* end confdefs.h. */
26606 int one(void) { return 1; }
26607 int two(void) { return 2; }
26610 main ()
26612 two();
26614 return 0;
26616 _ACEOF
26617 if ac_fn_c_try_link "$LINENO"; then :
26618 ac_gcsections=yes
26619 else
26620 ac_gcsections=no
26622 rm -f core conftest.err conftest.$ac_objext \
26623 conftest$ac_exeext conftest.$ac_ext
26624 if test "$ac_gcsections" = "yes"; then
26625 rm -f conftest.c
26626 touch conftest.c
26627 if $CC -c conftest.c; then
26628 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
26629 grep "Warning: gc-sections option ignored" > /dev/null; then
26630 ac_gcsections=no
26633 rm -f conftest.c conftest.o conftest
26635 if test "$ac_gcsections" = "yes"; then
26636 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
26638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
26639 $as_echo "$ac_gcsections" >&6; }
26641 if test "$ac_test_CFLAGS" = set; then
26642 CFLAGS="$ac_save_CFLAGS"
26643 else
26644 # this is the suspicious part
26645 CFLAGS=''
26649 # Set -z,relro.
26650 # Note this is only for shared objects.
26651 ac_ld_relro=no
26652 if test x"$with_gnu_ld" = x"yes"; then
26653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
26654 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
26655 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
26656 if test -n "$cxx_z_relo"; then
26657 OPT_LDFLAGS="-Wl,-z,relro"
26658 ac_ld_relro=yes
26660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
26661 $as_echo "$ac_ld_relro" >&6; }
26664 # Set linker optimization flags.
26665 if test x"$with_gnu_ld" = x"yes"; then
26666 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
26673 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26674 ac_save_CXXFLAGS="$CXXFLAGS"
26675 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
26678 $as_echo_n "checking for sin in -lm... " >&6; }
26679 if test "${ac_cv_lib_m_sin+set}" = set; then :
26680 $as_echo_n "(cached) " >&6
26681 else
26682 ac_check_lib_save_LIBS=$LIBS
26683 LIBS="-lm $LIBS"
26684 if test x$gcc_no_link = xyes; then
26685 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26688 /* end confdefs.h. */
26690 /* Override any GCC internal prototype to avoid an error.
26691 Use char because int might match the return type of a GCC
26692 builtin and then its argument prototype would still apply. */
26693 #ifdef __cplusplus
26694 extern "C"
26695 #endif
26696 char sin ();
26698 main ()
26700 return sin ();
26702 return 0;
26704 _ACEOF
26705 if ac_fn_c_try_link "$LINENO"; then :
26706 ac_cv_lib_m_sin=yes
26707 else
26708 ac_cv_lib_m_sin=no
26710 rm -f core conftest.err conftest.$ac_objext \
26711 conftest$ac_exeext conftest.$ac_ext
26712 LIBS=$ac_check_lib_save_LIBS
26714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
26715 $as_echo "$ac_cv_lib_m_sin" >&6; }
26716 if test "x$ac_cv_lib_m_sin" = x""yes; then :
26717 libm="-lm"
26720 ac_save_LIBS="$LIBS"
26721 LIBS="$LIBS $libm"
26725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
26726 $as_echo_n "checking for isinf declaration... " >&6; }
26727 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
26728 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
26729 $as_echo_n "(cached) " >&6
26730 else
26733 ac_ext=cpp
26734 ac_cpp='$CXXCPP $CPPFLAGS'
26735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26740 /* end confdefs.h. */
26741 #include <math.h>
26742 #ifdef HAVE_IEEEFP_H
26743 #include <ieeefp.h>
26744 #endif
26747 main ()
26749 isinf(0);
26751 return 0;
26753 _ACEOF
26754 if ac_fn_cxx_try_compile "$LINENO"; then :
26755 glibcxx_cv_func_isinf_use=yes
26756 else
26757 glibcxx_cv_func_isinf_use=no
26759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26760 ac_ext=c
26761 ac_cpp='$CPP $CPPFLAGS'
26762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
26771 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
26773 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
26774 for ac_func in isinf
26775 do :
26776 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
26777 if test "x$ac_cv_func_isinf" = x""yes; then :
26778 cat >>confdefs.h <<_ACEOF
26779 #define HAVE_ISINF 1
26780 _ACEOF
26783 done
26785 else
26787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
26788 $as_echo_n "checking for _isinf declaration... " >&6; }
26789 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
26790 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
26791 $as_echo_n "(cached) " >&6
26792 else
26795 ac_ext=cpp
26796 ac_cpp='$CXXCPP $CPPFLAGS'
26797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26802 /* end confdefs.h. */
26803 #include <math.h>
26804 #ifdef HAVE_IEEEFP_H
26805 #include <ieeefp.h>
26806 #endif
26809 main ()
26811 _isinf(0);
26813 return 0;
26815 _ACEOF
26816 if ac_fn_cxx_try_compile "$LINENO"; then :
26817 glibcxx_cv_func__isinf_use=yes
26818 else
26819 glibcxx_cv_func__isinf_use=no
26821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26822 ac_ext=c
26823 ac_cpp='$CPP $CPPFLAGS'
26824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
26833 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
26835 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
26836 for ac_func in _isinf
26837 do :
26838 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
26839 if test "x$ac_cv_func__isinf" = x""yes; then :
26840 cat >>confdefs.h <<_ACEOF
26841 #define HAVE__ISINF 1
26842 _ACEOF
26845 done
26854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
26855 $as_echo_n "checking for isnan declaration... " >&6; }
26856 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
26857 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
26858 $as_echo_n "(cached) " >&6
26859 else
26862 ac_ext=cpp
26863 ac_cpp='$CXXCPP $CPPFLAGS'
26864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26869 /* end confdefs.h. */
26870 #include <math.h>
26871 #ifdef HAVE_IEEEFP_H
26872 #include <ieeefp.h>
26873 #endif
26876 main ()
26878 isnan(0);
26880 return 0;
26882 _ACEOF
26883 if ac_fn_cxx_try_compile "$LINENO"; then :
26884 glibcxx_cv_func_isnan_use=yes
26885 else
26886 glibcxx_cv_func_isnan_use=no
26888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26889 ac_ext=c
26890 ac_cpp='$CPP $CPPFLAGS'
26891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
26900 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
26902 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
26903 for ac_func in isnan
26904 do :
26905 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
26906 if test "x$ac_cv_func_isnan" = x""yes; then :
26907 cat >>confdefs.h <<_ACEOF
26908 #define HAVE_ISNAN 1
26909 _ACEOF
26912 done
26914 else
26916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
26917 $as_echo_n "checking for _isnan declaration... " >&6; }
26918 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
26919 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
26920 $as_echo_n "(cached) " >&6
26921 else
26924 ac_ext=cpp
26925 ac_cpp='$CXXCPP $CPPFLAGS'
26926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26931 /* end confdefs.h. */
26932 #include <math.h>
26933 #ifdef HAVE_IEEEFP_H
26934 #include <ieeefp.h>
26935 #endif
26938 main ()
26940 _isnan(0);
26942 return 0;
26944 _ACEOF
26945 if ac_fn_cxx_try_compile "$LINENO"; then :
26946 glibcxx_cv_func__isnan_use=yes
26947 else
26948 glibcxx_cv_func__isnan_use=no
26950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26951 ac_ext=c
26952 ac_cpp='$CPP $CPPFLAGS'
26953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
26962 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
26964 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
26965 for ac_func in _isnan
26966 do :
26967 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
26968 if test "x$ac_cv_func__isnan" = x""yes; then :
26969 cat >>confdefs.h <<_ACEOF
26970 #define HAVE__ISNAN 1
26971 _ACEOF
26974 done
26983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
26984 $as_echo_n "checking for finite declaration... " >&6; }
26985 if test x${glibcxx_cv_func_finite_use+set} != xset; then
26986 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
26987 $as_echo_n "(cached) " >&6
26988 else
26991 ac_ext=cpp
26992 ac_cpp='$CXXCPP $CPPFLAGS'
26993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26998 /* end confdefs.h. */
26999 #include <math.h>
27000 #ifdef HAVE_IEEEFP_H
27001 #include <ieeefp.h>
27002 #endif
27005 main ()
27007 finite(0);
27009 return 0;
27011 _ACEOF
27012 if ac_fn_cxx_try_compile "$LINENO"; then :
27013 glibcxx_cv_func_finite_use=yes
27014 else
27015 glibcxx_cv_func_finite_use=no
27017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27018 ac_ext=c
27019 ac_cpp='$CPP $CPPFLAGS'
27020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
27029 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27031 if test x$glibcxx_cv_func_finite_use = x"yes"; then
27032 for ac_func in finite
27033 do :
27034 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27035 if test "x$ac_cv_func_finite" = x""yes; then :
27036 cat >>confdefs.h <<_ACEOF
27037 #define HAVE_FINITE 1
27038 _ACEOF
27041 done
27043 else
27045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27046 $as_echo_n "checking for _finite declaration... " >&6; }
27047 if test x${glibcxx_cv_func__finite_use+set} != xset; then
27048 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27049 $as_echo_n "(cached) " >&6
27050 else
27053 ac_ext=cpp
27054 ac_cpp='$CXXCPP $CPPFLAGS'
27055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27060 /* end confdefs.h. */
27061 #include <math.h>
27062 #ifdef HAVE_IEEEFP_H
27063 #include <ieeefp.h>
27064 #endif
27067 main ()
27069 _finite(0);
27071 return 0;
27073 _ACEOF
27074 if ac_fn_cxx_try_compile "$LINENO"; then :
27075 glibcxx_cv_func__finite_use=yes
27076 else
27077 glibcxx_cv_func__finite_use=no
27079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27080 ac_ext=c
27081 ac_cpp='$CPP $CPPFLAGS'
27082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27091 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27093 if test x$glibcxx_cv_func__finite_use = x"yes"; then
27094 for ac_func in _finite
27095 do :
27096 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27097 if test "x$ac_cv_func__finite" = x""yes; then :
27098 cat >>confdefs.h <<_ACEOF
27099 #define HAVE__FINITE 1
27100 _ACEOF
27103 done
27112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27113 $as_echo_n "checking for sincos declaration... " >&6; }
27114 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27115 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27116 $as_echo_n "(cached) " >&6
27117 else
27120 ac_ext=cpp
27121 ac_cpp='$CXXCPP $CPPFLAGS'
27122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27127 /* end confdefs.h. */
27128 #include <math.h>
27130 main ()
27132 sincos(0, 0, 0);
27134 return 0;
27136 _ACEOF
27137 if ac_fn_cxx_try_compile "$LINENO"; then :
27138 glibcxx_cv_func_sincos_use=yes
27139 else
27140 glibcxx_cv_func_sincos_use=no
27142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27143 ac_ext=c
27144 ac_cpp='$CPP $CPPFLAGS'
27145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27154 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27156 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27157 for ac_func in sincos
27158 do :
27159 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27160 if test "x$ac_cv_func_sincos" = x""yes; then :
27161 cat >>confdefs.h <<_ACEOF
27162 #define HAVE_SINCOS 1
27163 _ACEOF
27166 done
27168 else
27170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27171 $as_echo_n "checking for _sincos declaration... " >&6; }
27172 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27173 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27174 $as_echo_n "(cached) " >&6
27175 else
27178 ac_ext=cpp
27179 ac_cpp='$CXXCPP $CPPFLAGS'
27180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27185 /* end confdefs.h. */
27186 #include <math.h>
27188 main ()
27190 _sincos(0, 0, 0);
27192 return 0;
27194 _ACEOF
27195 if ac_fn_cxx_try_compile "$LINENO"; then :
27196 glibcxx_cv_func__sincos_use=yes
27197 else
27198 glibcxx_cv_func__sincos_use=no
27200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27201 ac_ext=c
27202 ac_cpp='$CPP $CPPFLAGS'
27203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
27212 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
27214 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
27215 for ac_func in _sincos
27216 do :
27217 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
27218 if test "x$ac_cv_func__sincos" = x""yes; then :
27219 cat >>confdefs.h <<_ACEOF
27220 #define HAVE__SINCOS 1
27221 _ACEOF
27224 done
27233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
27234 $as_echo_n "checking for fpclass declaration... " >&6; }
27235 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
27236 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
27237 $as_echo_n "(cached) " >&6
27238 else
27241 ac_ext=cpp
27242 ac_cpp='$CXXCPP $CPPFLAGS'
27243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27248 /* end confdefs.h. */
27249 #include <math.h>
27250 #ifdef HAVE_IEEEFP_H
27251 #include <ieeefp.h>
27252 #endif
27255 main ()
27257 fpclass(0);
27259 return 0;
27261 _ACEOF
27262 if ac_fn_cxx_try_compile "$LINENO"; then :
27263 glibcxx_cv_func_fpclass_use=yes
27264 else
27265 glibcxx_cv_func_fpclass_use=no
27267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27268 ac_ext=c
27269 ac_cpp='$CPP $CPPFLAGS'
27270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
27279 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
27281 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
27282 for ac_func in fpclass
27283 do :
27284 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
27285 if test "x$ac_cv_func_fpclass" = x""yes; then :
27286 cat >>confdefs.h <<_ACEOF
27287 #define HAVE_FPCLASS 1
27288 _ACEOF
27291 done
27293 else
27295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
27296 $as_echo_n "checking for _fpclass declaration... " >&6; }
27297 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
27298 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
27299 $as_echo_n "(cached) " >&6
27300 else
27303 ac_ext=cpp
27304 ac_cpp='$CXXCPP $CPPFLAGS'
27305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27310 /* end confdefs.h. */
27311 #include <math.h>
27312 #ifdef HAVE_IEEEFP_H
27313 #include <ieeefp.h>
27314 #endif
27317 main ()
27319 _fpclass(0);
27321 return 0;
27323 _ACEOF
27324 if ac_fn_cxx_try_compile "$LINENO"; then :
27325 glibcxx_cv_func__fpclass_use=yes
27326 else
27327 glibcxx_cv_func__fpclass_use=no
27329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27330 ac_ext=c
27331 ac_cpp='$CPP $CPPFLAGS'
27332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
27341 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
27343 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
27344 for ac_func in _fpclass
27345 do :
27346 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
27347 if test "x$ac_cv_func__fpclass" = x""yes; then :
27348 cat >>confdefs.h <<_ACEOF
27349 #define HAVE__FPCLASS 1
27350 _ACEOF
27353 done
27362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
27363 $as_echo_n "checking for qfpclass declaration... " >&6; }
27364 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
27365 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
27366 $as_echo_n "(cached) " >&6
27367 else
27370 ac_ext=cpp
27371 ac_cpp='$CXXCPP $CPPFLAGS'
27372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27377 /* end confdefs.h. */
27378 #include <math.h>
27379 #ifdef HAVE_IEEEFP_H
27380 #include <ieeefp.h>
27381 #endif
27384 main ()
27386 qfpclass(0);
27388 return 0;
27390 _ACEOF
27391 if ac_fn_cxx_try_compile "$LINENO"; then :
27392 glibcxx_cv_func_qfpclass_use=yes
27393 else
27394 glibcxx_cv_func_qfpclass_use=no
27396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27397 ac_ext=c
27398 ac_cpp='$CPP $CPPFLAGS'
27399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
27408 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
27410 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
27411 for ac_func in qfpclass
27412 do :
27413 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
27414 if test "x$ac_cv_func_qfpclass" = x""yes; then :
27415 cat >>confdefs.h <<_ACEOF
27416 #define HAVE_QFPCLASS 1
27417 _ACEOF
27420 done
27422 else
27424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
27425 $as_echo_n "checking for _qfpclass declaration... " >&6; }
27426 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
27427 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
27428 $as_echo_n "(cached) " >&6
27429 else
27432 ac_ext=cpp
27433 ac_cpp='$CXXCPP $CPPFLAGS'
27434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27439 /* end confdefs.h. */
27440 #include <math.h>
27441 #ifdef HAVE_IEEEFP_H
27442 #include <ieeefp.h>
27443 #endif
27446 main ()
27448 _qfpclass(0);
27450 return 0;
27452 _ACEOF
27453 if ac_fn_cxx_try_compile "$LINENO"; then :
27454 glibcxx_cv_func__qfpclass_use=yes
27455 else
27456 glibcxx_cv_func__qfpclass_use=no
27458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27459 ac_ext=c
27460 ac_cpp='$CPP $CPPFLAGS'
27461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
27470 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
27472 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
27473 for ac_func in _qfpclass
27474 do :
27475 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
27476 if test "x$ac_cv_func__qfpclass" = x""yes; then :
27477 cat >>confdefs.h <<_ACEOF
27478 #define HAVE__QFPCLASS 1
27479 _ACEOF
27482 done
27491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
27492 $as_echo_n "checking for hypot declaration... " >&6; }
27493 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
27494 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
27495 $as_echo_n "(cached) " >&6
27496 else
27499 ac_ext=cpp
27500 ac_cpp='$CXXCPP $CPPFLAGS'
27501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27506 /* end confdefs.h. */
27507 #include <math.h>
27509 main ()
27511 hypot(0, 0);
27513 return 0;
27515 _ACEOF
27516 if ac_fn_cxx_try_compile "$LINENO"; then :
27517 glibcxx_cv_func_hypot_use=yes
27518 else
27519 glibcxx_cv_func_hypot_use=no
27521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27522 ac_ext=c
27523 ac_cpp='$CPP $CPPFLAGS'
27524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
27533 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
27535 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
27536 for ac_func in hypot
27537 do :
27538 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
27539 if test "x$ac_cv_func_hypot" = x""yes; then :
27540 cat >>confdefs.h <<_ACEOF
27541 #define HAVE_HYPOT 1
27542 _ACEOF
27545 done
27547 else
27549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
27550 $as_echo_n "checking for _hypot declaration... " >&6; }
27551 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
27552 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
27553 $as_echo_n "(cached) " >&6
27554 else
27557 ac_ext=cpp
27558 ac_cpp='$CXXCPP $CPPFLAGS'
27559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27564 /* end confdefs.h. */
27565 #include <math.h>
27567 main ()
27569 _hypot(0, 0);
27571 return 0;
27573 _ACEOF
27574 if ac_fn_cxx_try_compile "$LINENO"; then :
27575 glibcxx_cv_func__hypot_use=yes
27576 else
27577 glibcxx_cv_func__hypot_use=no
27579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27580 ac_ext=c
27581 ac_cpp='$CPP $CPPFLAGS'
27582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
27591 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
27593 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
27594 for ac_func in _hypot
27595 do :
27596 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
27597 if test "x$ac_cv_func__hypot" = x""yes; then :
27598 cat >>confdefs.h <<_ACEOF
27599 #define HAVE__HYPOT 1
27600 _ACEOF
27603 done
27612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
27613 $as_echo_n "checking for float trig functions... " >&6; }
27614 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
27615 $as_echo_n "(cached) " >&6
27616 else
27619 ac_ext=cpp
27620 ac_cpp='$CXXCPP $CPPFLAGS'
27621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27626 /* end confdefs.h. */
27627 #include <math.h>
27629 main ()
27631 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
27633 return 0;
27635 _ACEOF
27636 if ac_fn_cxx_try_compile "$LINENO"; then :
27637 glibcxx_cv_func_float_trig_use=yes
27638 else
27639 glibcxx_cv_func_float_trig_use=no
27641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27642 ac_ext=c
27643 ac_cpp='$CPP $CPPFLAGS'
27644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
27651 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
27652 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
27653 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
27654 do :
27655 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27656 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27657 eval as_val=\$$as_ac_var
27658 if test "x$as_val" = x""yes; then :
27659 cat >>confdefs.h <<_ACEOF
27660 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27661 _ACEOF
27664 done
27666 else
27667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
27668 $as_echo_n "checking for _float trig functions... " >&6; }
27669 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
27670 $as_echo_n "(cached) " >&6
27671 else
27674 ac_ext=cpp
27675 ac_cpp='$CXXCPP $CPPFLAGS'
27676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27681 /* end confdefs.h. */
27682 #include <math.h>
27684 main ()
27686 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
27688 return 0;
27690 _ACEOF
27691 if ac_fn_cxx_try_compile "$LINENO"; then :
27692 glibcxx_cv_func__float_trig_use=yes
27693 else
27694 glibcxx_cv_func__float_trig_use=no
27696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27697 ac_ext=c
27698 ac_cpp='$CPP $CPPFLAGS'
27699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
27706 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
27707 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
27708 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
27709 do :
27710 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27711 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27712 eval as_val=\$$as_ac_var
27713 if test "x$as_val" = x""yes; then :
27714 cat >>confdefs.h <<_ACEOF
27715 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27716 _ACEOF
27719 done
27728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
27729 $as_echo_n "checking for float round functions... " >&6; }
27730 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
27731 $as_echo_n "(cached) " >&6
27732 else
27735 ac_ext=cpp
27736 ac_cpp='$CXXCPP $CPPFLAGS'
27737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27742 /* end confdefs.h. */
27743 #include <math.h>
27745 main ()
27747 ceilf (0); floorf (0);
27749 return 0;
27751 _ACEOF
27752 if ac_fn_cxx_try_compile "$LINENO"; then :
27753 glibcxx_cv_func_float_round_use=yes
27754 else
27755 glibcxx_cv_func_float_round_use=no
27757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27758 ac_ext=c
27759 ac_cpp='$CPP $CPPFLAGS'
27760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
27767 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
27768 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
27769 for ac_func in ceilf floorf
27770 do :
27771 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27772 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27773 eval as_val=\$$as_ac_var
27774 if test "x$as_val" = x""yes; then :
27775 cat >>confdefs.h <<_ACEOF
27776 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27777 _ACEOF
27780 done
27782 else
27783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
27784 $as_echo_n "checking for _float round functions... " >&6; }
27785 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
27786 $as_echo_n "(cached) " >&6
27787 else
27790 ac_ext=cpp
27791 ac_cpp='$CXXCPP $CPPFLAGS'
27792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27797 /* end confdefs.h. */
27798 #include <math.h>
27800 main ()
27802 _ceilf (0); _floorf (0);
27804 return 0;
27806 _ACEOF
27807 if ac_fn_cxx_try_compile "$LINENO"; then :
27808 glibcxx_cv_func__float_round_use=yes
27809 else
27810 glibcxx_cv_func__float_round_use=no
27812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27813 ac_ext=c
27814 ac_cpp='$CPP $CPPFLAGS'
27815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
27822 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
27823 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
27824 for ac_func in _ceilf _floorf
27825 do :
27826 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27827 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27828 eval as_val=\$$as_ac_var
27829 if test "x$as_val" = x""yes; then :
27830 cat >>confdefs.h <<_ACEOF
27831 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27832 _ACEOF
27835 done
27845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
27846 $as_echo_n "checking for expf declaration... " >&6; }
27847 if test x${glibcxx_cv_func_expf_use+set} != xset; then
27848 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
27849 $as_echo_n "(cached) " >&6
27850 else
27853 ac_ext=cpp
27854 ac_cpp='$CXXCPP $CPPFLAGS'
27855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27860 /* end confdefs.h. */
27861 #include <math.h>
27862 #ifdef HAVE_IEEEFP_H
27863 #include <ieeefp.h>
27864 #endif
27867 main ()
27869 expf(0);
27871 return 0;
27873 _ACEOF
27874 if ac_fn_cxx_try_compile "$LINENO"; then :
27875 glibcxx_cv_func_expf_use=yes
27876 else
27877 glibcxx_cv_func_expf_use=no
27879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27880 ac_ext=c
27881 ac_cpp='$CPP $CPPFLAGS'
27882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
27891 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
27893 if test x$glibcxx_cv_func_expf_use = x"yes"; then
27894 for ac_func in expf
27895 do :
27896 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
27897 if test "x$ac_cv_func_expf" = x""yes; then :
27898 cat >>confdefs.h <<_ACEOF
27899 #define HAVE_EXPF 1
27900 _ACEOF
27903 done
27905 else
27907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
27908 $as_echo_n "checking for _expf declaration... " >&6; }
27909 if test x${glibcxx_cv_func__expf_use+set} != xset; then
27910 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
27911 $as_echo_n "(cached) " >&6
27912 else
27915 ac_ext=cpp
27916 ac_cpp='$CXXCPP $CPPFLAGS'
27917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27922 /* end confdefs.h. */
27923 #include <math.h>
27924 #ifdef HAVE_IEEEFP_H
27925 #include <ieeefp.h>
27926 #endif
27929 main ()
27931 _expf(0);
27933 return 0;
27935 _ACEOF
27936 if ac_fn_cxx_try_compile "$LINENO"; then :
27937 glibcxx_cv_func__expf_use=yes
27938 else
27939 glibcxx_cv_func__expf_use=no
27941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27942 ac_ext=c
27943 ac_cpp='$CPP $CPPFLAGS'
27944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
27953 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
27955 if test x$glibcxx_cv_func__expf_use = x"yes"; then
27956 for ac_func in _expf
27957 do :
27958 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
27959 if test "x$ac_cv_func__expf" = x""yes; then :
27960 cat >>confdefs.h <<_ACEOF
27961 #define HAVE__EXPF 1
27962 _ACEOF
27965 done
27974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
27975 $as_echo_n "checking for isnanf declaration... " >&6; }
27976 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
27977 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
27978 $as_echo_n "(cached) " >&6
27979 else
27982 ac_ext=cpp
27983 ac_cpp='$CXXCPP $CPPFLAGS'
27984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27989 /* end confdefs.h. */
27990 #include <math.h>
27991 #ifdef HAVE_IEEEFP_H
27992 #include <ieeefp.h>
27993 #endif
27996 main ()
27998 isnanf(0);
28000 return 0;
28002 _ACEOF
28003 if ac_fn_cxx_try_compile "$LINENO"; then :
28004 glibcxx_cv_func_isnanf_use=yes
28005 else
28006 glibcxx_cv_func_isnanf_use=no
28008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28009 ac_ext=c
28010 ac_cpp='$CPP $CPPFLAGS'
28011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
28020 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
28022 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
28023 for ac_func in isnanf
28024 do :
28025 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
28026 if test "x$ac_cv_func_isnanf" = x""yes; then :
28027 cat >>confdefs.h <<_ACEOF
28028 #define HAVE_ISNANF 1
28029 _ACEOF
28032 done
28034 else
28036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28037 $as_echo_n "checking for _isnanf declaration... " >&6; }
28038 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28039 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28040 $as_echo_n "(cached) " >&6
28041 else
28044 ac_ext=cpp
28045 ac_cpp='$CXXCPP $CPPFLAGS'
28046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28051 /* end confdefs.h. */
28052 #include <math.h>
28053 #ifdef HAVE_IEEEFP_H
28054 #include <ieeefp.h>
28055 #endif
28058 main ()
28060 _isnanf(0);
28062 return 0;
28064 _ACEOF
28065 if ac_fn_cxx_try_compile "$LINENO"; then :
28066 glibcxx_cv_func__isnanf_use=yes
28067 else
28068 glibcxx_cv_func__isnanf_use=no
28070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28071 ac_ext=c
28072 ac_cpp='$CPP $CPPFLAGS'
28073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28082 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28084 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28085 for ac_func in _isnanf
28086 do :
28087 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28088 if test "x$ac_cv_func__isnanf" = x""yes; then :
28089 cat >>confdefs.h <<_ACEOF
28090 #define HAVE__ISNANF 1
28091 _ACEOF
28094 done
28103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28104 $as_echo_n "checking for isinff declaration... " >&6; }
28105 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28106 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28107 $as_echo_n "(cached) " >&6
28108 else
28111 ac_ext=cpp
28112 ac_cpp='$CXXCPP $CPPFLAGS'
28113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28118 /* end confdefs.h. */
28119 #include <math.h>
28120 #ifdef HAVE_IEEEFP_H
28121 #include <ieeefp.h>
28122 #endif
28125 main ()
28127 isinff(0);
28129 return 0;
28131 _ACEOF
28132 if ac_fn_cxx_try_compile "$LINENO"; then :
28133 glibcxx_cv_func_isinff_use=yes
28134 else
28135 glibcxx_cv_func_isinff_use=no
28137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28138 ac_ext=c
28139 ac_cpp='$CPP $CPPFLAGS'
28140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28149 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28151 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28152 for ac_func in isinff
28153 do :
28154 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28155 if test "x$ac_cv_func_isinff" = x""yes; then :
28156 cat >>confdefs.h <<_ACEOF
28157 #define HAVE_ISINFF 1
28158 _ACEOF
28161 done
28163 else
28165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28166 $as_echo_n "checking for _isinff declaration... " >&6; }
28167 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28168 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
28169 $as_echo_n "(cached) " >&6
28170 else
28173 ac_ext=cpp
28174 ac_cpp='$CXXCPP $CPPFLAGS'
28175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28180 /* end confdefs.h. */
28181 #include <math.h>
28182 #ifdef HAVE_IEEEFP_H
28183 #include <ieeefp.h>
28184 #endif
28187 main ()
28189 _isinff(0);
28191 return 0;
28193 _ACEOF
28194 if ac_fn_cxx_try_compile "$LINENO"; then :
28195 glibcxx_cv_func__isinff_use=yes
28196 else
28197 glibcxx_cv_func__isinff_use=no
28199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28200 ac_ext=c
28201 ac_cpp='$CPP $CPPFLAGS'
28202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
28211 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
28213 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28214 for ac_func in _isinff
28215 do :
28216 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
28217 if test "x$ac_cv_func__isinff" = x""yes; then :
28218 cat >>confdefs.h <<_ACEOF
28219 #define HAVE__ISINFF 1
28220 _ACEOF
28223 done
28232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
28233 $as_echo_n "checking for atan2f declaration... " >&6; }
28234 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
28235 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
28236 $as_echo_n "(cached) " >&6
28237 else
28240 ac_ext=cpp
28241 ac_cpp='$CXXCPP $CPPFLAGS'
28242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28247 /* end confdefs.h. */
28248 #include <math.h>
28250 main ()
28252 atan2f(0, 0);
28254 return 0;
28256 _ACEOF
28257 if ac_fn_cxx_try_compile "$LINENO"; then :
28258 glibcxx_cv_func_atan2f_use=yes
28259 else
28260 glibcxx_cv_func_atan2f_use=no
28262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28263 ac_ext=c
28264 ac_cpp='$CPP $CPPFLAGS'
28265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
28274 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
28276 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
28277 for ac_func in atan2f
28278 do :
28279 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
28280 if test "x$ac_cv_func_atan2f" = x""yes; then :
28281 cat >>confdefs.h <<_ACEOF
28282 #define HAVE_ATAN2F 1
28283 _ACEOF
28286 done
28288 else
28290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
28291 $as_echo_n "checking for _atan2f declaration... " >&6; }
28292 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
28293 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
28294 $as_echo_n "(cached) " >&6
28295 else
28298 ac_ext=cpp
28299 ac_cpp='$CXXCPP $CPPFLAGS'
28300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28305 /* end confdefs.h. */
28306 #include <math.h>
28308 main ()
28310 _atan2f(0, 0);
28312 return 0;
28314 _ACEOF
28315 if ac_fn_cxx_try_compile "$LINENO"; then :
28316 glibcxx_cv_func__atan2f_use=yes
28317 else
28318 glibcxx_cv_func__atan2f_use=no
28320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28321 ac_ext=c
28322 ac_cpp='$CPP $CPPFLAGS'
28323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
28332 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
28334 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
28335 for ac_func in _atan2f
28336 do :
28337 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
28338 if test "x$ac_cv_func__atan2f" = x""yes; then :
28339 cat >>confdefs.h <<_ACEOF
28340 #define HAVE__ATAN2F 1
28341 _ACEOF
28344 done
28353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
28354 $as_echo_n "checking for fabsf declaration... " >&6; }
28355 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
28356 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
28357 $as_echo_n "(cached) " >&6
28358 else
28361 ac_ext=cpp
28362 ac_cpp='$CXXCPP $CPPFLAGS'
28363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28368 /* end confdefs.h. */
28369 #include <math.h>
28370 #ifdef HAVE_IEEEFP_H
28371 #include <ieeefp.h>
28372 #endif
28375 main ()
28377 fabsf(0);
28379 return 0;
28381 _ACEOF
28382 if ac_fn_cxx_try_compile "$LINENO"; then :
28383 glibcxx_cv_func_fabsf_use=yes
28384 else
28385 glibcxx_cv_func_fabsf_use=no
28387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28388 ac_ext=c
28389 ac_cpp='$CPP $CPPFLAGS'
28390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
28399 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
28401 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
28402 for ac_func in fabsf
28403 do :
28404 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
28405 if test "x$ac_cv_func_fabsf" = x""yes; then :
28406 cat >>confdefs.h <<_ACEOF
28407 #define HAVE_FABSF 1
28408 _ACEOF
28411 done
28413 else
28415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
28416 $as_echo_n "checking for _fabsf declaration... " >&6; }
28417 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
28418 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
28419 $as_echo_n "(cached) " >&6
28420 else
28423 ac_ext=cpp
28424 ac_cpp='$CXXCPP $CPPFLAGS'
28425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28430 /* end confdefs.h. */
28431 #include <math.h>
28432 #ifdef HAVE_IEEEFP_H
28433 #include <ieeefp.h>
28434 #endif
28437 main ()
28439 _fabsf(0);
28441 return 0;
28443 _ACEOF
28444 if ac_fn_cxx_try_compile "$LINENO"; then :
28445 glibcxx_cv_func__fabsf_use=yes
28446 else
28447 glibcxx_cv_func__fabsf_use=no
28449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28450 ac_ext=c
28451 ac_cpp='$CPP $CPPFLAGS'
28452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
28461 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
28463 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
28464 for ac_func in _fabsf
28465 do :
28466 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
28467 if test "x$ac_cv_func__fabsf" = x""yes; then :
28468 cat >>confdefs.h <<_ACEOF
28469 #define HAVE__FABSF 1
28470 _ACEOF
28473 done
28482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
28483 $as_echo_n "checking for fmodf declaration... " >&6; }
28484 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
28485 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
28486 $as_echo_n "(cached) " >&6
28487 else
28490 ac_ext=cpp
28491 ac_cpp='$CXXCPP $CPPFLAGS'
28492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28497 /* end confdefs.h. */
28498 #include <math.h>
28500 main ()
28502 fmodf(0, 0);
28504 return 0;
28506 _ACEOF
28507 if ac_fn_cxx_try_compile "$LINENO"; then :
28508 glibcxx_cv_func_fmodf_use=yes
28509 else
28510 glibcxx_cv_func_fmodf_use=no
28512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28513 ac_ext=c
28514 ac_cpp='$CPP $CPPFLAGS'
28515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
28524 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
28526 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
28527 for ac_func in fmodf
28528 do :
28529 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
28530 if test "x$ac_cv_func_fmodf" = x""yes; then :
28531 cat >>confdefs.h <<_ACEOF
28532 #define HAVE_FMODF 1
28533 _ACEOF
28536 done
28538 else
28540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
28541 $as_echo_n "checking for _fmodf declaration... " >&6; }
28542 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
28543 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
28544 $as_echo_n "(cached) " >&6
28545 else
28548 ac_ext=cpp
28549 ac_cpp='$CXXCPP $CPPFLAGS'
28550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28555 /* end confdefs.h. */
28556 #include <math.h>
28558 main ()
28560 _fmodf(0, 0);
28562 return 0;
28564 _ACEOF
28565 if ac_fn_cxx_try_compile "$LINENO"; then :
28566 glibcxx_cv_func__fmodf_use=yes
28567 else
28568 glibcxx_cv_func__fmodf_use=no
28570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28571 ac_ext=c
28572 ac_cpp='$CPP $CPPFLAGS'
28573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
28582 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
28584 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
28585 for ac_func in _fmodf
28586 do :
28587 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
28588 if test "x$ac_cv_func__fmodf" = x""yes; then :
28589 cat >>confdefs.h <<_ACEOF
28590 #define HAVE__FMODF 1
28591 _ACEOF
28594 done
28603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
28604 $as_echo_n "checking for frexpf declaration... " >&6; }
28605 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
28606 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
28607 $as_echo_n "(cached) " >&6
28608 else
28611 ac_ext=cpp
28612 ac_cpp='$CXXCPP $CPPFLAGS'
28613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28618 /* end confdefs.h. */
28619 #include <math.h>
28621 main ()
28623 frexpf(0, 0);
28625 return 0;
28627 _ACEOF
28628 if ac_fn_cxx_try_compile "$LINENO"; then :
28629 glibcxx_cv_func_frexpf_use=yes
28630 else
28631 glibcxx_cv_func_frexpf_use=no
28633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28634 ac_ext=c
28635 ac_cpp='$CPP $CPPFLAGS'
28636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
28645 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
28647 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
28648 for ac_func in frexpf
28649 do :
28650 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
28651 if test "x$ac_cv_func_frexpf" = x""yes; then :
28652 cat >>confdefs.h <<_ACEOF
28653 #define HAVE_FREXPF 1
28654 _ACEOF
28657 done
28659 else
28661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
28662 $as_echo_n "checking for _frexpf declaration... " >&6; }
28663 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
28664 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
28665 $as_echo_n "(cached) " >&6
28666 else
28669 ac_ext=cpp
28670 ac_cpp='$CXXCPP $CPPFLAGS'
28671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28676 /* end confdefs.h. */
28677 #include <math.h>
28679 main ()
28681 _frexpf(0, 0);
28683 return 0;
28685 _ACEOF
28686 if ac_fn_cxx_try_compile "$LINENO"; then :
28687 glibcxx_cv_func__frexpf_use=yes
28688 else
28689 glibcxx_cv_func__frexpf_use=no
28691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28692 ac_ext=c
28693 ac_cpp='$CPP $CPPFLAGS'
28694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
28703 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
28705 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
28706 for ac_func in _frexpf
28707 do :
28708 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
28709 if test "x$ac_cv_func__frexpf" = x""yes; then :
28710 cat >>confdefs.h <<_ACEOF
28711 #define HAVE__FREXPF 1
28712 _ACEOF
28715 done
28724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
28725 $as_echo_n "checking for hypotf declaration... " >&6; }
28726 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
28727 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
28728 $as_echo_n "(cached) " >&6
28729 else
28732 ac_ext=cpp
28733 ac_cpp='$CXXCPP $CPPFLAGS'
28734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28739 /* end confdefs.h. */
28740 #include <math.h>
28742 main ()
28744 hypotf(0, 0);
28746 return 0;
28748 _ACEOF
28749 if ac_fn_cxx_try_compile "$LINENO"; then :
28750 glibcxx_cv_func_hypotf_use=yes
28751 else
28752 glibcxx_cv_func_hypotf_use=no
28754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28755 ac_ext=c
28756 ac_cpp='$CPP $CPPFLAGS'
28757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
28766 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
28768 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
28769 for ac_func in hypotf
28770 do :
28771 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
28772 if test "x$ac_cv_func_hypotf" = x""yes; then :
28773 cat >>confdefs.h <<_ACEOF
28774 #define HAVE_HYPOTF 1
28775 _ACEOF
28778 done
28780 else
28782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
28783 $as_echo_n "checking for _hypotf declaration... " >&6; }
28784 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
28785 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
28786 $as_echo_n "(cached) " >&6
28787 else
28790 ac_ext=cpp
28791 ac_cpp='$CXXCPP $CPPFLAGS'
28792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28797 /* end confdefs.h. */
28798 #include <math.h>
28800 main ()
28802 _hypotf(0, 0);
28804 return 0;
28806 _ACEOF
28807 if ac_fn_cxx_try_compile "$LINENO"; then :
28808 glibcxx_cv_func__hypotf_use=yes
28809 else
28810 glibcxx_cv_func__hypotf_use=no
28812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28813 ac_ext=c
28814 ac_cpp='$CPP $CPPFLAGS'
28815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
28824 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
28826 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
28827 for ac_func in _hypotf
28828 do :
28829 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
28830 if test "x$ac_cv_func__hypotf" = x""yes; then :
28831 cat >>confdefs.h <<_ACEOF
28832 #define HAVE__HYPOTF 1
28833 _ACEOF
28836 done
28845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
28846 $as_echo_n "checking for ldexpf declaration... " >&6; }
28847 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
28848 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
28849 $as_echo_n "(cached) " >&6
28850 else
28853 ac_ext=cpp
28854 ac_cpp='$CXXCPP $CPPFLAGS'
28855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28860 /* end confdefs.h. */
28861 #include <math.h>
28863 main ()
28865 ldexpf(0, 0);
28867 return 0;
28869 _ACEOF
28870 if ac_fn_cxx_try_compile "$LINENO"; then :
28871 glibcxx_cv_func_ldexpf_use=yes
28872 else
28873 glibcxx_cv_func_ldexpf_use=no
28875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28876 ac_ext=c
28877 ac_cpp='$CPP $CPPFLAGS'
28878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
28887 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
28889 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
28890 for ac_func in ldexpf
28891 do :
28892 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
28893 if test "x$ac_cv_func_ldexpf" = x""yes; then :
28894 cat >>confdefs.h <<_ACEOF
28895 #define HAVE_LDEXPF 1
28896 _ACEOF
28899 done
28901 else
28903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
28904 $as_echo_n "checking for _ldexpf declaration... " >&6; }
28905 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
28906 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
28907 $as_echo_n "(cached) " >&6
28908 else
28911 ac_ext=cpp
28912 ac_cpp='$CXXCPP $CPPFLAGS'
28913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28918 /* end confdefs.h. */
28919 #include <math.h>
28921 main ()
28923 _ldexpf(0, 0);
28925 return 0;
28927 _ACEOF
28928 if ac_fn_cxx_try_compile "$LINENO"; then :
28929 glibcxx_cv_func__ldexpf_use=yes
28930 else
28931 glibcxx_cv_func__ldexpf_use=no
28933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28934 ac_ext=c
28935 ac_cpp='$CPP $CPPFLAGS'
28936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
28945 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
28947 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
28948 for ac_func in _ldexpf
28949 do :
28950 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
28951 if test "x$ac_cv_func__ldexpf" = x""yes; then :
28952 cat >>confdefs.h <<_ACEOF
28953 #define HAVE__LDEXPF 1
28954 _ACEOF
28957 done
28966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
28967 $as_echo_n "checking for logf declaration... " >&6; }
28968 if test x${glibcxx_cv_func_logf_use+set} != xset; then
28969 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
28970 $as_echo_n "(cached) " >&6
28971 else
28974 ac_ext=cpp
28975 ac_cpp='$CXXCPP $CPPFLAGS'
28976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28981 /* end confdefs.h. */
28982 #include <math.h>
28983 #ifdef HAVE_IEEEFP_H
28984 #include <ieeefp.h>
28985 #endif
28988 main ()
28990 logf(0);
28992 return 0;
28994 _ACEOF
28995 if ac_fn_cxx_try_compile "$LINENO"; then :
28996 glibcxx_cv_func_logf_use=yes
28997 else
28998 glibcxx_cv_func_logf_use=no
29000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29001 ac_ext=c
29002 ac_cpp='$CPP $CPPFLAGS'
29003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
29012 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
29014 if test x$glibcxx_cv_func_logf_use = x"yes"; then
29015 for ac_func in logf
29016 do :
29017 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
29018 if test "x$ac_cv_func_logf" = x""yes; then :
29019 cat >>confdefs.h <<_ACEOF
29020 #define HAVE_LOGF 1
29021 _ACEOF
29024 done
29026 else
29028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
29029 $as_echo_n "checking for _logf declaration... " >&6; }
29030 if test x${glibcxx_cv_func__logf_use+set} != xset; then
29031 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29032 $as_echo_n "(cached) " >&6
29033 else
29036 ac_ext=cpp
29037 ac_cpp='$CXXCPP $CPPFLAGS'
29038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29043 /* end confdefs.h. */
29044 #include <math.h>
29045 #ifdef HAVE_IEEEFP_H
29046 #include <ieeefp.h>
29047 #endif
29050 main ()
29052 _logf(0);
29054 return 0;
29056 _ACEOF
29057 if ac_fn_cxx_try_compile "$LINENO"; then :
29058 glibcxx_cv_func__logf_use=yes
29059 else
29060 glibcxx_cv_func__logf_use=no
29062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29063 ac_ext=c
29064 ac_cpp='$CPP $CPPFLAGS'
29065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29074 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29076 if test x$glibcxx_cv_func__logf_use = x"yes"; then
29077 for ac_func in _logf
29078 do :
29079 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29080 if test "x$ac_cv_func__logf" = x""yes; then :
29081 cat >>confdefs.h <<_ACEOF
29082 #define HAVE__LOGF 1
29083 _ACEOF
29086 done
29095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29096 $as_echo_n "checking for log10f declaration... " >&6; }
29097 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29098 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29099 $as_echo_n "(cached) " >&6
29100 else
29103 ac_ext=cpp
29104 ac_cpp='$CXXCPP $CPPFLAGS'
29105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29110 /* end confdefs.h. */
29111 #include <math.h>
29112 #ifdef HAVE_IEEEFP_H
29113 #include <ieeefp.h>
29114 #endif
29117 main ()
29119 log10f(0);
29121 return 0;
29123 _ACEOF
29124 if ac_fn_cxx_try_compile "$LINENO"; then :
29125 glibcxx_cv_func_log10f_use=yes
29126 else
29127 glibcxx_cv_func_log10f_use=no
29129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29130 ac_ext=c
29131 ac_cpp='$CPP $CPPFLAGS'
29132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
29141 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29143 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29144 for ac_func in log10f
29145 do :
29146 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29147 if test "x$ac_cv_func_log10f" = x""yes; then :
29148 cat >>confdefs.h <<_ACEOF
29149 #define HAVE_LOG10F 1
29150 _ACEOF
29153 done
29155 else
29157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29158 $as_echo_n "checking for _log10f declaration... " >&6; }
29159 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29160 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29161 $as_echo_n "(cached) " >&6
29162 else
29165 ac_ext=cpp
29166 ac_cpp='$CXXCPP $CPPFLAGS'
29167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29172 /* end confdefs.h. */
29173 #include <math.h>
29174 #ifdef HAVE_IEEEFP_H
29175 #include <ieeefp.h>
29176 #endif
29179 main ()
29181 _log10f(0);
29183 return 0;
29185 _ACEOF
29186 if ac_fn_cxx_try_compile "$LINENO"; then :
29187 glibcxx_cv_func__log10f_use=yes
29188 else
29189 glibcxx_cv_func__log10f_use=no
29191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29192 ac_ext=c
29193 ac_cpp='$CPP $CPPFLAGS'
29194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
29203 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
29205 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
29206 for ac_func in _log10f
29207 do :
29208 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
29209 if test "x$ac_cv_func__log10f" = x""yes; then :
29210 cat >>confdefs.h <<_ACEOF
29211 #define HAVE__LOG10F 1
29212 _ACEOF
29215 done
29224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
29225 $as_echo_n "checking for modff declaration... " >&6; }
29226 if test x${glibcxx_cv_func_modff_use+set} != xset; then
29227 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
29228 $as_echo_n "(cached) " >&6
29229 else
29232 ac_ext=cpp
29233 ac_cpp='$CXXCPP $CPPFLAGS'
29234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29239 /* end confdefs.h. */
29240 #include <math.h>
29242 main ()
29244 modff(0, 0);
29246 return 0;
29248 _ACEOF
29249 if ac_fn_cxx_try_compile "$LINENO"; then :
29250 glibcxx_cv_func_modff_use=yes
29251 else
29252 glibcxx_cv_func_modff_use=no
29254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29255 ac_ext=c
29256 ac_cpp='$CPP $CPPFLAGS'
29257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
29266 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
29268 if test x$glibcxx_cv_func_modff_use = x"yes"; then
29269 for ac_func in modff
29270 do :
29271 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
29272 if test "x$ac_cv_func_modff" = x""yes; then :
29273 cat >>confdefs.h <<_ACEOF
29274 #define HAVE_MODFF 1
29275 _ACEOF
29278 done
29280 else
29282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
29283 $as_echo_n "checking for _modff declaration... " >&6; }
29284 if test x${glibcxx_cv_func__modff_use+set} != xset; then
29285 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
29286 $as_echo_n "(cached) " >&6
29287 else
29290 ac_ext=cpp
29291 ac_cpp='$CXXCPP $CPPFLAGS'
29292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29297 /* end confdefs.h. */
29298 #include <math.h>
29300 main ()
29302 _modff(0, 0);
29304 return 0;
29306 _ACEOF
29307 if ac_fn_cxx_try_compile "$LINENO"; then :
29308 glibcxx_cv_func__modff_use=yes
29309 else
29310 glibcxx_cv_func__modff_use=no
29312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29313 ac_ext=c
29314 ac_cpp='$CPP $CPPFLAGS'
29315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
29324 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
29326 if test x$glibcxx_cv_func__modff_use = x"yes"; then
29327 for ac_func in _modff
29328 do :
29329 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
29330 if test "x$ac_cv_func__modff" = x""yes; then :
29331 cat >>confdefs.h <<_ACEOF
29332 #define HAVE__MODFF 1
29333 _ACEOF
29336 done
29345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
29346 $as_echo_n "checking for modf declaration... " >&6; }
29347 if test x${glibcxx_cv_func_modf_use+set} != xset; then
29348 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
29349 $as_echo_n "(cached) " >&6
29350 else
29353 ac_ext=cpp
29354 ac_cpp='$CXXCPP $CPPFLAGS'
29355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29360 /* end confdefs.h. */
29361 #include <math.h>
29363 main ()
29365 modf(0, 0);
29367 return 0;
29369 _ACEOF
29370 if ac_fn_cxx_try_compile "$LINENO"; then :
29371 glibcxx_cv_func_modf_use=yes
29372 else
29373 glibcxx_cv_func_modf_use=no
29375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29376 ac_ext=c
29377 ac_cpp='$CPP $CPPFLAGS'
29378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
29387 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
29389 if test x$glibcxx_cv_func_modf_use = x"yes"; then
29390 for ac_func in modf
29391 do :
29392 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
29393 if test "x$ac_cv_func_modf" = x""yes; then :
29394 cat >>confdefs.h <<_ACEOF
29395 #define HAVE_MODF 1
29396 _ACEOF
29399 done
29401 else
29403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
29404 $as_echo_n "checking for _modf declaration... " >&6; }
29405 if test x${glibcxx_cv_func__modf_use+set} != xset; then
29406 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
29407 $as_echo_n "(cached) " >&6
29408 else
29411 ac_ext=cpp
29412 ac_cpp='$CXXCPP $CPPFLAGS'
29413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29418 /* end confdefs.h. */
29419 #include <math.h>
29421 main ()
29423 _modf(0, 0);
29425 return 0;
29427 _ACEOF
29428 if ac_fn_cxx_try_compile "$LINENO"; then :
29429 glibcxx_cv_func__modf_use=yes
29430 else
29431 glibcxx_cv_func__modf_use=no
29433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29434 ac_ext=c
29435 ac_cpp='$CPP $CPPFLAGS'
29436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
29445 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
29447 if test x$glibcxx_cv_func__modf_use = x"yes"; then
29448 for ac_func in _modf
29449 do :
29450 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
29451 if test "x$ac_cv_func__modf" = x""yes; then :
29452 cat >>confdefs.h <<_ACEOF
29453 #define HAVE__MODF 1
29454 _ACEOF
29457 done
29466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
29467 $as_echo_n "checking for powf declaration... " >&6; }
29468 if test x${glibcxx_cv_func_powf_use+set} != xset; then
29469 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
29470 $as_echo_n "(cached) " >&6
29471 else
29474 ac_ext=cpp
29475 ac_cpp='$CXXCPP $CPPFLAGS'
29476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29481 /* end confdefs.h. */
29482 #include <math.h>
29484 main ()
29486 powf(0, 0);
29488 return 0;
29490 _ACEOF
29491 if ac_fn_cxx_try_compile "$LINENO"; then :
29492 glibcxx_cv_func_powf_use=yes
29493 else
29494 glibcxx_cv_func_powf_use=no
29496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29497 ac_ext=c
29498 ac_cpp='$CPP $CPPFLAGS'
29499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
29508 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
29510 if test x$glibcxx_cv_func_powf_use = x"yes"; then
29511 for ac_func in powf
29512 do :
29513 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
29514 if test "x$ac_cv_func_powf" = x""yes; then :
29515 cat >>confdefs.h <<_ACEOF
29516 #define HAVE_POWF 1
29517 _ACEOF
29520 done
29522 else
29524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
29525 $as_echo_n "checking for _powf declaration... " >&6; }
29526 if test x${glibcxx_cv_func__powf_use+set} != xset; then
29527 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
29528 $as_echo_n "(cached) " >&6
29529 else
29532 ac_ext=cpp
29533 ac_cpp='$CXXCPP $CPPFLAGS'
29534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29539 /* end confdefs.h. */
29540 #include <math.h>
29542 main ()
29544 _powf(0, 0);
29546 return 0;
29548 _ACEOF
29549 if ac_fn_cxx_try_compile "$LINENO"; then :
29550 glibcxx_cv_func__powf_use=yes
29551 else
29552 glibcxx_cv_func__powf_use=no
29554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29555 ac_ext=c
29556 ac_cpp='$CPP $CPPFLAGS'
29557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
29566 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
29568 if test x$glibcxx_cv_func__powf_use = x"yes"; then
29569 for ac_func in _powf
29570 do :
29571 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
29572 if test "x$ac_cv_func__powf" = x""yes; then :
29573 cat >>confdefs.h <<_ACEOF
29574 #define HAVE__POWF 1
29575 _ACEOF
29578 done
29587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
29588 $as_echo_n "checking for sqrtf declaration... " >&6; }
29589 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
29590 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
29591 $as_echo_n "(cached) " >&6
29592 else
29595 ac_ext=cpp
29596 ac_cpp='$CXXCPP $CPPFLAGS'
29597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29602 /* end confdefs.h. */
29603 #include <math.h>
29604 #ifdef HAVE_IEEEFP_H
29605 #include <ieeefp.h>
29606 #endif
29609 main ()
29611 sqrtf(0);
29613 return 0;
29615 _ACEOF
29616 if ac_fn_cxx_try_compile "$LINENO"; then :
29617 glibcxx_cv_func_sqrtf_use=yes
29618 else
29619 glibcxx_cv_func_sqrtf_use=no
29621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29622 ac_ext=c
29623 ac_cpp='$CPP $CPPFLAGS'
29624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
29633 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
29635 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
29636 for ac_func in sqrtf
29637 do :
29638 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
29639 if test "x$ac_cv_func_sqrtf" = x""yes; then :
29640 cat >>confdefs.h <<_ACEOF
29641 #define HAVE_SQRTF 1
29642 _ACEOF
29645 done
29647 else
29649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
29650 $as_echo_n "checking for _sqrtf declaration... " >&6; }
29651 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
29652 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
29653 $as_echo_n "(cached) " >&6
29654 else
29657 ac_ext=cpp
29658 ac_cpp='$CXXCPP $CPPFLAGS'
29659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29664 /* end confdefs.h. */
29665 #include <math.h>
29666 #ifdef HAVE_IEEEFP_H
29667 #include <ieeefp.h>
29668 #endif
29671 main ()
29673 _sqrtf(0);
29675 return 0;
29677 _ACEOF
29678 if ac_fn_cxx_try_compile "$LINENO"; then :
29679 glibcxx_cv_func__sqrtf_use=yes
29680 else
29681 glibcxx_cv_func__sqrtf_use=no
29683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29684 ac_ext=c
29685 ac_cpp='$CPP $CPPFLAGS'
29686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
29695 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
29697 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
29698 for ac_func in _sqrtf
29699 do :
29700 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
29701 if test "x$ac_cv_func__sqrtf" = x""yes; then :
29702 cat >>confdefs.h <<_ACEOF
29703 #define HAVE__SQRTF 1
29704 _ACEOF
29707 done
29716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
29717 $as_echo_n "checking for sincosf declaration... " >&6; }
29718 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
29719 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
29720 $as_echo_n "(cached) " >&6
29721 else
29724 ac_ext=cpp
29725 ac_cpp='$CXXCPP $CPPFLAGS'
29726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29731 /* end confdefs.h. */
29732 #include <math.h>
29734 main ()
29736 sincosf(0, 0, 0);
29738 return 0;
29740 _ACEOF
29741 if ac_fn_cxx_try_compile "$LINENO"; then :
29742 glibcxx_cv_func_sincosf_use=yes
29743 else
29744 glibcxx_cv_func_sincosf_use=no
29746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29747 ac_ext=c
29748 ac_cpp='$CPP $CPPFLAGS'
29749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
29758 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
29760 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
29761 for ac_func in sincosf
29762 do :
29763 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
29764 if test "x$ac_cv_func_sincosf" = x""yes; then :
29765 cat >>confdefs.h <<_ACEOF
29766 #define HAVE_SINCOSF 1
29767 _ACEOF
29770 done
29772 else
29774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
29775 $as_echo_n "checking for _sincosf declaration... " >&6; }
29776 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
29777 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
29778 $as_echo_n "(cached) " >&6
29779 else
29782 ac_ext=cpp
29783 ac_cpp='$CXXCPP $CPPFLAGS'
29784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29789 /* end confdefs.h. */
29790 #include <math.h>
29792 main ()
29794 _sincosf(0, 0, 0);
29796 return 0;
29798 _ACEOF
29799 if ac_fn_cxx_try_compile "$LINENO"; then :
29800 glibcxx_cv_func__sincosf_use=yes
29801 else
29802 glibcxx_cv_func__sincosf_use=no
29804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29805 ac_ext=c
29806 ac_cpp='$CPP $CPPFLAGS'
29807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
29816 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
29818 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
29819 for ac_func in _sincosf
29820 do :
29821 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
29822 if test "x$ac_cv_func__sincosf" = x""yes; then :
29823 cat >>confdefs.h <<_ACEOF
29824 #define HAVE__SINCOSF 1
29825 _ACEOF
29828 done
29837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
29838 $as_echo_n "checking for finitef declaration... " >&6; }
29839 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
29840 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
29841 $as_echo_n "(cached) " >&6
29842 else
29845 ac_ext=cpp
29846 ac_cpp='$CXXCPP $CPPFLAGS'
29847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29852 /* end confdefs.h. */
29853 #include <math.h>
29854 #ifdef HAVE_IEEEFP_H
29855 #include <ieeefp.h>
29856 #endif
29859 main ()
29861 finitef(0);
29863 return 0;
29865 _ACEOF
29866 if ac_fn_cxx_try_compile "$LINENO"; then :
29867 glibcxx_cv_func_finitef_use=yes
29868 else
29869 glibcxx_cv_func_finitef_use=no
29871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29872 ac_ext=c
29873 ac_cpp='$CPP $CPPFLAGS'
29874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
29883 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
29885 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
29886 for ac_func in finitef
29887 do :
29888 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
29889 if test "x$ac_cv_func_finitef" = x""yes; then :
29890 cat >>confdefs.h <<_ACEOF
29891 #define HAVE_FINITEF 1
29892 _ACEOF
29895 done
29897 else
29899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
29900 $as_echo_n "checking for _finitef declaration... " >&6; }
29901 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
29902 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
29903 $as_echo_n "(cached) " >&6
29904 else
29907 ac_ext=cpp
29908 ac_cpp='$CXXCPP $CPPFLAGS'
29909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29914 /* end confdefs.h. */
29915 #include <math.h>
29916 #ifdef HAVE_IEEEFP_H
29917 #include <ieeefp.h>
29918 #endif
29921 main ()
29923 _finitef(0);
29925 return 0;
29927 _ACEOF
29928 if ac_fn_cxx_try_compile "$LINENO"; then :
29929 glibcxx_cv_func__finitef_use=yes
29930 else
29931 glibcxx_cv_func__finitef_use=no
29933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29934 ac_ext=c
29935 ac_cpp='$CPP $CPPFLAGS'
29936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
29945 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
29947 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
29948 for ac_func in _finitef
29949 do :
29950 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
29951 if test "x$ac_cv_func__finitef" = x""yes; then :
29952 cat >>confdefs.h <<_ACEOF
29953 #define HAVE__FINITEF 1
29954 _ACEOF
29957 done
29966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
29967 $as_echo_n "checking for long double trig functions... " >&6; }
29968 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
29969 $as_echo_n "(cached) " >&6
29970 else
29973 ac_ext=cpp
29974 ac_cpp='$CXXCPP $CPPFLAGS'
29975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29980 /* end confdefs.h. */
29981 #include <math.h>
29983 main ()
29985 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
29987 return 0;
29989 _ACEOF
29990 if ac_fn_cxx_try_compile "$LINENO"; then :
29991 glibcxx_cv_func_long_double_trig_use=yes
29992 else
29993 glibcxx_cv_func_long_double_trig_use=no
29995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29996 ac_ext=c
29997 ac_cpp='$CPP $CPPFLAGS'
29998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
30005 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
30006 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
30007 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
30008 do :
30009 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30010 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30011 eval as_val=\$$as_ac_var
30012 if test "x$as_val" = x""yes; then :
30013 cat >>confdefs.h <<_ACEOF
30014 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30015 _ACEOF
30018 done
30020 else
30021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
30022 $as_echo_n "checking for _long double trig functions... " >&6; }
30023 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
30024 $as_echo_n "(cached) " >&6
30025 else
30028 ac_ext=cpp
30029 ac_cpp='$CXXCPP $CPPFLAGS'
30030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30035 /* end confdefs.h. */
30036 #include <math.h>
30038 main ()
30040 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30042 return 0;
30044 _ACEOF
30045 if ac_fn_cxx_try_compile "$LINENO"; then :
30046 glibcxx_cv_func__long_double_trig_use=yes
30047 else
30048 glibcxx_cv_func__long_double_trig_use=no
30050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30051 ac_ext=c
30052 ac_cpp='$CPP $CPPFLAGS'
30053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30060 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30061 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30062 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30063 do :
30064 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30065 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30066 eval as_val=\$$as_ac_var
30067 if test "x$as_val" = x""yes; then :
30068 cat >>confdefs.h <<_ACEOF
30069 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30070 _ACEOF
30073 done
30082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30083 $as_echo_n "checking for long double round functions... " >&6; }
30084 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30085 $as_echo_n "(cached) " >&6
30086 else
30089 ac_ext=cpp
30090 ac_cpp='$CXXCPP $CPPFLAGS'
30091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30096 /* end confdefs.h. */
30097 #include <math.h>
30099 main ()
30101 ceill (0); floorl (0);
30103 return 0;
30105 _ACEOF
30106 if ac_fn_cxx_try_compile "$LINENO"; then :
30107 glibcxx_cv_func_long_double_round_use=yes
30108 else
30109 glibcxx_cv_func_long_double_round_use=no
30111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30112 ac_ext=c
30113 ac_cpp='$CPP $CPPFLAGS'
30114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30121 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30122 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30123 for ac_func in ceill floorl
30124 do :
30125 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30126 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30127 eval as_val=\$$as_ac_var
30128 if test "x$as_val" = x""yes; then :
30129 cat >>confdefs.h <<_ACEOF
30130 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30131 _ACEOF
30134 done
30136 else
30137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30138 $as_echo_n "checking for _long double round functions... " >&6; }
30139 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30140 $as_echo_n "(cached) " >&6
30141 else
30144 ac_ext=cpp
30145 ac_cpp='$CXXCPP $CPPFLAGS'
30146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30151 /* end confdefs.h. */
30152 #include <math.h>
30154 main ()
30156 _ceill (0); _floorl (0);
30158 return 0;
30160 _ACEOF
30161 if ac_fn_cxx_try_compile "$LINENO"; then :
30162 glibcxx_cv_func__long_double_round_use=yes
30163 else
30164 glibcxx_cv_func__long_double_round_use=no
30166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30167 ac_ext=c
30168 ac_cpp='$CPP $CPPFLAGS'
30169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30176 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
30177 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
30178 for ac_func in _ceill _floorl
30179 do :
30180 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30181 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30182 eval as_val=\$$as_ac_var
30183 if test "x$as_val" = x""yes; then :
30184 cat >>confdefs.h <<_ACEOF
30185 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30186 _ACEOF
30189 done
30199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
30200 $as_echo_n "checking for isnanl declaration... " >&6; }
30201 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
30202 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
30203 $as_echo_n "(cached) " >&6
30204 else
30207 ac_ext=cpp
30208 ac_cpp='$CXXCPP $CPPFLAGS'
30209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30214 /* end confdefs.h. */
30215 #include <math.h>
30216 #ifdef HAVE_IEEEFP_H
30217 #include <ieeefp.h>
30218 #endif
30221 main ()
30223 isnanl(0);
30225 return 0;
30227 _ACEOF
30228 if ac_fn_cxx_try_compile "$LINENO"; then :
30229 glibcxx_cv_func_isnanl_use=yes
30230 else
30231 glibcxx_cv_func_isnanl_use=no
30233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30234 ac_ext=c
30235 ac_cpp='$CPP $CPPFLAGS'
30236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
30245 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
30247 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
30248 for ac_func in isnanl
30249 do :
30250 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
30251 if test "x$ac_cv_func_isnanl" = x""yes; then :
30252 cat >>confdefs.h <<_ACEOF
30253 #define HAVE_ISNANL 1
30254 _ACEOF
30257 done
30259 else
30261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
30262 $as_echo_n "checking for _isnanl declaration... " >&6; }
30263 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
30264 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
30265 $as_echo_n "(cached) " >&6
30266 else
30269 ac_ext=cpp
30270 ac_cpp='$CXXCPP $CPPFLAGS'
30271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30276 /* end confdefs.h. */
30277 #include <math.h>
30278 #ifdef HAVE_IEEEFP_H
30279 #include <ieeefp.h>
30280 #endif
30283 main ()
30285 _isnanl(0);
30287 return 0;
30289 _ACEOF
30290 if ac_fn_cxx_try_compile "$LINENO"; then :
30291 glibcxx_cv_func__isnanl_use=yes
30292 else
30293 glibcxx_cv_func__isnanl_use=no
30295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30296 ac_ext=c
30297 ac_cpp='$CPP $CPPFLAGS'
30298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
30307 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
30309 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
30310 for ac_func in _isnanl
30311 do :
30312 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
30313 if test "x$ac_cv_func__isnanl" = x""yes; then :
30314 cat >>confdefs.h <<_ACEOF
30315 #define HAVE__ISNANL 1
30316 _ACEOF
30319 done
30328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
30329 $as_echo_n "checking for isinfl declaration... " >&6; }
30330 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
30331 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
30332 $as_echo_n "(cached) " >&6
30333 else
30336 ac_ext=cpp
30337 ac_cpp='$CXXCPP $CPPFLAGS'
30338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30343 /* end confdefs.h. */
30344 #include <math.h>
30345 #ifdef HAVE_IEEEFP_H
30346 #include <ieeefp.h>
30347 #endif
30350 main ()
30352 isinfl(0);
30354 return 0;
30356 _ACEOF
30357 if ac_fn_cxx_try_compile "$LINENO"; then :
30358 glibcxx_cv_func_isinfl_use=yes
30359 else
30360 glibcxx_cv_func_isinfl_use=no
30362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30363 ac_ext=c
30364 ac_cpp='$CPP $CPPFLAGS'
30365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
30374 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
30376 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
30377 for ac_func in isinfl
30378 do :
30379 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
30380 if test "x$ac_cv_func_isinfl" = x""yes; then :
30381 cat >>confdefs.h <<_ACEOF
30382 #define HAVE_ISINFL 1
30383 _ACEOF
30386 done
30388 else
30390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
30391 $as_echo_n "checking for _isinfl declaration... " >&6; }
30392 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
30393 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
30394 $as_echo_n "(cached) " >&6
30395 else
30398 ac_ext=cpp
30399 ac_cpp='$CXXCPP $CPPFLAGS'
30400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30405 /* end confdefs.h. */
30406 #include <math.h>
30407 #ifdef HAVE_IEEEFP_H
30408 #include <ieeefp.h>
30409 #endif
30412 main ()
30414 _isinfl(0);
30416 return 0;
30418 _ACEOF
30419 if ac_fn_cxx_try_compile "$LINENO"; then :
30420 glibcxx_cv_func__isinfl_use=yes
30421 else
30422 glibcxx_cv_func__isinfl_use=no
30424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30425 ac_ext=c
30426 ac_cpp='$CPP $CPPFLAGS'
30427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
30436 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
30438 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30439 for ac_func in _isinfl
30440 do :
30441 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
30442 if test "x$ac_cv_func__isinfl" = x""yes; then :
30443 cat >>confdefs.h <<_ACEOF
30444 #define HAVE__ISINFL 1
30445 _ACEOF
30448 done
30457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
30458 $as_echo_n "checking for atan2l declaration... " >&6; }
30459 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30460 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
30461 $as_echo_n "(cached) " >&6
30462 else
30465 ac_ext=cpp
30466 ac_cpp='$CXXCPP $CPPFLAGS'
30467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30472 /* end confdefs.h. */
30473 #include <math.h>
30475 main ()
30477 atan2l(0, 0);
30479 return 0;
30481 _ACEOF
30482 if ac_fn_cxx_try_compile "$LINENO"; then :
30483 glibcxx_cv_func_atan2l_use=yes
30484 else
30485 glibcxx_cv_func_atan2l_use=no
30487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30488 ac_ext=c
30489 ac_cpp='$CPP $CPPFLAGS'
30490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
30499 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
30501 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30502 for ac_func in atan2l
30503 do :
30504 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
30505 if test "x$ac_cv_func_atan2l" = x""yes; then :
30506 cat >>confdefs.h <<_ACEOF
30507 #define HAVE_ATAN2L 1
30508 _ACEOF
30511 done
30513 else
30515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
30516 $as_echo_n "checking for _atan2l declaration... " >&6; }
30517 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
30518 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
30519 $as_echo_n "(cached) " >&6
30520 else
30523 ac_ext=cpp
30524 ac_cpp='$CXXCPP $CPPFLAGS'
30525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30530 /* end confdefs.h. */
30531 #include <math.h>
30533 main ()
30535 _atan2l(0, 0);
30537 return 0;
30539 _ACEOF
30540 if ac_fn_cxx_try_compile "$LINENO"; then :
30541 glibcxx_cv_func__atan2l_use=yes
30542 else
30543 glibcxx_cv_func__atan2l_use=no
30545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30546 ac_ext=c
30547 ac_cpp='$CPP $CPPFLAGS'
30548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
30557 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
30559 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
30560 for ac_func in _atan2l
30561 do :
30562 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
30563 if test "x$ac_cv_func__atan2l" = x""yes; then :
30564 cat >>confdefs.h <<_ACEOF
30565 #define HAVE__ATAN2L 1
30566 _ACEOF
30569 done
30578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
30579 $as_echo_n "checking for expl declaration... " >&6; }
30580 if test x${glibcxx_cv_func_expl_use+set} != xset; then
30581 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
30582 $as_echo_n "(cached) " >&6
30583 else
30586 ac_ext=cpp
30587 ac_cpp='$CXXCPP $CPPFLAGS'
30588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30593 /* end confdefs.h. */
30594 #include <math.h>
30595 #ifdef HAVE_IEEEFP_H
30596 #include <ieeefp.h>
30597 #endif
30600 main ()
30602 expl(0);
30604 return 0;
30606 _ACEOF
30607 if ac_fn_cxx_try_compile "$LINENO"; then :
30608 glibcxx_cv_func_expl_use=yes
30609 else
30610 glibcxx_cv_func_expl_use=no
30612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30613 ac_ext=c
30614 ac_cpp='$CPP $CPPFLAGS'
30615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
30624 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
30626 if test x$glibcxx_cv_func_expl_use = x"yes"; then
30627 for ac_func in expl
30628 do :
30629 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
30630 if test "x$ac_cv_func_expl" = x""yes; then :
30631 cat >>confdefs.h <<_ACEOF
30632 #define HAVE_EXPL 1
30633 _ACEOF
30636 done
30638 else
30640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
30641 $as_echo_n "checking for _expl declaration... " >&6; }
30642 if test x${glibcxx_cv_func__expl_use+set} != xset; then
30643 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
30644 $as_echo_n "(cached) " >&6
30645 else
30648 ac_ext=cpp
30649 ac_cpp='$CXXCPP $CPPFLAGS'
30650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30655 /* end confdefs.h. */
30656 #include <math.h>
30657 #ifdef HAVE_IEEEFP_H
30658 #include <ieeefp.h>
30659 #endif
30662 main ()
30664 _expl(0);
30666 return 0;
30668 _ACEOF
30669 if ac_fn_cxx_try_compile "$LINENO"; then :
30670 glibcxx_cv_func__expl_use=yes
30671 else
30672 glibcxx_cv_func__expl_use=no
30674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30675 ac_ext=c
30676 ac_cpp='$CPP $CPPFLAGS'
30677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
30686 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
30688 if test x$glibcxx_cv_func__expl_use = x"yes"; then
30689 for ac_func in _expl
30690 do :
30691 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
30692 if test "x$ac_cv_func__expl" = x""yes; then :
30693 cat >>confdefs.h <<_ACEOF
30694 #define HAVE__EXPL 1
30695 _ACEOF
30698 done
30707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
30708 $as_echo_n "checking for fabsl declaration... " >&6; }
30709 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
30710 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
30711 $as_echo_n "(cached) " >&6
30712 else
30715 ac_ext=cpp
30716 ac_cpp='$CXXCPP $CPPFLAGS'
30717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30722 /* end confdefs.h. */
30723 #include <math.h>
30724 #ifdef HAVE_IEEEFP_H
30725 #include <ieeefp.h>
30726 #endif
30729 main ()
30731 fabsl(0);
30733 return 0;
30735 _ACEOF
30736 if ac_fn_cxx_try_compile "$LINENO"; then :
30737 glibcxx_cv_func_fabsl_use=yes
30738 else
30739 glibcxx_cv_func_fabsl_use=no
30741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30742 ac_ext=c
30743 ac_cpp='$CPP $CPPFLAGS'
30744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
30753 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
30755 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
30756 for ac_func in fabsl
30757 do :
30758 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
30759 if test "x$ac_cv_func_fabsl" = x""yes; then :
30760 cat >>confdefs.h <<_ACEOF
30761 #define HAVE_FABSL 1
30762 _ACEOF
30765 done
30767 else
30769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
30770 $as_echo_n "checking for _fabsl declaration... " >&6; }
30771 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
30772 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
30773 $as_echo_n "(cached) " >&6
30774 else
30777 ac_ext=cpp
30778 ac_cpp='$CXXCPP $CPPFLAGS'
30779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30784 /* end confdefs.h. */
30785 #include <math.h>
30786 #ifdef HAVE_IEEEFP_H
30787 #include <ieeefp.h>
30788 #endif
30791 main ()
30793 _fabsl(0);
30795 return 0;
30797 _ACEOF
30798 if ac_fn_cxx_try_compile "$LINENO"; then :
30799 glibcxx_cv_func__fabsl_use=yes
30800 else
30801 glibcxx_cv_func__fabsl_use=no
30803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30804 ac_ext=c
30805 ac_cpp='$CPP $CPPFLAGS'
30806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
30815 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
30817 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
30818 for ac_func in _fabsl
30819 do :
30820 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
30821 if test "x$ac_cv_func__fabsl" = x""yes; then :
30822 cat >>confdefs.h <<_ACEOF
30823 #define HAVE__FABSL 1
30824 _ACEOF
30827 done
30836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
30837 $as_echo_n "checking for fmodl declaration... " >&6; }
30838 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
30839 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
30840 $as_echo_n "(cached) " >&6
30841 else
30844 ac_ext=cpp
30845 ac_cpp='$CXXCPP $CPPFLAGS'
30846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30851 /* end confdefs.h. */
30852 #include <math.h>
30854 main ()
30856 fmodl(0, 0);
30858 return 0;
30860 _ACEOF
30861 if ac_fn_cxx_try_compile "$LINENO"; then :
30862 glibcxx_cv_func_fmodl_use=yes
30863 else
30864 glibcxx_cv_func_fmodl_use=no
30866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30867 ac_ext=c
30868 ac_cpp='$CPP $CPPFLAGS'
30869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
30878 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
30880 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
30881 for ac_func in fmodl
30882 do :
30883 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
30884 if test "x$ac_cv_func_fmodl" = x""yes; then :
30885 cat >>confdefs.h <<_ACEOF
30886 #define HAVE_FMODL 1
30887 _ACEOF
30890 done
30892 else
30894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
30895 $as_echo_n "checking for _fmodl declaration... " >&6; }
30896 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
30897 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
30898 $as_echo_n "(cached) " >&6
30899 else
30902 ac_ext=cpp
30903 ac_cpp='$CXXCPP $CPPFLAGS'
30904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30909 /* end confdefs.h. */
30910 #include <math.h>
30912 main ()
30914 _fmodl(0, 0);
30916 return 0;
30918 _ACEOF
30919 if ac_fn_cxx_try_compile "$LINENO"; then :
30920 glibcxx_cv_func__fmodl_use=yes
30921 else
30922 glibcxx_cv_func__fmodl_use=no
30924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30925 ac_ext=c
30926 ac_cpp='$CPP $CPPFLAGS'
30927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
30936 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
30938 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
30939 for ac_func in _fmodl
30940 do :
30941 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
30942 if test "x$ac_cv_func__fmodl" = x""yes; then :
30943 cat >>confdefs.h <<_ACEOF
30944 #define HAVE__FMODL 1
30945 _ACEOF
30948 done
30957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
30958 $as_echo_n "checking for frexpl declaration... " >&6; }
30959 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
30960 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
30961 $as_echo_n "(cached) " >&6
30962 else
30965 ac_ext=cpp
30966 ac_cpp='$CXXCPP $CPPFLAGS'
30967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30972 /* end confdefs.h. */
30973 #include <math.h>
30975 main ()
30977 frexpl(0, 0);
30979 return 0;
30981 _ACEOF
30982 if ac_fn_cxx_try_compile "$LINENO"; then :
30983 glibcxx_cv_func_frexpl_use=yes
30984 else
30985 glibcxx_cv_func_frexpl_use=no
30987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30988 ac_ext=c
30989 ac_cpp='$CPP $CPPFLAGS'
30990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
30999 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
31001 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31002 for ac_func in frexpl
31003 do :
31004 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
31005 if test "x$ac_cv_func_frexpl" = x""yes; then :
31006 cat >>confdefs.h <<_ACEOF
31007 #define HAVE_FREXPL 1
31008 _ACEOF
31011 done
31013 else
31015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
31016 $as_echo_n "checking for _frexpl declaration... " >&6; }
31017 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31018 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
31019 $as_echo_n "(cached) " >&6
31020 else
31023 ac_ext=cpp
31024 ac_cpp='$CXXCPP $CPPFLAGS'
31025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31030 /* end confdefs.h. */
31031 #include <math.h>
31033 main ()
31035 _frexpl(0, 0);
31037 return 0;
31039 _ACEOF
31040 if ac_fn_cxx_try_compile "$LINENO"; then :
31041 glibcxx_cv_func__frexpl_use=yes
31042 else
31043 glibcxx_cv_func__frexpl_use=no
31045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31046 ac_ext=c
31047 ac_cpp='$CPP $CPPFLAGS'
31048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31057 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31059 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31060 for ac_func in _frexpl
31061 do :
31062 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31063 if test "x$ac_cv_func__frexpl" = x""yes; then :
31064 cat >>confdefs.h <<_ACEOF
31065 #define HAVE__FREXPL 1
31066 _ACEOF
31069 done
31078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31079 $as_echo_n "checking for hypotl declaration... " >&6; }
31080 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31081 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31082 $as_echo_n "(cached) " >&6
31083 else
31086 ac_ext=cpp
31087 ac_cpp='$CXXCPP $CPPFLAGS'
31088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31093 /* end confdefs.h. */
31094 #include <math.h>
31096 main ()
31098 hypotl(0, 0);
31100 return 0;
31102 _ACEOF
31103 if ac_fn_cxx_try_compile "$LINENO"; then :
31104 glibcxx_cv_func_hypotl_use=yes
31105 else
31106 glibcxx_cv_func_hypotl_use=no
31108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31109 ac_ext=c
31110 ac_cpp='$CPP $CPPFLAGS'
31111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31120 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31122 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31123 for ac_func in hypotl
31124 do :
31125 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31126 if test "x$ac_cv_func_hypotl" = x""yes; then :
31127 cat >>confdefs.h <<_ACEOF
31128 #define HAVE_HYPOTL 1
31129 _ACEOF
31132 done
31134 else
31136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31137 $as_echo_n "checking for _hypotl declaration... " >&6; }
31138 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31139 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31140 $as_echo_n "(cached) " >&6
31141 else
31144 ac_ext=cpp
31145 ac_cpp='$CXXCPP $CPPFLAGS'
31146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31151 /* end confdefs.h. */
31152 #include <math.h>
31154 main ()
31156 _hypotl(0, 0);
31158 return 0;
31160 _ACEOF
31161 if ac_fn_cxx_try_compile "$LINENO"; then :
31162 glibcxx_cv_func__hypotl_use=yes
31163 else
31164 glibcxx_cv_func__hypotl_use=no
31166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31167 ac_ext=c
31168 ac_cpp='$CPP $CPPFLAGS'
31169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
31178 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
31180 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
31181 for ac_func in _hypotl
31182 do :
31183 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
31184 if test "x$ac_cv_func__hypotl" = x""yes; then :
31185 cat >>confdefs.h <<_ACEOF
31186 #define HAVE__HYPOTL 1
31187 _ACEOF
31190 done
31199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
31200 $as_echo_n "checking for ldexpl declaration... " >&6; }
31201 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
31202 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
31203 $as_echo_n "(cached) " >&6
31204 else
31207 ac_ext=cpp
31208 ac_cpp='$CXXCPP $CPPFLAGS'
31209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31214 /* end confdefs.h. */
31215 #include <math.h>
31217 main ()
31219 ldexpl(0, 0);
31221 return 0;
31223 _ACEOF
31224 if ac_fn_cxx_try_compile "$LINENO"; then :
31225 glibcxx_cv_func_ldexpl_use=yes
31226 else
31227 glibcxx_cv_func_ldexpl_use=no
31229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31230 ac_ext=c
31231 ac_cpp='$CPP $CPPFLAGS'
31232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
31241 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
31243 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
31244 for ac_func in ldexpl
31245 do :
31246 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
31247 if test "x$ac_cv_func_ldexpl" = x""yes; then :
31248 cat >>confdefs.h <<_ACEOF
31249 #define HAVE_LDEXPL 1
31250 _ACEOF
31253 done
31255 else
31257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
31258 $as_echo_n "checking for _ldexpl declaration... " >&6; }
31259 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
31260 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
31261 $as_echo_n "(cached) " >&6
31262 else
31265 ac_ext=cpp
31266 ac_cpp='$CXXCPP $CPPFLAGS'
31267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31272 /* end confdefs.h. */
31273 #include <math.h>
31275 main ()
31277 _ldexpl(0, 0);
31279 return 0;
31281 _ACEOF
31282 if ac_fn_cxx_try_compile "$LINENO"; then :
31283 glibcxx_cv_func__ldexpl_use=yes
31284 else
31285 glibcxx_cv_func__ldexpl_use=no
31287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31288 ac_ext=c
31289 ac_cpp='$CPP $CPPFLAGS'
31290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
31299 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
31301 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
31302 for ac_func in _ldexpl
31303 do :
31304 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
31305 if test "x$ac_cv_func__ldexpl" = x""yes; then :
31306 cat >>confdefs.h <<_ACEOF
31307 #define HAVE__LDEXPL 1
31308 _ACEOF
31311 done
31320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
31321 $as_echo_n "checking for logl declaration... " >&6; }
31322 if test x${glibcxx_cv_func_logl_use+set} != xset; then
31323 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
31324 $as_echo_n "(cached) " >&6
31325 else
31328 ac_ext=cpp
31329 ac_cpp='$CXXCPP $CPPFLAGS'
31330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31335 /* end confdefs.h. */
31336 #include <math.h>
31337 #ifdef HAVE_IEEEFP_H
31338 #include <ieeefp.h>
31339 #endif
31342 main ()
31344 logl(0);
31346 return 0;
31348 _ACEOF
31349 if ac_fn_cxx_try_compile "$LINENO"; then :
31350 glibcxx_cv_func_logl_use=yes
31351 else
31352 glibcxx_cv_func_logl_use=no
31354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31355 ac_ext=c
31356 ac_cpp='$CPP $CPPFLAGS'
31357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
31366 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
31368 if test x$glibcxx_cv_func_logl_use = x"yes"; then
31369 for ac_func in logl
31370 do :
31371 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
31372 if test "x$ac_cv_func_logl" = x""yes; then :
31373 cat >>confdefs.h <<_ACEOF
31374 #define HAVE_LOGL 1
31375 _ACEOF
31378 done
31380 else
31382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
31383 $as_echo_n "checking for _logl declaration... " >&6; }
31384 if test x${glibcxx_cv_func__logl_use+set} != xset; then
31385 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
31386 $as_echo_n "(cached) " >&6
31387 else
31390 ac_ext=cpp
31391 ac_cpp='$CXXCPP $CPPFLAGS'
31392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31397 /* end confdefs.h. */
31398 #include <math.h>
31399 #ifdef HAVE_IEEEFP_H
31400 #include <ieeefp.h>
31401 #endif
31404 main ()
31406 _logl(0);
31408 return 0;
31410 _ACEOF
31411 if ac_fn_cxx_try_compile "$LINENO"; then :
31412 glibcxx_cv_func__logl_use=yes
31413 else
31414 glibcxx_cv_func__logl_use=no
31416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31417 ac_ext=c
31418 ac_cpp='$CPP $CPPFLAGS'
31419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
31428 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
31430 if test x$glibcxx_cv_func__logl_use = x"yes"; then
31431 for ac_func in _logl
31432 do :
31433 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
31434 if test "x$ac_cv_func__logl" = x""yes; then :
31435 cat >>confdefs.h <<_ACEOF
31436 #define HAVE__LOGL 1
31437 _ACEOF
31440 done
31449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
31450 $as_echo_n "checking for log10l declaration... " >&6; }
31451 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
31452 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
31453 $as_echo_n "(cached) " >&6
31454 else
31457 ac_ext=cpp
31458 ac_cpp='$CXXCPP $CPPFLAGS'
31459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31464 /* end confdefs.h. */
31465 #include <math.h>
31466 #ifdef HAVE_IEEEFP_H
31467 #include <ieeefp.h>
31468 #endif
31471 main ()
31473 log10l(0);
31475 return 0;
31477 _ACEOF
31478 if ac_fn_cxx_try_compile "$LINENO"; then :
31479 glibcxx_cv_func_log10l_use=yes
31480 else
31481 glibcxx_cv_func_log10l_use=no
31483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31484 ac_ext=c
31485 ac_cpp='$CPP $CPPFLAGS'
31486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
31495 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
31497 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
31498 for ac_func in log10l
31499 do :
31500 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
31501 if test "x$ac_cv_func_log10l" = x""yes; then :
31502 cat >>confdefs.h <<_ACEOF
31503 #define HAVE_LOG10L 1
31504 _ACEOF
31507 done
31509 else
31511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
31512 $as_echo_n "checking for _log10l declaration... " >&6; }
31513 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
31514 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
31515 $as_echo_n "(cached) " >&6
31516 else
31519 ac_ext=cpp
31520 ac_cpp='$CXXCPP $CPPFLAGS'
31521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31526 /* end confdefs.h. */
31527 #include <math.h>
31528 #ifdef HAVE_IEEEFP_H
31529 #include <ieeefp.h>
31530 #endif
31533 main ()
31535 _log10l(0);
31537 return 0;
31539 _ACEOF
31540 if ac_fn_cxx_try_compile "$LINENO"; then :
31541 glibcxx_cv_func__log10l_use=yes
31542 else
31543 glibcxx_cv_func__log10l_use=no
31545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31546 ac_ext=c
31547 ac_cpp='$CPP $CPPFLAGS'
31548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
31557 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
31559 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
31560 for ac_func in _log10l
31561 do :
31562 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
31563 if test "x$ac_cv_func__log10l" = x""yes; then :
31564 cat >>confdefs.h <<_ACEOF
31565 #define HAVE__LOG10L 1
31566 _ACEOF
31569 done
31578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
31579 $as_echo_n "checking for modfl declaration... " >&6; }
31580 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
31581 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
31582 $as_echo_n "(cached) " >&6
31583 else
31586 ac_ext=cpp
31587 ac_cpp='$CXXCPP $CPPFLAGS'
31588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31593 /* end confdefs.h. */
31594 #include <math.h>
31596 main ()
31598 modfl(0, 0);
31600 return 0;
31602 _ACEOF
31603 if ac_fn_cxx_try_compile "$LINENO"; then :
31604 glibcxx_cv_func_modfl_use=yes
31605 else
31606 glibcxx_cv_func_modfl_use=no
31608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31609 ac_ext=c
31610 ac_cpp='$CPP $CPPFLAGS'
31611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
31620 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
31622 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
31623 for ac_func in modfl
31624 do :
31625 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
31626 if test "x$ac_cv_func_modfl" = x""yes; then :
31627 cat >>confdefs.h <<_ACEOF
31628 #define HAVE_MODFL 1
31629 _ACEOF
31632 done
31634 else
31636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
31637 $as_echo_n "checking for _modfl declaration... " >&6; }
31638 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
31639 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
31640 $as_echo_n "(cached) " >&6
31641 else
31644 ac_ext=cpp
31645 ac_cpp='$CXXCPP $CPPFLAGS'
31646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31651 /* end confdefs.h. */
31652 #include <math.h>
31654 main ()
31656 _modfl(0, 0);
31658 return 0;
31660 _ACEOF
31661 if ac_fn_cxx_try_compile "$LINENO"; then :
31662 glibcxx_cv_func__modfl_use=yes
31663 else
31664 glibcxx_cv_func__modfl_use=no
31666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31667 ac_ext=c
31668 ac_cpp='$CPP $CPPFLAGS'
31669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
31678 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
31680 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
31681 for ac_func in _modfl
31682 do :
31683 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
31684 if test "x$ac_cv_func__modfl" = x""yes; then :
31685 cat >>confdefs.h <<_ACEOF
31686 #define HAVE__MODFL 1
31687 _ACEOF
31690 done
31699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
31700 $as_echo_n "checking for powl declaration... " >&6; }
31701 if test x${glibcxx_cv_func_powl_use+set} != xset; then
31702 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
31703 $as_echo_n "(cached) " >&6
31704 else
31707 ac_ext=cpp
31708 ac_cpp='$CXXCPP $CPPFLAGS'
31709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31714 /* end confdefs.h. */
31715 #include <math.h>
31717 main ()
31719 powl(0, 0);
31721 return 0;
31723 _ACEOF
31724 if ac_fn_cxx_try_compile "$LINENO"; then :
31725 glibcxx_cv_func_powl_use=yes
31726 else
31727 glibcxx_cv_func_powl_use=no
31729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31730 ac_ext=c
31731 ac_cpp='$CPP $CPPFLAGS'
31732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
31741 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
31743 if test x$glibcxx_cv_func_powl_use = x"yes"; then
31744 for ac_func in powl
31745 do :
31746 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
31747 if test "x$ac_cv_func_powl" = x""yes; then :
31748 cat >>confdefs.h <<_ACEOF
31749 #define HAVE_POWL 1
31750 _ACEOF
31753 done
31755 else
31757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
31758 $as_echo_n "checking for _powl declaration... " >&6; }
31759 if test x${glibcxx_cv_func__powl_use+set} != xset; then
31760 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
31761 $as_echo_n "(cached) " >&6
31762 else
31765 ac_ext=cpp
31766 ac_cpp='$CXXCPP $CPPFLAGS'
31767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31772 /* end confdefs.h. */
31773 #include <math.h>
31775 main ()
31777 _powl(0, 0);
31779 return 0;
31781 _ACEOF
31782 if ac_fn_cxx_try_compile "$LINENO"; then :
31783 glibcxx_cv_func__powl_use=yes
31784 else
31785 glibcxx_cv_func__powl_use=no
31787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31788 ac_ext=c
31789 ac_cpp='$CPP $CPPFLAGS'
31790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
31799 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
31801 if test x$glibcxx_cv_func__powl_use = x"yes"; then
31802 for ac_func in _powl
31803 do :
31804 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
31805 if test "x$ac_cv_func__powl" = x""yes; then :
31806 cat >>confdefs.h <<_ACEOF
31807 #define HAVE__POWL 1
31808 _ACEOF
31811 done
31820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
31821 $as_echo_n "checking for sqrtl declaration... " >&6; }
31822 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
31823 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
31824 $as_echo_n "(cached) " >&6
31825 else
31828 ac_ext=cpp
31829 ac_cpp='$CXXCPP $CPPFLAGS'
31830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31835 /* end confdefs.h. */
31836 #include <math.h>
31837 #ifdef HAVE_IEEEFP_H
31838 #include <ieeefp.h>
31839 #endif
31842 main ()
31844 sqrtl(0);
31846 return 0;
31848 _ACEOF
31849 if ac_fn_cxx_try_compile "$LINENO"; then :
31850 glibcxx_cv_func_sqrtl_use=yes
31851 else
31852 glibcxx_cv_func_sqrtl_use=no
31854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31855 ac_ext=c
31856 ac_cpp='$CPP $CPPFLAGS'
31857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
31866 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
31868 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
31869 for ac_func in sqrtl
31870 do :
31871 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
31872 if test "x$ac_cv_func_sqrtl" = x""yes; then :
31873 cat >>confdefs.h <<_ACEOF
31874 #define HAVE_SQRTL 1
31875 _ACEOF
31878 done
31880 else
31882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
31883 $as_echo_n "checking for _sqrtl declaration... " >&6; }
31884 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
31885 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
31886 $as_echo_n "(cached) " >&6
31887 else
31890 ac_ext=cpp
31891 ac_cpp='$CXXCPP $CPPFLAGS'
31892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31897 /* end confdefs.h. */
31898 #include <math.h>
31899 #ifdef HAVE_IEEEFP_H
31900 #include <ieeefp.h>
31901 #endif
31904 main ()
31906 _sqrtl(0);
31908 return 0;
31910 _ACEOF
31911 if ac_fn_cxx_try_compile "$LINENO"; then :
31912 glibcxx_cv_func__sqrtl_use=yes
31913 else
31914 glibcxx_cv_func__sqrtl_use=no
31916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31917 ac_ext=c
31918 ac_cpp='$CPP $CPPFLAGS'
31919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
31928 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
31930 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
31931 for ac_func in _sqrtl
31932 do :
31933 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
31934 if test "x$ac_cv_func__sqrtl" = x""yes; then :
31935 cat >>confdefs.h <<_ACEOF
31936 #define HAVE__SQRTL 1
31937 _ACEOF
31940 done
31949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
31950 $as_echo_n "checking for sincosl declaration... " >&6; }
31951 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
31952 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
31953 $as_echo_n "(cached) " >&6
31954 else
31957 ac_ext=cpp
31958 ac_cpp='$CXXCPP $CPPFLAGS'
31959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31964 /* end confdefs.h. */
31965 #include <math.h>
31967 main ()
31969 sincosl(0, 0, 0);
31971 return 0;
31973 _ACEOF
31974 if ac_fn_cxx_try_compile "$LINENO"; then :
31975 glibcxx_cv_func_sincosl_use=yes
31976 else
31977 glibcxx_cv_func_sincosl_use=no
31979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31980 ac_ext=c
31981 ac_cpp='$CPP $CPPFLAGS'
31982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
31991 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
31993 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
31994 for ac_func in sincosl
31995 do :
31996 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
31997 if test "x$ac_cv_func_sincosl" = x""yes; then :
31998 cat >>confdefs.h <<_ACEOF
31999 #define HAVE_SINCOSL 1
32000 _ACEOF
32003 done
32005 else
32007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
32008 $as_echo_n "checking for _sincosl declaration... " >&6; }
32009 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
32010 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
32011 $as_echo_n "(cached) " >&6
32012 else
32015 ac_ext=cpp
32016 ac_cpp='$CXXCPP $CPPFLAGS'
32017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32022 /* end confdefs.h. */
32023 #include <math.h>
32025 main ()
32027 _sincosl(0, 0, 0);
32029 return 0;
32031 _ACEOF
32032 if ac_fn_cxx_try_compile "$LINENO"; then :
32033 glibcxx_cv_func__sincosl_use=yes
32034 else
32035 glibcxx_cv_func__sincosl_use=no
32037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32038 ac_ext=c
32039 ac_cpp='$CPP $CPPFLAGS'
32040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32049 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32051 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32052 for ac_func in _sincosl
32053 do :
32054 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32055 if test "x$ac_cv_func__sincosl" = x""yes; then :
32056 cat >>confdefs.h <<_ACEOF
32057 #define HAVE__SINCOSL 1
32058 _ACEOF
32061 done
32070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32071 $as_echo_n "checking for finitel declaration... " >&6; }
32072 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32073 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32074 $as_echo_n "(cached) " >&6
32075 else
32078 ac_ext=cpp
32079 ac_cpp='$CXXCPP $CPPFLAGS'
32080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32085 /* end confdefs.h. */
32086 #include <math.h>
32087 #ifdef HAVE_IEEEFP_H
32088 #include <ieeefp.h>
32089 #endif
32092 main ()
32094 finitel(0);
32096 return 0;
32098 _ACEOF
32099 if ac_fn_cxx_try_compile "$LINENO"; then :
32100 glibcxx_cv_func_finitel_use=yes
32101 else
32102 glibcxx_cv_func_finitel_use=no
32104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32105 ac_ext=c
32106 ac_cpp='$CPP $CPPFLAGS'
32107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32116 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32118 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32119 for ac_func in finitel
32120 do :
32121 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32122 if test "x$ac_cv_func_finitel" = x""yes; then :
32123 cat >>confdefs.h <<_ACEOF
32124 #define HAVE_FINITEL 1
32125 _ACEOF
32128 done
32130 else
32132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32133 $as_echo_n "checking for _finitel declaration... " >&6; }
32134 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32135 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32136 $as_echo_n "(cached) " >&6
32137 else
32140 ac_ext=cpp
32141 ac_cpp='$CXXCPP $CPPFLAGS'
32142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32147 /* end confdefs.h. */
32148 #include <math.h>
32149 #ifdef HAVE_IEEEFP_H
32150 #include <ieeefp.h>
32151 #endif
32154 main ()
32156 _finitel(0);
32158 return 0;
32160 _ACEOF
32161 if ac_fn_cxx_try_compile "$LINENO"; then :
32162 glibcxx_cv_func__finitel_use=yes
32163 else
32164 glibcxx_cv_func__finitel_use=no
32166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32167 ac_ext=c
32168 ac_cpp='$CPP $CPPFLAGS'
32169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
32178 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
32180 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
32181 for ac_func in _finitel
32182 do :
32183 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
32184 if test "x$ac_cv_func__finitel" = x""yes; then :
32185 cat >>confdefs.h <<_ACEOF
32186 #define HAVE__FINITEL 1
32187 _ACEOF
32190 done
32198 LIBS="$ac_save_LIBS"
32199 CXXFLAGS="$ac_save_CXXFLAGS"
32202 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32203 ac_save_CXXFLAGS="$CXXFLAGS"
32204 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
32208 $as_echo_n "checking for strtold declaration... " >&6; }
32209 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
32210 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
32211 $as_echo_n "(cached) " >&6
32212 else
32215 ac_ext=cpp
32216 ac_cpp='$CXXCPP $CPPFLAGS'
32217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32222 /* end confdefs.h. */
32223 #include <stdlib.h>
32225 main ()
32227 strtold(0, 0);
32229 return 0;
32231 _ACEOF
32232 if ac_fn_cxx_try_compile "$LINENO"; then :
32233 glibcxx_cv_func_strtold_use=yes
32234 else
32235 glibcxx_cv_func_strtold_use=no
32237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32238 ac_ext=c
32239 ac_cpp='$CPP $CPPFLAGS'
32240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
32249 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
32250 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
32251 for ac_func in strtold
32252 do :
32253 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
32254 if test "x$ac_cv_func_strtold" = x""yes; then :
32255 cat >>confdefs.h <<_ACEOF
32256 #define HAVE_STRTOLD 1
32257 _ACEOF
32260 done
32267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
32268 $as_echo_n "checking for strtof declaration... " >&6; }
32269 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
32270 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
32271 $as_echo_n "(cached) " >&6
32272 else
32275 ac_ext=cpp
32276 ac_cpp='$CXXCPP $CPPFLAGS'
32277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32282 /* end confdefs.h. */
32283 #include <stdlib.h>
32285 main ()
32287 strtof(0, 0);
32289 return 0;
32291 _ACEOF
32292 if ac_fn_cxx_try_compile "$LINENO"; then :
32293 glibcxx_cv_func_strtof_use=yes
32294 else
32295 glibcxx_cv_func_strtof_use=no
32297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32298 ac_ext=c
32299 ac_cpp='$CPP $CPPFLAGS'
32300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
32309 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
32310 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
32311 for ac_func in strtof
32312 do :
32313 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
32314 if test "x$ac_cv_func_strtof" = x""yes; then :
32315 cat >>confdefs.h <<_ACEOF
32316 #define HAVE_STRTOF 1
32317 _ACEOF
32320 done
32327 CXXFLAGS="$ac_save_CXXFLAGS"
32330 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
32332 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
32334 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
32336 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
32339 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
32341 $as_echo "#define HAVE_MODF 1" >>confdefs.h
32343 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
32347 *-aix*)
32349 # If we're not using GNU ld, then there's no point in even trying these
32350 # tests. Check for that first. We should have already tested for gld
32351 # by now (in libtool), but require it now just to be safe...
32352 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
32353 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
32357 # The name set by libtool depends on the version of libtool. Shame on us
32358 # for depending on an impl detail, but c'est la vie. Older versions used
32359 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
32360 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
32361 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
32362 # set (hence we're using an older libtool), then set it.
32363 if test x${with_gnu_ld+set} != xset; then
32364 if test x${ac_cv_prog_gnu_ld+set} != xset; then
32365 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
32366 with_gnu_ld=no
32367 else
32368 with_gnu_ld=$ac_cv_prog_gnu_ld
32372 # Start by getting the version number. I think the libtool test already
32373 # does some of this, but throws away the result.
32374 glibcxx_ld_is_gold=no
32375 if test x"$with_gnu_ld" = x"yes"; then
32376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
32377 $as_echo_n "checking for ld version... " >&6; }
32379 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
32380 glibcxx_ld_is_gold=yes
32382 ldver=`$LD --version 2>/dev/null |
32383 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'`
32385 glibcxx_gnu_ld_version=`echo $ldver | \
32386 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
32387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
32388 $as_echo "$glibcxx_gnu_ld_version" >&6; }
32391 # Set --gc-sections.
32392 glibcxx_have_gc_sections=no
32393 if test "$glibcxx_ld_is_gold" = "yes"; then
32394 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
32395 glibcxx_have_gc_sections=yes
32397 else
32398 glibcxx_gcsections_min_ld=21602
32399 if test x"$with_gnu_ld" = x"yes" &&
32400 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
32401 glibcxx_have_gc_sections=yes
32404 if test "$glibcxx_have_gc_sections" = "yes"; then
32405 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
32406 # NB: This flag only works reliably after 2.16.1. Configure tests
32407 # for this are difficult, so hard wire a value that should work.
32409 ac_test_CFLAGS="${CFLAGS+set}"
32410 ac_save_CFLAGS="$CFLAGS"
32411 CFLAGS='-Wl,--gc-sections'
32413 # Check for -Wl,--gc-sections
32414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
32415 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
32416 if test x$gcc_no_link = xyes; then
32417 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32420 /* end confdefs.h. */
32421 int one(void) { return 1; }
32422 int two(void) { return 2; }
32425 main ()
32427 two();
32429 return 0;
32431 _ACEOF
32432 if ac_fn_c_try_link "$LINENO"; then :
32433 ac_gcsections=yes
32434 else
32435 ac_gcsections=no
32437 rm -f core conftest.err conftest.$ac_objext \
32438 conftest$ac_exeext conftest.$ac_ext
32439 if test "$ac_gcsections" = "yes"; then
32440 rm -f conftest.c
32441 touch conftest.c
32442 if $CC -c conftest.c; then
32443 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
32444 grep "Warning: gc-sections option ignored" > /dev/null; then
32445 ac_gcsections=no
32448 rm -f conftest.c conftest.o conftest
32450 if test "$ac_gcsections" = "yes"; then
32451 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
32453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
32454 $as_echo "$ac_gcsections" >&6; }
32456 if test "$ac_test_CFLAGS" = set; then
32457 CFLAGS="$ac_save_CFLAGS"
32458 else
32459 # this is the suspicious part
32460 CFLAGS=''
32464 # Set -z,relro.
32465 # Note this is only for shared objects.
32466 ac_ld_relro=no
32467 if test x"$with_gnu_ld" = x"yes"; then
32468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
32469 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
32470 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
32471 if test -n "$cxx_z_relo"; then
32472 OPT_LDFLAGS="-Wl,-z,relro"
32473 ac_ld_relro=yes
32475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
32476 $as_echo "$ac_ld_relro" >&6; }
32479 # Set linker optimization flags.
32480 if test x"$with_gnu_ld" = x"yes"; then
32481 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
32488 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32489 ac_save_CXXFLAGS="$CXXFLAGS"
32490 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
32493 $as_echo_n "checking for sin in -lm... " >&6; }
32494 if test "${ac_cv_lib_m_sin+set}" = set; then :
32495 $as_echo_n "(cached) " >&6
32496 else
32497 ac_check_lib_save_LIBS=$LIBS
32498 LIBS="-lm $LIBS"
32499 if test x$gcc_no_link = xyes; then
32500 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32503 /* end confdefs.h. */
32505 /* Override any GCC internal prototype to avoid an error.
32506 Use char because int might match the return type of a GCC
32507 builtin and then its argument prototype would still apply. */
32508 #ifdef __cplusplus
32509 extern "C"
32510 #endif
32511 char sin ();
32513 main ()
32515 return sin ();
32517 return 0;
32519 _ACEOF
32520 if ac_fn_c_try_link "$LINENO"; then :
32521 ac_cv_lib_m_sin=yes
32522 else
32523 ac_cv_lib_m_sin=no
32525 rm -f core conftest.err conftest.$ac_objext \
32526 conftest$ac_exeext conftest.$ac_ext
32527 LIBS=$ac_check_lib_save_LIBS
32529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
32530 $as_echo "$ac_cv_lib_m_sin" >&6; }
32531 if test "x$ac_cv_lib_m_sin" = x""yes; then :
32532 libm="-lm"
32535 ac_save_LIBS="$LIBS"
32536 LIBS="$LIBS $libm"
32540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
32541 $as_echo_n "checking for isinf declaration... " >&6; }
32542 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
32543 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
32544 $as_echo_n "(cached) " >&6
32545 else
32548 ac_ext=cpp
32549 ac_cpp='$CXXCPP $CPPFLAGS'
32550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32555 /* end confdefs.h. */
32556 #include <math.h>
32557 #ifdef HAVE_IEEEFP_H
32558 #include <ieeefp.h>
32559 #endif
32562 main ()
32564 isinf(0);
32566 return 0;
32568 _ACEOF
32569 if ac_fn_cxx_try_compile "$LINENO"; then :
32570 glibcxx_cv_func_isinf_use=yes
32571 else
32572 glibcxx_cv_func_isinf_use=no
32574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32575 ac_ext=c
32576 ac_cpp='$CPP $CPPFLAGS'
32577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
32586 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
32588 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
32589 for ac_func in isinf
32590 do :
32591 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
32592 if test "x$ac_cv_func_isinf" = x""yes; then :
32593 cat >>confdefs.h <<_ACEOF
32594 #define HAVE_ISINF 1
32595 _ACEOF
32598 done
32600 else
32602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
32603 $as_echo_n "checking for _isinf declaration... " >&6; }
32604 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
32605 if test "${glibcxx_cv_func__isinf_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 _isinf(0);
32628 return 0;
32630 _ACEOF
32631 if ac_fn_cxx_try_compile "$LINENO"; then :
32632 glibcxx_cv_func__isinf_use=yes
32633 else
32634 glibcxx_cv_func__isinf_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__isinf_use" >&5
32648 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
32650 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
32651 for ac_func in _isinf
32652 do :
32653 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
32654 if test "x$ac_cv_func__isinf" = x""yes; then :
32655 cat >>confdefs.h <<_ACEOF
32656 #define HAVE__ISINF 1
32657 _ACEOF
32660 done
32669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
32670 $as_echo_n "checking for isnan declaration... " >&6; }
32671 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
32672 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
32673 $as_echo_n "(cached) " >&6
32674 else
32677 ac_ext=cpp
32678 ac_cpp='$CXXCPP $CPPFLAGS'
32679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32684 /* end confdefs.h. */
32685 #include <math.h>
32686 #ifdef HAVE_IEEEFP_H
32687 #include <ieeefp.h>
32688 #endif
32691 main ()
32693 isnan(0);
32695 return 0;
32697 _ACEOF
32698 if ac_fn_cxx_try_compile "$LINENO"; then :
32699 glibcxx_cv_func_isnan_use=yes
32700 else
32701 glibcxx_cv_func_isnan_use=no
32703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32704 ac_ext=c
32705 ac_cpp='$CPP $CPPFLAGS'
32706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
32715 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
32717 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
32718 for ac_func in isnan
32719 do :
32720 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
32721 if test "x$ac_cv_func_isnan" = x""yes; then :
32722 cat >>confdefs.h <<_ACEOF
32723 #define HAVE_ISNAN 1
32724 _ACEOF
32727 done
32729 else
32731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
32732 $as_echo_n "checking for _isnan declaration... " >&6; }
32733 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
32734 if test "${glibcxx_cv_func__isnan_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>
32748 #ifdef HAVE_IEEEFP_H
32749 #include <ieeefp.h>
32750 #endif
32753 main ()
32755 _isnan(0);
32757 return 0;
32759 _ACEOF
32760 if ac_fn_cxx_try_compile "$LINENO"; then :
32761 glibcxx_cv_func__isnan_use=yes
32762 else
32763 glibcxx_cv_func__isnan_use=no
32765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32766 ac_ext=c
32767 ac_cpp='$CPP $CPPFLAGS'
32768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
32777 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
32779 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32780 for ac_func in _isnan
32781 do :
32782 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
32783 if test "x$ac_cv_func__isnan" = x""yes; then :
32784 cat >>confdefs.h <<_ACEOF
32785 #define HAVE__ISNAN 1
32786 _ACEOF
32789 done
32798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
32799 $as_echo_n "checking for finite declaration... " >&6; }
32800 if test x${glibcxx_cv_func_finite_use+set} != xset; then
32801 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
32802 $as_echo_n "(cached) " >&6
32803 else
32806 ac_ext=cpp
32807 ac_cpp='$CXXCPP $CPPFLAGS'
32808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32813 /* end confdefs.h. */
32814 #include <math.h>
32815 #ifdef HAVE_IEEEFP_H
32816 #include <ieeefp.h>
32817 #endif
32820 main ()
32822 finite(0);
32824 return 0;
32826 _ACEOF
32827 if ac_fn_cxx_try_compile "$LINENO"; then :
32828 glibcxx_cv_func_finite_use=yes
32829 else
32830 glibcxx_cv_func_finite_use=no
32832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32833 ac_ext=c
32834 ac_cpp='$CPP $CPPFLAGS'
32835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
32844 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
32846 if test x$glibcxx_cv_func_finite_use = x"yes"; then
32847 for ac_func in finite
32848 do :
32849 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
32850 if test "x$ac_cv_func_finite" = x""yes; then :
32851 cat >>confdefs.h <<_ACEOF
32852 #define HAVE_FINITE 1
32853 _ACEOF
32856 done
32858 else
32860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
32861 $as_echo_n "checking for _finite declaration... " >&6; }
32862 if test x${glibcxx_cv_func__finite_use+set} != xset; then
32863 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
32864 $as_echo_n "(cached) " >&6
32865 else
32868 ac_ext=cpp
32869 ac_cpp='$CXXCPP $CPPFLAGS'
32870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32875 /* end confdefs.h. */
32876 #include <math.h>
32877 #ifdef HAVE_IEEEFP_H
32878 #include <ieeefp.h>
32879 #endif
32882 main ()
32884 _finite(0);
32886 return 0;
32888 _ACEOF
32889 if ac_fn_cxx_try_compile "$LINENO"; then :
32890 glibcxx_cv_func__finite_use=yes
32891 else
32892 glibcxx_cv_func__finite_use=no
32894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32895 ac_ext=c
32896 ac_cpp='$CPP $CPPFLAGS'
32897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
32906 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
32908 if test x$glibcxx_cv_func__finite_use = x"yes"; then
32909 for ac_func in _finite
32910 do :
32911 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
32912 if test "x$ac_cv_func__finite" = x""yes; then :
32913 cat >>confdefs.h <<_ACEOF
32914 #define HAVE__FINITE 1
32915 _ACEOF
32918 done
32927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
32928 $as_echo_n "checking for sincos declaration... " >&6; }
32929 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32930 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
32931 $as_echo_n "(cached) " >&6
32932 else
32935 ac_ext=cpp
32936 ac_cpp='$CXXCPP $CPPFLAGS'
32937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32942 /* end confdefs.h. */
32943 #include <math.h>
32945 main ()
32947 sincos(0, 0, 0);
32949 return 0;
32951 _ACEOF
32952 if ac_fn_cxx_try_compile "$LINENO"; then :
32953 glibcxx_cv_func_sincos_use=yes
32954 else
32955 glibcxx_cv_func_sincos_use=no
32957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32958 ac_ext=c
32959 ac_cpp='$CPP $CPPFLAGS'
32960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
32969 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
32971 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
32972 for ac_func in sincos
32973 do :
32974 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
32975 if test "x$ac_cv_func_sincos" = x""yes; then :
32976 cat >>confdefs.h <<_ACEOF
32977 #define HAVE_SINCOS 1
32978 _ACEOF
32981 done
32983 else
32985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
32986 $as_echo_n "checking for _sincos declaration... " >&6; }
32987 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
32988 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
32989 $as_echo_n "(cached) " >&6
32990 else
32993 ac_ext=cpp
32994 ac_cpp='$CXXCPP $CPPFLAGS'
32995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33000 /* end confdefs.h. */
33001 #include <math.h>
33003 main ()
33005 _sincos(0, 0, 0);
33007 return 0;
33009 _ACEOF
33010 if ac_fn_cxx_try_compile "$LINENO"; then :
33011 glibcxx_cv_func__sincos_use=yes
33012 else
33013 glibcxx_cv_func__sincos_use=no
33015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33016 ac_ext=c
33017 ac_cpp='$CPP $CPPFLAGS'
33018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
33027 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
33029 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33030 for ac_func in _sincos
33031 do :
33032 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33033 if test "x$ac_cv_func__sincos" = x""yes; then :
33034 cat >>confdefs.h <<_ACEOF
33035 #define HAVE__SINCOS 1
33036 _ACEOF
33039 done
33048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33049 $as_echo_n "checking for fpclass declaration... " >&6; }
33050 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33051 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33052 $as_echo_n "(cached) " >&6
33053 else
33056 ac_ext=cpp
33057 ac_cpp='$CXXCPP $CPPFLAGS'
33058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33063 /* end confdefs.h. */
33064 #include <math.h>
33065 #ifdef HAVE_IEEEFP_H
33066 #include <ieeefp.h>
33067 #endif
33070 main ()
33072 fpclass(0);
33074 return 0;
33076 _ACEOF
33077 if ac_fn_cxx_try_compile "$LINENO"; then :
33078 glibcxx_cv_func_fpclass_use=yes
33079 else
33080 glibcxx_cv_func_fpclass_use=no
33082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33083 ac_ext=c
33084 ac_cpp='$CPP $CPPFLAGS'
33085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33094 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33096 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33097 for ac_func in fpclass
33098 do :
33099 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33100 if test "x$ac_cv_func_fpclass" = x""yes; then :
33101 cat >>confdefs.h <<_ACEOF
33102 #define HAVE_FPCLASS 1
33103 _ACEOF
33106 done
33108 else
33110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33111 $as_echo_n "checking for _fpclass declaration... " >&6; }
33112 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33113 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33114 $as_echo_n "(cached) " >&6
33115 else
33118 ac_ext=cpp
33119 ac_cpp='$CXXCPP $CPPFLAGS'
33120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33125 /* end confdefs.h. */
33126 #include <math.h>
33127 #ifdef HAVE_IEEEFP_H
33128 #include <ieeefp.h>
33129 #endif
33132 main ()
33134 _fpclass(0);
33136 return 0;
33138 _ACEOF
33139 if ac_fn_cxx_try_compile "$LINENO"; then :
33140 glibcxx_cv_func__fpclass_use=yes
33141 else
33142 glibcxx_cv_func__fpclass_use=no
33144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33145 ac_ext=c
33146 ac_cpp='$CPP $CPPFLAGS'
33147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33156 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33158 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33159 for ac_func in _fpclass
33160 do :
33161 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33162 if test "x$ac_cv_func__fpclass" = x""yes; then :
33163 cat >>confdefs.h <<_ACEOF
33164 #define HAVE__FPCLASS 1
33165 _ACEOF
33168 done
33177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
33178 $as_echo_n "checking for qfpclass declaration... " >&6; }
33179 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33180 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
33181 $as_echo_n "(cached) " >&6
33182 else
33185 ac_ext=cpp
33186 ac_cpp='$CXXCPP $CPPFLAGS'
33187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33192 /* end confdefs.h. */
33193 #include <math.h>
33194 #ifdef HAVE_IEEEFP_H
33195 #include <ieeefp.h>
33196 #endif
33199 main ()
33201 qfpclass(0);
33203 return 0;
33205 _ACEOF
33206 if ac_fn_cxx_try_compile "$LINENO"; then :
33207 glibcxx_cv_func_qfpclass_use=yes
33208 else
33209 glibcxx_cv_func_qfpclass_use=no
33211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33212 ac_ext=c
33213 ac_cpp='$CPP $CPPFLAGS'
33214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
33223 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
33225 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33226 for ac_func in qfpclass
33227 do :
33228 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
33229 if test "x$ac_cv_func_qfpclass" = x""yes; then :
33230 cat >>confdefs.h <<_ACEOF
33231 #define HAVE_QFPCLASS 1
33232 _ACEOF
33235 done
33237 else
33239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
33240 $as_echo_n "checking for _qfpclass declaration... " >&6; }
33241 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33242 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
33243 $as_echo_n "(cached) " >&6
33244 else
33247 ac_ext=cpp
33248 ac_cpp='$CXXCPP $CPPFLAGS'
33249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33254 /* end confdefs.h. */
33255 #include <math.h>
33256 #ifdef HAVE_IEEEFP_H
33257 #include <ieeefp.h>
33258 #endif
33261 main ()
33263 _qfpclass(0);
33265 return 0;
33267 _ACEOF
33268 if ac_fn_cxx_try_compile "$LINENO"; then :
33269 glibcxx_cv_func__qfpclass_use=yes
33270 else
33271 glibcxx_cv_func__qfpclass_use=no
33273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33274 ac_ext=c
33275 ac_cpp='$CPP $CPPFLAGS'
33276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
33285 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
33287 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33288 for ac_func in _qfpclass
33289 do :
33290 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
33291 if test "x$ac_cv_func__qfpclass" = x""yes; then :
33292 cat >>confdefs.h <<_ACEOF
33293 #define HAVE__QFPCLASS 1
33294 _ACEOF
33297 done
33306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
33307 $as_echo_n "checking for hypot declaration... " >&6; }
33308 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33309 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
33310 $as_echo_n "(cached) " >&6
33311 else
33314 ac_ext=cpp
33315 ac_cpp='$CXXCPP $CPPFLAGS'
33316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33321 /* end confdefs.h. */
33322 #include <math.h>
33324 main ()
33326 hypot(0, 0);
33328 return 0;
33330 _ACEOF
33331 if ac_fn_cxx_try_compile "$LINENO"; then :
33332 glibcxx_cv_func_hypot_use=yes
33333 else
33334 glibcxx_cv_func_hypot_use=no
33336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33337 ac_ext=c
33338 ac_cpp='$CPP $CPPFLAGS'
33339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
33348 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
33350 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33351 for ac_func in hypot
33352 do :
33353 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
33354 if test "x$ac_cv_func_hypot" = x""yes; then :
33355 cat >>confdefs.h <<_ACEOF
33356 #define HAVE_HYPOT 1
33357 _ACEOF
33360 done
33362 else
33364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
33365 $as_echo_n "checking for _hypot declaration... " >&6; }
33366 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
33367 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
33368 $as_echo_n "(cached) " >&6
33369 else
33372 ac_ext=cpp
33373 ac_cpp='$CXXCPP $CPPFLAGS'
33374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33379 /* end confdefs.h. */
33380 #include <math.h>
33382 main ()
33384 _hypot(0, 0);
33386 return 0;
33388 _ACEOF
33389 if ac_fn_cxx_try_compile "$LINENO"; then :
33390 glibcxx_cv_func__hypot_use=yes
33391 else
33392 glibcxx_cv_func__hypot_use=no
33394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33395 ac_ext=c
33396 ac_cpp='$CPP $CPPFLAGS'
33397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
33406 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
33408 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
33409 for ac_func in _hypot
33410 do :
33411 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
33412 if test "x$ac_cv_func__hypot" = x""yes; then :
33413 cat >>confdefs.h <<_ACEOF
33414 #define HAVE__HYPOT 1
33415 _ACEOF
33418 done
33427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
33428 $as_echo_n "checking for float trig functions... " >&6; }
33429 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
33430 $as_echo_n "(cached) " >&6
33431 else
33434 ac_ext=cpp
33435 ac_cpp='$CXXCPP $CPPFLAGS'
33436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33441 /* end confdefs.h. */
33442 #include <math.h>
33444 main ()
33446 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
33448 return 0;
33450 _ACEOF
33451 if ac_fn_cxx_try_compile "$LINENO"; then :
33452 glibcxx_cv_func_float_trig_use=yes
33453 else
33454 glibcxx_cv_func_float_trig_use=no
33456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33457 ac_ext=c
33458 ac_cpp='$CPP $CPPFLAGS'
33459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
33466 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
33467 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
33468 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
33469 do :
33470 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33471 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33472 eval as_val=\$$as_ac_var
33473 if test "x$as_val" = x""yes; then :
33474 cat >>confdefs.h <<_ACEOF
33475 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33476 _ACEOF
33479 done
33481 else
33482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
33483 $as_echo_n "checking for _float trig functions... " >&6; }
33484 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
33485 $as_echo_n "(cached) " >&6
33486 else
33489 ac_ext=cpp
33490 ac_cpp='$CXXCPP $CPPFLAGS'
33491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33496 /* end confdefs.h. */
33497 #include <math.h>
33499 main ()
33501 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
33503 return 0;
33505 _ACEOF
33506 if ac_fn_cxx_try_compile "$LINENO"; then :
33507 glibcxx_cv_func__float_trig_use=yes
33508 else
33509 glibcxx_cv_func__float_trig_use=no
33511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33512 ac_ext=c
33513 ac_cpp='$CPP $CPPFLAGS'
33514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
33521 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
33522 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
33523 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
33524 do :
33525 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33526 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33527 eval as_val=\$$as_ac_var
33528 if test "x$as_val" = x""yes; then :
33529 cat >>confdefs.h <<_ACEOF
33530 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33531 _ACEOF
33534 done
33543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
33544 $as_echo_n "checking for float round functions... " >&6; }
33545 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
33546 $as_echo_n "(cached) " >&6
33547 else
33550 ac_ext=cpp
33551 ac_cpp='$CXXCPP $CPPFLAGS'
33552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33557 /* end confdefs.h. */
33558 #include <math.h>
33560 main ()
33562 ceilf (0); floorf (0);
33564 return 0;
33566 _ACEOF
33567 if ac_fn_cxx_try_compile "$LINENO"; then :
33568 glibcxx_cv_func_float_round_use=yes
33569 else
33570 glibcxx_cv_func_float_round_use=no
33572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33573 ac_ext=c
33574 ac_cpp='$CPP $CPPFLAGS'
33575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
33582 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
33583 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
33584 for ac_func in ceilf floorf
33585 do :
33586 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33587 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33588 eval as_val=\$$as_ac_var
33589 if test "x$as_val" = x""yes; then :
33590 cat >>confdefs.h <<_ACEOF
33591 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33592 _ACEOF
33595 done
33597 else
33598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
33599 $as_echo_n "checking for _float round functions... " >&6; }
33600 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
33601 $as_echo_n "(cached) " >&6
33602 else
33605 ac_ext=cpp
33606 ac_cpp='$CXXCPP $CPPFLAGS'
33607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33612 /* end confdefs.h. */
33613 #include <math.h>
33615 main ()
33617 _ceilf (0); _floorf (0);
33619 return 0;
33621 _ACEOF
33622 if ac_fn_cxx_try_compile "$LINENO"; then :
33623 glibcxx_cv_func__float_round_use=yes
33624 else
33625 glibcxx_cv_func__float_round_use=no
33627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33628 ac_ext=c
33629 ac_cpp='$CPP $CPPFLAGS'
33630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
33637 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
33638 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
33639 for ac_func in _ceilf _floorf
33640 do :
33641 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33642 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33643 eval as_val=\$$as_ac_var
33644 if test "x$as_val" = x""yes; then :
33645 cat >>confdefs.h <<_ACEOF
33646 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33647 _ACEOF
33650 done
33660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
33661 $as_echo_n "checking for expf declaration... " >&6; }
33662 if test x${glibcxx_cv_func_expf_use+set} != xset; then
33663 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
33664 $as_echo_n "(cached) " >&6
33665 else
33668 ac_ext=cpp
33669 ac_cpp='$CXXCPP $CPPFLAGS'
33670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33675 /* end confdefs.h. */
33676 #include <math.h>
33677 #ifdef HAVE_IEEEFP_H
33678 #include <ieeefp.h>
33679 #endif
33682 main ()
33684 expf(0);
33686 return 0;
33688 _ACEOF
33689 if ac_fn_cxx_try_compile "$LINENO"; then :
33690 glibcxx_cv_func_expf_use=yes
33691 else
33692 glibcxx_cv_func_expf_use=no
33694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33695 ac_ext=c
33696 ac_cpp='$CPP $CPPFLAGS'
33697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
33706 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
33708 if test x$glibcxx_cv_func_expf_use = x"yes"; then
33709 for ac_func in expf
33710 do :
33711 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
33712 if test "x$ac_cv_func_expf" = x""yes; then :
33713 cat >>confdefs.h <<_ACEOF
33714 #define HAVE_EXPF 1
33715 _ACEOF
33718 done
33720 else
33722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
33723 $as_echo_n "checking for _expf declaration... " >&6; }
33724 if test x${glibcxx_cv_func__expf_use+set} != xset; then
33725 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
33726 $as_echo_n "(cached) " >&6
33727 else
33730 ac_ext=cpp
33731 ac_cpp='$CXXCPP $CPPFLAGS'
33732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33737 /* end confdefs.h. */
33738 #include <math.h>
33739 #ifdef HAVE_IEEEFP_H
33740 #include <ieeefp.h>
33741 #endif
33744 main ()
33746 _expf(0);
33748 return 0;
33750 _ACEOF
33751 if ac_fn_cxx_try_compile "$LINENO"; then :
33752 glibcxx_cv_func__expf_use=yes
33753 else
33754 glibcxx_cv_func__expf_use=no
33756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33757 ac_ext=c
33758 ac_cpp='$CPP $CPPFLAGS'
33759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
33768 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
33770 if test x$glibcxx_cv_func__expf_use = x"yes"; then
33771 for ac_func in _expf
33772 do :
33773 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
33774 if test "x$ac_cv_func__expf" = x""yes; then :
33775 cat >>confdefs.h <<_ACEOF
33776 #define HAVE__EXPF 1
33777 _ACEOF
33780 done
33789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
33790 $as_echo_n "checking for isnanf declaration... " >&6; }
33791 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
33792 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
33793 $as_echo_n "(cached) " >&6
33794 else
33797 ac_ext=cpp
33798 ac_cpp='$CXXCPP $CPPFLAGS'
33799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33804 /* end confdefs.h. */
33805 #include <math.h>
33806 #ifdef HAVE_IEEEFP_H
33807 #include <ieeefp.h>
33808 #endif
33811 main ()
33813 isnanf(0);
33815 return 0;
33817 _ACEOF
33818 if ac_fn_cxx_try_compile "$LINENO"; then :
33819 glibcxx_cv_func_isnanf_use=yes
33820 else
33821 glibcxx_cv_func_isnanf_use=no
33823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33824 ac_ext=c
33825 ac_cpp='$CPP $CPPFLAGS'
33826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
33835 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
33837 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
33838 for ac_func in isnanf
33839 do :
33840 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
33841 if test "x$ac_cv_func_isnanf" = x""yes; then :
33842 cat >>confdefs.h <<_ACEOF
33843 #define HAVE_ISNANF 1
33844 _ACEOF
33847 done
33849 else
33851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
33852 $as_echo_n "checking for _isnanf declaration... " >&6; }
33853 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
33854 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
33855 $as_echo_n "(cached) " >&6
33856 else
33859 ac_ext=cpp
33860 ac_cpp='$CXXCPP $CPPFLAGS'
33861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33866 /* end confdefs.h. */
33867 #include <math.h>
33868 #ifdef HAVE_IEEEFP_H
33869 #include <ieeefp.h>
33870 #endif
33873 main ()
33875 _isnanf(0);
33877 return 0;
33879 _ACEOF
33880 if ac_fn_cxx_try_compile "$LINENO"; then :
33881 glibcxx_cv_func__isnanf_use=yes
33882 else
33883 glibcxx_cv_func__isnanf_use=no
33885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33886 ac_ext=c
33887 ac_cpp='$CPP $CPPFLAGS'
33888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
33897 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
33899 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
33900 for ac_func in _isnanf
33901 do :
33902 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
33903 if test "x$ac_cv_func__isnanf" = x""yes; then :
33904 cat >>confdefs.h <<_ACEOF
33905 #define HAVE__ISNANF 1
33906 _ACEOF
33909 done
33918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
33919 $as_echo_n "checking for isinff declaration... " >&6; }
33920 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
33921 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
33922 $as_echo_n "(cached) " >&6
33923 else
33926 ac_ext=cpp
33927 ac_cpp='$CXXCPP $CPPFLAGS'
33928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33933 /* end confdefs.h. */
33934 #include <math.h>
33935 #ifdef HAVE_IEEEFP_H
33936 #include <ieeefp.h>
33937 #endif
33940 main ()
33942 isinff(0);
33944 return 0;
33946 _ACEOF
33947 if ac_fn_cxx_try_compile "$LINENO"; then :
33948 glibcxx_cv_func_isinff_use=yes
33949 else
33950 glibcxx_cv_func_isinff_use=no
33952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33953 ac_ext=c
33954 ac_cpp='$CPP $CPPFLAGS'
33955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
33964 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
33966 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
33967 for ac_func in isinff
33968 do :
33969 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
33970 if test "x$ac_cv_func_isinff" = x""yes; then :
33971 cat >>confdefs.h <<_ACEOF
33972 #define HAVE_ISINFF 1
33973 _ACEOF
33976 done
33978 else
33980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
33981 $as_echo_n "checking for _isinff declaration... " >&6; }
33982 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
33983 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
33984 $as_echo_n "(cached) " >&6
33985 else
33988 ac_ext=cpp
33989 ac_cpp='$CXXCPP $CPPFLAGS'
33990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33995 /* end confdefs.h. */
33996 #include <math.h>
33997 #ifdef HAVE_IEEEFP_H
33998 #include <ieeefp.h>
33999 #endif
34002 main ()
34004 _isinff(0);
34006 return 0;
34008 _ACEOF
34009 if ac_fn_cxx_try_compile "$LINENO"; then :
34010 glibcxx_cv_func__isinff_use=yes
34011 else
34012 glibcxx_cv_func__isinff_use=no
34014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34015 ac_ext=c
34016 ac_cpp='$CPP $CPPFLAGS'
34017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
34026 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
34028 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34029 for ac_func in _isinff
34030 do :
34031 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34032 if test "x$ac_cv_func__isinff" = x""yes; then :
34033 cat >>confdefs.h <<_ACEOF
34034 #define HAVE__ISINFF 1
34035 _ACEOF
34038 done
34047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34048 $as_echo_n "checking for atan2f declaration... " >&6; }
34049 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34050 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34051 $as_echo_n "(cached) " >&6
34052 else
34055 ac_ext=cpp
34056 ac_cpp='$CXXCPP $CPPFLAGS'
34057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34062 /* end confdefs.h. */
34063 #include <math.h>
34065 main ()
34067 atan2f(0, 0);
34069 return 0;
34071 _ACEOF
34072 if ac_fn_cxx_try_compile "$LINENO"; then :
34073 glibcxx_cv_func_atan2f_use=yes
34074 else
34075 glibcxx_cv_func_atan2f_use=no
34077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34078 ac_ext=c
34079 ac_cpp='$CPP $CPPFLAGS'
34080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34089 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34091 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34092 for ac_func in atan2f
34093 do :
34094 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34095 if test "x$ac_cv_func_atan2f" = x""yes; then :
34096 cat >>confdefs.h <<_ACEOF
34097 #define HAVE_ATAN2F 1
34098 _ACEOF
34101 done
34103 else
34105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34106 $as_echo_n "checking for _atan2f declaration... " >&6; }
34107 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34108 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34109 $as_echo_n "(cached) " >&6
34110 else
34113 ac_ext=cpp
34114 ac_cpp='$CXXCPP $CPPFLAGS'
34115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34120 /* end confdefs.h. */
34121 #include <math.h>
34123 main ()
34125 _atan2f(0, 0);
34127 return 0;
34129 _ACEOF
34130 if ac_fn_cxx_try_compile "$LINENO"; then :
34131 glibcxx_cv_func__atan2f_use=yes
34132 else
34133 glibcxx_cv_func__atan2f_use=no
34135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34136 ac_ext=c
34137 ac_cpp='$CPP $CPPFLAGS'
34138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
34147 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34149 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34150 for ac_func in _atan2f
34151 do :
34152 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34153 if test "x$ac_cv_func__atan2f" = x""yes; then :
34154 cat >>confdefs.h <<_ACEOF
34155 #define HAVE__ATAN2F 1
34156 _ACEOF
34159 done
34168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34169 $as_echo_n "checking for fabsf declaration... " >&6; }
34170 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34171 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34172 $as_echo_n "(cached) " >&6
34173 else
34176 ac_ext=cpp
34177 ac_cpp='$CXXCPP $CPPFLAGS'
34178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34183 /* end confdefs.h. */
34184 #include <math.h>
34185 #ifdef HAVE_IEEEFP_H
34186 #include <ieeefp.h>
34187 #endif
34190 main ()
34192 fabsf(0);
34194 return 0;
34196 _ACEOF
34197 if ac_fn_cxx_try_compile "$LINENO"; then :
34198 glibcxx_cv_func_fabsf_use=yes
34199 else
34200 glibcxx_cv_func_fabsf_use=no
34202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34203 ac_ext=c
34204 ac_cpp='$CPP $CPPFLAGS'
34205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
34214 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
34216 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
34217 for ac_func in fabsf
34218 do :
34219 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
34220 if test "x$ac_cv_func_fabsf" = x""yes; then :
34221 cat >>confdefs.h <<_ACEOF
34222 #define HAVE_FABSF 1
34223 _ACEOF
34226 done
34228 else
34230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
34231 $as_echo_n "checking for _fabsf declaration... " >&6; }
34232 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
34233 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
34234 $as_echo_n "(cached) " >&6
34235 else
34238 ac_ext=cpp
34239 ac_cpp='$CXXCPP $CPPFLAGS'
34240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34245 /* end confdefs.h. */
34246 #include <math.h>
34247 #ifdef HAVE_IEEEFP_H
34248 #include <ieeefp.h>
34249 #endif
34252 main ()
34254 _fabsf(0);
34256 return 0;
34258 _ACEOF
34259 if ac_fn_cxx_try_compile "$LINENO"; then :
34260 glibcxx_cv_func__fabsf_use=yes
34261 else
34262 glibcxx_cv_func__fabsf_use=no
34264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34265 ac_ext=c
34266 ac_cpp='$CPP $CPPFLAGS'
34267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
34276 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
34278 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
34279 for ac_func in _fabsf
34280 do :
34281 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
34282 if test "x$ac_cv_func__fabsf" = x""yes; then :
34283 cat >>confdefs.h <<_ACEOF
34284 #define HAVE__FABSF 1
34285 _ACEOF
34288 done
34297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
34298 $as_echo_n "checking for fmodf declaration... " >&6; }
34299 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
34300 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
34301 $as_echo_n "(cached) " >&6
34302 else
34305 ac_ext=cpp
34306 ac_cpp='$CXXCPP $CPPFLAGS'
34307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34312 /* end confdefs.h. */
34313 #include <math.h>
34315 main ()
34317 fmodf(0, 0);
34319 return 0;
34321 _ACEOF
34322 if ac_fn_cxx_try_compile "$LINENO"; then :
34323 glibcxx_cv_func_fmodf_use=yes
34324 else
34325 glibcxx_cv_func_fmodf_use=no
34327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34328 ac_ext=c
34329 ac_cpp='$CPP $CPPFLAGS'
34330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
34339 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
34341 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
34342 for ac_func in fmodf
34343 do :
34344 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
34345 if test "x$ac_cv_func_fmodf" = x""yes; then :
34346 cat >>confdefs.h <<_ACEOF
34347 #define HAVE_FMODF 1
34348 _ACEOF
34351 done
34353 else
34355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
34356 $as_echo_n "checking for _fmodf declaration... " >&6; }
34357 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
34358 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
34359 $as_echo_n "(cached) " >&6
34360 else
34363 ac_ext=cpp
34364 ac_cpp='$CXXCPP $CPPFLAGS'
34365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34370 /* end confdefs.h. */
34371 #include <math.h>
34373 main ()
34375 _fmodf(0, 0);
34377 return 0;
34379 _ACEOF
34380 if ac_fn_cxx_try_compile "$LINENO"; then :
34381 glibcxx_cv_func__fmodf_use=yes
34382 else
34383 glibcxx_cv_func__fmodf_use=no
34385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34386 ac_ext=c
34387 ac_cpp='$CPP $CPPFLAGS'
34388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
34397 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
34399 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
34400 for ac_func in _fmodf
34401 do :
34402 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
34403 if test "x$ac_cv_func__fmodf" = x""yes; then :
34404 cat >>confdefs.h <<_ACEOF
34405 #define HAVE__FMODF 1
34406 _ACEOF
34409 done
34418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
34419 $as_echo_n "checking for frexpf declaration... " >&6; }
34420 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
34421 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
34422 $as_echo_n "(cached) " >&6
34423 else
34426 ac_ext=cpp
34427 ac_cpp='$CXXCPP $CPPFLAGS'
34428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34433 /* end confdefs.h. */
34434 #include <math.h>
34436 main ()
34438 frexpf(0, 0);
34440 return 0;
34442 _ACEOF
34443 if ac_fn_cxx_try_compile "$LINENO"; then :
34444 glibcxx_cv_func_frexpf_use=yes
34445 else
34446 glibcxx_cv_func_frexpf_use=no
34448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34449 ac_ext=c
34450 ac_cpp='$CPP $CPPFLAGS'
34451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
34460 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
34462 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
34463 for ac_func in frexpf
34464 do :
34465 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
34466 if test "x$ac_cv_func_frexpf" = x""yes; then :
34467 cat >>confdefs.h <<_ACEOF
34468 #define HAVE_FREXPF 1
34469 _ACEOF
34472 done
34474 else
34476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
34477 $as_echo_n "checking for _frexpf declaration... " >&6; }
34478 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
34479 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
34480 $as_echo_n "(cached) " >&6
34481 else
34484 ac_ext=cpp
34485 ac_cpp='$CXXCPP $CPPFLAGS'
34486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34491 /* end confdefs.h. */
34492 #include <math.h>
34494 main ()
34496 _frexpf(0, 0);
34498 return 0;
34500 _ACEOF
34501 if ac_fn_cxx_try_compile "$LINENO"; then :
34502 glibcxx_cv_func__frexpf_use=yes
34503 else
34504 glibcxx_cv_func__frexpf_use=no
34506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34507 ac_ext=c
34508 ac_cpp='$CPP $CPPFLAGS'
34509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
34518 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
34520 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
34521 for ac_func in _frexpf
34522 do :
34523 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
34524 if test "x$ac_cv_func__frexpf" = x""yes; then :
34525 cat >>confdefs.h <<_ACEOF
34526 #define HAVE__FREXPF 1
34527 _ACEOF
34530 done
34539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
34540 $as_echo_n "checking for hypotf declaration... " >&6; }
34541 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
34542 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
34543 $as_echo_n "(cached) " >&6
34544 else
34547 ac_ext=cpp
34548 ac_cpp='$CXXCPP $CPPFLAGS'
34549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34554 /* end confdefs.h. */
34555 #include <math.h>
34557 main ()
34559 hypotf(0, 0);
34561 return 0;
34563 _ACEOF
34564 if ac_fn_cxx_try_compile "$LINENO"; then :
34565 glibcxx_cv_func_hypotf_use=yes
34566 else
34567 glibcxx_cv_func_hypotf_use=no
34569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34570 ac_ext=c
34571 ac_cpp='$CPP $CPPFLAGS'
34572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
34581 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
34583 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
34584 for ac_func in hypotf
34585 do :
34586 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
34587 if test "x$ac_cv_func_hypotf" = x""yes; then :
34588 cat >>confdefs.h <<_ACEOF
34589 #define HAVE_HYPOTF 1
34590 _ACEOF
34593 done
34595 else
34597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
34598 $as_echo_n "checking for _hypotf declaration... " >&6; }
34599 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
34600 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
34601 $as_echo_n "(cached) " >&6
34602 else
34605 ac_ext=cpp
34606 ac_cpp='$CXXCPP $CPPFLAGS'
34607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34612 /* end confdefs.h. */
34613 #include <math.h>
34615 main ()
34617 _hypotf(0, 0);
34619 return 0;
34621 _ACEOF
34622 if ac_fn_cxx_try_compile "$LINENO"; then :
34623 glibcxx_cv_func__hypotf_use=yes
34624 else
34625 glibcxx_cv_func__hypotf_use=no
34627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34628 ac_ext=c
34629 ac_cpp='$CPP $CPPFLAGS'
34630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
34639 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
34641 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
34642 for ac_func in _hypotf
34643 do :
34644 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
34645 if test "x$ac_cv_func__hypotf" = x""yes; then :
34646 cat >>confdefs.h <<_ACEOF
34647 #define HAVE__HYPOTF 1
34648 _ACEOF
34651 done
34660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
34661 $as_echo_n "checking for ldexpf declaration... " >&6; }
34662 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
34663 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
34664 $as_echo_n "(cached) " >&6
34665 else
34668 ac_ext=cpp
34669 ac_cpp='$CXXCPP $CPPFLAGS'
34670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34675 /* end confdefs.h. */
34676 #include <math.h>
34678 main ()
34680 ldexpf(0, 0);
34682 return 0;
34684 _ACEOF
34685 if ac_fn_cxx_try_compile "$LINENO"; then :
34686 glibcxx_cv_func_ldexpf_use=yes
34687 else
34688 glibcxx_cv_func_ldexpf_use=no
34690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34691 ac_ext=c
34692 ac_cpp='$CPP $CPPFLAGS'
34693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
34702 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
34704 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
34705 for ac_func in ldexpf
34706 do :
34707 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
34708 if test "x$ac_cv_func_ldexpf" = x""yes; then :
34709 cat >>confdefs.h <<_ACEOF
34710 #define HAVE_LDEXPF 1
34711 _ACEOF
34714 done
34716 else
34718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
34719 $as_echo_n "checking for _ldexpf declaration... " >&6; }
34720 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
34721 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
34722 $as_echo_n "(cached) " >&6
34723 else
34726 ac_ext=cpp
34727 ac_cpp='$CXXCPP $CPPFLAGS'
34728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34733 /* end confdefs.h. */
34734 #include <math.h>
34736 main ()
34738 _ldexpf(0, 0);
34740 return 0;
34742 _ACEOF
34743 if ac_fn_cxx_try_compile "$LINENO"; then :
34744 glibcxx_cv_func__ldexpf_use=yes
34745 else
34746 glibcxx_cv_func__ldexpf_use=no
34748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34749 ac_ext=c
34750 ac_cpp='$CPP $CPPFLAGS'
34751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
34760 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
34762 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
34763 for ac_func in _ldexpf
34764 do :
34765 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
34766 if test "x$ac_cv_func__ldexpf" = x""yes; then :
34767 cat >>confdefs.h <<_ACEOF
34768 #define HAVE__LDEXPF 1
34769 _ACEOF
34772 done
34781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
34782 $as_echo_n "checking for logf declaration... " >&6; }
34783 if test x${glibcxx_cv_func_logf_use+set} != xset; then
34784 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
34785 $as_echo_n "(cached) " >&6
34786 else
34789 ac_ext=cpp
34790 ac_cpp='$CXXCPP $CPPFLAGS'
34791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34796 /* end confdefs.h. */
34797 #include <math.h>
34798 #ifdef HAVE_IEEEFP_H
34799 #include <ieeefp.h>
34800 #endif
34803 main ()
34805 logf(0);
34807 return 0;
34809 _ACEOF
34810 if ac_fn_cxx_try_compile "$LINENO"; then :
34811 glibcxx_cv_func_logf_use=yes
34812 else
34813 glibcxx_cv_func_logf_use=no
34815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34816 ac_ext=c
34817 ac_cpp='$CPP $CPPFLAGS'
34818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
34827 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
34829 if test x$glibcxx_cv_func_logf_use = x"yes"; then
34830 for ac_func in logf
34831 do :
34832 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
34833 if test "x$ac_cv_func_logf" = x""yes; then :
34834 cat >>confdefs.h <<_ACEOF
34835 #define HAVE_LOGF 1
34836 _ACEOF
34839 done
34841 else
34843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
34844 $as_echo_n "checking for _logf declaration... " >&6; }
34845 if test x${glibcxx_cv_func__logf_use+set} != xset; then
34846 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
34847 $as_echo_n "(cached) " >&6
34848 else
34851 ac_ext=cpp
34852 ac_cpp='$CXXCPP $CPPFLAGS'
34853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34858 /* end confdefs.h. */
34859 #include <math.h>
34860 #ifdef HAVE_IEEEFP_H
34861 #include <ieeefp.h>
34862 #endif
34865 main ()
34867 _logf(0);
34869 return 0;
34871 _ACEOF
34872 if ac_fn_cxx_try_compile "$LINENO"; then :
34873 glibcxx_cv_func__logf_use=yes
34874 else
34875 glibcxx_cv_func__logf_use=no
34877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34878 ac_ext=c
34879 ac_cpp='$CPP $CPPFLAGS'
34880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
34889 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
34891 if test x$glibcxx_cv_func__logf_use = x"yes"; then
34892 for ac_func in _logf
34893 do :
34894 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
34895 if test "x$ac_cv_func__logf" = x""yes; then :
34896 cat >>confdefs.h <<_ACEOF
34897 #define HAVE__LOGF 1
34898 _ACEOF
34901 done
34910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
34911 $as_echo_n "checking for log10f declaration... " >&6; }
34912 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
34913 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
34914 $as_echo_n "(cached) " >&6
34915 else
34918 ac_ext=cpp
34919 ac_cpp='$CXXCPP $CPPFLAGS'
34920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34925 /* end confdefs.h. */
34926 #include <math.h>
34927 #ifdef HAVE_IEEEFP_H
34928 #include <ieeefp.h>
34929 #endif
34932 main ()
34934 log10f(0);
34936 return 0;
34938 _ACEOF
34939 if ac_fn_cxx_try_compile "$LINENO"; then :
34940 glibcxx_cv_func_log10f_use=yes
34941 else
34942 glibcxx_cv_func_log10f_use=no
34944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34945 ac_ext=c
34946 ac_cpp='$CPP $CPPFLAGS'
34947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
34956 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
34958 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
34959 for ac_func in log10f
34960 do :
34961 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
34962 if test "x$ac_cv_func_log10f" = x""yes; then :
34963 cat >>confdefs.h <<_ACEOF
34964 #define HAVE_LOG10F 1
34965 _ACEOF
34968 done
34970 else
34972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
34973 $as_echo_n "checking for _log10f declaration... " >&6; }
34974 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
34975 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
34976 $as_echo_n "(cached) " >&6
34977 else
34980 ac_ext=cpp
34981 ac_cpp='$CXXCPP $CPPFLAGS'
34982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34987 /* end confdefs.h. */
34988 #include <math.h>
34989 #ifdef HAVE_IEEEFP_H
34990 #include <ieeefp.h>
34991 #endif
34994 main ()
34996 _log10f(0);
34998 return 0;
35000 _ACEOF
35001 if ac_fn_cxx_try_compile "$LINENO"; then :
35002 glibcxx_cv_func__log10f_use=yes
35003 else
35004 glibcxx_cv_func__log10f_use=no
35006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35007 ac_ext=c
35008 ac_cpp='$CPP $CPPFLAGS'
35009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
35018 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
35020 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
35021 for ac_func in _log10f
35022 do :
35023 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
35024 if test "x$ac_cv_func__log10f" = x""yes; then :
35025 cat >>confdefs.h <<_ACEOF
35026 #define HAVE__LOG10F 1
35027 _ACEOF
35030 done
35039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35040 $as_echo_n "checking for modff declaration... " >&6; }
35041 if test x${glibcxx_cv_func_modff_use+set} != xset; then
35042 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35043 $as_echo_n "(cached) " >&6
35044 else
35047 ac_ext=cpp
35048 ac_cpp='$CXXCPP $CPPFLAGS'
35049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35054 /* end confdefs.h. */
35055 #include <math.h>
35057 main ()
35059 modff(0, 0);
35061 return 0;
35063 _ACEOF
35064 if ac_fn_cxx_try_compile "$LINENO"; then :
35065 glibcxx_cv_func_modff_use=yes
35066 else
35067 glibcxx_cv_func_modff_use=no
35069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35070 ac_ext=c
35071 ac_cpp='$CPP $CPPFLAGS'
35072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35081 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35083 if test x$glibcxx_cv_func_modff_use = x"yes"; then
35084 for ac_func in modff
35085 do :
35086 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35087 if test "x$ac_cv_func_modff" = x""yes; then :
35088 cat >>confdefs.h <<_ACEOF
35089 #define HAVE_MODFF 1
35090 _ACEOF
35093 done
35095 else
35097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35098 $as_echo_n "checking for _modff declaration... " >&6; }
35099 if test x${glibcxx_cv_func__modff_use+set} != xset; then
35100 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35101 $as_echo_n "(cached) " >&6
35102 else
35105 ac_ext=cpp
35106 ac_cpp='$CXXCPP $CPPFLAGS'
35107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35112 /* end confdefs.h. */
35113 #include <math.h>
35115 main ()
35117 _modff(0, 0);
35119 return 0;
35121 _ACEOF
35122 if ac_fn_cxx_try_compile "$LINENO"; then :
35123 glibcxx_cv_func__modff_use=yes
35124 else
35125 glibcxx_cv_func__modff_use=no
35127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35128 ac_ext=c
35129 ac_cpp='$CPP $CPPFLAGS'
35130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35139 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35141 if test x$glibcxx_cv_func__modff_use = x"yes"; then
35142 for ac_func in _modff
35143 do :
35144 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35145 if test "x$ac_cv_func__modff" = x""yes; then :
35146 cat >>confdefs.h <<_ACEOF
35147 #define HAVE__MODFF 1
35148 _ACEOF
35151 done
35160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35161 $as_echo_n "checking for modf declaration... " >&6; }
35162 if test x${glibcxx_cv_func_modf_use+set} != xset; then
35163 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35164 $as_echo_n "(cached) " >&6
35165 else
35168 ac_ext=cpp
35169 ac_cpp='$CXXCPP $CPPFLAGS'
35170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35175 /* end confdefs.h. */
35176 #include <math.h>
35178 main ()
35180 modf(0, 0);
35182 return 0;
35184 _ACEOF
35185 if ac_fn_cxx_try_compile "$LINENO"; then :
35186 glibcxx_cv_func_modf_use=yes
35187 else
35188 glibcxx_cv_func_modf_use=no
35190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35191 ac_ext=c
35192 ac_cpp='$CPP $CPPFLAGS'
35193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
35202 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
35204 if test x$glibcxx_cv_func_modf_use = x"yes"; then
35205 for ac_func in modf
35206 do :
35207 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
35208 if test "x$ac_cv_func_modf" = x""yes; then :
35209 cat >>confdefs.h <<_ACEOF
35210 #define HAVE_MODF 1
35211 _ACEOF
35214 done
35216 else
35218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
35219 $as_echo_n "checking for _modf declaration... " >&6; }
35220 if test x${glibcxx_cv_func__modf_use+set} != xset; then
35221 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
35222 $as_echo_n "(cached) " >&6
35223 else
35226 ac_ext=cpp
35227 ac_cpp='$CXXCPP $CPPFLAGS'
35228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35233 /* end confdefs.h. */
35234 #include <math.h>
35236 main ()
35238 _modf(0, 0);
35240 return 0;
35242 _ACEOF
35243 if ac_fn_cxx_try_compile "$LINENO"; then :
35244 glibcxx_cv_func__modf_use=yes
35245 else
35246 glibcxx_cv_func__modf_use=no
35248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35249 ac_ext=c
35250 ac_cpp='$CPP $CPPFLAGS'
35251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
35260 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
35262 if test x$glibcxx_cv_func__modf_use = x"yes"; then
35263 for ac_func in _modf
35264 do :
35265 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
35266 if test "x$ac_cv_func__modf" = x""yes; then :
35267 cat >>confdefs.h <<_ACEOF
35268 #define HAVE__MODF 1
35269 _ACEOF
35272 done
35281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
35282 $as_echo_n "checking for powf declaration... " >&6; }
35283 if test x${glibcxx_cv_func_powf_use+set} != xset; then
35284 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
35285 $as_echo_n "(cached) " >&6
35286 else
35289 ac_ext=cpp
35290 ac_cpp='$CXXCPP $CPPFLAGS'
35291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35296 /* end confdefs.h. */
35297 #include <math.h>
35299 main ()
35301 powf(0, 0);
35303 return 0;
35305 _ACEOF
35306 if ac_fn_cxx_try_compile "$LINENO"; then :
35307 glibcxx_cv_func_powf_use=yes
35308 else
35309 glibcxx_cv_func_powf_use=no
35311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35312 ac_ext=c
35313 ac_cpp='$CPP $CPPFLAGS'
35314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
35323 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
35325 if test x$glibcxx_cv_func_powf_use = x"yes"; then
35326 for ac_func in powf
35327 do :
35328 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
35329 if test "x$ac_cv_func_powf" = x""yes; then :
35330 cat >>confdefs.h <<_ACEOF
35331 #define HAVE_POWF 1
35332 _ACEOF
35335 done
35337 else
35339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
35340 $as_echo_n "checking for _powf declaration... " >&6; }
35341 if test x${glibcxx_cv_func__powf_use+set} != xset; then
35342 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
35343 $as_echo_n "(cached) " >&6
35344 else
35347 ac_ext=cpp
35348 ac_cpp='$CXXCPP $CPPFLAGS'
35349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35354 /* end confdefs.h. */
35355 #include <math.h>
35357 main ()
35359 _powf(0, 0);
35361 return 0;
35363 _ACEOF
35364 if ac_fn_cxx_try_compile "$LINENO"; then :
35365 glibcxx_cv_func__powf_use=yes
35366 else
35367 glibcxx_cv_func__powf_use=no
35369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35370 ac_ext=c
35371 ac_cpp='$CPP $CPPFLAGS'
35372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
35381 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
35383 if test x$glibcxx_cv_func__powf_use = x"yes"; then
35384 for ac_func in _powf
35385 do :
35386 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
35387 if test "x$ac_cv_func__powf" = x""yes; then :
35388 cat >>confdefs.h <<_ACEOF
35389 #define HAVE__POWF 1
35390 _ACEOF
35393 done
35402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
35403 $as_echo_n "checking for sqrtf declaration... " >&6; }
35404 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
35405 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
35406 $as_echo_n "(cached) " >&6
35407 else
35410 ac_ext=cpp
35411 ac_cpp='$CXXCPP $CPPFLAGS'
35412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35417 /* end confdefs.h. */
35418 #include <math.h>
35419 #ifdef HAVE_IEEEFP_H
35420 #include <ieeefp.h>
35421 #endif
35424 main ()
35426 sqrtf(0);
35428 return 0;
35430 _ACEOF
35431 if ac_fn_cxx_try_compile "$LINENO"; then :
35432 glibcxx_cv_func_sqrtf_use=yes
35433 else
35434 glibcxx_cv_func_sqrtf_use=no
35436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35437 ac_ext=c
35438 ac_cpp='$CPP $CPPFLAGS'
35439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
35448 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
35450 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
35451 for ac_func in sqrtf
35452 do :
35453 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
35454 if test "x$ac_cv_func_sqrtf" = x""yes; then :
35455 cat >>confdefs.h <<_ACEOF
35456 #define HAVE_SQRTF 1
35457 _ACEOF
35460 done
35462 else
35464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
35465 $as_echo_n "checking for _sqrtf declaration... " >&6; }
35466 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
35467 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
35468 $as_echo_n "(cached) " >&6
35469 else
35472 ac_ext=cpp
35473 ac_cpp='$CXXCPP $CPPFLAGS'
35474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35479 /* end confdefs.h. */
35480 #include <math.h>
35481 #ifdef HAVE_IEEEFP_H
35482 #include <ieeefp.h>
35483 #endif
35486 main ()
35488 _sqrtf(0);
35490 return 0;
35492 _ACEOF
35493 if ac_fn_cxx_try_compile "$LINENO"; then :
35494 glibcxx_cv_func__sqrtf_use=yes
35495 else
35496 glibcxx_cv_func__sqrtf_use=no
35498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35499 ac_ext=c
35500 ac_cpp='$CPP $CPPFLAGS'
35501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
35510 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
35512 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
35513 for ac_func in _sqrtf
35514 do :
35515 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
35516 if test "x$ac_cv_func__sqrtf" = x""yes; then :
35517 cat >>confdefs.h <<_ACEOF
35518 #define HAVE__SQRTF 1
35519 _ACEOF
35522 done
35531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
35532 $as_echo_n "checking for sincosf declaration... " >&6; }
35533 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
35534 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
35535 $as_echo_n "(cached) " >&6
35536 else
35539 ac_ext=cpp
35540 ac_cpp='$CXXCPP $CPPFLAGS'
35541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35546 /* end confdefs.h. */
35547 #include <math.h>
35549 main ()
35551 sincosf(0, 0, 0);
35553 return 0;
35555 _ACEOF
35556 if ac_fn_cxx_try_compile "$LINENO"; then :
35557 glibcxx_cv_func_sincosf_use=yes
35558 else
35559 glibcxx_cv_func_sincosf_use=no
35561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35562 ac_ext=c
35563 ac_cpp='$CPP $CPPFLAGS'
35564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
35573 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
35575 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
35576 for ac_func in sincosf
35577 do :
35578 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
35579 if test "x$ac_cv_func_sincosf" = x""yes; then :
35580 cat >>confdefs.h <<_ACEOF
35581 #define HAVE_SINCOSF 1
35582 _ACEOF
35585 done
35587 else
35589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
35590 $as_echo_n "checking for _sincosf declaration... " >&6; }
35591 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
35592 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
35593 $as_echo_n "(cached) " >&6
35594 else
35597 ac_ext=cpp
35598 ac_cpp='$CXXCPP $CPPFLAGS'
35599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35604 /* end confdefs.h. */
35605 #include <math.h>
35607 main ()
35609 _sincosf(0, 0, 0);
35611 return 0;
35613 _ACEOF
35614 if ac_fn_cxx_try_compile "$LINENO"; then :
35615 glibcxx_cv_func__sincosf_use=yes
35616 else
35617 glibcxx_cv_func__sincosf_use=no
35619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35620 ac_ext=c
35621 ac_cpp='$CPP $CPPFLAGS'
35622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
35631 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
35633 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
35634 for ac_func in _sincosf
35635 do :
35636 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
35637 if test "x$ac_cv_func__sincosf" = x""yes; then :
35638 cat >>confdefs.h <<_ACEOF
35639 #define HAVE__SINCOSF 1
35640 _ACEOF
35643 done
35652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
35653 $as_echo_n "checking for finitef declaration... " >&6; }
35654 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
35655 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
35656 $as_echo_n "(cached) " >&6
35657 else
35660 ac_ext=cpp
35661 ac_cpp='$CXXCPP $CPPFLAGS'
35662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35667 /* end confdefs.h. */
35668 #include <math.h>
35669 #ifdef HAVE_IEEEFP_H
35670 #include <ieeefp.h>
35671 #endif
35674 main ()
35676 finitef(0);
35678 return 0;
35680 _ACEOF
35681 if ac_fn_cxx_try_compile "$LINENO"; then :
35682 glibcxx_cv_func_finitef_use=yes
35683 else
35684 glibcxx_cv_func_finitef_use=no
35686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35687 ac_ext=c
35688 ac_cpp='$CPP $CPPFLAGS'
35689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
35698 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
35700 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
35701 for ac_func in finitef
35702 do :
35703 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
35704 if test "x$ac_cv_func_finitef" = x""yes; then :
35705 cat >>confdefs.h <<_ACEOF
35706 #define HAVE_FINITEF 1
35707 _ACEOF
35710 done
35712 else
35714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
35715 $as_echo_n "checking for _finitef declaration... " >&6; }
35716 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
35717 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
35718 $as_echo_n "(cached) " >&6
35719 else
35722 ac_ext=cpp
35723 ac_cpp='$CXXCPP $CPPFLAGS'
35724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35729 /* end confdefs.h. */
35730 #include <math.h>
35731 #ifdef HAVE_IEEEFP_H
35732 #include <ieeefp.h>
35733 #endif
35736 main ()
35738 _finitef(0);
35740 return 0;
35742 _ACEOF
35743 if ac_fn_cxx_try_compile "$LINENO"; then :
35744 glibcxx_cv_func__finitef_use=yes
35745 else
35746 glibcxx_cv_func__finitef_use=no
35748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35749 ac_ext=c
35750 ac_cpp='$CPP $CPPFLAGS'
35751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
35760 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
35762 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
35763 for ac_func in _finitef
35764 do :
35765 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
35766 if test "x$ac_cv_func__finitef" = x""yes; then :
35767 cat >>confdefs.h <<_ACEOF
35768 #define HAVE__FINITEF 1
35769 _ACEOF
35772 done
35781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
35782 $as_echo_n "checking for long double trig functions... " >&6; }
35783 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
35784 $as_echo_n "(cached) " >&6
35785 else
35788 ac_ext=cpp
35789 ac_cpp='$CXXCPP $CPPFLAGS'
35790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35795 /* end confdefs.h. */
35796 #include <math.h>
35798 main ()
35800 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
35802 return 0;
35804 _ACEOF
35805 if ac_fn_cxx_try_compile "$LINENO"; then :
35806 glibcxx_cv_func_long_double_trig_use=yes
35807 else
35808 glibcxx_cv_func_long_double_trig_use=no
35810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35811 ac_ext=c
35812 ac_cpp='$CPP $CPPFLAGS'
35813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
35820 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
35821 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
35822 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
35823 do :
35824 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35825 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35826 eval as_val=\$$as_ac_var
35827 if test "x$as_val" = x""yes; then :
35828 cat >>confdefs.h <<_ACEOF
35829 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35830 _ACEOF
35833 done
35835 else
35836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
35837 $as_echo_n "checking for _long double trig functions... " >&6; }
35838 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
35839 $as_echo_n "(cached) " >&6
35840 else
35843 ac_ext=cpp
35844 ac_cpp='$CXXCPP $CPPFLAGS'
35845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35850 /* end confdefs.h. */
35851 #include <math.h>
35853 main ()
35855 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
35857 return 0;
35859 _ACEOF
35860 if ac_fn_cxx_try_compile "$LINENO"; then :
35861 glibcxx_cv_func__long_double_trig_use=yes
35862 else
35863 glibcxx_cv_func__long_double_trig_use=no
35865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35866 ac_ext=c
35867 ac_cpp='$CPP $CPPFLAGS'
35868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
35875 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
35876 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
35877 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
35878 do :
35879 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35880 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35881 eval as_val=\$$as_ac_var
35882 if test "x$as_val" = x""yes; then :
35883 cat >>confdefs.h <<_ACEOF
35884 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35885 _ACEOF
35888 done
35897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
35898 $as_echo_n "checking for long double round functions... " >&6; }
35899 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
35900 $as_echo_n "(cached) " >&6
35901 else
35904 ac_ext=cpp
35905 ac_cpp='$CXXCPP $CPPFLAGS'
35906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35911 /* end confdefs.h. */
35912 #include <math.h>
35914 main ()
35916 ceill (0); floorl (0);
35918 return 0;
35920 _ACEOF
35921 if ac_fn_cxx_try_compile "$LINENO"; then :
35922 glibcxx_cv_func_long_double_round_use=yes
35923 else
35924 glibcxx_cv_func_long_double_round_use=no
35926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35927 ac_ext=c
35928 ac_cpp='$CPP $CPPFLAGS'
35929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
35936 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
35937 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
35938 for ac_func in ceill floorl
35939 do :
35940 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35941 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35942 eval as_val=\$$as_ac_var
35943 if test "x$as_val" = x""yes; then :
35944 cat >>confdefs.h <<_ACEOF
35945 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35946 _ACEOF
35949 done
35951 else
35952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
35953 $as_echo_n "checking for _long double round functions... " >&6; }
35954 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
35955 $as_echo_n "(cached) " >&6
35956 else
35959 ac_ext=cpp
35960 ac_cpp='$CXXCPP $CPPFLAGS'
35961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35966 /* end confdefs.h. */
35967 #include <math.h>
35969 main ()
35971 _ceill (0); _floorl (0);
35973 return 0;
35975 _ACEOF
35976 if ac_fn_cxx_try_compile "$LINENO"; then :
35977 glibcxx_cv_func__long_double_round_use=yes
35978 else
35979 glibcxx_cv_func__long_double_round_use=no
35981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35982 ac_ext=c
35983 ac_cpp='$CPP $CPPFLAGS'
35984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
35991 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
35992 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
35993 for ac_func in _ceill _floorl
35994 do :
35995 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35996 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35997 eval as_val=\$$as_ac_var
35998 if test "x$as_val" = x""yes; then :
35999 cat >>confdefs.h <<_ACEOF
36000 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36001 _ACEOF
36004 done
36014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
36015 $as_echo_n "checking for isnanl declaration... " >&6; }
36016 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36017 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
36018 $as_echo_n "(cached) " >&6
36019 else
36022 ac_ext=cpp
36023 ac_cpp='$CXXCPP $CPPFLAGS'
36024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36029 /* end confdefs.h. */
36030 #include <math.h>
36031 #ifdef HAVE_IEEEFP_H
36032 #include <ieeefp.h>
36033 #endif
36036 main ()
36038 isnanl(0);
36040 return 0;
36042 _ACEOF
36043 if ac_fn_cxx_try_compile "$LINENO"; then :
36044 glibcxx_cv_func_isnanl_use=yes
36045 else
36046 glibcxx_cv_func_isnanl_use=no
36048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36049 ac_ext=c
36050 ac_cpp='$CPP $CPPFLAGS'
36051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36060 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36062 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36063 for ac_func in isnanl
36064 do :
36065 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36066 if test "x$ac_cv_func_isnanl" = x""yes; then :
36067 cat >>confdefs.h <<_ACEOF
36068 #define HAVE_ISNANL 1
36069 _ACEOF
36072 done
36074 else
36076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36077 $as_echo_n "checking for _isnanl declaration... " >&6; }
36078 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36079 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36080 $as_echo_n "(cached) " >&6
36081 else
36084 ac_ext=cpp
36085 ac_cpp='$CXXCPP $CPPFLAGS'
36086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36091 /* end confdefs.h. */
36092 #include <math.h>
36093 #ifdef HAVE_IEEEFP_H
36094 #include <ieeefp.h>
36095 #endif
36098 main ()
36100 _isnanl(0);
36102 return 0;
36104 _ACEOF
36105 if ac_fn_cxx_try_compile "$LINENO"; then :
36106 glibcxx_cv_func__isnanl_use=yes
36107 else
36108 glibcxx_cv_func__isnanl_use=no
36110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36111 ac_ext=c
36112 ac_cpp='$CPP $CPPFLAGS'
36113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36122 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36124 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36125 for ac_func in _isnanl
36126 do :
36127 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36128 if test "x$ac_cv_func__isnanl" = x""yes; then :
36129 cat >>confdefs.h <<_ACEOF
36130 #define HAVE__ISNANL 1
36131 _ACEOF
36134 done
36143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36144 $as_echo_n "checking for isinfl declaration... " >&6; }
36145 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36146 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36147 $as_echo_n "(cached) " >&6
36148 else
36151 ac_ext=cpp
36152 ac_cpp='$CXXCPP $CPPFLAGS'
36153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36158 /* end confdefs.h. */
36159 #include <math.h>
36160 #ifdef HAVE_IEEEFP_H
36161 #include <ieeefp.h>
36162 #endif
36165 main ()
36167 isinfl(0);
36169 return 0;
36171 _ACEOF
36172 if ac_fn_cxx_try_compile "$LINENO"; then :
36173 glibcxx_cv_func_isinfl_use=yes
36174 else
36175 glibcxx_cv_func_isinfl_use=no
36177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36178 ac_ext=c
36179 ac_cpp='$CPP $CPPFLAGS'
36180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
36189 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
36191 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36192 for ac_func in isinfl
36193 do :
36194 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
36195 if test "x$ac_cv_func_isinfl" = x""yes; then :
36196 cat >>confdefs.h <<_ACEOF
36197 #define HAVE_ISINFL 1
36198 _ACEOF
36201 done
36203 else
36205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
36206 $as_echo_n "checking for _isinfl declaration... " >&6; }
36207 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36208 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
36209 $as_echo_n "(cached) " >&6
36210 else
36213 ac_ext=cpp
36214 ac_cpp='$CXXCPP $CPPFLAGS'
36215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36220 /* end confdefs.h. */
36221 #include <math.h>
36222 #ifdef HAVE_IEEEFP_H
36223 #include <ieeefp.h>
36224 #endif
36227 main ()
36229 _isinfl(0);
36231 return 0;
36233 _ACEOF
36234 if ac_fn_cxx_try_compile "$LINENO"; then :
36235 glibcxx_cv_func__isinfl_use=yes
36236 else
36237 glibcxx_cv_func__isinfl_use=no
36239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36240 ac_ext=c
36241 ac_cpp='$CPP $CPPFLAGS'
36242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
36251 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
36253 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
36254 for ac_func in _isinfl
36255 do :
36256 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
36257 if test "x$ac_cv_func__isinfl" = x""yes; then :
36258 cat >>confdefs.h <<_ACEOF
36259 #define HAVE__ISINFL 1
36260 _ACEOF
36263 done
36272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
36273 $as_echo_n "checking for atan2l declaration... " >&6; }
36274 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
36275 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
36276 $as_echo_n "(cached) " >&6
36277 else
36280 ac_ext=cpp
36281 ac_cpp='$CXXCPP $CPPFLAGS'
36282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36287 /* end confdefs.h. */
36288 #include <math.h>
36290 main ()
36292 atan2l(0, 0);
36294 return 0;
36296 _ACEOF
36297 if ac_fn_cxx_try_compile "$LINENO"; then :
36298 glibcxx_cv_func_atan2l_use=yes
36299 else
36300 glibcxx_cv_func_atan2l_use=no
36302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36303 ac_ext=c
36304 ac_cpp='$CPP $CPPFLAGS'
36305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
36314 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
36316 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
36317 for ac_func in atan2l
36318 do :
36319 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
36320 if test "x$ac_cv_func_atan2l" = x""yes; then :
36321 cat >>confdefs.h <<_ACEOF
36322 #define HAVE_ATAN2L 1
36323 _ACEOF
36326 done
36328 else
36330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
36331 $as_echo_n "checking for _atan2l declaration... " >&6; }
36332 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
36333 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
36334 $as_echo_n "(cached) " >&6
36335 else
36338 ac_ext=cpp
36339 ac_cpp='$CXXCPP $CPPFLAGS'
36340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36345 /* end confdefs.h. */
36346 #include <math.h>
36348 main ()
36350 _atan2l(0, 0);
36352 return 0;
36354 _ACEOF
36355 if ac_fn_cxx_try_compile "$LINENO"; then :
36356 glibcxx_cv_func__atan2l_use=yes
36357 else
36358 glibcxx_cv_func__atan2l_use=no
36360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36361 ac_ext=c
36362 ac_cpp='$CPP $CPPFLAGS'
36363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
36372 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
36374 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
36375 for ac_func in _atan2l
36376 do :
36377 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
36378 if test "x$ac_cv_func__atan2l" = x""yes; then :
36379 cat >>confdefs.h <<_ACEOF
36380 #define HAVE__ATAN2L 1
36381 _ACEOF
36384 done
36393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
36394 $as_echo_n "checking for expl declaration... " >&6; }
36395 if test x${glibcxx_cv_func_expl_use+set} != xset; then
36396 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
36397 $as_echo_n "(cached) " >&6
36398 else
36401 ac_ext=cpp
36402 ac_cpp='$CXXCPP $CPPFLAGS'
36403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36408 /* end confdefs.h. */
36409 #include <math.h>
36410 #ifdef HAVE_IEEEFP_H
36411 #include <ieeefp.h>
36412 #endif
36415 main ()
36417 expl(0);
36419 return 0;
36421 _ACEOF
36422 if ac_fn_cxx_try_compile "$LINENO"; then :
36423 glibcxx_cv_func_expl_use=yes
36424 else
36425 glibcxx_cv_func_expl_use=no
36427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36428 ac_ext=c
36429 ac_cpp='$CPP $CPPFLAGS'
36430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
36439 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
36441 if test x$glibcxx_cv_func_expl_use = x"yes"; then
36442 for ac_func in expl
36443 do :
36444 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
36445 if test "x$ac_cv_func_expl" = x""yes; then :
36446 cat >>confdefs.h <<_ACEOF
36447 #define HAVE_EXPL 1
36448 _ACEOF
36451 done
36453 else
36455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
36456 $as_echo_n "checking for _expl declaration... " >&6; }
36457 if test x${glibcxx_cv_func__expl_use+set} != xset; then
36458 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
36459 $as_echo_n "(cached) " >&6
36460 else
36463 ac_ext=cpp
36464 ac_cpp='$CXXCPP $CPPFLAGS'
36465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36470 /* end confdefs.h. */
36471 #include <math.h>
36472 #ifdef HAVE_IEEEFP_H
36473 #include <ieeefp.h>
36474 #endif
36477 main ()
36479 _expl(0);
36481 return 0;
36483 _ACEOF
36484 if ac_fn_cxx_try_compile "$LINENO"; then :
36485 glibcxx_cv_func__expl_use=yes
36486 else
36487 glibcxx_cv_func__expl_use=no
36489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36490 ac_ext=c
36491 ac_cpp='$CPP $CPPFLAGS'
36492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
36501 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
36503 if test x$glibcxx_cv_func__expl_use = x"yes"; then
36504 for ac_func in _expl
36505 do :
36506 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
36507 if test "x$ac_cv_func__expl" = x""yes; then :
36508 cat >>confdefs.h <<_ACEOF
36509 #define HAVE__EXPL 1
36510 _ACEOF
36513 done
36522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
36523 $as_echo_n "checking for fabsl declaration... " >&6; }
36524 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
36525 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
36526 $as_echo_n "(cached) " >&6
36527 else
36530 ac_ext=cpp
36531 ac_cpp='$CXXCPP $CPPFLAGS'
36532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36537 /* end confdefs.h. */
36538 #include <math.h>
36539 #ifdef HAVE_IEEEFP_H
36540 #include <ieeefp.h>
36541 #endif
36544 main ()
36546 fabsl(0);
36548 return 0;
36550 _ACEOF
36551 if ac_fn_cxx_try_compile "$LINENO"; then :
36552 glibcxx_cv_func_fabsl_use=yes
36553 else
36554 glibcxx_cv_func_fabsl_use=no
36556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36557 ac_ext=c
36558 ac_cpp='$CPP $CPPFLAGS'
36559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
36568 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
36570 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
36571 for ac_func in fabsl
36572 do :
36573 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
36574 if test "x$ac_cv_func_fabsl" = x""yes; then :
36575 cat >>confdefs.h <<_ACEOF
36576 #define HAVE_FABSL 1
36577 _ACEOF
36580 done
36582 else
36584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
36585 $as_echo_n "checking for _fabsl declaration... " >&6; }
36586 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
36587 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
36588 $as_echo_n "(cached) " >&6
36589 else
36592 ac_ext=cpp
36593 ac_cpp='$CXXCPP $CPPFLAGS'
36594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36599 /* end confdefs.h. */
36600 #include <math.h>
36601 #ifdef HAVE_IEEEFP_H
36602 #include <ieeefp.h>
36603 #endif
36606 main ()
36608 _fabsl(0);
36610 return 0;
36612 _ACEOF
36613 if ac_fn_cxx_try_compile "$LINENO"; then :
36614 glibcxx_cv_func__fabsl_use=yes
36615 else
36616 glibcxx_cv_func__fabsl_use=no
36618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36619 ac_ext=c
36620 ac_cpp='$CPP $CPPFLAGS'
36621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
36630 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
36632 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
36633 for ac_func in _fabsl
36634 do :
36635 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
36636 if test "x$ac_cv_func__fabsl" = x""yes; then :
36637 cat >>confdefs.h <<_ACEOF
36638 #define HAVE__FABSL 1
36639 _ACEOF
36642 done
36651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
36652 $as_echo_n "checking for fmodl declaration... " >&6; }
36653 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
36654 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
36655 $as_echo_n "(cached) " >&6
36656 else
36659 ac_ext=cpp
36660 ac_cpp='$CXXCPP $CPPFLAGS'
36661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36666 /* end confdefs.h. */
36667 #include <math.h>
36669 main ()
36671 fmodl(0, 0);
36673 return 0;
36675 _ACEOF
36676 if ac_fn_cxx_try_compile "$LINENO"; then :
36677 glibcxx_cv_func_fmodl_use=yes
36678 else
36679 glibcxx_cv_func_fmodl_use=no
36681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36682 ac_ext=c
36683 ac_cpp='$CPP $CPPFLAGS'
36684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
36693 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
36695 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
36696 for ac_func in fmodl
36697 do :
36698 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
36699 if test "x$ac_cv_func_fmodl" = x""yes; then :
36700 cat >>confdefs.h <<_ACEOF
36701 #define HAVE_FMODL 1
36702 _ACEOF
36705 done
36707 else
36709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
36710 $as_echo_n "checking for _fmodl declaration... " >&6; }
36711 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
36712 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
36713 $as_echo_n "(cached) " >&6
36714 else
36717 ac_ext=cpp
36718 ac_cpp='$CXXCPP $CPPFLAGS'
36719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36724 /* end confdefs.h. */
36725 #include <math.h>
36727 main ()
36729 _fmodl(0, 0);
36731 return 0;
36733 _ACEOF
36734 if ac_fn_cxx_try_compile "$LINENO"; then :
36735 glibcxx_cv_func__fmodl_use=yes
36736 else
36737 glibcxx_cv_func__fmodl_use=no
36739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36740 ac_ext=c
36741 ac_cpp='$CPP $CPPFLAGS'
36742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
36751 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
36753 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
36754 for ac_func in _fmodl
36755 do :
36756 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
36757 if test "x$ac_cv_func__fmodl" = x""yes; then :
36758 cat >>confdefs.h <<_ACEOF
36759 #define HAVE__FMODL 1
36760 _ACEOF
36763 done
36772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
36773 $as_echo_n "checking for frexpl declaration... " >&6; }
36774 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
36775 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
36776 $as_echo_n "(cached) " >&6
36777 else
36780 ac_ext=cpp
36781 ac_cpp='$CXXCPP $CPPFLAGS'
36782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36787 /* end confdefs.h. */
36788 #include <math.h>
36790 main ()
36792 frexpl(0, 0);
36794 return 0;
36796 _ACEOF
36797 if ac_fn_cxx_try_compile "$LINENO"; then :
36798 glibcxx_cv_func_frexpl_use=yes
36799 else
36800 glibcxx_cv_func_frexpl_use=no
36802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36803 ac_ext=c
36804 ac_cpp='$CPP $CPPFLAGS'
36805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
36814 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
36816 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
36817 for ac_func in frexpl
36818 do :
36819 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
36820 if test "x$ac_cv_func_frexpl" = x""yes; then :
36821 cat >>confdefs.h <<_ACEOF
36822 #define HAVE_FREXPL 1
36823 _ACEOF
36826 done
36828 else
36830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
36831 $as_echo_n "checking for _frexpl declaration... " >&6; }
36832 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
36833 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
36834 $as_echo_n "(cached) " >&6
36835 else
36838 ac_ext=cpp
36839 ac_cpp='$CXXCPP $CPPFLAGS'
36840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36845 /* end confdefs.h. */
36846 #include <math.h>
36848 main ()
36850 _frexpl(0, 0);
36852 return 0;
36854 _ACEOF
36855 if ac_fn_cxx_try_compile "$LINENO"; then :
36856 glibcxx_cv_func__frexpl_use=yes
36857 else
36858 glibcxx_cv_func__frexpl_use=no
36860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36861 ac_ext=c
36862 ac_cpp='$CPP $CPPFLAGS'
36863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
36872 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
36874 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
36875 for ac_func in _frexpl
36876 do :
36877 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
36878 if test "x$ac_cv_func__frexpl" = x""yes; then :
36879 cat >>confdefs.h <<_ACEOF
36880 #define HAVE__FREXPL 1
36881 _ACEOF
36884 done
36893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
36894 $as_echo_n "checking for hypotl declaration... " >&6; }
36895 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
36896 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
36897 $as_echo_n "(cached) " >&6
36898 else
36901 ac_ext=cpp
36902 ac_cpp='$CXXCPP $CPPFLAGS'
36903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36908 /* end confdefs.h. */
36909 #include <math.h>
36911 main ()
36913 hypotl(0, 0);
36915 return 0;
36917 _ACEOF
36918 if ac_fn_cxx_try_compile "$LINENO"; then :
36919 glibcxx_cv_func_hypotl_use=yes
36920 else
36921 glibcxx_cv_func_hypotl_use=no
36923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36924 ac_ext=c
36925 ac_cpp='$CPP $CPPFLAGS'
36926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
36935 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
36937 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
36938 for ac_func in hypotl
36939 do :
36940 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
36941 if test "x$ac_cv_func_hypotl" = x""yes; then :
36942 cat >>confdefs.h <<_ACEOF
36943 #define HAVE_HYPOTL 1
36944 _ACEOF
36947 done
36949 else
36951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
36952 $as_echo_n "checking for _hypotl declaration... " >&6; }
36953 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
36954 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
36955 $as_echo_n "(cached) " >&6
36956 else
36959 ac_ext=cpp
36960 ac_cpp='$CXXCPP $CPPFLAGS'
36961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36966 /* end confdefs.h. */
36967 #include <math.h>
36969 main ()
36971 _hypotl(0, 0);
36973 return 0;
36975 _ACEOF
36976 if ac_fn_cxx_try_compile "$LINENO"; then :
36977 glibcxx_cv_func__hypotl_use=yes
36978 else
36979 glibcxx_cv_func__hypotl_use=no
36981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36982 ac_ext=c
36983 ac_cpp='$CPP $CPPFLAGS'
36984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
36993 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
36995 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
36996 for ac_func in _hypotl
36997 do :
36998 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
36999 if test "x$ac_cv_func__hypotl" = x""yes; then :
37000 cat >>confdefs.h <<_ACEOF
37001 #define HAVE__HYPOTL 1
37002 _ACEOF
37005 done
37014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
37015 $as_echo_n "checking for ldexpl declaration... " >&6; }
37016 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37017 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
37018 $as_echo_n "(cached) " >&6
37019 else
37022 ac_ext=cpp
37023 ac_cpp='$CXXCPP $CPPFLAGS'
37024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37029 /* end confdefs.h. */
37030 #include <math.h>
37032 main ()
37034 ldexpl(0, 0);
37036 return 0;
37038 _ACEOF
37039 if ac_fn_cxx_try_compile "$LINENO"; then :
37040 glibcxx_cv_func_ldexpl_use=yes
37041 else
37042 glibcxx_cv_func_ldexpl_use=no
37044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37045 ac_ext=c
37046 ac_cpp='$CPP $CPPFLAGS'
37047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37056 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37058 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37059 for ac_func in ldexpl
37060 do :
37061 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37062 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37063 cat >>confdefs.h <<_ACEOF
37064 #define HAVE_LDEXPL 1
37065 _ACEOF
37068 done
37070 else
37072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37073 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37074 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37075 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37076 $as_echo_n "(cached) " >&6
37077 else
37080 ac_ext=cpp
37081 ac_cpp='$CXXCPP $CPPFLAGS'
37082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37087 /* end confdefs.h. */
37088 #include <math.h>
37090 main ()
37092 _ldexpl(0, 0);
37094 return 0;
37096 _ACEOF
37097 if ac_fn_cxx_try_compile "$LINENO"; then :
37098 glibcxx_cv_func__ldexpl_use=yes
37099 else
37100 glibcxx_cv_func__ldexpl_use=no
37102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37103 ac_ext=c
37104 ac_cpp='$CPP $CPPFLAGS'
37105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37114 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37116 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37117 for ac_func in _ldexpl
37118 do :
37119 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37120 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37121 cat >>confdefs.h <<_ACEOF
37122 #define HAVE__LDEXPL 1
37123 _ACEOF
37126 done
37135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37136 $as_echo_n "checking for logl declaration... " >&6; }
37137 if test x${glibcxx_cv_func_logl_use+set} != xset; then
37138 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37139 $as_echo_n "(cached) " >&6
37140 else
37143 ac_ext=cpp
37144 ac_cpp='$CXXCPP $CPPFLAGS'
37145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37150 /* end confdefs.h. */
37151 #include <math.h>
37152 #ifdef HAVE_IEEEFP_H
37153 #include <ieeefp.h>
37154 #endif
37157 main ()
37159 logl(0);
37161 return 0;
37163 _ACEOF
37164 if ac_fn_cxx_try_compile "$LINENO"; then :
37165 glibcxx_cv_func_logl_use=yes
37166 else
37167 glibcxx_cv_func_logl_use=no
37169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37170 ac_ext=c
37171 ac_cpp='$CPP $CPPFLAGS'
37172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
37181 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
37183 if test x$glibcxx_cv_func_logl_use = x"yes"; then
37184 for ac_func in logl
37185 do :
37186 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
37187 if test "x$ac_cv_func_logl" = x""yes; then :
37188 cat >>confdefs.h <<_ACEOF
37189 #define HAVE_LOGL 1
37190 _ACEOF
37193 done
37195 else
37197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
37198 $as_echo_n "checking for _logl declaration... " >&6; }
37199 if test x${glibcxx_cv_func__logl_use+set} != xset; then
37200 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
37201 $as_echo_n "(cached) " >&6
37202 else
37205 ac_ext=cpp
37206 ac_cpp='$CXXCPP $CPPFLAGS'
37207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37212 /* end confdefs.h. */
37213 #include <math.h>
37214 #ifdef HAVE_IEEEFP_H
37215 #include <ieeefp.h>
37216 #endif
37219 main ()
37221 _logl(0);
37223 return 0;
37225 _ACEOF
37226 if ac_fn_cxx_try_compile "$LINENO"; then :
37227 glibcxx_cv_func__logl_use=yes
37228 else
37229 glibcxx_cv_func__logl_use=no
37231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37232 ac_ext=c
37233 ac_cpp='$CPP $CPPFLAGS'
37234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
37243 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
37245 if test x$glibcxx_cv_func__logl_use = x"yes"; then
37246 for ac_func in _logl
37247 do :
37248 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
37249 if test "x$ac_cv_func__logl" = x""yes; then :
37250 cat >>confdefs.h <<_ACEOF
37251 #define HAVE__LOGL 1
37252 _ACEOF
37255 done
37264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
37265 $as_echo_n "checking for log10l declaration... " >&6; }
37266 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
37267 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
37268 $as_echo_n "(cached) " >&6
37269 else
37272 ac_ext=cpp
37273 ac_cpp='$CXXCPP $CPPFLAGS'
37274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37279 /* end confdefs.h. */
37280 #include <math.h>
37281 #ifdef HAVE_IEEEFP_H
37282 #include <ieeefp.h>
37283 #endif
37286 main ()
37288 log10l(0);
37290 return 0;
37292 _ACEOF
37293 if ac_fn_cxx_try_compile "$LINENO"; then :
37294 glibcxx_cv_func_log10l_use=yes
37295 else
37296 glibcxx_cv_func_log10l_use=no
37298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37299 ac_ext=c
37300 ac_cpp='$CPP $CPPFLAGS'
37301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
37310 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
37312 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
37313 for ac_func in log10l
37314 do :
37315 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
37316 if test "x$ac_cv_func_log10l" = x""yes; then :
37317 cat >>confdefs.h <<_ACEOF
37318 #define HAVE_LOG10L 1
37319 _ACEOF
37322 done
37324 else
37326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
37327 $as_echo_n "checking for _log10l declaration... " >&6; }
37328 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
37329 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
37330 $as_echo_n "(cached) " >&6
37331 else
37334 ac_ext=cpp
37335 ac_cpp='$CXXCPP $CPPFLAGS'
37336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37341 /* end confdefs.h. */
37342 #include <math.h>
37343 #ifdef HAVE_IEEEFP_H
37344 #include <ieeefp.h>
37345 #endif
37348 main ()
37350 _log10l(0);
37352 return 0;
37354 _ACEOF
37355 if ac_fn_cxx_try_compile "$LINENO"; then :
37356 glibcxx_cv_func__log10l_use=yes
37357 else
37358 glibcxx_cv_func__log10l_use=no
37360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37361 ac_ext=c
37362 ac_cpp='$CPP $CPPFLAGS'
37363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
37372 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
37374 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
37375 for ac_func in _log10l
37376 do :
37377 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
37378 if test "x$ac_cv_func__log10l" = x""yes; then :
37379 cat >>confdefs.h <<_ACEOF
37380 #define HAVE__LOG10L 1
37381 _ACEOF
37384 done
37393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
37394 $as_echo_n "checking for modfl declaration... " >&6; }
37395 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
37396 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
37397 $as_echo_n "(cached) " >&6
37398 else
37401 ac_ext=cpp
37402 ac_cpp='$CXXCPP $CPPFLAGS'
37403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37408 /* end confdefs.h. */
37409 #include <math.h>
37411 main ()
37413 modfl(0, 0);
37415 return 0;
37417 _ACEOF
37418 if ac_fn_cxx_try_compile "$LINENO"; then :
37419 glibcxx_cv_func_modfl_use=yes
37420 else
37421 glibcxx_cv_func_modfl_use=no
37423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37424 ac_ext=c
37425 ac_cpp='$CPP $CPPFLAGS'
37426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
37435 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
37437 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
37438 for ac_func in modfl
37439 do :
37440 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
37441 if test "x$ac_cv_func_modfl" = x""yes; then :
37442 cat >>confdefs.h <<_ACEOF
37443 #define HAVE_MODFL 1
37444 _ACEOF
37447 done
37449 else
37451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
37452 $as_echo_n "checking for _modfl declaration... " >&6; }
37453 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
37454 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
37455 $as_echo_n "(cached) " >&6
37456 else
37459 ac_ext=cpp
37460 ac_cpp='$CXXCPP $CPPFLAGS'
37461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37466 /* end confdefs.h. */
37467 #include <math.h>
37469 main ()
37471 _modfl(0, 0);
37473 return 0;
37475 _ACEOF
37476 if ac_fn_cxx_try_compile "$LINENO"; then :
37477 glibcxx_cv_func__modfl_use=yes
37478 else
37479 glibcxx_cv_func__modfl_use=no
37481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37482 ac_ext=c
37483 ac_cpp='$CPP $CPPFLAGS'
37484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
37493 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
37495 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
37496 for ac_func in _modfl
37497 do :
37498 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
37499 if test "x$ac_cv_func__modfl" = x""yes; then :
37500 cat >>confdefs.h <<_ACEOF
37501 #define HAVE__MODFL 1
37502 _ACEOF
37505 done
37514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
37515 $as_echo_n "checking for powl declaration... " >&6; }
37516 if test x${glibcxx_cv_func_powl_use+set} != xset; then
37517 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
37518 $as_echo_n "(cached) " >&6
37519 else
37522 ac_ext=cpp
37523 ac_cpp='$CXXCPP $CPPFLAGS'
37524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37529 /* end confdefs.h. */
37530 #include <math.h>
37532 main ()
37534 powl(0, 0);
37536 return 0;
37538 _ACEOF
37539 if ac_fn_cxx_try_compile "$LINENO"; then :
37540 glibcxx_cv_func_powl_use=yes
37541 else
37542 glibcxx_cv_func_powl_use=no
37544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37545 ac_ext=c
37546 ac_cpp='$CPP $CPPFLAGS'
37547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
37556 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
37558 if test x$glibcxx_cv_func_powl_use = x"yes"; then
37559 for ac_func in powl
37560 do :
37561 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
37562 if test "x$ac_cv_func_powl" = x""yes; then :
37563 cat >>confdefs.h <<_ACEOF
37564 #define HAVE_POWL 1
37565 _ACEOF
37568 done
37570 else
37572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
37573 $as_echo_n "checking for _powl declaration... " >&6; }
37574 if test x${glibcxx_cv_func__powl_use+set} != xset; then
37575 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
37576 $as_echo_n "(cached) " >&6
37577 else
37580 ac_ext=cpp
37581 ac_cpp='$CXXCPP $CPPFLAGS'
37582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37587 /* end confdefs.h. */
37588 #include <math.h>
37590 main ()
37592 _powl(0, 0);
37594 return 0;
37596 _ACEOF
37597 if ac_fn_cxx_try_compile "$LINENO"; then :
37598 glibcxx_cv_func__powl_use=yes
37599 else
37600 glibcxx_cv_func__powl_use=no
37602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37603 ac_ext=c
37604 ac_cpp='$CPP $CPPFLAGS'
37605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
37614 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
37616 if test x$glibcxx_cv_func__powl_use = x"yes"; then
37617 for ac_func in _powl
37618 do :
37619 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
37620 if test "x$ac_cv_func__powl" = x""yes; then :
37621 cat >>confdefs.h <<_ACEOF
37622 #define HAVE__POWL 1
37623 _ACEOF
37626 done
37635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
37636 $as_echo_n "checking for sqrtl declaration... " >&6; }
37637 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
37638 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
37639 $as_echo_n "(cached) " >&6
37640 else
37643 ac_ext=cpp
37644 ac_cpp='$CXXCPP $CPPFLAGS'
37645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37650 /* end confdefs.h. */
37651 #include <math.h>
37652 #ifdef HAVE_IEEEFP_H
37653 #include <ieeefp.h>
37654 #endif
37657 main ()
37659 sqrtl(0);
37661 return 0;
37663 _ACEOF
37664 if ac_fn_cxx_try_compile "$LINENO"; then :
37665 glibcxx_cv_func_sqrtl_use=yes
37666 else
37667 glibcxx_cv_func_sqrtl_use=no
37669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37670 ac_ext=c
37671 ac_cpp='$CPP $CPPFLAGS'
37672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
37681 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
37683 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
37684 for ac_func in sqrtl
37685 do :
37686 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
37687 if test "x$ac_cv_func_sqrtl" = x""yes; then :
37688 cat >>confdefs.h <<_ACEOF
37689 #define HAVE_SQRTL 1
37690 _ACEOF
37693 done
37695 else
37697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
37698 $as_echo_n "checking for _sqrtl declaration... " >&6; }
37699 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
37700 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
37701 $as_echo_n "(cached) " >&6
37702 else
37705 ac_ext=cpp
37706 ac_cpp='$CXXCPP $CPPFLAGS'
37707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37712 /* end confdefs.h. */
37713 #include <math.h>
37714 #ifdef HAVE_IEEEFP_H
37715 #include <ieeefp.h>
37716 #endif
37719 main ()
37721 _sqrtl(0);
37723 return 0;
37725 _ACEOF
37726 if ac_fn_cxx_try_compile "$LINENO"; then :
37727 glibcxx_cv_func__sqrtl_use=yes
37728 else
37729 glibcxx_cv_func__sqrtl_use=no
37731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37732 ac_ext=c
37733 ac_cpp='$CPP $CPPFLAGS'
37734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
37743 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
37745 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
37746 for ac_func in _sqrtl
37747 do :
37748 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
37749 if test "x$ac_cv_func__sqrtl" = x""yes; then :
37750 cat >>confdefs.h <<_ACEOF
37751 #define HAVE__SQRTL 1
37752 _ACEOF
37755 done
37764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
37765 $as_echo_n "checking for sincosl declaration... " >&6; }
37766 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
37767 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
37768 $as_echo_n "(cached) " >&6
37769 else
37772 ac_ext=cpp
37773 ac_cpp='$CXXCPP $CPPFLAGS'
37774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37779 /* end confdefs.h. */
37780 #include <math.h>
37782 main ()
37784 sincosl(0, 0, 0);
37786 return 0;
37788 _ACEOF
37789 if ac_fn_cxx_try_compile "$LINENO"; then :
37790 glibcxx_cv_func_sincosl_use=yes
37791 else
37792 glibcxx_cv_func_sincosl_use=no
37794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37795 ac_ext=c
37796 ac_cpp='$CPP $CPPFLAGS'
37797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
37806 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
37808 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
37809 for ac_func in sincosl
37810 do :
37811 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
37812 if test "x$ac_cv_func_sincosl" = x""yes; then :
37813 cat >>confdefs.h <<_ACEOF
37814 #define HAVE_SINCOSL 1
37815 _ACEOF
37818 done
37820 else
37822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
37823 $as_echo_n "checking for _sincosl declaration... " >&6; }
37824 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
37825 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
37826 $as_echo_n "(cached) " >&6
37827 else
37830 ac_ext=cpp
37831 ac_cpp='$CXXCPP $CPPFLAGS'
37832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37837 /* end confdefs.h. */
37838 #include <math.h>
37840 main ()
37842 _sincosl(0, 0, 0);
37844 return 0;
37846 _ACEOF
37847 if ac_fn_cxx_try_compile "$LINENO"; then :
37848 glibcxx_cv_func__sincosl_use=yes
37849 else
37850 glibcxx_cv_func__sincosl_use=no
37852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37853 ac_ext=c
37854 ac_cpp='$CPP $CPPFLAGS'
37855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
37864 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
37866 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
37867 for ac_func in _sincosl
37868 do :
37869 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
37870 if test "x$ac_cv_func__sincosl" = x""yes; then :
37871 cat >>confdefs.h <<_ACEOF
37872 #define HAVE__SINCOSL 1
37873 _ACEOF
37876 done
37885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
37886 $as_echo_n "checking for finitel declaration... " >&6; }
37887 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
37888 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
37889 $as_echo_n "(cached) " >&6
37890 else
37893 ac_ext=cpp
37894 ac_cpp='$CXXCPP $CPPFLAGS'
37895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37900 /* end confdefs.h. */
37901 #include <math.h>
37902 #ifdef HAVE_IEEEFP_H
37903 #include <ieeefp.h>
37904 #endif
37907 main ()
37909 finitel(0);
37911 return 0;
37913 _ACEOF
37914 if ac_fn_cxx_try_compile "$LINENO"; then :
37915 glibcxx_cv_func_finitel_use=yes
37916 else
37917 glibcxx_cv_func_finitel_use=no
37919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37920 ac_ext=c
37921 ac_cpp='$CPP $CPPFLAGS'
37922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
37931 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
37933 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
37934 for ac_func in finitel
37935 do :
37936 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
37937 if test "x$ac_cv_func_finitel" = x""yes; then :
37938 cat >>confdefs.h <<_ACEOF
37939 #define HAVE_FINITEL 1
37940 _ACEOF
37943 done
37945 else
37947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
37948 $as_echo_n "checking for _finitel declaration... " >&6; }
37949 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
37950 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
37951 $as_echo_n "(cached) " >&6
37952 else
37955 ac_ext=cpp
37956 ac_cpp='$CXXCPP $CPPFLAGS'
37957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37962 /* end confdefs.h. */
37963 #include <math.h>
37964 #ifdef HAVE_IEEEFP_H
37965 #include <ieeefp.h>
37966 #endif
37969 main ()
37971 _finitel(0);
37973 return 0;
37975 _ACEOF
37976 if ac_fn_cxx_try_compile "$LINENO"; then :
37977 glibcxx_cv_func__finitel_use=yes
37978 else
37979 glibcxx_cv_func__finitel_use=no
37981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37982 ac_ext=c
37983 ac_cpp='$CPP $CPPFLAGS'
37984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
37993 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
37995 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
37996 for ac_func in _finitel
37997 do :
37998 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
37999 if test "x$ac_cv_func__finitel" = x""yes; then :
38000 cat >>confdefs.h <<_ACEOF
38001 #define HAVE__FINITEL 1
38002 _ACEOF
38005 done
38013 LIBS="$ac_save_LIBS"
38014 CXXFLAGS="$ac_save_CXXFLAGS"
38017 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38018 ac_save_CXXFLAGS="$CXXFLAGS"
38019 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
38023 $as_echo_n "checking for strtold declaration... " >&6; }
38024 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38025 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
38026 $as_echo_n "(cached) " >&6
38027 else
38030 ac_ext=cpp
38031 ac_cpp='$CXXCPP $CPPFLAGS'
38032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38037 /* end confdefs.h. */
38038 #include <stdlib.h>
38040 main ()
38042 strtold(0, 0);
38044 return 0;
38046 _ACEOF
38047 if ac_fn_cxx_try_compile "$LINENO"; then :
38048 glibcxx_cv_func_strtold_use=yes
38049 else
38050 glibcxx_cv_func_strtold_use=no
38052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38053 ac_ext=c
38054 ac_cpp='$CPP $CPPFLAGS'
38055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38064 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38065 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38066 for ac_func in strtold
38067 do :
38068 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38069 if test "x$ac_cv_func_strtold" = x""yes; then :
38070 cat >>confdefs.h <<_ACEOF
38071 #define HAVE_STRTOLD 1
38072 _ACEOF
38075 done
38082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38083 $as_echo_n "checking for strtof declaration... " >&6; }
38084 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38085 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38086 $as_echo_n "(cached) " >&6
38087 else
38090 ac_ext=cpp
38091 ac_cpp='$CXXCPP $CPPFLAGS'
38092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38097 /* end confdefs.h. */
38098 #include <stdlib.h>
38100 main ()
38102 strtof(0, 0);
38104 return 0;
38106 _ACEOF
38107 if ac_fn_cxx_try_compile "$LINENO"; then :
38108 glibcxx_cv_func_strtof_use=yes
38109 else
38110 glibcxx_cv_func_strtof_use=no
38112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38113 ac_ext=c
38114 ac_cpp='$CPP $CPPFLAGS'
38115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38124 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38125 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38126 for ac_func in strtof
38127 do :
38128 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38129 if test "x$ac_cv_func_strtof" = x""yes; then :
38130 cat >>confdefs.h <<_ACEOF
38131 #define HAVE_STRTOF 1
38132 _ACEOF
38135 done
38142 CXXFLAGS="$ac_save_CXXFLAGS"
38144 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38146 # We don't yet support AIX's TLS ABI.
38147 #GCC_CHECK_TLS
38153 am_save_CPPFLAGS="$CPPFLAGS"
38155 for element in $INCICONV; do
38156 haveit=
38157 for x in $CPPFLAGS; do
38159 acl_save_prefix="$prefix"
38160 prefix="$acl_final_prefix"
38161 acl_save_exec_prefix="$exec_prefix"
38162 exec_prefix="$acl_final_exec_prefix"
38163 eval x=\"$x\"
38164 exec_prefix="$acl_save_exec_prefix"
38165 prefix="$acl_save_prefix"
38167 if test "X$x" = "X$element"; then
38168 haveit=yes
38169 break
38171 done
38172 if test -z "$haveit"; then
38173 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38175 done
38178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
38179 $as_echo_n "checking for iconv... " >&6; }
38180 if test "${am_cv_func_iconv+set}" = set; then :
38181 $as_echo_n "(cached) " >&6
38182 else
38184 am_cv_func_iconv="no, consider installing GNU libiconv"
38185 am_cv_lib_iconv=no
38186 if test x$gcc_no_link = xyes; then
38187 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38190 /* end confdefs.h. */
38191 #include <stdlib.h>
38192 #include <iconv.h>
38194 main ()
38196 iconv_t cd = iconv_open("","");
38197 iconv(cd,NULL,NULL,NULL,NULL);
38198 iconv_close(cd);
38200 return 0;
38202 _ACEOF
38203 if ac_fn_c_try_link "$LINENO"; then :
38204 am_cv_func_iconv=yes
38206 rm -f core conftest.err conftest.$ac_objext \
38207 conftest$ac_exeext conftest.$ac_ext
38208 if test "$am_cv_func_iconv" != yes; then
38209 am_save_LIBS="$LIBS"
38210 LIBS="$LIBS $LIBICONV"
38211 if test x$gcc_no_link = xyes; then
38212 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38215 /* end confdefs.h. */
38216 #include <stdlib.h>
38217 #include <iconv.h>
38219 main ()
38221 iconv_t cd = iconv_open("","");
38222 iconv(cd,NULL,NULL,NULL,NULL);
38223 iconv_close(cd);
38225 return 0;
38227 _ACEOF
38228 if ac_fn_c_try_link "$LINENO"; then :
38229 am_cv_lib_iconv=yes
38230 am_cv_func_iconv=yes
38232 rm -f core conftest.err conftest.$ac_objext \
38233 conftest$ac_exeext conftest.$ac_ext
38234 LIBS="$am_save_LIBS"
38238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
38239 $as_echo "$am_cv_func_iconv" >&6; }
38240 if test "$am_cv_func_iconv" = yes; then
38242 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
38245 if test "$am_cv_lib_iconv" = yes; then
38246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
38247 $as_echo_n "checking how to link with libiconv... " >&6; }
38248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
38249 $as_echo "$LIBICONV" >&6; }
38250 else
38251 CPPFLAGS="$am_save_CPPFLAGS"
38252 LIBICONV=
38253 LTLIBICONV=
38258 if test "$am_cv_func_iconv" = yes; then
38259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
38260 $as_echo_n "checking for iconv declaration... " >&6; }
38261 if test "${am_cv_proto_iconv+set}" = set; then :
38262 $as_echo_n "(cached) " >&6
38263 else
38265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38266 /* end confdefs.h. */
38268 #include <stdlib.h>
38269 #include <iconv.h>
38270 extern
38271 #ifdef __cplusplus
38273 #endif
38274 #if defined(__STDC__) || defined(__cplusplus)
38275 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38276 #else
38277 size_t iconv();
38278 #endif
38281 main ()
38285 return 0;
38287 _ACEOF
38288 if ac_fn_c_try_compile "$LINENO"; then :
38289 am_cv_proto_iconv_arg1=""
38290 else
38291 am_cv_proto_iconv_arg1="const"
38293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38294 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);"
38297 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
38298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
38299 }$am_cv_proto_iconv" >&5
38300 $as_echo "${ac_t:-
38301 }$am_cv_proto_iconv" >&6; }
38303 cat >>confdefs.h <<_ACEOF
38304 #define ICONV_CONST $am_cv_proto_iconv_arg1
38305 _ACEOF
38311 *-darwin*)
38312 # Darwin versions vary, but the linker should work in a cross environment,
38313 # so we just check for all the features here.
38314 # Check for available headers.
38316 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
38318 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38319 ac_save_CXXFLAGS="$CXXFLAGS"
38320 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
38323 $as_echo_n "checking for sin in -lm... " >&6; }
38324 if test "${ac_cv_lib_m_sin+set}" = set; then :
38325 $as_echo_n "(cached) " >&6
38326 else
38327 ac_check_lib_save_LIBS=$LIBS
38328 LIBS="-lm $LIBS"
38329 if test x$gcc_no_link = xyes; then
38330 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38333 /* end confdefs.h. */
38335 /* Override any GCC internal prototype to avoid an error.
38336 Use char because int might match the return type of a GCC
38337 builtin and then its argument prototype would still apply. */
38338 #ifdef __cplusplus
38339 extern "C"
38340 #endif
38341 char sin ();
38343 main ()
38345 return sin ();
38347 return 0;
38349 _ACEOF
38350 if ac_fn_c_try_link "$LINENO"; then :
38351 ac_cv_lib_m_sin=yes
38352 else
38353 ac_cv_lib_m_sin=no
38355 rm -f core conftest.err conftest.$ac_objext \
38356 conftest$ac_exeext conftest.$ac_ext
38357 LIBS=$ac_check_lib_save_LIBS
38359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
38360 $as_echo "$ac_cv_lib_m_sin" >&6; }
38361 if test "x$ac_cv_lib_m_sin" = x""yes; then :
38362 libm="-lm"
38365 ac_save_LIBS="$LIBS"
38366 LIBS="$LIBS $libm"
38370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
38371 $as_echo_n "checking for isinf declaration... " >&6; }
38372 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
38373 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
38374 $as_echo_n "(cached) " >&6
38375 else
38378 ac_ext=cpp
38379 ac_cpp='$CXXCPP $CPPFLAGS'
38380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38385 /* end confdefs.h. */
38386 #include <math.h>
38387 #ifdef HAVE_IEEEFP_H
38388 #include <ieeefp.h>
38389 #endif
38392 main ()
38394 isinf(0);
38396 return 0;
38398 _ACEOF
38399 if ac_fn_cxx_try_compile "$LINENO"; then :
38400 glibcxx_cv_func_isinf_use=yes
38401 else
38402 glibcxx_cv_func_isinf_use=no
38404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38405 ac_ext=c
38406 ac_cpp='$CPP $CPPFLAGS'
38407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
38416 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
38418 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
38419 for ac_func in isinf
38420 do :
38421 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
38422 if test "x$ac_cv_func_isinf" = x""yes; then :
38423 cat >>confdefs.h <<_ACEOF
38424 #define HAVE_ISINF 1
38425 _ACEOF
38428 done
38430 else
38432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
38433 $as_echo_n "checking for _isinf declaration... " >&6; }
38434 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
38435 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
38436 $as_echo_n "(cached) " >&6
38437 else
38440 ac_ext=cpp
38441 ac_cpp='$CXXCPP $CPPFLAGS'
38442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38447 /* end confdefs.h. */
38448 #include <math.h>
38449 #ifdef HAVE_IEEEFP_H
38450 #include <ieeefp.h>
38451 #endif
38454 main ()
38456 _isinf(0);
38458 return 0;
38460 _ACEOF
38461 if ac_fn_cxx_try_compile "$LINENO"; then :
38462 glibcxx_cv_func__isinf_use=yes
38463 else
38464 glibcxx_cv_func__isinf_use=no
38466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38467 ac_ext=c
38468 ac_cpp='$CPP $CPPFLAGS'
38469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
38478 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
38480 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
38481 for ac_func in _isinf
38482 do :
38483 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
38484 if test "x$ac_cv_func__isinf" = x""yes; then :
38485 cat >>confdefs.h <<_ACEOF
38486 #define HAVE__ISINF 1
38487 _ACEOF
38490 done
38499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
38500 $as_echo_n "checking for isnan declaration... " >&6; }
38501 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
38502 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
38503 $as_echo_n "(cached) " >&6
38504 else
38507 ac_ext=cpp
38508 ac_cpp='$CXXCPP $CPPFLAGS'
38509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38514 /* end confdefs.h. */
38515 #include <math.h>
38516 #ifdef HAVE_IEEEFP_H
38517 #include <ieeefp.h>
38518 #endif
38521 main ()
38523 isnan(0);
38525 return 0;
38527 _ACEOF
38528 if ac_fn_cxx_try_compile "$LINENO"; then :
38529 glibcxx_cv_func_isnan_use=yes
38530 else
38531 glibcxx_cv_func_isnan_use=no
38533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38534 ac_ext=c
38535 ac_cpp='$CPP $CPPFLAGS'
38536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
38545 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
38547 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
38548 for ac_func in isnan
38549 do :
38550 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
38551 if test "x$ac_cv_func_isnan" = x""yes; then :
38552 cat >>confdefs.h <<_ACEOF
38553 #define HAVE_ISNAN 1
38554 _ACEOF
38557 done
38559 else
38561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
38562 $as_echo_n "checking for _isnan declaration... " >&6; }
38563 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
38564 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
38565 $as_echo_n "(cached) " >&6
38566 else
38569 ac_ext=cpp
38570 ac_cpp='$CXXCPP $CPPFLAGS'
38571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38576 /* end confdefs.h. */
38577 #include <math.h>
38578 #ifdef HAVE_IEEEFP_H
38579 #include <ieeefp.h>
38580 #endif
38583 main ()
38585 _isnan(0);
38587 return 0;
38589 _ACEOF
38590 if ac_fn_cxx_try_compile "$LINENO"; then :
38591 glibcxx_cv_func__isnan_use=yes
38592 else
38593 glibcxx_cv_func__isnan_use=no
38595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38596 ac_ext=c
38597 ac_cpp='$CPP $CPPFLAGS'
38598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
38607 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
38609 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
38610 for ac_func in _isnan
38611 do :
38612 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
38613 if test "x$ac_cv_func__isnan" = x""yes; then :
38614 cat >>confdefs.h <<_ACEOF
38615 #define HAVE__ISNAN 1
38616 _ACEOF
38619 done
38628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
38629 $as_echo_n "checking for finite declaration... " >&6; }
38630 if test x${glibcxx_cv_func_finite_use+set} != xset; then
38631 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
38632 $as_echo_n "(cached) " >&6
38633 else
38636 ac_ext=cpp
38637 ac_cpp='$CXXCPP $CPPFLAGS'
38638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38643 /* end confdefs.h. */
38644 #include <math.h>
38645 #ifdef HAVE_IEEEFP_H
38646 #include <ieeefp.h>
38647 #endif
38650 main ()
38652 finite(0);
38654 return 0;
38656 _ACEOF
38657 if ac_fn_cxx_try_compile "$LINENO"; then :
38658 glibcxx_cv_func_finite_use=yes
38659 else
38660 glibcxx_cv_func_finite_use=no
38662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38663 ac_ext=c
38664 ac_cpp='$CPP $CPPFLAGS'
38665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
38674 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
38676 if test x$glibcxx_cv_func_finite_use = x"yes"; then
38677 for ac_func in finite
38678 do :
38679 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
38680 if test "x$ac_cv_func_finite" = x""yes; then :
38681 cat >>confdefs.h <<_ACEOF
38682 #define HAVE_FINITE 1
38683 _ACEOF
38686 done
38688 else
38690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
38691 $as_echo_n "checking for _finite declaration... " >&6; }
38692 if test x${glibcxx_cv_func__finite_use+set} != xset; then
38693 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
38694 $as_echo_n "(cached) " >&6
38695 else
38698 ac_ext=cpp
38699 ac_cpp='$CXXCPP $CPPFLAGS'
38700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38705 /* end confdefs.h. */
38706 #include <math.h>
38707 #ifdef HAVE_IEEEFP_H
38708 #include <ieeefp.h>
38709 #endif
38712 main ()
38714 _finite(0);
38716 return 0;
38718 _ACEOF
38719 if ac_fn_cxx_try_compile "$LINENO"; then :
38720 glibcxx_cv_func__finite_use=yes
38721 else
38722 glibcxx_cv_func__finite_use=no
38724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38725 ac_ext=c
38726 ac_cpp='$CPP $CPPFLAGS'
38727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
38736 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
38738 if test x$glibcxx_cv_func__finite_use = x"yes"; then
38739 for ac_func in _finite
38740 do :
38741 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
38742 if test "x$ac_cv_func__finite" = x""yes; then :
38743 cat >>confdefs.h <<_ACEOF
38744 #define HAVE__FINITE 1
38745 _ACEOF
38748 done
38757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
38758 $as_echo_n "checking for sincos declaration... " >&6; }
38759 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
38760 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
38761 $as_echo_n "(cached) " >&6
38762 else
38765 ac_ext=cpp
38766 ac_cpp='$CXXCPP $CPPFLAGS'
38767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38772 /* end confdefs.h. */
38773 #include <math.h>
38775 main ()
38777 sincos(0, 0, 0);
38779 return 0;
38781 _ACEOF
38782 if ac_fn_cxx_try_compile "$LINENO"; then :
38783 glibcxx_cv_func_sincos_use=yes
38784 else
38785 glibcxx_cv_func_sincos_use=no
38787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38788 ac_ext=c
38789 ac_cpp='$CPP $CPPFLAGS'
38790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
38799 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
38801 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
38802 for ac_func in sincos
38803 do :
38804 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
38805 if test "x$ac_cv_func_sincos" = x""yes; then :
38806 cat >>confdefs.h <<_ACEOF
38807 #define HAVE_SINCOS 1
38808 _ACEOF
38811 done
38813 else
38815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
38816 $as_echo_n "checking for _sincos declaration... " >&6; }
38817 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
38818 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
38819 $as_echo_n "(cached) " >&6
38820 else
38823 ac_ext=cpp
38824 ac_cpp='$CXXCPP $CPPFLAGS'
38825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38830 /* end confdefs.h. */
38831 #include <math.h>
38833 main ()
38835 _sincos(0, 0, 0);
38837 return 0;
38839 _ACEOF
38840 if ac_fn_cxx_try_compile "$LINENO"; then :
38841 glibcxx_cv_func__sincos_use=yes
38842 else
38843 glibcxx_cv_func__sincos_use=no
38845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38846 ac_ext=c
38847 ac_cpp='$CPP $CPPFLAGS'
38848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
38857 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
38859 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
38860 for ac_func in _sincos
38861 do :
38862 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
38863 if test "x$ac_cv_func__sincos" = x""yes; then :
38864 cat >>confdefs.h <<_ACEOF
38865 #define HAVE__SINCOS 1
38866 _ACEOF
38869 done
38878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
38879 $as_echo_n "checking for fpclass declaration... " >&6; }
38880 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
38881 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
38882 $as_echo_n "(cached) " >&6
38883 else
38886 ac_ext=cpp
38887 ac_cpp='$CXXCPP $CPPFLAGS'
38888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38893 /* end confdefs.h. */
38894 #include <math.h>
38895 #ifdef HAVE_IEEEFP_H
38896 #include <ieeefp.h>
38897 #endif
38900 main ()
38902 fpclass(0);
38904 return 0;
38906 _ACEOF
38907 if ac_fn_cxx_try_compile "$LINENO"; then :
38908 glibcxx_cv_func_fpclass_use=yes
38909 else
38910 glibcxx_cv_func_fpclass_use=no
38912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38913 ac_ext=c
38914 ac_cpp='$CPP $CPPFLAGS'
38915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
38924 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
38926 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
38927 for ac_func in fpclass
38928 do :
38929 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
38930 if test "x$ac_cv_func_fpclass" = x""yes; then :
38931 cat >>confdefs.h <<_ACEOF
38932 #define HAVE_FPCLASS 1
38933 _ACEOF
38936 done
38938 else
38940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
38941 $as_echo_n "checking for _fpclass declaration... " >&6; }
38942 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
38943 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
38944 $as_echo_n "(cached) " >&6
38945 else
38948 ac_ext=cpp
38949 ac_cpp='$CXXCPP $CPPFLAGS'
38950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38955 /* end confdefs.h. */
38956 #include <math.h>
38957 #ifdef HAVE_IEEEFP_H
38958 #include <ieeefp.h>
38959 #endif
38962 main ()
38964 _fpclass(0);
38966 return 0;
38968 _ACEOF
38969 if ac_fn_cxx_try_compile "$LINENO"; then :
38970 glibcxx_cv_func__fpclass_use=yes
38971 else
38972 glibcxx_cv_func__fpclass_use=no
38974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38975 ac_ext=c
38976 ac_cpp='$CPP $CPPFLAGS'
38977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
38986 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
38988 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
38989 for ac_func in _fpclass
38990 do :
38991 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
38992 if test "x$ac_cv_func__fpclass" = x""yes; then :
38993 cat >>confdefs.h <<_ACEOF
38994 #define HAVE__FPCLASS 1
38995 _ACEOF
38998 done
39007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
39008 $as_echo_n "checking for qfpclass declaration... " >&6; }
39009 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
39010 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
39011 $as_echo_n "(cached) " >&6
39012 else
39015 ac_ext=cpp
39016 ac_cpp='$CXXCPP $CPPFLAGS'
39017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39022 /* end confdefs.h. */
39023 #include <math.h>
39024 #ifdef HAVE_IEEEFP_H
39025 #include <ieeefp.h>
39026 #endif
39029 main ()
39031 qfpclass(0);
39033 return 0;
39035 _ACEOF
39036 if ac_fn_cxx_try_compile "$LINENO"; then :
39037 glibcxx_cv_func_qfpclass_use=yes
39038 else
39039 glibcxx_cv_func_qfpclass_use=no
39041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39042 ac_ext=c
39043 ac_cpp='$CPP $CPPFLAGS'
39044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39053 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39055 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39056 for ac_func in qfpclass
39057 do :
39058 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39059 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39060 cat >>confdefs.h <<_ACEOF
39061 #define HAVE_QFPCLASS 1
39062 _ACEOF
39065 done
39067 else
39069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39070 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39071 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39072 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39073 $as_echo_n "(cached) " >&6
39074 else
39077 ac_ext=cpp
39078 ac_cpp='$CXXCPP $CPPFLAGS'
39079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39084 /* end confdefs.h. */
39085 #include <math.h>
39086 #ifdef HAVE_IEEEFP_H
39087 #include <ieeefp.h>
39088 #endif
39091 main ()
39093 _qfpclass(0);
39095 return 0;
39097 _ACEOF
39098 if ac_fn_cxx_try_compile "$LINENO"; then :
39099 glibcxx_cv_func__qfpclass_use=yes
39100 else
39101 glibcxx_cv_func__qfpclass_use=no
39103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39104 ac_ext=c
39105 ac_cpp='$CPP $CPPFLAGS'
39106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39115 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39117 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39118 for ac_func in _qfpclass
39119 do :
39120 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39121 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39122 cat >>confdefs.h <<_ACEOF
39123 #define HAVE__QFPCLASS 1
39124 _ACEOF
39127 done
39136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39137 $as_echo_n "checking for hypot declaration... " >&6; }
39138 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39139 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39140 $as_echo_n "(cached) " >&6
39141 else
39144 ac_ext=cpp
39145 ac_cpp='$CXXCPP $CPPFLAGS'
39146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39151 /* end confdefs.h. */
39152 #include <math.h>
39154 main ()
39156 hypot(0, 0);
39158 return 0;
39160 _ACEOF
39161 if ac_fn_cxx_try_compile "$LINENO"; then :
39162 glibcxx_cv_func_hypot_use=yes
39163 else
39164 glibcxx_cv_func_hypot_use=no
39166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39167 ac_ext=c
39168 ac_cpp='$CPP $CPPFLAGS'
39169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
39178 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
39180 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
39181 for ac_func in hypot
39182 do :
39183 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
39184 if test "x$ac_cv_func_hypot" = x""yes; then :
39185 cat >>confdefs.h <<_ACEOF
39186 #define HAVE_HYPOT 1
39187 _ACEOF
39190 done
39192 else
39194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
39195 $as_echo_n "checking for _hypot declaration... " >&6; }
39196 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
39197 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
39198 $as_echo_n "(cached) " >&6
39199 else
39202 ac_ext=cpp
39203 ac_cpp='$CXXCPP $CPPFLAGS'
39204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39209 /* end confdefs.h. */
39210 #include <math.h>
39212 main ()
39214 _hypot(0, 0);
39216 return 0;
39218 _ACEOF
39219 if ac_fn_cxx_try_compile "$LINENO"; then :
39220 glibcxx_cv_func__hypot_use=yes
39221 else
39222 glibcxx_cv_func__hypot_use=no
39224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39225 ac_ext=c
39226 ac_cpp='$CPP $CPPFLAGS'
39227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
39236 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
39238 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
39239 for ac_func in _hypot
39240 do :
39241 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
39242 if test "x$ac_cv_func__hypot" = x""yes; then :
39243 cat >>confdefs.h <<_ACEOF
39244 #define HAVE__HYPOT 1
39245 _ACEOF
39248 done
39257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
39258 $as_echo_n "checking for float trig functions... " >&6; }
39259 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
39260 $as_echo_n "(cached) " >&6
39261 else
39264 ac_ext=cpp
39265 ac_cpp='$CXXCPP $CPPFLAGS'
39266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39271 /* end confdefs.h. */
39272 #include <math.h>
39274 main ()
39276 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
39278 return 0;
39280 _ACEOF
39281 if ac_fn_cxx_try_compile "$LINENO"; then :
39282 glibcxx_cv_func_float_trig_use=yes
39283 else
39284 glibcxx_cv_func_float_trig_use=no
39286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39287 ac_ext=c
39288 ac_cpp='$CPP $CPPFLAGS'
39289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
39296 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
39297 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
39298 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
39299 do :
39300 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39301 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39302 eval as_val=\$$as_ac_var
39303 if test "x$as_val" = x""yes; then :
39304 cat >>confdefs.h <<_ACEOF
39305 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39306 _ACEOF
39309 done
39311 else
39312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
39313 $as_echo_n "checking for _float trig functions... " >&6; }
39314 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
39315 $as_echo_n "(cached) " >&6
39316 else
39319 ac_ext=cpp
39320 ac_cpp='$CXXCPP $CPPFLAGS'
39321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39326 /* end confdefs.h. */
39327 #include <math.h>
39329 main ()
39331 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
39333 return 0;
39335 _ACEOF
39336 if ac_fn_cxx_try_compile "$LINENO"; then :
39337 glibcxx_cv_func__float_trig_use=yes
39338 else
39339 glibcxx_cv_func__float_trig_use=no
39341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39342 ac_ext=c
39343 ac_cpp='$CPP $CPPFLAGS'
39344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
39351 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
39352 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
39353 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
39354 do :
39355 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39356 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39357 eval as_val=\$$as_ac_var
39358 if test "x$as_val" = x""yes; then :
39359 cat >>confdefs.h <<_ACEOF
39360 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39361 _ACEOF
39364 done
39373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
39374 $as_echo_n "checking for float round functions... " >&6; }
39375 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
39376 $as_echo_n "(cached) " >&6
39377 else
39380 ac_ext=cpp
39381 ac_cpp='$CXXCPP $CPPFLAGS'
39382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39387 /* end confdefs.h. */
39388 #include <math.h>
39390 main ()
39392 ceilf (0); floorf (0);
39394 return 0;
39396 _ACEOF
39397 if ac_fn_cxx_try_compile "$LINENO"; then :
39398 glibcxx_cv_func_float_round_use=yes
39399 else
39400 glibcxx_cv_func_float_round_use=no
39402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39403 ac_ext=c
39404 ac_cpp='$CPP $CPPFLAGS'
39405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
39412 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
39413 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
39414 for ac_func in ceilf floorf
39415 do :
39416 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39417 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39418 eval as_val=\$$as_ac_var
39419 if test "x$as_val" = x""yes; then :
39420 cat >>confdefs.h <<_ACEOF
39421 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39422 _ACEOF
39425 done
39427 else
39428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
39429 $as_echo_n "checking for _float round functions... " >&6; }
39430 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
39431 $as_echo_n "(cached) " >&6
39432 else
39435 ac_ext=cpp
39436 ac_cpp='$CXXCPP $CPPFLAGS'
39437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39442 /* end confdefs.h. */
39443 #include <math.h>
39445 main ()
39447 _ceilf (0); _floorf (0);
39449 return 0;
39451 _ACEOF
39452 if ac_fn_cxx_try_compile "$LINENO"; then :
39453 glibcxx_cv_func__float_round_use=yes
39454 else
39455 glibcxx_cv_func__float_round_use=no
39457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39458 ac_ext=c
39459 ac_cpp='$CPP $CPPFLAGS'
39460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
39467 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
39468 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
39469 for ac_func in _ceilf _floorf
39470 do :
39471 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39472 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39473 eval as_val=\$$as_ac_var
39474 if test "x$as_val" = x""yes; then :
39475 cat >>confdefs.h <<_ACEOF
39476 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39477 _ACEOF
39480 done
39490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
39491 $as_echo_n "checking for expf declaration... " >&6; }
39492 if test x${glibcxx_cv_func_expf_use+set} != xset; then
39493 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
39494 $as_echo_n "(cached) " >&6
39495 else
39498 ac_ext=cpp
39499 ac_cpp='$CXXCPP $CPPFLAGS'
39500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39505 /* end confdefs.h. */
39506 #include <math.h>
39507 #ifdef HAVE_IEEEFP_H
39508 #include <ieeefp.h>
39509 #endif
39512 main ()
39514 expf(0);
39516 return 0;
39518 _ACEOF
39519 if ac_fn_cxx_try_compile "$LINENO"; then :
39520 glibcxx_cv_func_expf_use=yes
39521 else
39522 glibcxx_cv_func_expf_use=no
39524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39525 ac_ext=c
39526 ac_cpp='$CPP $CPPFLAGS'
39527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
39536 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
39538 if test x$glibcxx_cv_func_expf_use = x"yes"; then
39539 for ac_func in expf
39540 do :
39541 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
39542 if test "x$ac_cv_func_expf" = x""yes; then :
39543 cat >>confdefs.h <<_ACEOF
39544 #define HAVE_EXPF 1
39545 _ACEOF
39548 done
39550 else
39552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
39553 $as_echo_n "checking for _expf declaration... " >&6; }
39554 if test x${glibcxx_cv_func__expf_use+set} != xset; then
39555 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
39556 $as_echo_n "(cached) " >&6
39557 else
39560 ac_ext=cpp
39561 ac_cpp='$CXXCPP $CPPFLAGS'
39562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39567 /* end confdefs.h. */
39568 #include <math.h>
39569 #ifdef HAVE_IEEEFP_H
39570 #include <ieeefp.h>
39571 #endif
39574 main ()
39576 _expf(0);
39578 return 0;
39580 _ACEOF
39581 if ac_fn_cxx_try_compile "$LINENO"; then :
39582 glibcxx_cv_func__expf_use=yes
39583 else
39584 glibcxx_cv_func__expf_use=no
39586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39587 ac_ext=c
39588 ac_cpp='$CPP $CPPFLAGS'
39589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
39598 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
39600 if test x$glibcxx_cv_func__expf_use = x"yes"; then
39601 for ac_func in _expf
39602 do :
39603 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
39604 if test "x$ac_cv_func__expf" = x""yes; then :
39605 cat >>confdefs.h <<_ACEOF
39606 #define HAVE__EXPF 1
39607 _ACEOF
39610 done
39619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
39620 $as_echo_n "checking for isnanf declaration... " >&6; }
39621 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
39622 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
39623 $as_echo_n "(cached) " >&6
39624 else
39627 ac_ext=cpp
39628 ac_cpp='$CXXCPP $CPPFLAGS'
39629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39634 /* end confdefs.h. */
39635 #include <math.h>
39636 #ifdef HAVE_IEEEFP_H
39637 #include <ieeefp.h>
39638 #endif
39641 main ()
39643 isnanf(0);
39645 return 0;
39647 _ACEOF
39648 if ac_fn_cxx_try_compile "$LINENO"; then :
39649 glibcxx_cv_func_isnanf_use=yes
39650 else
39651 glibcxx_cv_func_isnanf_use=no
39653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39654 ac_ext=c
39655 ac_cpp='$CPP $CPPFLAGS'
39656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
39665 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
39667 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
39668 for ac_func in isnanf
39669 do :
39670 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
39671 if test "x$ac_cv_func_isnanf" = x""yes; then :
39672 cat >>confdefs.h <<_ACEOF
39673 #define HAVE_ISNANF 1
39674 _ACEOF
39677 done
39679 else
39681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
39682 $as_echo_n "checking for _isnanf declaration... " >&6; }
39683 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
39684 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
39685 $as_echo_n "(cached) " >&6
39686 else
39689 ac_ext=cpp
39690 ac_cpp='$CXXCPP $CPPFLAGS'
39691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39696 /* end confdefs.h. */
39697 #include <math.h>
39698 #ifdef HAVE_IEEEFP_H
39699 #include <ieeefp.h>
39700 #endif
39703 main ()
39705 _isnanf(0);
39707 return 0;
39709 _ACEOF
39710 if ac_fn_cxx_try_compile "$LINENO"; then :
39711 glibcxx_cv_func__isnanf_use=yes
39712 else
39713 glibcxx_cv_func__isnanf_use=no
39715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39716 ac_ext=c
39717 ac_cpp='$CPP $CPPFLAGS'
39718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
39727 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
39729 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
39730 for ac_func in _isnanf
39731 do :
39732 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
39733 if test "x$ac_cv_func__isnanf" = x""yes; then :
39734 cat >>confdefs.h <<_ACEOF
39735 #define HAVE__ISNANF 1
39736 _ACEOF
39739 done
39748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
39749 $as_echo_n "checking for isinff declaration... " >&6; }
39750 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
39751 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
39752 $as_echo_n "(cached) " >&6
39753 else
39756 ac_ext=cpp
39757 ac_cpp='$CXXCPP $CPPFLAGS'
39758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39763 /* end confdefs.h. */
39764 #include <math.h>
39765 #ifdef HAVE_IEEEFP_H
39766 #include <ieeefp.h>
39767 #endif
39770 main ()
39772 isinff(0);
39774 return 0;
39776 _ACEOF
39777 if ac_fn_cxx_try_compile "$LINENO"; then :
39778 glibcxx_cv_func_isinff_use=yes
39779 else
39780 glibcxx_cv_func_isinff_use=no
39782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39783 ac_ext=c
39784 ac_cpp='$CPP $CPPFLAGS'
39785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
39794 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
39796 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
39797 for ac_func in isinff
39798 do :
39799 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
39800 if test "x$ac_cv_func_isinff" = x""yes; then :
39801 cat >>confdefs.h <<_ACEOF
39802 #define HAVE_ISINFF 1
39803 _ACEOF
39806 done
39808 else
39810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
39811 $as_echo_n "checking for _isinff declaration... " >&6; }
39812 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
39813 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
39814 $as_echo_n "(cached) " >&6
39815 else
39818 ac_ext=cpp
39819 ac_cpp='$CXXCPP $CPPFLAGS'
39820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39825 /* end confdefs.h. */
39826 #include <math.h>
39827 #ifdef HAVE_IEEEFP_H
39828 #include <ieeefp.h>
39829 #endif
39832 main ()
39834 _isinff(0);
39836 return 0;
39838 _ACEOF
39839 if ac_fn_cxx_try_compile "$LINENO"; then :
39840 glibcxx_cv_func__isinff_use=yes
39841 else
39842 glibcxx_cv_func__isinff_use=no
39844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39845 ac_ext=c
39846 ac_cpp='$CPP $CPPFLAGS'
39847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
39856 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
39858 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
39859 for ac_func in _isinff
39860 do :
39861 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
39862 if test "x$ac_cv_func__isinff" = x""yes; then :
39863 cat >>confdefs.h <<_ACEOF
39864 #define HAVE__ISINFF 1
39865 _ACEOF
39868 done
39877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
39878 $as_echo_n "checking for atan2f declaration... " >&6; }
39879 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
39880 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
39881 $as_echo_n "(cached) " >&6
39882 else
39885 ac_ext=cpp
39886 ac_cpp='$CXXCPP $CPPFLAGS'
39887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39892 /* end confdefs.h. */
39893 #include <math.h>
39895 main ()
39897 atan2f(0, 0);
39899 return 0;
39901 _ACEOF
39902 if ac_fn_cxx_try_compile "$LINENO"; then :
39903 glibcxx_cv_func_atan2f_use=yes
39904 else
39905 glibcxx_cv_func_atan2f_use=no
39907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39908 ac_ext=c
39909 ac_cpp='$CPP $CPPFLAGS'
39910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
39919 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
39921 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
39922 for ac_func in atan2f
39923 do :
39924 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
39925 if test "x$ac_cv_func_atan2f" = x""yes; then :
39926 cat >>confdefs.h <<_ACEOF
39927 #define HAVE_ATAN2F 1
39928 _ACEOF
39931 done
39933 else
39935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
39936 $as_echo_n "checking for _atan2f declaration... " >&6; }
39937 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
39938 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
39939 $as_echo_n "(cached) " >&6
39940 else
39943 ac_ext=cpp
39944 ac_cpp='$CXXCPP $CPPFLAGS'
39945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39950 /* end confdefs.h. */
39951 #include <math.h>
39953 main ()
39955 _atan2f(0, 0);
39957 return 0;
39959 _ACEOF
39960 if ac_fn_cxx_try_compile "$LINENO"; then :
39961 glibcxx_cv_func__atan2f_use=yes
39962 else
39963 glibcxx_cv_func__atan2f_use=no
39965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39966 ac_ext=c
39967 ac_cpp='$CPP $CPPFLAGS'
39968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
39977 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
39979 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
39980 for ac_func in _atan2f
39981 do :
39982 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
39983 if test "x$ac_cv_func__atan2f" = x""yes; then :
39984 cat >>confdefs.h <<_ACEOF
39985 #define HAVE__ATAN2F 1
39986 _ACEOF
39989 done
39998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
39999 $as_echo_n "checking for fabsf declaration... " >&6; }
40000 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
40001 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
40002 $as_echo_n "(cached) " >&6
40003 else
40006 ac_ext=cpp
40007 ac_cpp='$CXXCPP $CPPFLAGS'
40008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40013 /* end confdefs.h. */
40014 #include <math.h>
40015 #ifdef HAVE_IEEEFP_H
40016 #include <ieeefp.h>
40017 #endif
40020 main ()
40022 fabsf(0);
40024 return 0;
40026 _ACEOF
40027 if ac_fn_cxx_try_compile "$LINENO"; then :
40028 glibcxx_cv_func_fabsf_use=yes
40029 else
40030 glibcxx_cv_func_fabsf_use=no
40032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40033 ac_ext=c
40034 ac_cpp='$CPP $CPPFLAGS'
40035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40044 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40046 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40047 for ac_func in fabsf
40048 do :
40049 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40050 if test "x$ac_cv_func_fabsf" = x""yes; then :
40051 cat >>confdefs.h <<_ACEOF
40052 #define HAVE_FABSF 1
40053 _ACEOF
40056 done
40058 else
40060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40061 $as_echo_n "checking for _fabsf declaration... " >&6; }
40062 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40063 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40064 $as_echo_n "(cached) " >&6
40065 else
40068 ac_ext=cpp
40069 ac_cpp='$CXXCPP $CPPFLAGS'
40070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40075 /* end confdefs.h. */
40076 #include <math.h>
40077 #ifdef HAVE_IEEEFP_H
40078 #include <ieeefp.h>
40079 #endif
40082 main ()
40084 _fabsf(0);
40086 return 0;
40088 _ACEOF
40089 if ac_fn_cxx_try_compile "$LINENO"; then :
40090 glibcxx_cv_func__fabsf_use=yes
40091 else
40092 glibcxx_cv_func__fabsf_use=no
40094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40095 ac_ext=c
40096 ac_cpp='$CPP $CPPFLAGS'
40097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40106 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40108 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40109 for ac_func in _fabsf
40110 do :
40111 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40112 if test "x$ac_cv_func__fabsf" = x""yes; then :
40113 cat >>confdefs.h <<_ACEOF
40114 #define HAVE__FABSF 1
40115 _ACEOF
40118 done
40127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40128 $as_echo_n "checking for fmodf declaration... " >&6; }
40129 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40130 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40131 $as_echo_n "(cached) " >&6
40132 else
40135 ac_ext=cpp
40136 ac_cpp='$CXXCPP $CPPFLAGS'
40137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40142 /* end confdefs.h. */
40143 #include <math.h>
40145 main ()
40147 fmodf(0, 0);
40149 return 0;
40151 _ACEOF
40152 if ac_fn_cxx_try_compile "$LINENO"; then :
40153 glibcxx_cv_func_fmodf_use=yes
40154 else
40155 glibcxx_cv_func_fmodf_use=no
40157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40158 ac_ext=c
40159 ac_cpp='$CPP $CPPFLAGS'
40160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
40169 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40171 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40172 for ac_func in fmodf
40173 do :
40174 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40175 if test "x$ac_cv_func_fmodf" = x""yes; then :
40176 cat >>confdefs.h <<_ACEOF
40177 #define HAVE_FMODF 1
40178 _ACEOF
40181 done
40183 else
40185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
40186 $as_echo_n "checking for _fmodf declaration... " >&6; }
40187 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
40188 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
40189 $as_echo_n "(cached) " >&6
40190 else
40193 ac_ext=cpp
40194 ac_cpp='$CXXCPP $CPPFLAGS'
40195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40200 /* end confdefs.h. */
40201 #include <math.h>
40203 main ()
40205 _fmodf(0, 0);
40207 return 0;
40209 _ACEOF
40210 if ac_fn_cxx_try_compile "$LINENO"; then :
40211 glibcxx_cv_func__fmodf_use=yes
40212 else
40213 glibcxx_cv_func__fmodf_use=no
40215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40216 ac_ext=c
40217 ac_cpp='$CPP $CPPFLAGS'
40218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
40227 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
40229 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
40230 for ac_func in _fmodf
40231 do :
40232 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
40233 if test "x$ac_cv_func__fmodf" = x""yes; then :
40234 cat >>confdefs.h <<_ACEOF
40235 #define HAVE__FMODF 1
40236 _ACEOF
40239 done
40248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
40249 $as_echo_n "checking for frexpf declaration... " >&6; }
40250 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
40251 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
40252 $as_echo_n "(cached) " >&6
40253 else
40256 ac_ext=cpp
40257 ac_cpp='$CXXCPP $CPPFLAGS'
40258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40263 /* end confdefs.h. */
40264 #include <math.h>
40266 main ()
40268 frexpf(0, 0);
40270 return 0;
40272 _ACEOF
40273 if ac_fn_cxx_try_compile "$LINENO"; then :
40274 glibcxx_cv_func_frexpf_use=yes
40275 else
40276 glibcxx_cv_func_frexpf_use=no
40278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40279 ac_ext=c
40280 ac_cpp='$CPP $CPPFLAGS'
40281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
40290 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
40292 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
40293 for ac_func in frexpf
40294 do :
40295 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
40296 if test "x$ac_cv_func_frexpf" = x""yes; then :
40297 cat >>confdefs.h <<_ACEOF
40298 #define HAVE_FREXPF 1
40299 _ACEOF
40302 done
40304 else
40306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
40307 $as_echo_n "checking for _frexpf declaration... " >&6; }
40308 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
40309 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
40310 $as_echo_n "(cached) " >&6
40311 else
40314 ac_ext=cpp
40315 ac_cpp='$CXXCPP $CPPFLAGS'
40316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40321 /* end confdefs.h. */
40322 #include <math.h>
40324 main ()
40326 _frexpf(0, 0);
40328 return 0;
40330 _ACEOF
40331 if ac_fn_cxx_try_compile "$LINENO"; then :
40332 glibcxx_cv_func__frexpf_use=yes
40333 else
40334 glibcxx_cv_func__frexpf_use=no
40336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40337 ac_ext=c
40338 ac_cpp='$CPP $CPPFLAGS'
40339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
40348 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
40350 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
40351 for ac_func in _frexpf
40352 do :
40353 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
40354 if test "x$ac_cv_func__frexpf" = x""yes; then :
40355 cat >>confdefs.h <<_ACEOF
40356 #define HAVE__FREXPF 1
40357 _ACEOF
40360 done
40369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
40370 $as_echo_n "checking for hypotf declaration... " >&6; }
40371 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
40372 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
40373 $as_echo_n "(cached) " >&6
40374 else
40377 ac_ext=cpp
40378 ac_cpp='$CXXCPP $CPPFLAGS'
40379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40384 /* end confdefs.h. */
40385 #include <math.h>
40387 main ()
40389 hypotf(0, 0);
40391 return 0;
40393 _ACEOF
40394 if ac_fn_cxx_try_compile "$LINENO"; then :
40395 glibcxx_cv_func_hypotf_use=yes
40396 else
40397 glibcxx_cv_func_hypotf_use=no
40399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40400 ac_ext=c
40401 ac_cpp='$CPP $CPPFLAGS'
40402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
40411 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
40413 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
40414 for ac_func in hypotf
40415 do :
40416 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
40417 if test "x$ac_cv_func_hypotf" = x""yes; then :
40418 cat >>confdefs.h <<_ACEOF
40419 #define HAVE_HYPOTF 1
40420 _ACEOF
40423 done
40425 else
40427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
40428 $as_echo_n "checking for _hypotf declaration... " >&6; }
40429 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
40430 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
40431 $as_echo_n "(cached) " >&6
40432 else
40435 ac_ext=cpp
40436 ac_cpp='$CXXCPP $CPPFLAGS'
40437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40442 /* end confdefs.h. */
40443 #include <math.h>
40445 main ()
40447 _hypotf(0, 0);
40449 return 0;
40451 _ACEOF
40452 if ac_fn_cxx_try_compile "$LINENO"; then :
40453 glibcxx_cv_func__hypotf_use=yes
40454 else
40455 glibcxx_cv_func__hypotf_use=no
40457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40458 ac_ext=c
40459 ac_cpp='$CPP $CPPFLAGS'
40460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
40469 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
40471 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
40472 for ac_func in _hypotf
40473 do :
40474 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
40475 if test "x$ac_cv_func__hypotf" = x""yes; then :
40476 cat >>confdefs.h <<_ACEOF
40477 #define HAVE__HYPOTF 1
40478 _ACEOF
40481 done
40490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
40491 $as_echo_n "checking for ldexpf declaration... " >&6; }
40492 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
40493 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
40494 $as_echo_n "(cached) " >&6
40495 else
40498 ac_ext=cpp
40499 ac_cpp='$CXXCPP $CPPFLAGS'
40500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40505 /* end confdefs.h. */
40506 #include <math.h>
40508 main ()
40510 ldexpf(0, 0);
40512 return 0;
40514 _ACEOF
40515 if ac_fn_cxx_try_compile "$LINENO"; then :
40516 glibcxx_cv_func_ldexpf_use=yes
40517 else
40518 glibcxx_cv_func_ldexpf_use=no
40520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40521 ac_ext=c
40522 ac_cpp='$CPP $CPPFLAGS'
40523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
40532 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
40534 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
40535 for ac_func in ldexpf
40536 do :
40537 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
40538 if test "x$ac_cv_func_ldexpf" = x""yes; then :
40539 cat >>confdefs.h <<_ACEOF
40540 #define HAVE_LDEXPF 1
40541 _ACEOF
40544 done
40546 else
40548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
40549 $as_echo_n "checking for _ldexpf declaration... " >&6; }
40550 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
40551 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
40552 $as_echo_n "(cached) " >&6
40553 else
40556 ac_ext=cpp
40557 ac_cpp='$CXXCPP $CPPFLAGS'
40558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40563 /* end confdefs.h. */
40564 #include <math.h>
40566 main ()
40568 _ldexpf(0, 0);
40570 return 0;
40572 _ACEOF
40573 if ac_fn_cxx_try_compile "$LINENO"; then :
40574 glibcxx_cv_func__ldexpf_use=yes
40575 else
40576 glibcxx_cv_func__ldexpf_use=no
40578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40579 ac_ext=c
40580 ac_cpp='$CPP $CPPFLAGS'
40581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
40590 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
40592 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
40593 for ac_func in _ldexpf
40594 do :
40595 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
40596 if test "x$ac_cv_func__ldexpf" = x""yes; then :
40597 cat >>confdefs.h <<_ACEOF
40598 #define HAVE__LDEXPF 1
40599 _ACEOF
40602 done
40611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
40612 $as_echo_n "checking for logf declaration... " >&6; }
40613 if test x${glibcxx_cv_func_logf_use+set} != xset; then
40614 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
40615 $as_echo_n "(cached) " >&6
40616 else
40619 ac_ext=cpp
40620 ac_cpp='$CXXCPP $CPPFLAGS'
40621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40626 /* end confdefs.h. */
40627 #include <math.h>
40628 #ifdef HAVE_IEEEFP_H
40629 #include <ieeefp.h>
40630 #endif
40633 main ()
40635 logf(0);
40637 return 0;
40639 _ACEOF
40640 if ac_fn_cxx_try_compile "$LINENO"; then :
40641 glibcxx_cv_func_logf_use=yes
40642 else
40643 glibcxx_cv_func_logf_use=no
40645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40646 ac_ext=c
40647 ac_cpp='$CPP $CPPFLAGS'
40648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
40657 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
40659 if test x$glibcxx_cv_func_logf_use = x"yes"; then
40660 for ac_func in logf
40661 do :
40662 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
40663 if test "x$ac_cv_func_logf" = x""yes; then :
40664 cat >>confdefs.h <<_ACEOF
40665 #define HAVE_LOGF 1
40666 _ACEOF
40669 done
40671 else
40673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
40674 $as_echo_n "checking for _logf declaration... " >&6; }
40675 if test x${glibcxx_cv_func__logf_use+set} != xset; then
40676 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
40677 $as_echo_n "(cached) " >&6
40678 else
40681 ac_ext=cpp
40682 ac_cpp='$CXXCPP $CPPFLAGS'
40683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40688 /* end confdefs.h. */
40689 #include <math.h>
40690 #ifdef HAVE_IEEEFP_H
40691 #include <ieeefp.h>
40692 #endif
40695 main ()
40697 _logf(0);
40699 return 0;
40701 _ACEOF
40702 if ac_fn_cxx_try_compile "$LINENO"; then :
40703 glibcxx_cv_func__logf_use=yes
40704 else
40705 glibcxx_cv_func__logf_use=no
40707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40708 ac_ext=c
40709 ac_cpp='$CPP $CPPFLAGS'
40710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
40719 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
40721 if test x$glibcxx_cv_func__logf_use = x"yes"; then
40722 for ac_func in _logf
40723 do :
40724 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
40725 if test "x$ac_cv_func__logf" = x""yes; then :
40726 cat >>confdefs.h <<_ACEOF
40727 #define HAVE__LOGF 1
40728 _ACEOF
40731 done
40740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
40741 $as_echo_n "checking for log10f declaration... " >&6; }
40742 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
40743 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
40744 $as_echo_n "(cached) " >&6
40745 else
40748 ac_ext=cpp
40749 ac_cpp='$CXXCPP $CPPFLAGS'
40750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40755 /* end confdefs.h. */
40756 #include <math.h>
40757 #ifdef HAVE_IEEEFP_H
40758 #include <ieeefp.h>
40759 #endif
40762 main ()
40764 log10f(0);
40766 return 0;
40768 _ACEOF
40769 if ac_fn_cxx_try_compile "$LINENO"; then :
40770 glibcxx_cv_func_log10f_use=yes
40771 else
40772 glibcxx_cv_func_log10f_use=no
40774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40775 ac_ext=c
40776 ac_cpp='$CPP $CPPFLAGS'
40777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
40786 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
40788 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
40789 for ac_func in log10f
40790 do :
40791 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
40792 if test "x$ac_cv_func_log10f" = x""yes; then :
40793 cat >>confdefs.h <<_ACEOF
40794 #define HAVE_LOG10F 1
40795 _ACEOF
40798 done
40800 else
40802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
40803 $as_echo_n "checking for _log10f declaration... " >&6; }
40804 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
40805 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
40806 $as_echo_n "(cached) " >&6
40807 else
40810 ac_ext=cpp
40811 ac_cpp='$CXXCPP $CPPFLAGS'
40812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40817 /* end confdefs.h. */
40818 #include <math.h>
40819 #ifdef HAVE_IEEEFP_H
40820 #include <ieeefp.h>
40821 #endif
40824 main ()
40826 _log10f(0);
40828 return 0;
40830 _ACEOF
40831 if ac_fn_cxx_try_compile "$LINENO"; then :
40832 glibcxx_cv_func__log10f_use=yes
40833 else
40834 glibcxx_cv_func__log10f_use=no
40836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40837 ac_ext=c
40838 ac_cpp='$CPP $CPPFLAGS'
40839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
40848 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
40850 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
40851 for ac_func in _log10f
40852 do :
40853 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
40854 if test "x$ac_cv_func__log10f" = x""yes; then :
40855 cat >>confdefs.h <<_ACEOF
40856 #define HAVE__LOG10F 1
40857 _ACEOF
40860 done
40869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
40870 $as_echo_n "checking for modff declaration... " >&6; }
40871 if test x${glibcxx_cv_func_modff_use+set} != xset; then
40872 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
40873 $as_echo_n "(cached) " >&6
40874 else
40877 ac_ext=cpp
40878 ac_cpp='$CXXCPP $CPPFLAGS'
40879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40884 /* end confdefs.h. */
40885 #include <math.h>
40887 main ()
40889 modff(0, 0);
40891 return 0;
40893 _ACEOF
40894 if ac_fn_cxx_try_compile "$LINENO"; then :
40895 glibcxx_cv_func_modff_use=yes
40896 else
40897 glibcxx_cv_func_modff_use=no
40899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40900 ac_ext=c
40901 ac_cpp='$CPP $CPPFLAGS'
40902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
40911 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
40913 if test x$glibcxx_cv_func_modff_use = x"yes"; then
40914 for ac_func in modff
40915 do :
40916 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
40917 if test "x$ac_cv_func_modff" = x""yes; then :
40918 cat >>confdefs.h <<_ACEOF
40919 #define HAVE_MODFF 1
40920 _ACEOF
40923 done
40925 else
40927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
40928 $as_echo_n "checking for _modff declaration... " >&6; }
40929 if test x${glibcxx_cv_func__modff_use+set} != xset; then
40930 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
40931 $as_echo_n "(cached) " >&6
40932 else
40935 ac_ext=cpp
40936 ac_cpp='$CXXCPP $CPPFLAGS'
40937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40942 /* end confdefs.h. */
40943 #include <math.h>
40945 main ()
40947 _modff(0, 0);
40949 return 0;
40951 _ACEOF
40952 if ac_fn_cxx_try_compile "$LINENO"; then :
40953 glibcxx_cv_func__modff_use=yes
40954 else
40955 glibcxx_cv_func__modff_use=no
40957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40958 ac_ext=c
40959 ac_cpp='$CPP $CPPFLAGS'
40960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
40969 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
40971 if test x$glibcxx_cv_func__modff_use = x"yes"; then
40972 for ac_func in _modff
40973 do :
40974 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
40975 if test "x$ac_cv_func__modff" = x""yes; then :
40976 cat >>confdefs.h <<_ACEOF
40977 #define HAVE__MODFF 1
40978 _ACEOF
40981 done
40990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
40991 $as_echo_n "checking for modf declaration... " >&6; }
40992 if test x${glibcxx_cv_func_modf_use+set} != xset; then
40993 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
40994 $as_echo_n "(cached) " >&6
40995 else
40998 ac_ext=cpp
40999 ac_cpp='$CXXCPP $CPPFLAGS'
41000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41005 /* end confdefs.h. */
41006 #include <math.h>
41008 main ()
41010 modf(0, 0);
41012 return 0;
41014 _ACEOF
41015 if ac_fn_cxx_try_compile "$LINENO"; then :
41016 glibcxx_cv_func_modf_use=yes
41017 else
41018 glibcxx_cv_func_modf_use=no
41020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41021 ac_ext=c
41022 ac_cpp='$CPP $CPPFLAGS'
41023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41032 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41034 if test x$glibcxx_cv_func_modf_use = x"yes"; then
41035 for ac_func in modf
41036 do :
41037 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41038 if test "x$ac_cv_func_modf" = x""yes; then :
41039 cat >>confdefs.h <<_ACEOF
41040 #define HAVE_MODF 1
41041 _ACEOF
41044 done
41046 else
41048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41049 $as_echo_n "checking for _modf declaration... " >&6; }
41050 if test x${glibcxx_cv_func__modf_use+set} != xset; then
41051 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41052 $as_echo_n "(cached) " >&6
41053 else
41056 ac_ext=cpp
41057 ac_cpp='$CXXCPP $CPPFLAGS'
41058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41063 /* end confdefs.h. */
41064 #include <math.h>
41066 main ()
41068 _modf(0, 0);
41070 return 0;
41072 _ACEOF
41073 if ac_fn_cxx_try_compile "$LINENO"; then :
41074 glibcxx_cv_func__modf_use=yes
41075 else
41076 glibcxx_cv_func__modf_use=no
41078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41079 ac_ext=c
41080 ac_cpp='$CPP $CPPFLAGS'
41081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41090 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41092 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41093 for ac_func in _modf
41094 do :
41095 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41096 if test "x$ac_cv_func__modf" = x""yes; then :
41097 cat >>confdefs.h <<_ACEOF
41098 #define HAVE__MODF 1
41099 _ACEOF
41102 done
41111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41112 $as_echo_n "checking for powf declaration... " >&6; }
41113 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41114 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41115 $as_echo_n "(cached) " >&6
41116 else
41119 ac_ext=cpp
41120 ac_cpp='$CXXCPP $CPPFLAGS'
41121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41126 /* end confdefs.h. */
41127 #include <math.h>
41129 main ()
41131 powf(0, 0);
41133 return 0;
41135 _ACEOF
41136 if ac_fn_cxx_try_compile "$LINENO"; then :
41137 glibcxx_cv_func_powf_use=yes
41138 else
41139 glibcxx_cv_func_powf_use=no
41141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41142 ac_ext=c
41143 ac_cpp='$CPP $CPPFLAGS'
41144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41153 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41155 if test x$glibcxx_cv_func_powf_use = x"yes"; then
41156 for ac_func in powf
41157 do :
41158 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41159 if test "x$ac_cv_func_powf" = x""yes; then :
41160 cat >>confdefs.h <<_ACEOF
41161 #define HAVE_POWF 1
41162 _ACEOF
41165 done
41167 else
41169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41170 $as_echo_n "checking for _powf declaration... " >&6; }
41171 if test x${glibcxx_cv_func__powf_use+set} != xset; then
41172 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41173 $as_echo_n "(cached) " >&6
41174 else
41177 ac_ext=cpp
41178 ac_cpp='$CXXCPP $CPPFLAGS'
41179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41184 /* end confdefs.h. */
41185 #include <math.h>
41187 main ()
41189 _powf(0, 0);
41191 return 0;
41193 _ACEOF
41194 if ac_fn_cxx_try_compile "$LINENO"; then :
41195 glibcxx_cv_func__powf_use=yes
41196 else
41197 glibcxx_cv_func__powf_use=no
41199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41200 ac_ext=c
41201 ac_cpp='$CPP $CPPFLAGS'
41202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
41211 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
41213 if test x$glibcxx_cv_func__powf_use = x"yes"; then
41214 for ac_func in _powf
41215 do :
41216 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
41217 if test "x$ac_cv_func__powf" = x""yes; then :
41218 cat >>confdefs.h <<_ACEOF
41219 #define HAVE__POWF 1
41220 _ACEOF
41223 done
41232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
41233 $as_echo_n "checking for sqrtf declaration... " >&6; }
41234 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41235 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
41236 $as_echo_n "(cached) " >&6
41237 else
41240 ac_ext=cpp
41241 ac_cpp='$CXXCPP $CPPFLAGS'
41242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41247 /* end confdefs.h. */
41248 #include <math.h>
41249 #ifdef HAVE_IEEEFP_H
41250 #include <ieeefp.h>
41251 #endif
41254 main ()
41256 sqrtf(0);
41258 return 0;
41260 _ACEOF
41261 if ac_fn_cxx_try_compile "$LINENO"; then :
41262 glibcxx_cv_func_sqrtf_use=yes
41263 else
41264 glibcxx_cv_func_sqrtf_use=no
41266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41267 ac_ext=c
41268 ac_cpp='$CPP $CPPFLAGS'
41269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
41278 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
41280 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41281 for ac_func in sqrtf
41282 do :
41283 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
41284 if test "x$ac_cv_func_sqrtf" = x""yes; then :
41285 cat >>confdefs.h <<_ACEOF
41286 #define HAVE_SQRTF 1
41287 _ACEOF
41290 done
41292 else
41294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
41295 $as_echo_n "checking for _sqrtf declaration... " >&6; }
41296 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41297 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
41298 $as_echo_n "(cached) " >&6
41299 else
41302 ac_ext=cpp
41303 ac_cpp='$CXXCPP $CPPFLAGS'
41304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41309 /* end confdefs.h. */
41310 #include <math.h>
41311 #ifdef HAVE_IEEEFP_H
41312 #include <ieeefp.h>
41313 #endif
41316 main ()
41318 _sqrtf(0);
41320 return 0;
41322 _ACEOF
41323 if ac_fn_cxx_try_compile "$LINENO"; then :
41324 glibcxx_cv_func__sqrtf_use=yes
41325 else
41326 glibcxx_cv_func__sqrtf_use=no
41328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41329 ac_ext=c
41330 ac_cpp='$CPP $CPPFLAGS'
41331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
41340 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
41342 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41343 for ac_func in _sqrtf
41344 do :
41345 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
41346 if test "x$ac_cv_func__sqrtf" = x""yes; then :
41347 cat >>confdefs.h <<_ACEOF
41348 #define HAVE__SQRTF 1
41349 _ACEOF
41352 done
41361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
41362 $as_echo_n "checking for sincosf declaration... " >&6; }
41363 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
41364 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
41365 $as_echo_n "(cached) " >&6
41366 else
41369 ac_ext=cpp
41370 ac_cpp='$CXXCPP $CPPFLAGS'
41371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41376 /* end confdefs.h. */
41377 #include <math.h>
41379 main ()
41381 sincosf(0, 0, 0);
41383 return 0;
41385 _ACEOF
41386 if ac_fn_cxx_try_compile "$LINENO"; then :
41387 glibcxx_cv_func_sincosf_use=yes
41388 else
41389 glibcxx_cv_func_sincosf_use=no
41391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41392 ac_ext=c
41393 ac_cpp='$CPP $CPPFLAGS'
41394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
41403 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
41405 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
41406 for ac_func in sincosf
41407 do :
41408 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
41409 if test "x$ac_cv_func_sincosf" = x""yes; then :
41410 cat >>confdefs.h <<_ACEOF
41411 #define HAVE_SINCOSF 1
41412 _ACEOF
41415 done
41417 else
41419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
41420 $as_echo_n "checking for _sincosf declaration... " >&6; }
41421 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
41422 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
41423 $as_echo_n "(cached) " >&6
41424 else
41427 ac_ext=cpp
41428 ac_cpp='$CXXCPP $CPPFLAGS'
41429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41434 /* end confdefs.h. */
41435 #include <math.h>
41437 main ()
41439 _sincosf(0, 0, 0);
41441 return 0;
41443 _ACEOF
41444 if ac_fn_cxx_try_compile "$LINENO"; then :
41445 glibcxx_cv_func__sincosf_use=yes
41446 else
41447 glibcxx_cv_func__sincosf_use=no
41449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41450 ac_ext=c
41451 ac_cpp='$CPP $CPPFLAGS'
41452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
41461 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
41463 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
41464 for ac_func in _sincosf
41465 do :
41466 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
41467 if test "x$ac_cv_func__sincosf" = x""yes; then :
41468 cat >>confdefs.h <<_ACEOF
41469 #define HAVE__SINCOSF 1
41470 _ACEOF
41473 done
41482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
41483 $as_echo_n "checking for finitef declaration... " >&6; }
41484 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
41485 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
41486 $as_echo_n "(cached) " >&6
41487 else
41490 ac_ext=cpp
41491 ac_cpp='$CXXCPP $CPPFLAGS'
41492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41497 /* end confdefs.h. */
41498 #include <math.h>
41499 #ifdef HAVE_IEEEFP_H
41500 #include <ieeefp.h>
41501 #endif
41504 main ()
41506 finitef(0);
41508 return 0;
41510 _ACEOF
41511 if ac_fn_cxx_try_compile "$LINENO"; then :
41512 glibcxx_cv_func_finitef_use=yes
41513 else
41514 glibcxx_cv_func_finitef_use=no
41516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41517 ac_ext=c
41518 ac_cpp='$CPP $CPPFLAGS'
41519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
41528 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
41530 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
41531 for ac_func in finitef
41532 do :
41533 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
41534 if test "x$ac_cv_func_finitef" = x""yes; then :
41535 cat >>confdefs.h <<_ACEOF
41536 #define HAVE_FINITEF 1
41537 _ACEOF
41540 done
41542 else
41544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
41545 $as_echo_n "checking for _finitef declaration... " >&6; }
41546 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
41547 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
41548 $as_echo_n "(cached) " >&6
41549 else
41552 ac_ext=cpp
41553 ac_cpp='$CXXCPP $CPPFLAGS'
41554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41559 /* end confdefs.h. */
41560 #include <math.h>
41561 #ifdef HAVE_IEEEFP_H
41562 #include <ieeefp.h>
41563 #endif
41566 main ()
41568 _finitef(0);
41570 return 0;
41572 _ACEOF
41573 if ac_fn_cxx_try_compile "$LINENO"; then :
41574 glibcxx_cv_func__finitef_use=yes
41575 else
41576 glibcxx_cv_func__finitef_use=no
41578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41579 ac_ext=c
41580 ac_cpp='$CPP $CPPFLAGS'
41581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
41590 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
41592 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
41593 for ac_func in _finitef
41594 do :
41595 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
41596 if test "x$ac_cv_func__finitef" = x""yes; then :
41597 cat >>confdefs.h <<_ACEOF
41598 #define HAVE__FINITEF 1
41599 _ACEOF
41602 done
41611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
41612 $as_echo_n "checking for long double trig functions... " >&6; }
41613 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
41614 $as_echo_n "(cached) " >&6
41615 else
41618 ac_ext=cpp
41619 ac_cpp='$CXXCPP $CPPFLAGS'
41620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41625 /* end confdefs.h. */
41626 #include <math.h>
41628 main ()
41630 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
41632 return 0;
41634 _ACEOF
41635 if ac_fn_cxx_try_compile "$LINENO"; then :
41636 glibcxx_cv_func_long_double_trig_use=yes
41637 else
41638 glibcxx_cv_func_long_double_trig_use=no
41640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41641 ac_ext=c
41642 ac_cpp='$CPP $CPPFLAGS'
41643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
41650 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
41651 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
41652 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
41653 do :
41654 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41655 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41656 eval as_val=\$$as_ac_var
41657 if test "x$as_val" = x""yes; then :
41658 cat >>confdefs.h <<_ACEOF
41659 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41660 _ACEOF
41663 done
41665 else
41666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
41667 $as_echo_n "checking for _long double trig functions... " >&6; }
41668 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
41669 $as_echo_n "(cached) " >&6
41670 else
41673 ac_ext=cpp
41674 ac_cpp='$CXXCPP $CPPFLAGS'
41675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41680 /* end confdefs.h. */
41681 #include <math.h>
41683 main ()
41685 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
41687 return 0;
41689 _ACEOF
41690 if ac_fn_cxx_try_compile "$LINENO"; then :
41691 glibcxx_cv_func__long_double_trig_use=yes
41692 else
41693 glibcxx_cv_func__long_double_trig_use=no
41695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41696 ac_ext=c
41697 ac_cpp='$CPP $CPPFLAGS'
41698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
41705 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
41706 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
41707 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
41708 do :
41709 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41710 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41711 eval as_val=\$$as_ac_var
41712 if test "x$as_val" = x""yes; then :
41713 cat >>confdefs.h <<_ACEOF
41714 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41715 _ACEOF
41718 done
41727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
41728 $as_echo_n "checking for long double round functions... " >&6; }
41729 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
41730 $as_echo_n "(cached) " >&6
41731 else
41734 ac_ext=cpp
41735 ac_cpp='$CXXCPP $CPPFLAGS'
41736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41741 /* end confdefs.h. */
41742 #include <math.h>
41744 main ()
41746 ceill (0); floorl (0);
41748 return 0;
41750 _ACEOF
41751 if ac_fn_cxx_try_compile "$LINENO"; then :
41752 glibcxx_cv_func_long_double_round_use=yes
41753 else
41754 glibcxx_cv_func_long_double_round_use=no
41756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41757 ac_ext=c
41758 ac_cpp='$CPP $CPPFLAGS'
41759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
41766 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
41767 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41768 for ac_func in ceill floorl
41769 do :
41770 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41771 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41772 eval as_val=\$$as_ac_var
41773 if test "x$as_val" = x""yes; then :
41774 cat >>confdefs.h <<_ACEOF
41775 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41776 _ACEOF
41779 done
41781 else
41782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
41783 $as_echo_n "checking for _long double round functions... " >&6; }
41784 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
41785 $as_echo_n "(cached) " >&6
41786 else
41789 ac_ext=cpp
41790 ac_cpp='$CXXCPP $CPPFLAGS'
41791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41796 /* end confdefs.h. */
41797 #include <math.h>
41799 main ()
41801 _ceill (0); _floorl (0);
41803 return 0;
41805 _ACEOF
41806 if ac_fn_cxx_try_compile "$LINENO"; then :
41807 glibcxx_cv_func__long_double_round_use=yes
41808 else
41809 glibcxx_cv_func__long_double_round_use=no
41811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41812 ac_ext=c
41813 ac_cpp='$CPP $CPPFLAGS'
41814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
41821 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
41822 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
41823 for ac_func in _ceill _floorl
41824 do :
41825 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41826 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41827 eval as_val=\$$as_ac_var
41828 if test "x$as_val" = x""yes; then :
41829 cat >>confdefs.h <<_ACEOF
41830 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41831 _ACEOF
41834 done
41844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
41845 $as_echo_n "checking for isnanl declaration... " >&6; }
41846 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
41847 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
41848 $as_echo_n "(cached) " >&6
41849 else
41852 ac_ext=cpp
41853 ac_cpp='$CXXCPP $CPPFLAGS'
41854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41859 /* end confdefs.h. */
41860 #include <math.h>
41861 #ifdef HAVE_IEEEFP_H
41862 #include <ieeefp.h>
41863 #endif
41866 main ()
41868 isnanl(0);
41870 return 0;
41872 _ACEOF
41873 if ac_fn_cxx_try_compile "$LINENO"; then :
41874 glibcxx_cv_func_isnanl_use=yes
41875 else
41876 glibcxx_cv_func_isnanl_use=no
41878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41879 ac_ext=c
41880 ac_cpp='$CPP $CPPFLAGS'
41881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
41890 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
41892 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
41893 for ac_func in isnanl
41894 do :
41895 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
41896 if test "x$ac_cv_func_isnanl" = x""yes; then :
41897 cat >>confdefs.h <<_ACEOF
41898 #define HAVE_ISNANL 1
41899 _ACEOF
41902 done
41904 else
41906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
41907 $as_echo_n "checking for _isnanl declaration... " >&6; }
41908 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
41909 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
41910 $as_echo_n "(cached) " >&6
41911 else
41914 ac_ext=cpp
41915 ac_cpp='$CXXCPP $CPPFLAGS'
41916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41921 /* end confdefs.h. */
41922 #include <math.h>
41923 #ifdef HAVE_IEEEFP_H
41924 #include <ieeefp.h>
41925 #endif
41928 main ()
41930 _isnanl(0);
41932 return 0;
41934 _ACEOF
41935 if ac_fn_cxx_try_compile "$LINENO"; then :
41936 glibcxx_cv_func__isnanl_use=yes
41937 else
41938 glibcxx_cv_func__isnanl_use=no
41940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41941 ac_ext=c
41942 ac_cpp='$CPP $CPPFLAGS'
41943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
41952 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
41954 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
41955 for ac_func in _isnanl
41956 do :
41957 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
41958 if test "x$ac_cv_func__isnanl" = x""yes; then :
41959 cat >>confdefs.h <<_ACEOF
41960 #define HAVE__ISNANL 1
41961 _ACEOF
41964 done
41973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
41974 $as_echo_n "checking for isinfl declaration... " >&6; }
41975 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
41976 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
41977 $as_echo_n "(cached) " >&6
41978 else
41981 ac_ext=cpp
41982 ac_cpp='$CXXCPP $CPPFLAGS'
41983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41988 /* end confdefs.h. */
41989 #include <math.h>
41990 #ifdef HAVE_IEEEFP_H
41991 #include <ieeefp.h>
41992 #endif
41995 main ()
41997 isinfl(0);
41999 return 0;
42001 _ACEOF
42002 if ac_fn_cxx_try_compile "$LINENO"; then :
42003 glibcxx_cv_func_isinfl_use=yes
42004 else
42005 glibcxx_cv_func_isinfl_use=no
42007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42008 ac_ext=c
42009 ac_cpp='$CPP $CPPFLAGS'
42010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
42019 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
42021 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42022 for ac_func in isinfl
42023 do :
42024 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
42025 if test "x$ac_cv_func_isinfl" = x""yes; then :
42026 cat >>confdefs.h <<_ACEOF
42027 #define HAVE_ISINFL 1
42028 _ACEOF
42031 done
42033 else
42035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42036 $as_echo_n "checking for _isinfl declaration... " >&6; }
42037 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42038 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42039 $as_echo_n "(cached) " >&6
42040 else
42043 ac_ext=cpp
42044 ac_cpp='$CXXCPP $CPPFLAGS'
42045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42050 /* end confdefs.h. */
42051 #include <math.h>
42052 #ifdef HAVE_IEEEFP_H
42053 #include <ieeefp.h>
42054 #endif
42057 main ()
42059 _isinfl(0);
42061 return 0;
42063 _ACEOF
42064 if ac_fn_cxx_try_compile "$LINENO"; then :
42065 glibcxx_cv_func__isinfl_use=yes
42066 else
42067 glibcxx_cv_func__isinfl_use=no
42069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42070 ac_ext=c
42071 ac_cpp='$CPP $CPPFLAGS'
42072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42081 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42083 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42084 for ac_func in _isinfl
42085 do :
42086 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42087 if test "x$ac_cv_func__isinfl" = x""yes; then :
42088 cat >>confdefs.h <<_ACEOF
42089 #define HAVE__ISINFL 1
42090 _ACEOF
42093 done
42102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42103 $as_echo_n "checking for atan2l declaration... " >&6; }
42104 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42105 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42106 $as_echo_n "(cached) " >&6
42107 else
42110 ac_ext=cpp
42111 ac_cpp='$CXXCPP $CPPFLAGS'
42112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42117 /* end confdefs.h. */
42118 #include <math.h>
42120 main ()
42122 atan2l(0, 0);
42124 return 0;
42126 _ACEOF
42127 if ac_fn_cxx_try_compile "$LINENO"; then :
42128 glibcxx_cv_func_atan2l_use=yes
42129 else
42130 glibcxx_cv_func_atan2l_use=no
42132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42133 ac_ext=c
42134 ac_cpp='$CPP $CPPFLAGS'
42135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42144 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42146 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42147 for ac_func in atan2l
42148 do :
42149 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42150 if test "x$ac_cv_func_atan2l" = x""yes; then :
42151 cat >>confdefs.h <<_ACEOF
42152 #define HAVE_ATAN2L 1
42153 _ACEOF
42156 done
42158 else
42160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42161 $as_echo_n "checking for _atan2l declaration... " >&6; }
42162 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42163 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42164 $as_echo_n "(cached) " >&6
42165 else
42168 ac_ext=cpp
42169 ac_cpp='$CXXCPP $CPPFLAGS'
42170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42175 /* end confdefs.h. */
42176 #include <math.h>
42178 main ()
42180 _atan2l(0, 0);
42182 return 0;
42184 _ACEOF
42185 if ac_fn_cxx_try_compile "$LINENO"; then :
42186 glibcxx_cv_func__atan2l_use=yes
42187 else
42188 glibcxx_cv_func__atan2l_use=no
42190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42191 ac_ext=c
42192 ac_cpp='$CPP $CPPFLAGS'
42193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
42202 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
42204 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42205 for ac_func in _atan2l
42206 do :
42207 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
42208 if test "x$ac_cv_func__atan2l" = x""yes; then :
42209 cat >>confdefs.h <<_ACEOF
42210 #define HAVE__ATAN2L 1
42211 _ACEOF
42214 done
42223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
42224 $as_echo_n "checking for expl declaration... " >&6; }
42225 if test x${glibcxx_cv_func_expl_use+set} != xset; then
42226 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
42227 $as_echo_n "(cached) " >&6
42228 else
42231 ac_ext=cpp
42232 ac_cpp='$CXXCPP $CPPFLAGS'
42233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42238 /* end confdefs.h. */
42239 #include <math.h>
42240 #ifdef HAVE_IEEEFP_H
42241 #include <ieeefp.h>
42242 #endif
42245 main ()
42247 expl(0);
42249 return 0;
42251 _ACEOF
42252 if ac_fn_cxx_try_compile "$LINENO"; then :
42253 glibcxx_cv_func_expl_use=yes
42254 else
42255 glibcxx_cv_func_expl_use=no
42257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42258 ac_ext=c
42259 ac_cpp='$CPP $CPPFLAGS'
42260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
42269 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
42271 if test x$glibcxx_cv_func_expl_use = x"yes"; then
42272 for ac_func in expl
42273 do :
42274 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
42275 if test "x$ac_cv_func_expl" = x""yes; then :
42276 cat >>confdefs.h <<_ACEOF
42277 #define HAVE_EXPL 1
42278 _ACEOF
42281 done
42283 else
42285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
42286 $as_echo_n "checking for _expl declaration... " >&6; }
42287 if test x${glibcxx_cv_func__expl_use+set} != xset; then
42288 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
42289 $as_echo_n "(cached) " >&6
42290 else
42293 ac_ext=cpp
42294 ac_cpp='$CXXCPP $CPPFLAGS'
42295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42300 /* end confdefs.h. */
42301 #include <math.h>
42302 #ifdef HAVE_IEEEFP_H
42303 #include <ieeefp.h>
42304 #endif
42307 main ()
42309 _expl(0);
42311 return 0;
42313 _ACEOF
42314 if ac_fn_cxx_try_compile "$LINENO"; then :
42315 glibcxx_cv_func__expl_use=yes
42316 else
42317 glibcxx_cv_func__expl_use=no
42319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42320 ac_ext=c
42321 ac_cpp='$CPP $CPPFLAGS'
42322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
42331 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
42333 if test x$glibcxx_cv_func__expl_use = x"yes"; then
42334 for ac_func in _expl
42335 do :
42336 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
42337 if test "x$ac_cv_func__expl" = x""yes; then :
42338 cat >>confdefs.h <<_ACEOF
42339 #define HAVE__EXPL 1
42340 _ACEOF
42343 done
42352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
42353 $as_echo_n "checking for fabsl declaration... " >&6; }
42354 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
42355 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
42356 $as_echo_n "(cached) " >&6
42357 else
42360 ac_ext=cpp
42361 ac_cpp='$CXXCPP $CPPFLAGS'
42362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42367 /* end confdefs.h. */
42368 #include <math.h>
42369 #ifdef HAVE_IEEEFP_H
42370 #include <ieeefp.h>
42371 #endif
42374 main ()
42376 fabsl(0);
42378 return 0;
42380 _ACEOF
42381 if ac_fn_cxx_try_compile "$LINENO"; then :
42382 glibcxx_cv_func_fabsl_use=yes
42383 else
42384 glibcxx_cv_func_fabsl_use=no
42386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42387 ac_ext=c
42388 ac_cpp='$CPP $CPPFLAGS'
42389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
42398 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
42400 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
42401 for ac_func in fabsl
42402 do :
42403 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
42404 if test "x$ac_cv_func_fabsl" = x""yes; then :
42405 cat >>confdefs.h <<_ACEOF
42406 #define HAVE_FABSL 1
42407 _ACEOF
42410 done
42412 else
42414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
42415 $as_echo_n "checking for _fabsl declaration... " >&6; }
42416 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
42417 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
42418 $as_echo_n "(cached) " >&6
42419 else
42422 ac_ext=cpp
42423 ac_cpp='$CXXCPP $CPPFLAGS'
42424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42429 /* end confdefs.h. */
42430 #include <math.h>
42431 #ifdef HAVE_IEEEFP_H
42432 #include <ieeefp.h>
42433 #endif
42436 main ()
42438 _fabsl(0);
42440 return 0;
42442 _ACEOF
42443 if ac_fn_cxx_try_compile "$LINENO"; then :
42444 glibcxx_cv_func__fabsl_use=yes
42445 else
42446 glibcxx_cv_func__fabsl_use=no
42448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42449 ac_ext=c
42450 ac_cpp='$CPP $CPPFLAGS'
42451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
42460 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
42462 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
42463 for ac_func in _fabsl
42464 do :
42465 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
42466 if test "x$ac_cv_func__fabsl" = x""yes; then :
42467 cat >>confdefs.h <<_ACEOF
42468 #define HAVE__FABSL 1
42469 _ACEOF
42472 done
42481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
42482 $as_echo_n "checking for fmodl declaration... " >&6; }
42483 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
42484 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
42485 $as_echo_n "(cached) " >&6
42486 else
42489 ac_ext=cpp
42490 ac_cpp='$CXXCPP $CPPFLAGS'
42491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42496 /* end confdefs.h. */
42497 #include <math.h>
42499 main ()
42501 fmodl(0, 0);
42503 return 0;
42505 _ACEOF
42506 if ac_fn_cxx_try_compile "$LINENO"; then :
42507 glibcxx_cv_func_fmodl_use=yes
42508 else
42509 glibcxx_cv_func_fmodl_use=no
42511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42512 ac_ext=c
42513 ac_cpp='$CPP $CPPFLAGS'
42514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
42523 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
42525 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
42526 for ac_func in fmodl
42527 do :
42528 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
42529 if test "x$ac_cv_func_fmodl" = x""yes; then :
42530 cat >>confdefs.h <<_ACEOF
42531 #define HAVE_FMODL 1
42532 _ACEOF
42535 done
42537 else
42539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
42540 $as_echo_n "checking for _fmodl declaration... " >&6; }
42541 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
42542 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
42543 $as_echo_n "(cached) " >&6
42544 else
42547 ac_ext=cpp
42548 ac_cpp='$CXXCPP $CPPFLAGS'
42549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42554 /* end confdefs.h. */
42555 #include <math.h>
42557 main ()
42559 _fmodl(0, 0);
42561 return 0;
42563 _ACEOF
42564 if ac_fn_cxx_try_compile "$LINENO"; then :
42565 glibcxx_cv_func__fmodl_use=yes
42566 else
42567 glibcxx_cv_func__fmodl_use=no
42569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42570 ac_ext=c
42571 ac_cpp='$CPP $CPPFLAGS'
42572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
42581 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
42583 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
42584 for ac_func in _fmodl
42585 do :
42586 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
42587 if test "x$ac_cv_func__fmodl" = x""yes; then :
42588 cat >>confdefs.h <<_ACEOF
42589 #define HAVE__FMODL 1
42590 _ACEOF
42593 done
42602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
42603 $as_echo_n "checking for frexpl declaration... " >&6; }
42604 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
42605 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
42606 $as_echo_n "(cached) " >&6
42607 else
42610 ac_ext=cpp
42611 ac_cpp='$CXXCPP $CPPFLAGS'
42612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42617 /* end confdefs.h. */
42618 #include <math.h>
42620 main ()
42622 frexpl(0, 0);
42624 return 0;
42626 _ACEOF
42627 if ac_fn_cxx_try_compile "$LINENO"; then :
42628 glibcxx_cv_func_frexpl_use=yes
42629 else
42630 glibcxx_cv_func_frexpl_use=no
42632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42633 ac_ext=c
42634 ac_cpp='$CPP $CPPFLAGS'
42635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
42644 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
42646 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
42647 for ac_func in frexpl
42648 do :
42649 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
42650 if test "x$ac_cv_func_frexpl" = x""yes; then :
42651 cat >>confdefs.h <<_ACEOF
42652 #define HAVE_FREXPL 1
42653 _ACEOF
42656 done
42658 else
42660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
42661 $as_echo_n "checking for _frexpl declaration... " >&6; }
42662 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
42663 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
42664 $as_echo_n "(cached) " >&6
42665 else
42668 ac_ext=cpp
42669 ac_cpp='$CXXCPP $CPPFLAGS'
42670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42675 /* end confdefs.h. */
42676 #include <math.h>
42678 main ()
42680 _frexpl(0, 0);
42682 return 0;
42684 _ACEOF
42685 if ac_fn_cxx_try_compile "$LINENO"; then :
42686 glibcxx_cv_func__frexpl_use=yes
42687 else
42688 glibcxx_cv_func__frexpl_use=no
42690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42691 ac_ext=c
42692 ac_cpp='$CPP $CPPFLAGS'
42693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
42702 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
42704 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
42705 for ac_func in _frexpl
42706 do :
42707 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
42708 if test "x$ac_cv_func__frexpl" = x""yes; then :
42709 cat >>confdefs.h <<_ACEOF
42710 #define HAVE__FREXPL 1
42711 _ACEOF
42714 done
42723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
42724 $as_echo_n "checking for hypotl declaration... " >&6; }
42725 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
42726 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
42727 $as_echo_n "(cached) " >&6
42728 else
42731 ac_ext=cpp
42732 ac_cpp='$CXXCPP $CPPFLAGS'
42733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42738 /* end confdefs.h. */
42739 #include <math.h>
42741 main ()
42743 hypotl(0, 0);
42745 return 0;
42747 _ACEOF
42748 if ac_fn_cxx_try_compile "$LINENO"; then :
42749 glibcxx_cv_func_hypotl_use=yes
42750 else
42751 glibcxx_cv_func_hypotl_use=no
42753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42754 ac_ext=c
42755 ac_cpp='$CPP $CPPFLAGS'
42756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
42765 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
42767 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
42768 for ac_func in hypotl
42769 do :
42770 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
42771 if test "x$ac_cv_func_hypotl" = x""yes; then :
42772 cat >>confdefs.h <<_ACEOF
42773 #define HAVE_HYPOTL 1
42774 _ACEOF
42777 done
42779 else
42781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
42782 $as_echo_n "checking for _hypotl declaration... " >&6; }
42783 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
42784 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
42785 $as_echo_n "(cached) " >&6
42786 else
42789 ac_ext=cpp
42790 ac_cpp='$CXXCPP $CPPFLAGS'
42791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42796 /* end confdefs.h. */
42797 #include <math.h>
42799 main ()
42801 _hypotl(0, 0);
42803 return 0;
42805 _ACEOF
42806 if ac_fn_cxx_try_compile "$LINENO"; then :
42807 glibcxx_cv_func__hypotl_use=yes
42808 else
42809 glibcxx_cv_func__hypotl_use=no
42811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42812 ac_ext=c
42813 ac_cpp='$CPP $CPPFLAGS'
42814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
42823 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
42825 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
42826 for ac_func in _hypotl
42827 do :
42828 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
42829 if test "x$ac_cv_func__hypotl" = x""yes; then :
42830 cat >>confdefs.h <<_ACEOF
42831 #define HAVE__HYPOTL 1
42832 _ACEOF
42835 done
42844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
42845 $as_echo_n "checking for ldexpl declaration... " >&6; }
42846 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
42847 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
42848 $as_echo_n "(cached) " >&6
42849 else
42852 ac_ext=cpp
42853 ac_cpp='$CXXCPP $CPPFLAGS'
42854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42859 /* end confdefs.h. */
42860 #include <math.h>
42862 main ()
42864 ldexpl(0, 0);
42866 return 0;
42868 _ACEOF
42869 if ac_fn_cxx_try_compile "$LINENO"; then :
42870 glibcxx_cv_func_ldexpl_use=yes
42871 else
42872 glibcxx_cv_func_ldexpl_use=no
42874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42875 ac_ext=c
42876 ac_cpp='$CPP $CPPFLAGS'
42877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
42886 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
42888 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
42889 for ac_func in ldexpl
42890 do :
42891 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
42892 if test "x$ac_cv_func_ldexpl" = x""yes; then :
42893 cat >>confdefs.h <<_ACEOF
42894 #define HAVE_LDEXPL 1
42895 _ACEOF
42898 done
42900 else
42902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
42903 $as_echo_n "checking for _ldexpl declaration... " >&6; }
42904 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
42905 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
42906 $as_echo_n "(cached) " >&6
42907 else
42910 ac_ext=cpp
42911 ac_cpp='$CXXCPP $CPPFLAGS'
42912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42917 /* end confdefs.h. */
42918 #include <math.h>
42920 main ()
42922 _ldexpl(0, 0);
42924 return 0;
42926 _ACEOF
42927 if ac_fn_cxx_try_compile "$LINENO"; then :
42928 glibcxx_cv_func__ldexpl_use=yes
42929 else
42930 glibcxx_cv_func__ldexpl_use=no
42932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42933 ac_ext=c
42934 ac_cpp='$CPP $CPPFLAGS'
42935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
42944 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
42946 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
42947 for ac_func in _ldexpl
42948 do :
42949 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
42950 if test "x$ac_cv_func__ldexpl" = x""yes; then :
42951 cat >>confdefs.h <<_ACEOF
42952 #define HAVE__LDEXPL 1
42953 _ACEOF
42956 done
42965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
42966 $as_echo_n "checking for logl declaration... " >&6; }
42967 if test x${glibcxx_cv_func_logl_use+set} != xset; then
42968 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
42969 $as_echo_n "(cached) " >&6
42970 else
42973 ac_ext=cpp
42974 ac_cpp='$CXXCPP $CPPFLAGS'
42975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42980 /* end confdefs.h. */
42981 #include <math.h>
42982 #ifdef HAVE_IEEEFP_H
42983 #include <ieeefp.h>
42984 #endif
42987 main ()
42989 logl(0);
42991 return 0;
42993 _ACEOF
42994 if ac_fn_cxx_try_compile "$LINENO"; then :
42995 glibcxx_cv_func_logl_use=yes
42996 else
42997 glibcxx_cv_func_logl_use=no
42999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43000 ac_ext=c
43001 ac_cpp='$CPP $CPPFLAGS'
43002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
43011 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
43013 if test x$glibcxx_cv_func_logl_use = x"yes"; then
43014 for ac_func in logl
43015 do :
43016 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
43017 if test "x$ac_cv_func_logl" = x""yes; then :
43018 cat >>confdefs.h <<_ACEOF
43019 #define HAVE_LOGL 1
43020 _ACEOF
43023 done
43025 else
43027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
43028 $as_echo_n "checking for _logl declaration... " >&6; }
43029 if test x${glibcxx_cv_func__logl_use+set} != xset; then
43030 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43031 $as_echo_n "(cached) " >&6
43032 else
43035 ac_ext=cpp
43036 ac_cpp='$CXXCPP $CPPFLAGS'
43037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43042 /* end confdefs.h. */
43043 #include <math.h>
43044 #ifdef HAVE_IEEEFP_H
43045 #include <ieeefp.h>
43046 #endif
43049 main ()
43051 _logl(0);
43053 return 0;
43055 _ACEOF
43056 if ac_fn_cxx_try_compile "$LINENO"; then :
43057 glibcxx_cv_func__logl_use=yes
43058 else
43059 glibcxx_cv_func__logl_use=no
43061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43062 ac_ext=c
43063 ac_cpp='$CPP $CPPFLAGS'
43064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43073 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43075 if test x$glibcxx_cv_func__logl_use = x"yes"; then
43076 for ac_func in _logl
43077 do :
43078 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43079 if test "x$ac_cv_func__logl" = x""yes; then :
43080 cat >>confdefs.h <<_ACEOF
43081 #define HAVE__LOGL 1
43082 _ACEOF
43085 done
43094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43095 $as_echo_n "checking for log10l declaration... " >&6; }
43096 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43097 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43098 $as_echo_n "(cached) " >&6
43099 else
43102 ac_ext=cpp
43103 ac_cpp='$CXXCPP $CPPFLAGS'
43104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43109 /* end confdefs.h. */
43110 #include <math.h>
43111 #ifdef HAVE_IEEEFP_H
43112 #include <ieeefp.h>
43113 #endif
43116 main ()
43118 log10l(0);
43120 return 0;
43122 _ACEOF
43123 if ac_fn_cxx_try_compile "$LINENO"; then :
43124 glibcxx_cv_func_log10l_use=yes
43125 else
43126 glibcxx_cv_func_log10l_use=no
43128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43129 ac_ext=c
43130 ac_cpp='$CPP $CPPFLAGS'
43131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
43140 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43142 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43143 for ac_func in log10l
43144 do :
43145 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43146 if test "x$ac_cv_func_log10l" = x""yes; then :
43147 cat >>confdefs.h <<_ACEOF
43148 #define HAVE_LOG10L 1
43149 _ACEOF
43152 done
43154 else
43156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43157 $as_echo_n "checking for _log10l declaration... " >&6; }
43158 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43159 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43160 $as_echo_n "(cached) " >&6
43161 else
43164 ac_ext=cpp
43165 ac_cpp='$CXXCPP $CPPFLAGS'
43166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43171 /* end confdefs.h. */
43172 #include <math.h>
43173 #ifdef HAVE_IEEEFP_H
43174 #include <ieeefp.h>
43175 #endif
43178 main ()
43180 _log10l(0);
43182 return 0;
43184 _ACEOF
43185 if ac_fn_cxx_try_compile "$LINENO"; then :
43186 glibcxx_cv_func__log10l_use=yes
43187 else
43188 glibcxx_cv_func__log10l_use=no
43190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43191 ac_ext=c
43192 ac_cpp='$CPP $CPPFLAGS'
43193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
43202 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
43204 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
43205 for ac_func in _log10l
43206 do :
43207 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
43208 if test "x$ac_cv_func__log10l" = x""yes; then :
43209 cat >>confdefs.h <<_ACEOF
43210 #define HAVE__LOG10L 1
43211 _ACEOF
43214 done
43223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
43224 $as_echo_n "checking for modfl declaration... " >&6; }
43225 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
43226 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
43227 $as_echo_n "(cached) " >&6
43228 else
43231 ac_ext=cpp
43232 ac_cpp='$CXXCPP $CPPFLAGS'
43233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43238 /* end confdefs.h. */
43239 #include <math.h>
43241 main ()
43243 modfl(0, 0);
43245 return 0;
43247 _ACEOF
43248 if ac_fn_cxx_try_compile "$LINENO"; then :
43249 glibcxx_cv_func_modfl_use=yes
43250 else
43251 glibcxx_cv_func_modfl_use=no
43253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43254 ac_ext=c
43255 ac_cpp='$CPP $CPPFLAGS'
43256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
43265 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
43267 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
43268 for ac_func in modfl
43269 do :
43270 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
43271 if test "x$ac_cv_func_modfl" = x""yes; then :
43272 cat >>confdefs.h <<_ACEOF
43273 #define HAVE_MODFL 1
43274 _ACEOF
43277 done
43279 else
43281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
43282 $as_echo_n "checking for _modfl declaration... " >&6; }
43283 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
43284 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
43285 $as_echo_n "(cached) " >&6
43286 else
43289 ac_ext=cpp
43290 ac_cpp='$CXXCPP $CPPFLAGS'
43291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43296 /* end confdefs.h. */
43297 #include <math.h>
43299 main ()
43301 _modfl(0, 0);
43303 return 0;
43305 _ACEOF
43306 if ac_fn_cxx_try_compile "$LINENO"; then :
43307 glibcxx_cv_func__modfl_use=yes
43308 else
43309 glibcxx_cv_func__modfl_use=no
43311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43312 ac_ext=c
43313 ac_cpp='$CPP $CPPFLAGS'
43314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
43323 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
43325 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
43326 for ac_func in _modfl
43327 do :
43328 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
43329 if test "x$ac_cv_func__modfl" = x""yes; then :
43330 cat >>confdefs.h <<_ACEOF
43331 #define HAVE__MODFL 1
43332 _ACEOF
43335 done
43344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
43345 $as_echo_n "checking for powl declaration... " >&6; }
43346 if test x${glibcxx_cv_func_powl_use+set} != xset; then
43347 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
43348 $as_echo_n "(cached) " >&6
43349 else
43352 ac_ext=cpp
43353 ac_cpp='$CXXCPP $CPPFLAGS'
43354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43359 /* end confdefs.h. */
43360 #include <math.h>
43362 main ()
43364 powl(0, 0);
43366 return 0;
43368 _ACEOF
43369 if ac_fn_cxx_try_compile "$LINENO"; then :
43370 glibcxx_cv_func_powl_use=yes
43371 else
43372 glibcxx_cv_func_powl_use=no
43374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43375 ac_ext=c
43376 ac_cpp='$CPP $CPPFLAGS'
43377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
43386 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
43388 if test x$glibcxx_cv_func_powl_use = x"yes"; then
43389 for ac_func in powl
43390 do :
43391 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
43392 if test "x$ac_cv_func_powl" = x""yes; then :
43393 cat >>confdefs.h <<_ACEOF
43394 #define HAVE_POWL 1
43395 _ACEOF
43398 done
43400 else
43402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
43403 $as_echo_n "checking for _powl declaration... " >&6; }
43404 if test x${glibcxx_cv_func__powl_use+set} != xset; then
43405 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
43406 $as_echo_n "(cached) " >&6
43407 else
43410 ac_ext=cpp
43411 ac_cpp='$CXXCPP $CPPFLAGS'
43412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43417 /* end confdefs.h. */
43418 #include <math.h>
43420 main ()
43422 _powl(0, 0);
43424 return 0;
43426 _ACEOF
43427 if ac_fn_cxx_try_compile "$LINENO"; then :
43428 glibcxx_cv_func__powl_use=yes
43429 else
43430 glibcxx_cv_func__powl_use=no
43432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43433 ac_ext=c
43434 ac_cpp='$CPP $CPPFLAGS'
43435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
43444 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
43446 if test x$glibcxx_cv_func__powl_use = x"yes"; then
43447 for ac_func in _powl
43448 do :
43449 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
43450 if test "x$ac_cv_func__powl" = x""yes; then :
43451 cat >>confdefs.h <<_ACEOF
43452 #define HAVE__POWL 1
43453 _ACEOF
43456 done
43465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
43466 $as_echo_n "checking for sqrtl declaration... " >&6; }
43467 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
43468 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
43469 $as_echo_n "(cached) " >&6
43470 else
43473 ac_ext=cpp
43474 ac_cpp='$CXXCPP $CPPFLAGS'
43475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43480 /* end confdefs.h. */
43481 #include <math.h>
43482 #ifdef HAVE_IEEEFP_H
43483 #include <ieeefp.h>
43484 #endif
43487 main ()
43489 sqrtl(0);
43491 return 0;
43493 _ACEOF
43494 if ac_fn_cxx_try_compile "$LINENO"; then :
43495 glibcxx_cv_func_sqrtl_use=yes
43496 else
43497 glibcxx_cv_func_sqrtl_use=no
43499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43500 ac_ext=c
43501 ac_cpp='$CPP $CPPFLAGS'
43502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
43511 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
43513 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
43514 for ac_func in sqrtl
43515 do :
43516 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
43517 if test "x$ac_cv_func_sqrtl" = x""yes; then :
43518 cat >>confdefs.h <<_ACEOF
43519 #define HAVE_SQRTL 1
43520 _ACEOF
43523 done
43525 else
43527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
43528 $as_echo_n "checking for _sqrtl declaration... " >&6; }
43529 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
43530 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
43531 $as_echo_n "(cached) " >&6
43532 else
43535 ac_ext=cpp
43536 ac_cpp='$CXXCPP $CPPFLAGS'
43537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43542 /* end confdefs.h. */
43543 #include <math.h>
43544 #ifdef HAVE_IEEEFP_H
43545 #include <ieeefp.h>
43546 #endif
43549 main ()
43551 _sqrtl(0);
43553 return 0;
43555 _ACEOF
43556 if ac_fn_cxx_try_compile "$LINENO"; then :
43557 glibcxx_cv_func__sqrtl_use=yes
43558 else
43559 glibcxx_cv_func__sqrtl_use=no
43561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43562 ac_ext=c
43563 ac_cpp='$CPP $CPPFLAGS'
43564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
43573 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
43575 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
43576 for ac_func in _sqrtl
43577 do :
43578 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
43579 if test "x$ac_cv_func__sqrtl" = x""yes; then :
43580 cat >>confdefs.h <<_ACEOF
43581 #define HAVE__SQRTL 1
43582 _ACEOF
43585 done
43594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
43595 $as_echo_n "checking for sincosl declaration... " >&6; }
43596 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
43597 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
43598 $as_echo_n "(cached) " >&6
43599 else
43602 ac_ext=cpp
43603 ac_cpp='$CXXCPP $CPPFLAGS'
43604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43609 /* end confdefs.h. */
43610 #include <math.h>
43612 main ()
43614 sincosl(0, 0, 0);
43616 return 0;
43618 _ACEOF
43619 if ac_fn_cxx_try_compile "$LINENO"; then :
43620 glibcxx_cv_func_sincosl_use=yes
43621 else
43622 glibcxx_cv_func_sincosl_use=no
43624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43625 ac_ext=c
43626 ac_cpp='$CPP $CPPFLAGS'
43627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
43636 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
43638 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
43639 for ac_func in sincosl
43640 do :
43641 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
43642 if test "x$ac_cv_func_sincosl" = x""yes; then :
43643 cat >>confdefs.h <<_ACEOF
43644 #define HAVE_SINCOSL 1
43645 _ACEOF
43648 done
43650 else
43652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
43653 $as_echo_n "checking for _sincosl declaration... " >&6; }
43654 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
43655 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
43656 $as_echo_n "(cached) " >&6
43657 else
43660 ac_ext=cpp
43661 ac_cpp='$CXXCPP $CPPFLAGS'
43662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43667 /* end confdefs.h. */
43668 #include <math.h>
43670 main ()
43672 _sincosl(0, 0, 0);
43674 return 0;
43676 _ACEOF
43677 if ac_fn_cxx_try_compile "$LINENO"; then :
43678 glibcxx_cv_func__sincosl_use=yes
43679 else
43680 glibcxx_cv_func__sincosl_use=no
43682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43683 ac_ext=c
43684 ac_cpp='$CPP $CPPFLAGS'
43685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
43694 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
43696 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
43697 for ac_func in _sincosl
43698 do :
43699 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
43700 if test "x$ac_cv_func__sincosl" = x""yes; then :
43701 cat >>confdefs.h <<_ACEOF
43702 #define HAVE__SINCOSL 1
43703 _ACEOF
43706 done
43715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
43716 $as_echo_n "checking for finitel declaration... " >&6; }
43717 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
43718 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
43719 $as_echo_n "(cached) " >&6
43720 else
43723 ac_ext=cpp
43724 ac_cpp='$CXXCPP $CPPFLAGS'
43725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43730 /* end confdefs.h. */
43731 #include <math.h>
43732 #ifdef HAVE_IEEEFP_H
43733 #include <ieeefp.h>
43734 #endif
43737 main ()
43739 finitel(0);
43741 return 0;
43743 _ACEOF
43744 if ac_fn_cxx_try_compile "$LINENO"; then :
43745 glibcxx_cv_func_finitel_use=yes
43746 else
43747 glibcxx_cv_func_finitel_use=no
43749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43750 ac_ext=c
43751 ac_cpp='$CPP $CPPFLAGS'
43752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
43761 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
43763 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
43764 for ac_func in finitel
43765 do :
43766 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
43767 if test "x$ac_cv_func_finitel" = x""yes; then :
43768 cat >>confdefs.h <<_ACEOF
43769 #define HAVE_FINITEL 1
43770 _ACEOF
43773 done
43775 else
43777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
43778 $as_echo_n "checking for _finitel declaration... " >&6; }
43779 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
43780 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
43781 $as_echo_n "(cached) " >&6
43782 else
43785 ac_ext=cpp
43786 ac_cpp='$CXXCPP $CPPFLAGS'
43787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43792 /* end confdefs.h. */
43793 #include <math.h>
43794 #ifdef HAVE_IEEEFP_H
43795 #include <ieeefp.h>
43796 #endif
43799 main ()
43801 _finitel(0);
43803 return 0;
43805 _ACEOF
43806 if ac_fn_cxx_try_compile "$LINENO"; then :
43807 glibcxx_cv_func__finitel_use=yes
43808 else
43809 glibcxx_cv_func__finitel_use=no
43811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43812 ac_ext=c
43813 ac_cpp='$CPP $CPPFLAGS'
43814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
43823 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
43825 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
43826 for ac_func in _finitel
43827 do :
43828 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
43829 if test "x$ac_cv_func__finitel" = x""yes; then :
43830 cat >>confdefs.h <<_ACEOF
43831 #define HAVE__FINITEL 1
43832 _ACEOF
43835 done
43843 LIBS="$ac_save_LIBS"
43844 CXXFLAGS="$ac_save_CXXFLAGS"
43847 ac_test_CXXFLAGS="${CXXFLAGS+set}"
43848 ac_save_CXXFLAGS="$CXXFLAGS"
43849 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
43853 $as_echo_n "checking for strtold declaration... " >&6; }
43854 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
43855 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
43856 $as_echo_n "(cached) " >&6
43857 else
43860 ac_ext=cpp
43861 ac_cpp='$CXXCPP $CPPFLAGS'
43862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43867 /* end confdefs.h. */
43868 #include <stdlib.h>
43870 main ()
43872 strtold(0, 0);
43874 return 0;
43876 _ACEOF
43877 if ac_fn_cxx_try_compile "$LINENO"; then :
43878 glibcxx_cv_func_strtold_use=yes
43879 else
43880 glibcxx_cv_func_strtold_use=no
43882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43883 ac_ext=c
43884 ac_cpp='$CPP $CPPFLAGS'
43885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
43894 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
43895 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
43896 for ac_func in strtold
43897 do :
43898 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
43899 if test "x$ac_cv_func_strtold" = x""yes; then :
43900 cat >>confdefs.h <<_ACEOF
43901 #define HAVE_STRTOLD 1
43902 _ACEOF
43905 done
43912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
43913 $as_echo_n "checking for strtof declaration... " >&6; }
43914 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
43915 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
43916 $as_echo_n "(cached) " >&6
43917 else
43920 ac_ext=cpp
43921 ac_cpp='$CXXCPP $CPPFLAGS'
43922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43927 /* end confdefs.h. */
43928 #include <stdlib.h>
43930 main ()
43932 strtof(0, 0);
43934 return 0;
43936 _ACEOF
43937 if ac_fn_cxx_try_compile "$LINENO"; then :
43938 glibcxx_cv_func_strtof_use=yes
43939 else
43940 glibcxx_cv_func_strtof_use=no
43942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43943 ac_ext=c
43944 ac_cpp='$CPP $CPPFLAGS'
43945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
43954 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
43955 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
43956 for ac_func in strtof
43957 do :
43958 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
43959 if test "x$ac_cv_func_strtof" = x""yes; then :
43960 cat >>confdefs.h <<_ACEOF
43961 #define HAVE_STRTOF 1
43962 _ACEOF
43965 done
43972 CXXFLAGS="$ac_save_CXXFLAGS"
43976 *djgpp)
43977 # GLIBCXX_CHECK_MATH_SUPPORT
43978 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
43980 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
43982 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
43984 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
43986 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
43990 *-freebsd*)
43991 SECTION_FLAGS='-ffunction-sections -fdata-sections'
43994 # If we're not using GNU ld, then there's no point in even trying these
43995 # tests. Check for that first. We should have already tested for gld
43996 # by now (in libtool), but require it now just to be safe...
43997 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
43998 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44002 # The name set by libtool depends on the version of libtool. Shame on us
44003 # for depending on an impl detail, but c'est la vie. Older versions used
44004 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44005 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44006 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44007 # set (hence we're using an older libtool), then set it.
44008 if test x${with_gnu_ld+set} != xset; then
44009 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44010 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44011 with_gnu_ld=no
44012 else
44013 with_gnu_ld=$ac_cv_prog_gnu_ld
44017 # Start by getting the version number. I think the libtool test already
44018 # does some of this, but throws away the result.
44019 glibcxx_ld_is_gold=no
44020 if test x"$with_gnu_ld" = x"yes"; then
44021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44022 $as_echo_n "checking for ld version... " >&6; }
44024 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44025 glibcxx_ld_is_gold=yes
44027 ldver=`$LD --version 2>/dev/null |
44028 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'`
44030 glibcxx_gnu_ld_version=`echo $ldver | \
44031 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44033 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44036 # Set --gc-sections.
44037 glibcxx_have_gc_sections=no
44038 if test "$glibcxx_ld_is_gold" = "yes"; then
44039 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44040 glibcxx_have_gc_sections=yes
44042 else
44043 glibcxx_gcsections_min_ld=21602
44044 if test x"$with_gnu_ld" = x"yes" &&
44045 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44046 glibcxx_have_gc_sections=yes
44049 if test "$glibcxx_have_gc_sections" = "yes"; then
44050 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44051 # NB: This flag only works reliably after 2.16.1. Configure tests
44052 # for this are difficult, so hard wire a value that should work.
44054 ac_test_CFLAGS="${CFLAGS+set}"
44055 ac_save_CFLAGS="$CFLAGS"
44056 CFLAGS='-Wl,--gc-sections'
44058 # Check for -Wl,--gc-sections
44059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44060 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44061 if test x$gcc_no_link = xyes; then
44062 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44065 /* end confdefs.h. */
44066 int one(void) { return 1; }
44067 int two(void) { return 2; }
44070 main ()
44072 two();
44074 return 0;
44076 _ACEOF
44077 if ac_fn_c_try_link "$LINENO"; then :
44078 ac_gcsections=yes
44079 else
44080 ac_gcsections=no
44082 rm -f core conftest.err conftest.$ac_objext \
44083 conftest$ac_exeext conftest.$ac_ext
44084 if test "$ac_gcsections" = "yes"; then
44085 rm -f conftest.c
44086 touch conftest.c
44087 if $CC -c conftest.c; then
44088 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44089 grep "Warning: gc-sections option ignored" > /dev/null; then
44090 ac_gcsections=no
44093 rm -f conftest.c conftest.o conftest
44095 if test "$ac_gcsections" = "yes"; then
44096 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44099 $as_echo "$ac_gcsections" >&6; }
44101 if test "$ac_test_CFLAGS" = set; then
44102 CFLAGS="$ac_save_CFLAGS"
44103 else
44104 # this is the suspicious part
44105 CFLAGS=''
44109 # Set -z,relro.
44110 # Note this is only for shared objects.
44111 ac_ld_relro=no
44112 if test x"$with_gnu_ld" = x"yes"; then
44113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44114 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44115 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44116 if test -n "$cxx_z_relo"; then
44117 OPT_LDFLAGS="-Wl,-z,relro"
44118 ac_ld_relro=yes
44120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44121 $as_echo "$ac_ld_relro" >&6; }
44124 # Set linker optimization flags.
44125 if test x"$with_gnu_ld" = x"yes"; then
44126 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44132 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44134 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44136 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44138 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44140 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44142 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44144 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44146 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44148 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44151 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44153 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44155 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44157 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44159 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44161 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44163 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44165 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44167 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44169 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44171 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44173 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44175 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44177 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44179 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44181 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
44183 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44185 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44187 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44189 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44191 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44193 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44195 if test x"long_double_math_on_this_cpu" = x"yes"; then
44196 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
44198 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
44200 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
44204 *-hpux*)
44205 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44208 # If we're not using GNU ld, then there's no point in even trying these
44209 # tests. Check for that first. We should have already tested for gld
44210 # by now (in libtool), but require it now just to be safe...
44211 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44212 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44216 # The name set by libtool depends on the version of libtool. Shame on us
44217 # for depending on an impl detail, but c'est la vie. Older versions used
44218 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44219 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44220 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44221 # set (hence we're using an older libtool), then set it.
44222 if test x${with_gnu_ld+set} != xset; then
44223 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44224 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44225 with_gnu_ld=no
44226 else
44227 with_gnu_ld=$ac_cv_prog_gnu_ld
44231 # Start by getting the version number. I think the libtool test already
44232 # does some of this, but throws away the result.
44233 glibcxx_ld_is_gold=no
44234 if test x"$with_gnu_ld" = x"yes"; then
44235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44236 $as_echo_n "checking for ld version... " >&6; }
44238 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44239 glibcxx_ld_is_gold=yes
44241 ldver=`$LD --version 2>/dev/null |
44242 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'`
44244 glibcxx_gnu_ld_version=`echo $ldver | \
44245 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44247 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44250 # Set --gc-sections.
44251 glibcxx_have_gc_sections=no
44252 if test "$glibcxx_ld_is_gold" = "yes"; then
44253 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44254 glibcxx_have_gc_sections=yes
44256 else
44257 glibcxx_gcsections_min_ld=21602
44258 if test x"$with_gnu_ld" = x"yes" &&
44259 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44260 glibcxx_have_gc_sections=yes
44263 if test "$glibcxx_have_gc_sections" = "yes"; then
44264 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44265 # NB: This flag only works reliably after 2.16.1. Configure tests
44266 # for this are difficult, so hard wire a value that should work.
44268 ac_test_CFLAGS="${CFLAGS+set}"
44269 ac_save_CFLAGS="$CFLAGS"
44270 CFLAGS='-Wl,--gc-sections'
44272 # Check for -Wl,--gc-sections
44273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44274 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44275 if test x$gcc_no_link = xyes; then
44276 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44279 /* end confdefs.h. */
44280 int one(void) { return 1; }
44281 int two(void) { return 2; }
44284 main ()
44286 two();
44288 return 0;
44290 _ACEOF
44291 if ac_fn_c_try_link "$LINENO"; then :
44292 ac_gcsections=yes
44293 else
44294 ac_gcsections=no
44296 rm -f core conftest.err conftest.$ac_objext \
44297 conftest$ac_exeext conftest.$ac_ext
44298 if test "$ac_gcsections" = "yes"; then
44299 rm -f conftest.c
44300 touch conftest.c
44301 if $CC -c conftest.c; then
44302 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44303 grep "Warning: gc-sections option ignored" > /dev/null; then
44304 ac_gcsections=no
44307 rm -f conftest.c conftest.o conftest
44309 if test "$ac_gcsections" = "yes"; then
44310 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44313 $as_echo "$ac_gcsections" >&6; }
44315 if test "$ac_test_CFLAGS" = set; then
44316 CFLAGS="$ac_save_CFLAGS"
44317 else
44318 # this is the suspicious part
44319 CFLAGS=''
44323 # Set -z,relro.
44324 # Note this is only for shared objects.
44325 ac_ld_relro=no
44326 if test x"$with_gnu_ld" = x"yes"; then
44327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44328 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44329 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44330 if test -n "$cxx_z_relo"; then
44331 OPT_LDFLAGS="-Wl,-z,relro"
44332 ac_ld_relro=yes
44334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44335 $as_echo "$ac_ld_relro" >&6; }
44338 # Set linker optimization flags.
44339 if test x"$with_gnu_ld" = x"yes"; then
44340 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44347 # GLIBCXX_CHECK_MATH_SUPPORT
44348 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44350 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44352 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44354 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44356 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44358 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44360 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44362 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44364 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44366 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44368 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44370 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44372 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44374 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44376 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44378 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44380 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44382 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44384 $as_echo "#define HAVE_MODF 1" >>confdefs.h
44386 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44388 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44391 # GLIBCXX_CHECK_STDLIB_SUPPORT
44392 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
44397 # Check whether --enable-tls was given.
44398 if test "${enable_tls+set}" = set; then :
44399 enableval=$enable_tls;
44400 case "$enableval" in
44401 yes|no) ;;
44402 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
44403 esac
44405 else
44406 enable_tls=yes
44410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
44411 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
44412 if test "${gcc_cv_have_tls+set}" = set; then :
44413 $as_echo_n "(cached) " >&6
44414 else
44416 if test "$cross_compiling" = yes; then :
44417 if test x$gcc_no_link = xyes; then
44418 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44421 /* end confdefs.h. */
44422 __thread int a; int b; int main() { return a = b; }
44423 _ACEOF
44424 if ac_fn_c_try_link "$LINENO"; then :
44425 chktls_save_LDFLAGS="$LDFLAGS"
44426 case $host in
44427 *-*-linux*)
44428 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
44430 esac
44431 chktls_save_CFLAGS="$CFLAGS"
44432 CFLAGS="-fPIC $CFLAGS"
44433 if test x$gcc_no_link = xyes; then
44434 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44437 /* end confdefs.h. */
44438 int f() { return 0; }
44439 _ACEOF
44440 if ac_fn_c_try_link "$LINENO"; then :
44441 if test x$gcc_no_link = xyes; then
44442 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44445 /* end confdefs.h. */
44446 __thread int a; int b; int f() { return a = b; }
44447 _ACEOF
44448 if ac_fn_c_try_link "$LINENO"; then :
44449 gcc_cv_have_tls=yes
44450 else
44451 gcc_cv_have_tls=no
44453 rm -f core conftest.err conftest.$ac_objext \
44454 conftest$ac_exeext conftest.$ac_ext
44455 else
44456 gcc_cv_have_tls=yes
44458 rm -f core conftest.err conftest.$ac_objext \
44459 conftest$ac_exeext conftest.$ac_ext
44460 CFLAGS="$chktls_save_CFLAGS"
44461 LDFLAGS="$chktls_save_LDFLAGS"
44462 else
44463 gcc_cv_have_tls=no
44465 rm -f core conftest.err conftest.$ac_objext \
44466 conftest$ac_exeext conftest.$ac_ext
44469 else
44470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44471 /* end confdefs.h. */
44472 __thread int a; int b; int main() { return a = b; }
44473 _ACEOF
44474 if ac_fn_c_try_run "$LINENO"; then :
44475 chktls_save_LDFLAGS="$LDFLAGS"
44476 LDFLAGS="-static $LDFLAGS"
44477 if test x$gcc_no_link = xyes; then
44478 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44481 /* end confdefs.h. */
44482 int main() { return 0; }
44483 _ACEOF
44484 if ac_fn_c_try_link "$LINENO"; then :
44485 if test "$cross_compiling" = yes; then :
44486 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44487 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44488 as_fn_error "cannot run test program while cross compiling
44489 See \`config.log' for more details." "$LINENO" 5; }
44490 else
44491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44492 /* end confdefs.h. */
44493 __thread int a; int b; int main() { return a = b; }
44494 _ACEOF
44495 if ac_fn_c_try_run "$LINENO"; then :
44496 gcc_cv_have_tls=yes
44497 else
44498 gcc_cv_have_tls=no
44500 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44501 conftest.$ac_objext conftest.beam conftest.$ac_ext
44504 else
44505 gcc_cv_have_tls=yes
44507 rm -f core conftest.err conftest.$ac_objext \
44508 conftest$ac_exeext conftest.$ac_ext
44509 LDFLAGS="$chktls_save_LDFLAGS"
44510 if test $gcc_cv_have_tls = yes; then
44511 chktls_save_CFLAGS="$CFLAGS"
44512 thread_CFLAGS=failed
44513 for flag in '' '-pthread' '-lpthread'; do
44514 CFLAGS="$flag $chktls_save_CFLAGS"
44515 if test x$gcc_no_link = xyes; then
44516 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44519 /* end confdefs.h. */
44520 #include <pthread.h>
44521 void *g(void *d) { return NULL; }
44523 main ()
44525 pthread_t t; pthread_create(&t,NULL,g,NULL);
44527 return 0;
44529 _ACEOF
44530 if ac_fn_c_try_link "$LINENO"; then :
44531 thread_CFLAGS="$flag"
44533 rm -f core conftest.err conftest.$ac_objext \
44534 conftest$ac_exeext conftest.$ac_ext
44535 if test "X$thread_CFLAGS" != Xfailed; then
44536 break
44538 done
44539 CFLAGS="$chktls_save_CFLAGS"
44540 if test "X$thread_CFLAGS" != Xfailed; then
44541 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
44542 if test "$cross_compiling" = yes; then :
44543 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44544 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44545 as_fn_error "cannot run test program while cross compiling
44546 See \`config.log' for more details." "$LINENO" 5; }
44547 else
44548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44549 /* end confdefs.h. */
44550 #include <pthread.h>
44551 __thread int a;
44552 static int *volatile a_in_other_thread;
44553 static void *
44554 thread_func (void *arg)
44556 a_in_other_thread = &a;
44557 return (void *)0;
44560 main ()
44562 pthread_t thread;
44563 void *thread_retval;
44564 int *volatile a_in_main_thread;
44565 a_in_main_thread = &a;
44566 if (pthread_create (&thread, (pthread_attr_t *)0,
44567 thread_func, (void *)0))
44568 return 0;
44569 if (pthread_join (thread, &thread_retval))
44570 return 0;
44571 return (a_in_other_thread == a_in_main_thread);
44573 return 0;
44575 _ACEOF
44576 if ac_fn_c_try_run "$LINENO"; then :
44577 gcc_cv_have_tls=yes
44578 else
44579 gcc_cv_have_tls=no
44581 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44582 conftest.$ac_objext conftest.beam conftest.$ac_ext
44585 CFLAGS="$chktls_save_CFLAGS"
44588 else
44589 gcc_cv_have_tls=no
44591 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44592 conftest.$ac_objext conftest.beam conftest.$ac_ext
44596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
44597 $as_echo "$gcc_cv_have_tls" >&6; }
44598 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
44600 $as_echo "#define HAVE_TLS 1" >>confdefs.h
44603 case "$target" in
44604 *-hpux10*)
44605 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44607 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
44609 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44611 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44613 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44616 esac
44618 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
44620 # All these tests are for C++; save the language and the compiler flags.
44621 # The CXXFLAGS thing is suspicious, but based on similar bits previously
44622 # found in GLIBCXX_CONFIGURE.
44624 ac_ext=cpp
44625 ac_cpp='$CXXCPP $CPPFLAGS'
44626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44630 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44631 ac_save_CXXFLAGS="$CXXFLAGS"
44633 # Check for maintainer-mode bits.
44634 if test x"$USE_MAINTAINER_MODE" = xno; then
44635 WERROR=''
44636 else
44637 WERROR='-Werror'
44640 # Check for -ffunction-sections -fdata-sections
44641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
44642 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
44643 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
44644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44645 /* end confdefs.h. */
44646 int foo; void bar() { };
44648 main ()
44652 return 0;
44654 _ACEOF
44655 if ac_fn_cxx_try_compile "$LINENO"; then :
44656 ac_fdsections=yes
44657 else
44658 ac_fdsections=no
44660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44661 if test "$ac_test_CXXFLAGS" = set; then
44662 CXXFLAGS="$ac_save_CXXFLAGS"
44663 else
44664 # this is the suspicious part
44665 CXXFLAGS=''
44667 if test x"$ac_fdsections" = x"yes"; then
44668 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
44671 $as_echo "$ac_fdsections" >&6; }
44673 ac_ext=c
44674 ac_cpp='$CPP $CPPFLAGS'
44675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44683 # If we're not using GNU ld, then there's no point in even trying these
44684 # tests. Check for that first. We should have already tested for gld
44685 # by now (in libtool), but require it now just to be safe...
44686 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44687 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44691 # The name set by libtool depends on the version of libtool. Shame on us
44692 # for depending on an impl detail, but c'est la vie. Older versions used
44693 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44694 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44695 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44696 # set (hence we're using an older libtool), then set it.
44697 if test x${with_gnu_ld+set} != xset; then
44698 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44699 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44700 with_gnu_ld=no
44701 else
44702 with_gnu_ld=$ac_cv_prog_gnu_ld
44706 # Start by getting the version number. I think the libtool test already
44707 # does some of this, but throws away the result.
44708 glibcxx_ld_is_gold=no
44709 if test x"$with_gnu_ld" = x"yes"; then
44710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44711 $as_echo_n "checking for ld version... " >&6; }
44713 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44714 glibcxx_ld_is_gold=yes
44716 ldver=`$LD --version 2>/dev/null |
44717 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'`
44719 glibcxx_gnu_ld_version=`echo $ldver | \
44720 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44722 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44725 # Set --gc-sections.
44726 glibcxx_have_gc_sections=no
44727 if test "$glibcxx_ld_is_gold" = "yes"; then
44728 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44729 glibcxx_have_gc_sections=yes
44731 else
44732 glibcxx_gcsections_min_ld=21602
44733 if test x"$with_gnu_ld" = x"yes" &&
44734 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44735 glibcxx_have_gc_sections=yes
44738 if test "$glibcxx_have_gc_sections" = "yes"; then
44739 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44740 # NB: This flag only works reliably after 2.16.1. Configure tests
44741 # for this are difficult, so hard wire a value that should work.
44743 ac_test_CFLAGS="${CFLAGS+set}"
44744 ac_save_CFLAGS="$CFLAGS"
44745 CFLAGS='-Wl,--gc-sections'
44747 # Check for -Wl,--gc-sections
44748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44749 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44750 if test x$gcc_no_link = xyes; then
44751 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44754 /* end confdefs.h. */
44755 int one(void) { return 1; }
44756 int two(void) { return 2; }
44759 main ()
44761 two();
44763 return 0;
44765 _ACEOF
44766 if ac_fn_c_try_link "$LINENO"; then :
44767 ac_gcsections=yes
44768 else
44769 ac_gcsections=no
44771 rm -f core conftest.err conftest.$ac_objext \
44772 conftest$ac_exeext conftest.$ac_ext
44773 if test "$ac_gcsections" = "yes"; then
44774 rm -f conftest.c
44775 touch conftest.c
44776 if $CC -c conftest.c; then
44777 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44778 grep "Warning: gc-sections option ignored" > /dev/null; then
44779 ac_gcsections=no
44782 rm -f conftest.c conftest.o conftest
44784 if test "$ac_gcsections" = "yes"; then
44785 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44788 $as_echo "$ac_gcsections" >&6; }
44790 if test "$ac_test_CFLAGS" = set; then
44791 CFLAGS="$ac_save_CFLAGS"
44792 else
44793 # this is the suspicious part
44794 CFLAGS=''
44798 # Set -z,relro.
44799 # Note this is only for shared objects.
44800 ac_ld_relro=no
44801 if test x"$with_gnu_ld" = x"yes"; then
44802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44803 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44804 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44805 if test -n "$cxx_z_relo"; then
44806 OPT_LDFLAGS="-Wl,-z,relro"
44807 ac_ld_relro=yes
44809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44810 $as_echo "$ac_ld_relro" >&6; }
44813 # Set linker optimization flags.
44814 if test x"$with_gnu_ld" = x"yes"; then
44815 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44822 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44823 ac_save_CXXFLAGS="$CXXFLAGS"
44824 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
44827 $as_echo_n "checking for sin in -lm... " >&6; }
44828 if test "${ac_cv_lib_m_sin+set}" = set; then :
44829 $as_echo_n "(cached) " >&6
44830 else
44831 ac_check_lib_save_LIBS=$LIBS
44832 LIBS="-lm $LIBS"
44833 if test x$gcc_no_link = xyes; then
44834 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44837 /* end confdefs.h. */
44839 /* Override any GCC internal prototype to avoid an error.
44840 Use char because int might match the return type of a GCC
44841 builtin and then its argument prototype would still apply. */
44842 #ifdef __cplusplus
44843 extern "C"
44844 #endif
44845 char sin ();
44847 main ()
44849 return sin ();
44851 return 0;
44853 _ACEOF
44854 if ac_fn_c_try_link "$LINENO"; then :
44855 ac_cv_lib_m_sin=yes
44856 else
44857 ac_cv_lib_m_sin=no
44859 rm -f core conftest.err conftest.$ac_objext \
44860 conftest$ac_exeext conftest.$ac_ext
44861 LIBS=$ac_check_lib_save_LIBS
44863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
44864 $as_echo "$ac_cv_lib_m_sin" >&6; }
44865 if test "x$ac_cv_lib_m_sin" = x""yes; then :
44866 libm="-lm"
44869 ac_save_LIBS="$LIBS"
44870 LIBS="$LIBS $libm"
44874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
44875 $as_echo_n "checking for isinf declaration... " >&6; }
44876 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
44877 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
44878 $as_echo_n "(cached) " >&6
44879 else
44882 ac_ext=cpp
44883 ac_cpp='$CXXCPP $CPPFLAGS'
44884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44889 /* end confdefs.h. */
44890 #include <math.h>
44891 #ifdef HAVE_IEEEFP_H
44892 #include <ieeefp.h>
44893 #endif
44896 main ()
44898 isinf(0);
44900 return 0;
44902 _ACEOF
44903 if ac_fn_cxx_try_compile "$LINENO"; then :
44904 glibcxx_cv_func_isinf_use=yes
44905 else
44906 glibcxx_cv_func_isinf_use=no
44908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44909 ac_ext=c
44910 ac_cpp='$CPP $CPPFLAGS'
44911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
44920 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
44922 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
44923 for ac_func in isinf
44924 do :
44925 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
44926 if test "x$ac_cv_func_isinf" = x""yes; then :
44927 cat >>confdefs.h <<_ACEOF
44928 #define HAVE_ISINF 1
44929 _ACEOF
44932 done
44934 else
44936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
44937 $as_echo_n "checking for _isinf declaration... " >&6; }
44938 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
44939 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
44940 $as_echo_n "(cached) " >&6
44941 else
44944 ac_ext=cpp
44945 ac_cpp='$CXXCPP $CPPFLAGS'
44946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44951 /* end confdefs.h. */
44952 #include <math.h>
44953 #ifdef HAVE_IEEEFP_H
44954 #include <ieeefp.h>
44955 #endif
44958 main ()
44960 _isinf(0);
44962 return 0;
44964 _ACEOF
44965 if ac_fn_cxx_try_compile "$LINENO"; then :
44966 glibcxx_cv_func__isinf_use=yes
44967 else
44968 glibcxx_cv_func__isinf_use=no
44970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44971 ac_ext=c
44972 ac_cpp='$CPP $CPPFLAGS'
44973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
44982 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
44984 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
44985 for ac_func in _isinf
44986 do :
44987 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
44988 if test "x$ac_cv_func__isinf" = x""yes; then :
44989 cat >>confdefs.h <<_ACEOF
44990 #define HAVE__ISINF 1
44991 _ACEOF
44994 done
45003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
45004 $as_echo_n "checking for isnan declaration... " >&6; }
45005 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
45006 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
45007 $as_echo_n "(cached) " >&6
45008 else
45011 ac_ext=cpp
45012 ac_cpp='$CXXCPP $CPPFLAGS'
45013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45018 /* end confdefs.h. */
45019 #include <math.h>
45020 #ifdef HAVE_IEEEFP_H
45021 #include <ieeefp.h>
45022 #endif
45025 main ()
45027 isnan(0);
45029 return 0;
45031 _ACEOF
45032 if ac_fn_cxx_try_compile "$LINENO"; then :
45033 glibcxx_cv_func_isnan_use=yes
45034 else
45035 glibcxx_cv_func_isnan_use=no
45037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45038 ac_ext=c
45039 ac_cpp='$CPP $CPPFLAGS'
45040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45049 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45051 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45052 for ac_func in isnan
45053 do :
45054 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45055 if test "x$ac_cv_func_isnan" = x""yes; then :
45056 cat >>confdefs.h <<_ACEOF
45057 #define HAVE_ISNAN 1
45058 _ACEOF
45061 done
45063 else
45065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45066 $as_echo_n "checking for _isnan declaration... " >&6; }
45067 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45068 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45069 $as_echo_n "(cached) " >&6
45070 else
45073 ac_ext=cpp
45074 ac_cpp='$CXXCPP $CPPFLAGS'
45075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45080 /* end confdefs.h. */
45081 #include <math.h>
45082 #ifdef HAVE_IEEEFP_H
45083 #include <ieeefp.h>
45084 #endif
45087 main ()
45089 _isnan(0);
45091 return 0;
45093 _ACEOF
45094 if ac_fn_cxx_try_compile "$LINENO"; then :
45095 glibcxx_cv_func__isnan_use=yes
45096 else
45097 glibcxx_cv_func__isnan_use=no
45099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45100 ac_ext=c
45101 ac_cpp='$CPP $CPPFLAGS'
45102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45111 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45113 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45114 for ac_func in _isnan
45115 do :
45116 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45117 if test "x$ac_cv_func__isnan" = x""yes; then :
45118 cat >>confdefs.h <<_ACEOF
45119 #define HAVE__ISNAN 1
45120 _ACEOF
45123 done
45132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45133 $as_echo_n "checking for finite declaration... " >&6; }
45134 if test x${glibcxx_cv_func_finite_use+set} != xset; then
45135 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45136 $as_echo_n "(cached) " >&6
45137 else
45140 ac_ext=cpp
45141 ac_cpp='$CXXCPP $CPPFLAGS'
45142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45147 /* end confdefs.h. */
45148 #include <math.h>
45149 #ifdef HAVE_IEEEFP_H
45150 #include <ieeefp.h>
45151 #endif
45154 main ()
45156 finite(0);
45158 return 0;
45160 _ACEOF
45161 if ac_fn_cxx_try_compile "$LINENO"; then :
45162 glibcxx_cv_func_finite_use=yes
45163 else
45164 glibcxx_cv_func_finite_use=no
45166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45167 ac_ext=c
45168 ac_cpp='$CPP $CPPFLAGS'
45169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
45178 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
45180 if test x$glibcxx_cv_func_finite_use = x"yes"; then
45181 for ac_func in finite
45182 do :
45183 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
45184 if test "x$ac_cv_func_finite" = x""yes; then :
45185 cat >>confdefs.h <<_ACEOF
45186 #define HAVE_FINITE 1
45187 _ACEOF
45190 done
45192 else
45194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
45195 $as_echo_n "checking for _finite declaration... " >&6; }
45196 if test x${glibcxx_cv_func__finite_use+set} != xset; then
45197 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
45198 $as_echo_n "(cached) " >&6
45199 else
45202 ac_ext=cpp
45203 ac_cpp='$CXXCPP $CPPFLAGS'
45204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45209 /* end confdefs.h. */
45210 #include <math.h>
45211 #ifdef HAVE_IEEEFP_H
45212 #include <ieeefp.h>
45213 #endif
45216 main ()
45218 _finite(0);
45220 return 0;
45222 _ACEOF
45223 if ac_fn_cxx_try_compile "$LINENO"; then :
45224 glibcxx_cv_func__finite_use=yes
45225 else
45226 glibcxx_cv_func__finite_use=no
45228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45229 ac_ext=c
45230 ac_cpp='$CPP $CPPFLAGS'
45231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
45240 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
45242 if test x$glibcxx_cv_func__finite_use = x"yes"; then
45243 for ac_func in _finite
45244 do :
45245 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
45246 if test "x$ac_cv_func__finite" = x""yes; then :
45247 cat >>confdefs.h <<_ACEOF
45248 #define HAVE__FINITE 1
45249 _ACEOF
45252 done
45261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
45262 $as_echo_n "checking for sincos declaration... " >&6; }
45263 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45264 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
45265 $as_echo_n "(cached) " >&6
45266 else
45269 ac_ext=cpp
45270 ac_cpp='$CXXCPP $CPPFLAGS'
45271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45276 /* end confdefs.h. */
45277 #include <math.h>
45279 main ()
45281 sincos(0, 0, 0);
45283 return 0;
45285 _ACEOF
45286 if ac_fn_cxx_try_compile "$LINENO"; then :
45287 glibcxx_cv_func_sincos_use=yes
45288 else
45289 glibcxx_cv_func_sincos_use=no
45291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45292 ac_ext=c
45293 ac_cpp='$CPP $CPPFLAGS'
45294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
45303 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
45305 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45306 for ac_func in sincos
45307 do :
45308 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
45309 if test "x$ac_cv_func_sincos" = x""yes; then :
45310 cat >>confdefs.h <<_ACEOF
45311 #define HAVE_SINCOS 1
45312 _ACEOF
45315 done
45317 else
45319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
45320 $as_echo_n "checking for _sincos declaration... " >&6; }
45321 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45322 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
45323 $as_echo_n "(cached) " >&6
45324 else
45327 ac_ext=cpp
45328 ac_cpp='$CXXCPP $CPPFLAGS'
45329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45334 /* end confdefs.h. */
45335 #include <math.h>
45337 main ()
45339 _sincos(0, 0, 0);
45341 return 0;
45343 _ACEOF
45344 if ac_fn_cxx_try_compile "$LINENO"; then :
45345 glibcxx_cv_func__sincos_use=yes
45346 else
45347 glibcxx_cv_func__sincos_use=no
45349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45350 ac_ext=c
45351 ac_cpp='$CPP $CPPFLAGS'
45352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
45361 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
45363 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45364 for ac_func in _sincos
45365 do :
45366 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
45367 if test "x$ac_cv_func__sincos" = x""yes; then :
45368 cat >>confdefs.h <<_ACEOF
45369 #define HAVE__SINCOS 1
45370 _ACEOF
45373 done
45382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
45383 $as_echo_n "checking for fpclass declaration... " >&6; }
45384 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45385 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
45386 $as_echo_n "(cached) " >&6
45387 else
45390 ac_ext=cpp
45391 ac_cpp='$CXXCPP $CPPFLAGS'
45392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45397 /* end confdefs.h. */
45398 #include <math.h>
45399 #ifdef HAVE_IEEEFP_H
45400 #include <ieeefp.h>
45401 #endif
45404 main ()
45406 fpclass(0);
45408 return 0;
45410 _ACEOF
45411 if ac_fn_cxx_try_compile "$LINENO"; then :
45412 glibcxx_cv_func_fpclass_use=yes
45413 else
45414 glibcxx_cv_func_fpclass_use=no
45416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45417 ac_ext=c
45418 ac_cpp='$CPP $CPPFLAGS'
45419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
45428 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
45430 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45431 for ac_func in fpclass
45432 do :
45433 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
45434 if test "x$ac_cv_func_fpclass" = x""yes; then :
45435 cat >>confdefs.h <<_ACEOF
45436 #define HAVE_FPCLASS 1
45437 _ACEOF
45440 done
45442 else
45444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
45445 $as_echo_n "checking for _fpclass declaration... " >&6; }
45446 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45447 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
45448 $as_echo_n "(cached) " >&6
45449 else
45452 ac_ext=cpp
45453 ac_cpp='$CXXCPP $CPPFLAGS'
45454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45459 /* end confdefs.h. */
45460 #include <math.h>
45461 #ifdef HAVE_IEEEFP_H
45462 #include <ieeefp.h>
45463 #endif
45466 main ()
45468 _fpclass(0);
45470 return 0;
45472 _ACEOF
45473 if ac_fn_cxx_try_compile "$LINENO"; then :
45474 glibcxx_cv_func__fpclass_use=yes
45475 else
45476 glibcxx_cv_func__fpclass_use=no
45478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45479 ac_ext=c
45480 ac_cpp='$CPP $CPPFLAGS'
45481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
45490 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
45492 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45493 for ac_func in _fpclass
45494 do :
45495 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
45496 if test "x$ac_cv_func__fpclass" = x""yes; then :
45497 cat >>confdefs.h <<_ACEOF
45498 #define HAVE__FPCLASS 1
45499 _ACEOF
45502 done
45511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
45512 $as_echo_n "checking for qfpclass declaration... " >&6; }
45513 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45514 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
45515 $as_echo_n "(cached) " >&6
45516 else
45519 ac_ext=cpp
45520 ac_cpp='$CXXCPP $CPPFLAGS'
45521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45526 /* end confdefs.h. */
45527 #include <math.h>
45528 #ifdef HAVE_IEEEFP_H
45529 #include <ieeefp.h>
45530 #endif
45533 main ()
45535 qfpclass(0);
45537 return 0;
45539 _ACEOF
45540 if ac_fn_cxx_try_compile "$LINENO"; then :
45541 glibcxx_cv_func_qfpclass_use=yes
45542 else
45543 glibcxx_cv_func_qfpclass_use=no
45545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45546 ac_ext=c
45547 ac_cpp='$CPP $CPPFLAGS'
45548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
45557 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
45559 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45560 for ac_func in qfpclass
45561 do :
45562 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
45563 if test "x$ac_cv_func_qfpclass" = x""yes; then :
45564 cat >>confdefs.h <<_ACEOF
45565 #define HAVE_QFPCLASS 1
45566 _ACEOF
45569 done
45571 else
45573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
45574 $as_echo_n "checking for _qfpclass declaration... " >&6; }
45575 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45576 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
45577 $as_echo_n "(cached) " >&6
45578 else
45581 ac_ext=cpp
45582 ac_cpp='$CXXCPP $CPPFLAGS'
45583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45588 /* end confdefs.h. */
45589 #include <math.h>
45590 #ifdef HAVE_IEEEFP_H
45591 #include <ieeefp.h>
45592 #endif
45595 main ()
45597 _qfpclass(0);
45599 return 0;
45601 _ACEOF
45602 if ac_fn_cxx_try_compile "$LINENO"; then :
45603 glibcxx_cv_func__qfpclass_use=yes
45604 else
45605 glibcxx_cv_func__qfpclass_use=no
45607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45608 ac_ext=c
45609 ac_cpp='$CPP $CPPFLAGS'
45610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
45619 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
45621 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
45622 for ac_func in _qfpclass
45623 do :
45624 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
45625 if test "x$ac_cv_func__qfpclass" = x""yes; then :
45626 cat >>confdefs.h <<_ACEOF
45627 #define HAVE__QFPCLASS 1
45628 _ACEOF
45631 done
45640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
45641 $as_echo_n "checking for hypot declaration... " >&6; }
45642 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
45643 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
45644 $as_echo_n "(cached) " >&6
45645 else
45648 ac_ext=cpp
45649 ac_cpp='$CXXCPP $CPPFLAGS'
45650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45655 /* end confdefs.h. */
45656 #include <math.h>
45658 main ()
45660 hypot(0, 0);
45662 return 0;
45664 _ACEOF
45665 if ac_fn_cxx_try_compile "$LINENO"; then :
45666 glibcxx_cv_func_hypot_use=yes
45667 else
45668 glibcxx_cv_func_hypot_use=no
45670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45671 ac_ext=c
45672 ac_cpp='$CPP $CPPFLAGS'
45673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
45682 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
45684 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
45685 for ac_func in hypot
45686 do :
45687 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
45688 if test "x$ac_cv_func_hypot" = x""yes; then :
45689 cat >>confdefs.h <<_ACEOF
45690 #define HAVE_HYPOT 1
45691 _ACEOF
45694 done
45696 else
45698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
45699 $as_echo_n "checking for _hypot declaration... " >&6; }
45700 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
45701 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
45702 $as_echo_n "(cached) " >&6
45703 else
45706 ac_ext=cpp
45707 ac_cpp='$CXXCPP $CPPFLAGS'
45708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45713 /* end confdefs.h. */
45714 #include <math.h>
45716 main ()
45718 _hypot(0, 0);
45720 return 0;
45722 _ACEOF
45723 if ac_fn_cxx_try_compile "$LINENO"; then :
45724 glibcxx_cv_func__hypot_use=yes
45725 else
45726 glibcxx_cv_func__hypot_use=no
45728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45729 ac_ext=c
45730 ac_cpp='$CPP $CPPFLAGS'
45731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
45740 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
45742 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
45743 for ac_func in _hypot
45744 do :
45745 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
45746 if test "x$ac_cv_func__hypot" = x""yes; then :
45747 cat >>confdefs.h <<_ACEOF
45748 #define HAVE__HYPOT 1
45749 _ACEOF
45752 done
45761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
45762 $as_echo_n "checking for float trig functions... " >&6; }
45763 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
45764 $as_echo_n "(cached) " >&6
45765 else
45768 ac_ext=cpp
45769 ac_cpp='$CXXCPP $CPPFLAGS'
45770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45775 /* end confdefs.h. */
45776 #include <math.h>
45778 main ()
45780 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
45782 return 0;
45784 _ACEOF
45785 if ac_fn_cxx_try_compile "$LINENO"; then :
45786 glibcxx_cv_func_float_trig_use=yes
45787 else
45788 glibcxx_cv_func_float_trig_use=no
45790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45791 ac_ext=c
45792 ac_cpp='$CPP $CPPFLAGS'
45793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
45800 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
45801 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
45802 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
45803 do :
45804 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45805 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45806 eval as_val=\$$as_ac_var
45807 if test "x$as_val" = x""yes; then :
45808 cat >>confdefs.h <<_ACEOF
45809 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45810 _ACEOF
45813 done
45815 else
45816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
45817 $as_echo_n "checking for _float trig functions... " >&6; }
45818 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
45819 $as_echo_n "(cached) " >&6
45820 else
45823 ac_ext=cpp
45824 ac_cpp='$CXXCPP $CPPFLAGS'
45825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45830 /* end confdefs.h. */
45831 #include <math.h>
45833 main ()
45835 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
45837 return 0;
45839 _ACEOF
45840 if ac_fn_cxx_try_compile "$LINENO"; then :
45841 glibcxx_cv_func__float_trig_use=yes
45842 else
45843 glibcxx_cv_func__float_trig_use=no
45845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45846 ac_ext=c
45847 ac_cpp='$CPP $CPPFLAGS'
45848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
45855 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
45856 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
45857 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
45858 do :
45859 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45860 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45861 eval as_val=\$$as_ac_var
45862 if test "x$as_val" = x""yes; then :
45863 cat >>confdefs.h <<_ACEOF
45864 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45865 _ACEOF
45868 done
45877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
45878 $as_echo_n "checking for float round functions... " >&6; }
45879 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
45880 $as_echo_n "(cached) " >&6
45881 else
45884 ac_ext=cpp
45885 ac_cpp='$CXXCPP $CPPFLAGS'
45886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45891 /* end confdefs.h. */
45892 #include <math.h>
45894 main ()
45896 ceilf (0); floorf (0);
45898 return 0;
45900 _ACEOF
45901 if ac_fn_cxx_try_compile "$LINENO"; then :
45902 glibcxx_cv_func_float_round_use=yes
45903 else
45904 glibcxx_cv_func_float_round_use=no
45906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45907 ac_ext=c
45908 ac_cpp='$CPP $CPPFLAGS'
45909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
45916 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
45917 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
45918 for ac_func in ceilf floorf
45919 do :
45920 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45921 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45922 eval as_val=\$$as_ac_var
45923 if test "x$as_val" = x""yes; then :
45924 cat >>confdefs.h <<_ACEOF
45925 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45926 _ACEOF
45929 done
45931 else
45932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
45933 $as_echo_n "checking for _float round functions... " >&6; }
45934 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
45935 $as_echo_n "(cached) " >&6
45936 else
45939 ac_ext=cpp
45940 ac_cpp='$CXXCPP $CPPFLAGS'
45941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45946 /* end confdefs.h. */
45947 #include <math.h>
45949 main ()
45951 _ceilf (0); _floorf (0);
45953 return 0;
45955 _ACEOF
45956 if ac_fn_cxx_try_compile "$LINENO"; then :
45957 glibcxx_cv_func__float_round_use=yes
45958 else
45959 glibcxx_cv_func__float_round_use=no
45961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45962 ac_ext=c
45963 ac_cpp='$CPP $CPPFLAGS'
45964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
45971 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
45972 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
45973 for ac_func in _ceilf _floorf
45974 do :
45975 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45976 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45977 eval as_val=\$$as_ac_var
45978 if test "x$as_val" = x""yes; then :
45979 cat >>confdefs.h <<_ACEOF
45980 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45981 _ACEOF
45984 done
45994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
45995 $as_echo_n "checking for expf declaration... " >&6; }
45996 if test x${glibcxx_cv_func_expf_use+set} != xset; then
45997 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
45998 $as_echo_n "(cached) " >&6
45999 else
46002 ac_ext=cpp
46003 ac_cpp='$CXXCPP $CPPFLAGS'
46004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46009 /* end confdefs.h. */
46010 #include <math.h>
46011 #ifdef HAVE_IEEEFP_H
46012 #include <ieeefp.h>
46013 #endif
46016 main ()
46018 expf(0);
46020 return 0;
46022 _ACEOF
46023 if ac_fn_cxx_try_compile "$LINENO"; then :
46024 glibcxx_cv_func_expf_use=yes
46025 else
46026 glibcxx_cv_func_expf_use=no
46028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46029 ac_ext=c
46030 ac_cpp='$CPP $CPPFLAGS'
46031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46040 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46042 if test x$glibcxx_cv_func_expf_use = x"yes"; then
46043 for ac_func in expf
46044 do :
46045 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46046 if test "x$ac_cv_func_expf" = x""yes; then :
46047 cat >>confdefs.h <<_ACEOF
46048 #define HAVE_EXPF 1
46049 _ACEOF
46052 done
46054 else
46056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46057 $as_echo_n "checking for _expf declaration... " >&6; }
46058 if test x${glibcxx_cv_func__expf_use+set} != xset; then
46059 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46060 $as_echo_n "(cached) " >&6
46061 else
46064 ac_ext=cpp
46065 ac_cpp='$CXXCPP $CPPFLAGS'
46066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46071 /* end confdefs.h. */
46072 #include <math.h>
46073 #ifdef HAVE_IEEEFP_H
46074 #include <ieeefp.h>
46075 #endif
46078 main ()
46080 _expf(0);
46082 return 0;
46084 _ACEOF
46085 if ac_fn_cxx_try_compile "$LINENO"; then :
46086 glibcxx_cv_func__expf_use=yes
46087 else
46088 glibcxx_cv_func__expf_use=no
46090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46091 ac_ext=c
46092 ac_cpp='$CPP $CPPFLAGS'
46093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46102 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46104 if test x$glibcxx_cv_func__expf_use = x"yes"; then
46105 for ac_func in _expf
46106 do :
46107 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46108 if test "x$ac_cv_func__expf" = x""yes; then :
46109 cat >>confdefs.h <<_ACEOF
46110 #define HAVE__EXPF 1
46111 _ACEOF
46114 done
46123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46124 $as_echo_n "checking for isnanf declaration... " >&6; }
46125 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46126 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46127 $as_echo_n "(cached) " >&6
46128 else
46131 ac_ext=cpp
46132 ac_cpp='$CXXCPP $CPPFLAGS'
46133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46138 /* end confdefs.h. */
46139 #include <math.h>
46140 #ifdef HAVE_IEEEFP_H
46141 #include <ieeefp.h>
46142 #endif
46145 main ()
46147 isnanf(0);
46149 return 0;
46151 _ACEOF
46152 if ac_fn_cxx_try_compile "$LINENO"; then :
46153 glibcxx_cv_func_isnanf_use=yes
46154 else
46155 glibcxx_cv_func_isnanf_use=no
46157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46158 ac_ext=c
46159 ac_cpp='$CPP $CPPFLAGS'
46160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46169 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46171 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46172 for ac_func in isnanf
46173 do :
46174 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46175 if test "x$ac_cv_func_isnanf" = x""yes; then :
46176 cat >>confdefs.h <<_ACEOF
46177 #define HAVE_ISNANF 1
46178 _ACEOF
46181 done
46183 else
46185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
46186 $as_echo_n "checking for _isnanf declaration... " >&6; }
46187 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46188 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
46189 $as_echo_n "(cached) " >&6
46190 else
46193 ac_ext=cpp
46194 ac_cpp='$CXXCPP $CPPFLAGS'
46195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46200 /* end confdefs.h. */
46201 #include <math.h>
46202 #ifdef HAVE_IEEEFP_H
46203 #include <ieeefp.h>
46204 #endif
46207 main ()
46209 _isnanf(0);
46211 return 0;
46213 _ACEOF
46214 if ac_fn_cxx_try_compile "$LINENO"; then :
46215 glibcxx_cv_func__isnanf_use=yes
46216 else
46217 glibcxx_cv_func__isnanf_use=no
46219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46220 ac_ext=c
46221 ac_cpp='$CPP $CPPFLAGS'
46222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
46231 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
46233 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46234 for ac_func in _isnanf
46235 do :
46236 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
46237 if test "x$ac_cv_func__isnanf" = x""yes; then :
46238 cat >>confdefs.h <<_ACEOF
46239 #define HAVE__ISNANF 1
46240 _ACEOF
46243 done
46252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
46253 $as_echo_n "checking for isinff declaration... " >&6; }
46254 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46255 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
46256 $as_echo_n "(cached) " >&6
46257 else
46260 ac_ext=cpp
46261 ac_cpp='$CXXCPP $CPPFLAGS'
46262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46267 /* end confdefs.h. */
46268 #include <math.h>
46269 #ifdef HAVE_IEEEFP_H
46270 #include <ieeefp.h>
46271 #endif
46274 main ()
46276 isinff(0);
46278 return 0;
46280 _ACEOF
46281 if ac_fn_cxx_try_compile "$LINENO"; then :
46282 glibcxx_cv_func_isinff_use=yes
46283 else
46284 glibcxx_cv_func_isinff_use=no
46286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46287 ac_ext=c
46288 ac_cpp='$CPP $CPPFLAGS'
46289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
46298 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
46300 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
46301 for ac_func in isinff
46302 do :
46303 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
46304 if test "x$ac_cv_func_isinff" = x""yes; then :
46305 cat >>confdefs.h <<_ACEOF
46306 #define HAVE_ISINFF 1
46307 _ACEOF
46310 done
46312 else
46314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
46315 $as_echo_n "checking for _isinff declaration... " >&6; }
46316 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
46317 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
46318 $as_echo_n "(cached) " >&6
46319 else
46322 ac_ext=cpp
46323 ac_cpp='$CXXCPP $CPPFLAGS'
46324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46329 /* end confdefs.h. */
46330 #include <math.h>
46331 #ifdef HAVE_IEEEFP_H
46332 #include <ieeefp.h>
46333 #endif
46336 main ()
46338 _isinff(0);
46340 return 0;
46342 _ACEOF
46343 if ac_fn_cxx_try_compile "$LINENO"; then :
46344 glibcxx_cv_func__isinff_use=yes
46345 else
46346 glibcxx_cv_func__isinff_use=no
46348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46349 ac_ext=c
46350 ac_cpp='$CPP $CPPFLAGS'
46351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
46360 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
46362 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
46363 for ac_func in _isinff
46364 do :
46365 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
46366 if test "x$ac_cv_func__isinff" = x""yes; then :
46367 cat >>confdefs.h <<_ACEOF
46368 #define HAVE__ISINFF 1
46369 _ACEOF
46372 done
46381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
46382 $as_echo_n "checking for atan2f declaration... " >&6; }
46383 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
46384 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
46385 $as_echo_n "(cached) " >&6
46386 else
46389 ac_ext=cpp
46390 ac_cpp='$CXXCPP $CPPFLAGS'
46391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46396 /* end confdefs.h. */
46397 #include <math.h>
46399 main ()
46401 atan2f(0, 0);
46403 return 0;
46405 _ACEOF
46406 if ac_fn_cxx_try_compile "$LINENO"; then :
46407 glibcxx_cv_func_atan2f_use=yes
46408 else
46409 glibcxx_cv_func_atan2f_use=no
46411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46412 ac_ext=c
46413 ac_cpp='$CPP $CPPFLAGS'
46414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
46423 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
46425 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
46426 for ac_func in atan2f
46427 do :
46428 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
46429 if test "x$ac_cv_func_atan2f" = x""yes; then :
46430 cat >>confdefs.h <<_ACEOF
46431 #define HAVE_ATAN2F 1
46432 _ACEOF
46435 done
46437 else
46439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
46440 $as_echo_n "checking for _atan2f declaration... " >&6; }
46441 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
46442 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
46443 $as_echo_n "(cached) " >&6
46444 else
46447 ac_ext=cpp
46448 ac_cpp='$CXXCPP $CPPFLAGS'
46449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46454 /* end confdefs.h. */
46455 #include <math.h>
46457 main ()
46459 _atan2f(0, 0);
46461 return 0;
46463 _ACEOF
46464 if ac_fn_cxx_try_compile "$LINENO"; then :
46465 glibcxx_cv_func__atan2f_use=yes
46466 else
46467 glibcxx_cv_func__atan2f_use=no
46469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46470 ac_ext=c
46471 ac_cpp='$CPP $CPPFLAGS'
46472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
46481 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
46483 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
46484 for ac_func in _atan2f
46485 do :
46486 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
46487 if test "x$ac_cv_func__atan2f" = x""yes; then :
46488 cat >>confdefs.h <<_ACEOF
46489 #define HAVE__ATAN2F 1
46490 _ACEOF
46493 done
46502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
46503 $as_echo_n "checking for fabsf declaration... " >&6; }
46504 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
46505 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
46506 $as_echo_n "(cached) " >&6
46507 else
46510 ac_ext=cpp
46511 ac_cpp='$CXXCPP $CPPFLAGS'
46512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46517 /* end confdefs.h. */
46518 #include <math.h>
46519 #ifdef HAVE_IEEEFP_H
46520 #include <ieeefp.h>
46521 #endif
46524 main ()
46526 fabsf(0);
46528 return 0;
46530 _ACEOF
46531 if ac_fn_cxx_try_compile "$LINENO"; then :
46532 glibcxx_cv_func_fabsf_use=yes
46533 else
46534 glibcxx_cv_func_fabsf_use=no
46536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46537 ac_ext=c
46538 ac_cpp='$CPP $CPPFLAGS'
46539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
46548 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
46550 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
46551 for ac_func in fabsf
46552 do :
46553 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
46554 if test "x$ac_cv_func_fabsf" = x""yes; then :
46555 cat >>confdefs.h <<_ACEOF
46556 #define HAVE_FABSF 1
46557 _ACEOF
46560 done
46562 else
46564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
46565 $as_echo_n "checking for _fabsf declaration... " >&6; }
46566 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
46567 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
46568 $as_echo_n "(cached) " >&6
46569 else
46572 ac_ext=cpp
46573 ac_cpp='$CXXCPP $CPPFLAGS'
46574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46579 /* end confdefs.h. */
46580 #include <math.h>
46581 #ifdef HAVE_IEEEFP_H
46582 #include <ieeefp.h>
46583 #endif
46586 main ()
46588 _fabsf(0);
46590 return 0;
46592 _ACEOF
46593 if ac_fn_cxx_try_compile "$LINENO"; then :
46594 glibcxx_cv_func__fabsf_use=yes
46595 else
46596 glibcxx_cv_func__fabsf_use=no
46598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46599 ac_ext=c
46600 ac_cpp='$CPP $CPPFLAGS'
46601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
46610 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
46612 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
46613 for ac_func in _fabsf
46614 do :
46615 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
46616 if test "x$ac_cv_func__fabsf" = x""yes; then :
46617 cat >>confdefs.h <<_ACEOF
46618 #define HAVE__FABSF 1
46619 _ACEOF
46622 done
46631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
46632 $as_echo_n "checking for fmodf declaration... " >&6; }
46633 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
46634 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
46635 $as_echo_n "(cached) " >&6
46636 else
46639 ac_ext=cpp
46640 ac_cpp='$CXXCPP $CPPFLAGS'
46641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46646 /* end confdefs.h. */
46647 #include <math.h>
46649 main ()
46651 fmodf(0, 0);
46653 return 0;
46655 _ACEOF
46656 if ac_fn_cxx_try_compile "$LINENO"; then :
46657 glibcxx_cv_func_fmodf_use=yes
46658 else
46659 glibcxx_cv_func_fmodf_use=no
46661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46662 ac_ext=c
46663 ac_cpp='$CPP $CPPFLAGS'
46664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
46673 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
46675 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
46676 for ac_func in fmodf
46677 do :
46678 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
46679 if test "x$ac_cv_func_fmodf" = x""yes; then :
46680 cat >>confdefs.h <<_ACEOF
46681 #define HAVE_FMODF 1
46682 _ACEOF
46685 done
46687 else
46689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
46690 $as_echo_n "checking for _fmodf declaration... " >&6; }
46691 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
46692 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
46693 $as_echo_n "(cached) " >&6
46694 else
46697 ac_ext=cpp
46698 ac_cpp='$CXXCPP $CPPFLAGS'
46699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46704 /* end confdefs.h. */
46705 #include <math.h>
46707 main ()
46709 _fmodf(0, 0);
46711 return 0;
46713 _ACEOF
46714 if ac_fn_cxx_try_compile "$LINENO"; then :
46715 glibcxx_cv_func__fmodf_use=yes
46716 else
46717 glibcxx_cv_func__fmodf_use=no
46719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46720 ac_ext=c
46721 ac_cpp='$CPP $CPPFLAGS'
46722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
46731 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
46733 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
46734 for ac_func in _fmodf
46735 do :
46736 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
46737 if test "x$ac_cv_func__fmodf" = x""yes; then :
46738 cat >>confdefs.h <<_ACEOF
46739 #define HAVE__FMODF 1
46740 _ACEOF
46743 done
46752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
46753 $as_echo_n "checking for frexpf declaration... " >&6; }
46754 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
46755 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
46756 $as_echo_n "(cached) " >&6
46757 else
46760 ac_ext=cpp
46761 ac_cpp='$CXXCPP $CPPFLAGS'
46762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46767 /* end confdefs.h. */
46768 #include <math.h>
46770 main ()
46772 frexpf(0, 0);
46774 return 0;
46776 _ACEOF
46777 if ac_fn_cxx_try_compile "$LINENO"; then :
46778 glibcxx_cv_func_frexpf_use=yes
46779 else
46780 glibcxx_cv_func_frexpf_use=no
46782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46783 ac_ext=c
46784 ac_cpp='$CPP $CPPFLAGS'
46785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
46794 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
46796 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
46797 for ac_func in frexpf
46798 do :
46799 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
46800 if test "x$ac_cv_func_frexpf" = x""yes; then :
46801 cat >>confdefs.h <<_ACEOF
46802 #define HAVE_FREXPF 1
46803 _ACEOF
46806 done
46808 else
46810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
46811 $as_echo_n "checking for _frexpf declaration... " >&6; }
46812 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
46813 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
46814 $as_echo_n "(cached) " >&6
46815 else
46818 ac_ext=cpp
46819 ac_cpp='$CXXCPP $CPPFLAGS'
46820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46825 /* end confdefs.h. */
46826 #include <math.h>
46828 main ()
46830 _frexpf(0, 0);
46832 return 0;
46834 _ACEOF
46835 if ac_fn_cxx_try_compile "$LINENO"; then :
46836 glibcxx_cv_func__frexpf_use=yes
46837 else
46838 glibcxx_cv_func__frexpf_use=no
46840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46841 ac_ext=c
46842 ac_cpp='$CPP $CPPFLAGS'
46843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
46852 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
46854 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
46855 for ac_func in _frexpf
46856 do :
46857 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
46858 if test "x$ac_cv_func__frexpf" = x""yes; then :
46859 cat >>confdefs.h <<_ACEOF
46860 #define HAVE__FREXPF 1
46861 _ACEOF
46864 done
46873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
46874 $as_echo_n "checking for hypotf declaration... " >&6; }
46875 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
46876 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
46877 $as_echo_n "(cached) " >&6
46878 else
46881 ac_ext=cpp
46882 ac_cpp='$CXXCPP $CPPFLAGS'
46883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46888 /* end confdefs.h. */
46889 #include <math.h>
46891 main ()
46893 hypotf(0, 0);
46895 return 0;
46897 _ACEOF
46898 if ac_fn_cxx_try_compile "$LINENO"; then :
46899 glibcxx_cv_func_hypotf_use=yes
46900 else
46901 glibcxx_cv_func_hypotf_use=no
46903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46904 ac_ext=c
46905 ac_cpp='$CPP $CPPFLAGS'
46906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
46915 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
46917 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
46918 for ac_func in hypotf
46919 do :
46920 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
46921 if test "x$ac_cv_func_hypotf" = x""yes; then :
46922 cat >>confdefs.h <<_ACEOF
46923 #define HAVE_HYPOTF 1
46924 _ACEOF
46927 done
46929 else
46931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
46932 $as_echo_n "checking for _hypotf declaration... " >&6; }
46933 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
46934 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
46935 $as_echo_n "(cached) " >&6
46936 else
46939 ac_ext=cpp
46940 ac_cpp='$CXXCPP $CPPFLAGS'
46941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46946 /* end confdefs.h. */
46947 #include <math.h>
46949 main ()
46951 _hypotf(0, 0);
46953 return 0;
46955 _ACEOF
46956 if ac_fn_cxx_try_compile "$LINENO"; then :
46957 glibcxx_cv_func__hypotf_use=yes
46958 else
46959 glibcxx_cv_func__hypotf_use=no
46961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46962 ac_ext=c
46963 ac_cpp='$CPP $CPPFLAGS'
46964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
46973 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
46975 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
46976 for ac_func in _hypotf
46977 do :
46978 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
46979 if test "x$ac_cv_func__hypotf" = x""yes; then :
46980 cat >>confdefs.h <<_ACEOF
46981 #define HAVE__HYPOTF 1
46982 _ACEOF
46985 done
46994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
46995 $as_echo_n "checking for ldexpf declaration... " >&6; }
46996 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
46997 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
46998 $as_echo_n "(cached) " >&6
46999 else
47002 ac_ext=cpp
47003 ac_cpp='$CXXCPP $CPPFLAGS'
47004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47009 /* end confdefs.h. */
47010 #include <math.h>
47012 main ()
47014 ldexpf(0, 0);
47016 return 0;
47018 _ACEOF
47019 if ac_fn_cxx_try_compile "$LINENO"; then :
47020 glibcxx_cv_func_ldexpf_use=yes
47021 else
47022 glibcxx_cv_func_ldexpf_use=no
47024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47025 ac_ext=c
47026 ac_cpp='$CPP $CPPFLAGS'
47027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47036 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47038 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47039 for ac_func in ldexpf
47040 do :
47041 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47042 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47043 cat >>confdefs.h <<_ACEOF
47044 #define HAVE_LDEXPF 1
47045 _ACEOF
47048 done
47050 else
47052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47053 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47054 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47055 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47056 $as_echo_n "(cached) " >&6
47057 else
47060 ac_ext=cpp
47061 ac_cpp='$CXXCPP $CPPFLAGS'
47062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47067 /* end confdefs.h. */
47068 #include <math.h>
47070 main ()
47072 _ldexpf(0, 0);
47074 return 0;
47076 _ACEOF
47077 if ac_fn_cxx_try_compile "$LINENO"; then :
47078 glibcxx_cv_func__ldexpf_use=yes
47079 else
47080 glibcxx_cv_func__ldexpf_use=no
47082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47083 ac_ext=c
47084 ac_cpp='$CPP $CPPFLAGS'
47085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47094 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47096 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47097 for ac_func in _ldexpf
47098 do :
47099 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47100 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47101 cat >>confdefs.h <<_ACEOF
47102 #define HAVE__LDEXPF 1
47103 _ACEOF
47106 done
47115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47116 $as_echo_n "checking for logf declaration... " >&6; }
47117 if test x${glibcxx_cv_func_logf_use+set} != xset; then
47118 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47119 $as_echo_n "(cached) " >&6
47120 else
47123 ac_ext=cpp
47124 ac_cpp='$CXXCPP $CPPFLAGS'
47125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47130 /* end confdefs.h. */
47131 #include <math.h>
47132 #ifdef HAVE_IEEEFP_H
47133 #include <ieeefp.h>
47134 #endif
47137 main ()
47139 logf(0);
47141 return 0;
47143 _ACEOF
47144 if ac_fn_cxx_try_compile "$LINENO"; then :
47145 glibcxx_cv_func_logf_use=yes
47146 else
47147 glibcxx_cv_func_logf_use=no
47149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47150 ac_ext=c
47151 ac_cpp='$CPP $CPPFLAGS'
47152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47161 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47163 if test x$glibcxx_cv_func_logf_use = x"yes"; then
47164 for ac_func in logf
47165 do :
47166 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47167 if test "x$ac_cv_func_logf" = x""yes; then :
47168 cat >>confdefs.h <<_ACEOF
47169 #define HAVE_LOGF 1
47170 _ACEOF
47173 done
47175 else
47177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
47178 $as_echo_n "checking for _logf declaration... " >&6; }
47179 if test x${glibcxx_cv_func__logf_use+set} != xset; then
47180 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
47181 $as_echo_n "(cached) " >&6
47182 else
47185 ac_ext=cpp
47186 ac_cpp='$CXXCPP $CPPFLAGS'
47187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47192 /* end confdefs.h. */
47193 #include <math.h>
47194 #ifdef HAVE_IEEEFP_H
47195 #include <ieeefp.h>
47196 #endif
47199 main ()
47201 _logf(0);
47203 return 0;
47205 _ACEOF
47206 if ac_fn_cxx_try_compile "$LINENO"; then :
47207 glibcxx_cv_func__logf_use=yes
47208 else
47209 glibcxx_cv_func__logf_use=no
47211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47212 ac_ext=c
47213 ac_cpp='$CPP $CPPFLAGS'
47214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
47223 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
47225 if test x$glibcxx_cv_func__logf_use = x"yes"; then
47226 for ac_func in _logf
47227 do :
47228 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
47229 if test "x$ac_cv_func__logf" = x""yes; then :
47230 cat >>confdefs.h <<_ACEOF
47231 #define HAVE__LOGF 1
47232 _ACEOF
47235 done
47244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
47245 $as_echo_n "checking for log10f declaration... " >&6; }
47246 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
47247 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
47248 $as_echo_n "(cached) " >&6
47249 else
47252 ac_ext=cpp
47253 ac_cpp='$CXXCPP $CPPFLAGS'
47254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47259 /* end confdefs.h. */
47260 #include <math.h>
47261 #ifdef HAVE_IEEEFP_H
47262 #include <ieeefp.h>
47263 #endif
47266 main ()
47268 log10f(0);
47270 return 0;
47272 _ACEOF
47273 if ac_fn_cxx_try_compile "$LINENO"; then :
47274 glibcxx_cv_func_log10f_use=yes
47275 else
47276 glibcxx_cv_func_log10f_use=no
47278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47279 ac_ext=c
47280 ac_cpp='$CPP $CPPFLAGS'
47281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
47290 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
47292 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
47293 for ac_func in log10f
47294 do :
47295 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
47296 if test "x$ac_cv_func_log10f" = x""yes; then :
47297 cat >>confdefs.h <<_ACEOF
47298 #define HAVE_LOG10F 1
47299 _ACEOF
47302 done
47304 else
47306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
47307 $as_echo_n "checking for _log10f declaration... " >&6; }
47308 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
47309 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
47310 $as_echo_n "(cached) " >&6
47311 else
47314 ac_ext=cpp
47315 ac_cpp='$CXXCPP $CPPFLAGS'
47316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47321 /* end confdefs.h. */
47322 #include <math.h>
47323 #ifdef HAVE_IEEEFP_H
47324 #include <ieeefp.h>
47325 #endif
47328 main ()
47330 _log10f(0);
47332 return 0;
47334 _ACEOF
47335 if ac_fn_cxx_try_compile "$LINENO"; then :
47336 glibcxx_cv_func__log10f_use=yes
47337 else
47338 glibcxx_cv_func__log10f_use=no
47340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47341 ac_ext=c
47342 ac_cpp='$CPP $CPPFLAGS'
47343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
47352 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
47354 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
47355 for ac_func in _log10f
47356 do :
47357 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
47358 if test "x$ac_cv_func__log10f" = x""yes; then :
47359 cat >>confdefs.h <<_ACEOF
47360 #define HAVE__LOG10F 1
47361 _ACEOF
47364 done
47373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
47374 $as_echo_n "checking for modff declaration... " >&6; }
47375 if test x${glibcxx_cv_func_modff_use+set} != xset; then
47376 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
47377 $as_echo_n "(cached) " >&6
47378 else
47381 ac_ext=cpp
47382 ac_cpp='$CXXCPP $CPPFLAGS'
47383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47388 /* end confdefs.h. */
47389 #include <math.h>
47391 main ()
47393 modff(0, 0);
47395 return 0;
47397 _ACEOF
47398 if ac_fn_cxx_try_compile "$LINENO"; then :
47399 glibcxx_cv_func_modff_use=yes
47400 else
47401 glibcxx_cv_func_modff_use=no
47403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47404 ac_ext=c
47405 ac_cpp='$CPP $CPPFLAGS'
47406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
47415 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
47417 if test x$glibcxx_cv_func_modff_use = x"yes"; then
47418 for ac_func in modff
47419 do :
47420 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
47421 if test "x$ac_cv_func_modff" = x""yes; then :
47422 cat >>confdefs.h <<_ACEOF
47423 #define HAVE_MODFF 1
47424 _ACEOF
47427 done
47429 else
47431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
47432 $as_echo_n "checking for _modff declaration... " >&6; }
47433 if test x${glibcxx_cv_func__modff_use+set} != xset; then
47434 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
47435 $as_echo_n "(cached) " >&6
47436 else
47439 ac_ext=cpp
47440 ac_cpp='$CXXCPP $CPPFLAGS'
47441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47446 /* end confdefs.h. */
47447 #include <math.h>
47449 main ()
47451 _modff(0, 0);
47453 return 0;
47455 _ACEOF
47456 if ac_fn_cxx_try_compile "$LINENO"; then :
47457 glibcxx_cv_func__modff_use=yes
47458 else
47459 glibcxx_cv_func__modff_use=no
47461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47462 ac_ext=c
47463 ac_cpp='$CPP $CPPFLAGS'
47464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
47473 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
47475 if test x$glibcxx_cv_func__modff_use = x"yes"; then
47476 for ac_func in _modff
47477 do :
47478 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
47479 if test "x$ac_cv_func__modff" = x""yes; then :
47480 cat >>confdefs.h <<_ACEOF
47481 #define HAVE__MODFF 1
47482 _ACEOF
47485 done
47494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
47495 $as_echo_n "checking for modf declaration... " >&6; }
47496 if test x${glibcxx_cv_func_modf_use+set} != xset; then
47497 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
47498 $as_echo_n "(cached) " >&6
47499 else
47502 ac_ext=cpp
47503 ac_cpp='$CXXCPP $CPPFLAGS'
47504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47509 /* end confdefs.h. */
47510 #include <math.h>
47512 main ()
47514 modf(0, 0);
47516 return 0;
47518 _ACEOF
47519 if ac_fn_cxx_try_compile "$LINENO"; then :
47520 glibcxx_cv_func_modf_use=yes
47521 else
47522 glibcxx_cv_func_modf_use=no
47524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47525 ac_ext=c
47526 ac_cpp='$CPP $CPPFLAGS'
47527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
47536 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
47538 if test x$glibcxx_cv_func_modf_use = x"yes"; then
47539 for ac_func in modf
47540 do :
47541 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
47542 if test "x$ac_cv_func_modf" = x""yes; then :
47543 cat >>confdefs.h <<_ACEOF
47544 #define HAVE_MODF 1
47545 _ACEOF
47548 done
47550 else
47552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
47553 $as_echo_n "checking for _modf declaration... " >&6; }
47554 if test x${glibcxx_cv_func__modf_use+set} != xset; then
47555 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
47556 $as_echo_n "(cached) " >&6
47557 else
47560 ac_ext=cpp
47561 ac_cpp='$CXXCPP $CPPFLAGS'
47562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47567 /* end confdefs.h. */
47568 #include <math.h>
47570 main ()
47572 _modf(0, 0);
47574 return 0;
47576 _ACEOF
47577 if ac_fn_cxx_try_compile "$LINENO"; then :
47578 glibcxx_cv_func__modf_use=yes
47579 else
47580 glibcxx_cv_func__modf_use=no
47582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47583 ac_ext=c
47584 ac_cpp='$CPP $CPPFLAGS'
47585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
47594 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
47596 if test x$glibcxx_cv_func__modf_use = x"yes"; then
47597 for ac_func in _modf
47598 do :
47599 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
47600 if test "x$ac_cv_func__modf" = x""yes; then :
47601 cat >>confdefs.h <<_ACEOF
47602 #define HAVE__MODF 1
47603 _ACEOF
47606 done
47615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
47616 $as_echo_n "checking for powf declaration... " >&6; }
47617 if test x${glibcxx_cv_func_powf_use+set} != xset; then
47618 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
47619 $as_echo_n "(cached) " >&6
47620 else
47623 ac_ext=cpp
47624 ac_cpp='$CXXCPP $CPPFLAGS'
47625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47630 /* end confdefs.h. */
47631 #include <math.h>
47633 main ()
47635 powf(0, 0);
47637 return 0;
47639 _ACEOF
47640 if ac_fn_cxx_try_compile "$LINENO"; then :
47641 glibcxx_cv_func_powf_use=yes
47642 else
47643 glibcxx_cv_func_powf_use=no
47645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47646 ac_ext=c
47647 ac_cpp='$CPP $CPPFLAGS'
47648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
47657 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
47659 if test x$glibcxx_cv_func_powf_use = x"yes"; then
47660 for ac_func in powf
47661 do :
47662 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
47663 if test "x$ac_cv_func_powf" = x""yes; then :
47664 cat >>confdefs.h <<_ACEOF
47665 #define HAVE_POWF 1
47666 _ACEOF
47669 done
47671 else
47673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
47674 $as_echo_n "checking for _powf declaration... " >&6; }
47675 if test x${glibcxx_cv_func__powf_use+set} != xset; then
47676 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
47677 $as_echo_n "(cached) " >&6
47678 else
47681 ac_ext=cpp
47682 ac_cpp='$CXXCPP $CPPFLAGS'
47683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47688 /* end confdefs.h. */
47689 #include <math.h>
47691 main ()
47693 _powf(0, 0);
47695 return 0;
47697 _ACEOF
47698 if ac_fn_cxx_try_compile "$LINENO"; then :
47699 glibcxx_cv_func__powf_use=yes
47700 else
47701 glibcxx_cv_func__powf_use=no
47703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47704 ac_ext=c
47705 ac_cpp='$CPP $CPPFLAGS'
47706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
47715 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
47717 if test x$glibcxx_cv_func__powf_use = x"yes"; then
47718 for ac_func in _powf
47719 do :
47720 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
47721 if test "x$ac_cv_func__powf" = x""yes; then :
47722 cat >>confdefs.h <<_ACEOF
47723 #define HAVE__POWF 1
47724 _ACEOF
47727 done
47736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
47737 $as_echo_n "checking for sqrtf declaration... " >&6; }
47738 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
47739 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
47740 $as_echo_n "(cached) " >&6
47741 else
47744 ac_ext=cpp
47745 ac_cpp='$CXXCPP $CPPFLAGS'
47746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47751 /* end confdefs.h. */
47752 #include <math.h>
47753 #ifdef HAVE_IEEEFP_H
47754 #include <ieeefp.h>
47755 #endif
47758 main ()
47760 sqrtf(0);
47762 return 0;
47764 _ACEOF
47765 if ac_fn_cxx_try_compile "$LINENO"; then :
47766 glibcxx_cv_func_sqrtf_use=yes
47767 else
47768 glibcxx_cv_func_sqrtf_use=no
47770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47771 ac_ext=c
47772 ac_cpp='$CPP $CPPFLAGS'
47773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
47782 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
47784 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
47785 for ac_func in sqrtf
47786 do :
47787 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
47788 if test "x$ac_cv_func_sqrtf" = x""yes; then :
47789 cat >>confdefs.h <<_ACEOF
47790 #define HAVE_SQRTF 1
47791 _ACEOF
47794 done
47796 else
47798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
47799 $as_echo_n "checking for _sqrtf declaration... " >&6; }
47800 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
47801 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
47802 $as_echo_n "(cached) " >&6
47803 else
47806 ac_ext=cpp
47807 ac_cpp='$CXXCPP $CPPFLAGS'
47808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47813 /* end confdefs.h. */
47814 #include <math.h>
47815 #ifdef HAVE_IEEEFP_H
47816 #include <ieeefp.h>
47817 #endif
47820 main ()
47822 _sqrtf(0);
47824 return 0;
47826 _ACEOF
47827 if ac_fn_cxx_try_compile "$LINENO"; then :
47828 glibcxx_cv_func__sqrtf_use=yes
47829 else
47830 glibcxx_cv_func__sqrtf_use=no
47832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47833 ac_ext=c
47834 ac_cpp='$CPP $CPPFLAGS'
47835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
47844 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
47846 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
47847 for ac_func in _sqrtf
47848 do :
47849 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
47850 if test "x$ac_cv_func__sqrtf" = x""yes; then :
47851 cat >>confdefs.h <<_ACEOF
47852 #define HAVE__SQRTF 1
47853 _ACEOF
47856 done
47865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
47866 $as_echo_n "checking for sincosf declaration... " >&6; }
47867 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
47868 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
47869 $as_echo_n "(cached) " >&6
47870 else
47873 ac_ext=cpp
47874 ac_cpp='$CXXCPP $CPPFLAGS'
47875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47880 /* end confdefs.h. */
47881 #include <math.h>
47883 main ()
47885 sincosf(0, 0, 0);
47887 return 0;
47889 _ACEOF
47890 if ac_fn_cxx_try_compile "$LINENO"; then :
47891 glibcxx_cv_func_sincosf_use=yes
47892 else
47893 glibcxx_cv_func_sincosf_use=no
47895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47896 ac_ext=c
47897 ac_cpp='$CPP $CPPFLAGS'
47898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
47907 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
47909 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
47910 for ac_func in sincosf
47911 do :
47912 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
47913 if test "x$ac_cv_func_sincosf" = x""yes; then :
47914 cat >>confdefs.h <<_ACEOF
47915 #define HAVE_SINCOSF 1
47916 _ACEOF
47919 done
47921 else
47923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
47924 $as_echo_n "checking for _sincosf declaration... " >&6; }
47925 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
47926 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
47927 $as_echo_n "(cached) " >&6
47928 else
47931 ac_ext=cpp
47932 ac_cpp='$CXXCPP $CPPFLAGS'
47933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47938 /* end confdefs.h. */
47939 #include <math.h>
47941 main ()
47943 _sincosf(0, 0, 0);
47945 return 0;
47947 _ACEOF
47948 if ac_fn_cxx_try_compile "$LINENO"; then :
47949 glibcxx_cv_func__sincosf_use=yes
47950 else
47951 glibcxx_cv_func__sincosf_use=no
47953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47954 ac_ext=c
47955 ac_cpp='$CPP $CPPFLAGS'
47956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
47965 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
47967 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
47968 for ac_func in _sincosf
47969 do :
47970 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
47971 if test "x$ac_cv_func__sincosf" = x""yes; then :
47972 cat >>confdefs.h <<_ACEOF
47973 #define HAVE__SINCOSF 1
47974 _ACEOF
47977 done
47986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
47987 $as_echo_n "checking for finitef declaration... " >&6; }
47988 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
47989 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
47990 $as_echo_n "(cached) " >&6
47991 else
47994 ac_ext=cpp
47995 ac_cpp='$CXXCPP $CPPFLAGS'
47996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48001 /* end confdefs.h. */
48002 #include <math.h>
48003 #ifdef HAVE_IEEEFP_H
48004 #include <ieeefp.h>
48005 #endif
48008 main ()
48010 finitef(0);
48012 return 0;
48014 _ACEOF
48015 if ac_fn_cxx_try_compile "$LINENO"; then :
48016 glibcxx_cv_func_finitef_use=yes
48017 else
48018 glibcxx_cv_func_finitef_use=no
48020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48021 ac_ext=c
48022 ac_cpp='$CPP $CPPFLAGS'
48023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48032 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48034 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48035 for ac_func in finitef
48036 do :
48037 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48038 if test "x$ac_cv_func_finitef" = x""yes; then :
48039 cat >>confdefs.h <<_ACEOF
48040 #define HAVE_FINITEF 1
48041 _ACEOF
48044 done
48046 else
48048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48049 $as_echo_n "checking for _finitef declaration... " >&6; }
48050 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48051 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48052 $as_echo_n "(cached) " >&6
48053 else
48056 ac_ext=cpp
48057 ac_cpp='$CXXCPP $CPPFLAGS'
48058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48063 /* end confdefs.h. */
48064 #include <math.h>
48065 #ifdef HAVE_IEEEFP_H
48066 #include <ieeefp.h>
48067 #endif
48070 main ()
48072 _finitef(0);
48074 return 0;
48076 _ACEOF
48077 if ac_fn_cxx_try_compile "$LINENO"; then :
48078 glibcxx_cv_func__finitef_use=yes
48079 else
48080 glibcxx_cv_func__finitef_use=no
48082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48083 ac_ext=c
48084 ac_cpp='$CPP $CPPFLAGS'
48085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48094 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48096 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48097 for ac_func in _finitef
48098 do :
48099 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48100 if test "x$ac_cv_func__finitef" = x""yes; then :
48101 cat >>confdefs.h <<_ACEOF
48102 #define HAVE__FINITEF 1
48103 _ACEOF
48106 done
48115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48116 $as_echo_n "checking for long double trig functions... " >&6; }
48117 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48118 $as_echo_n "(cached) " >&6
48119 else
48122 ac_ext=cpp
48123 ac_cpp='$CXXCPP $CPPFLAGS'
48124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48129 /* end confdefs.h. */
48130 #include <math.h>
48132 main ()
48134 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48136 return 0;
48138 _ACEOF
48139 if ac_fn_cxx_try_compile "$LINENO"; then :
48140 glibcxx_cv_func_long_double_trig_use=yes
48141 else
48142 glibcxx_cv_func_long_double_trig_use=no
48144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48145 ac_ext=c
48146 ac_cpp='$CPP $CPPFLAGS'
48147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48154 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48155 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48156 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48157 do :
48158 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48159 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48160 eval as_val=\$$as_ac_var
48161 if test "x$as_val" = x""yes; then :
48162 cat >>confdefs.h <<_ACEOF
48163 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48164 _ACEOF
48167 done
48169 else
48170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48171 $as_echo_n "checking for _long double trig functions... " >&6; }
48172 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
48173 $as_echo_n "(cached) " >&6
48174 else
48177 ac_ext=cpp
48178 ac_cpp='$CXXCPP $CPPFLAGS'
48179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48184 /* end confdefs.h. */
48185 #include <math.h>
48187 main ()
48189 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
48191 return 0;
48193 _ACEOF
48194 if ac_fn_cxx_try_compile "$LINENO"; then :
48195 glibcxx_cv_func__long_double_trig_use=yes
48196 else
48197 glibcxx_cv_func__long_double_trig_use=no
48199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48200 ac_ext=c
48201 ac_cpp='$CPP $CPPFLAGS'
48202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
48209 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
48210 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
48211 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
48212 do :
48213 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48214 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48215 eval as_val=\$$as_ac_var
48216 if test "x$as_val" = x""yes; then :
48217 cat >>confdefs.h <<_ACEOF
48218 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48219 _ACEOF
48222 done
48231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
48232 $as_echo_n "checking for long double round functions... " >&6; }
48233 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
48234 $as_echo_n "(cached) " >&6
48235 else
48238 ac_ext=cpp
48239 ac_cpp='$CXXCPP $CPPFLAGS'
48240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48245 /* end confdefs.h. */
48246 #include <math.h>
48248 main ()
48250 ceill (0); floorl (0);
48252 return 0;
48254 _ACEOF
48255 if ac_fn_cxx_try_compile "$LINENO"; then :
48256 glibcxx_cv_func_long_double_round_use=yes
48257 else
48258 glibcxx_cv_func_long_double_round_use=no
48260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48261 ac_ext=c
48262 ac_cpp='$CPP $CPPFLAGS'
48263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
48270 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
48271 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
48272 for ac_func in ceill floorl
48273 do :
48274 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48275 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48276 eval as_val=\$$as_ac_var
48277 if test "x$as_val" = x""yes; then :
48278 cat >>confdefs.h <<_ACEOF
48279 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48280 _ACEOF
48283 done
48285 else
48286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
48287 $as_echo_n "checking for _long double round functions... " >&6; }
48288 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
48289 $as_echo_n "(cached) " >&6
48290 else
48293 ac_ext=cpp
48294 ac_cpp='$CXXCPP $CPPFLAGS'
48295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48300 /* end confdefs.h. */
48301 #include <math.h>
48303 main ()
48305 _ceill (0); _floorl (0);
48307 return 0;
48309 _ACEOF
48310 if ac_fn_cxx_try_compile "$LINENO"; then :
48311 glibcxx_cv_func__long_double_round_use=yes
48312 else
48313 glibcxx_cv_func__long_double_round_use=no
48315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48316 ac_ext=c
48317 ac_cpp='$CPP $CPPFLAGS'
48318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
48325 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
48326 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48327 for ac_func in _ceill _floorl
48328 do :
48329 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48330 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48331 eval as_val=\$$as_ac_var
48332 if test "x$as_val" = x""yes; then :
48333 cat >>confdefs.h <<_ACEOF
48334 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48335 _ACEOF
48338 done
48348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
48349 $as_echo_n "checking for isnanl declaration... " >&6; }
48350 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
48351 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
48352 $as_echo_n "(cached) " >&6
48353 else
48356 ac_ext=cpp
48357 ac_cpp='$CXXCPP $CPPFLAGS'
48358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48363 /* end confdefs.h. */
48364 #include <math.h>
48365 #ifdef HAVE_IEEEFP_H
48366 #include <ieeefp.h>
48367 #endif
48370 main ()
48372 isnanl(0);
48374 return 0;
48376 _ACEOF
48377 if ac_fn_cxx_try_compile "$LINENO"; then :
48378 glibcxx_cv_func_isnanl_use=yes
48379 else
48380 glibcxx_cv_func_isnanl_use=no
48382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48383 ac_ext=c
48384 ac_cpp='$CPP $CPPFLAGS'
48385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
48394 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
48396 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
48397 for ac_func in isnanl
48398 do :
48399 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
48400 if test "x$ac_cv_func_isnanl" = x""yes; then :
48401 cat >>confdefs.h <<_ACEOF
48402 #define HAVE_ISNANL 1
48403 _ACEOF
48406 done
48408 else
48410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
48411 $as_echo_n "checking for _isnanl declaration... " >&6; }
48412 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
48413 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
48414 $as_echo_n "(cached) " >&6
48415 else
48418 ac_ext=cpp
48419 ac_cpp='$CXXCPP $CPPFLAGS'
48420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48425 /* end confdefs.h. */
48426 #include <math.h>
48427 #ifdef HAVE_IEEEFP_H
48428 #include <ieeefp.h>
48429 #endif
48432 main ()
48434 _isnanl(0);
48436 return 0;
48438 _ACEOF
48439 if ac_fn_cxx_try_compile "$LINENO"; then :
48440 glibcxx_cv_func__isnanl_use=yes
48441 else
48442 glibcxx_cv_func__isnanl_use=no
48444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48445 ac_ext=c
48446 ac_cpp='$CPP $CPPFLAGS'
48447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
48456 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
48458 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
48459 for ac_func in _isnanl
48460 do :
48461 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
48462 if test "x$ac_cv_func__isnanl" = x""yes; then :
48463 cat >>confdefs.h <<_ACEOF
48464 #define HAVE__ISNANL 1
48465 _ACEOF
48468 done
48477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
48478 $as_echo_n "checking for isinfl declaration... " >&6; }
48479 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
48480 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
48481 $as_echo_n "(cached) " >&6
48482 else
48485 ac_ext=cpp
48486 ac_cpp='$CXXCPP $CPPFLAGS'
48487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48492 /* end confdefs.h. */
48493 #include <math.h>
48494 #ifdef HAVE_IEEEFP_H
48495 #include <ieeefp.h>
48496 #endif
48499 main ()
48501 isinfl(0);
48503 return 0;
48505 _ACEOF
48506 if ac_fn_cxx_try_compile "$LINENO"; then :
48507 glibcxx_cv_func_isinfl_use=yes
48508 else
48509 glibcxx_cv_func_isinfl_use=no
48511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48512 ac_ext=c
48513 ac_cpp='$CPP $CPPFLAGS'
48514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
48523 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
48525 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
48526 for ac_func in isinfl
48527 do :
48528 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
48529 if test "x$ac_cv_func_isinfl" = x""yes; then :
48530 cat >>confdefs.h <<_ACEOF
48531 #define HAVE_ISINFL 1
48532 _ACEOF
48535 done
48537 else
48539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
48540 $as_echo_n "checking for _isinfl declaration... " >&6; }
48541 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
48542 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
48543 $as_echo_n "(cached) " >&6
48544 else
48547 ac_ext=cpp
48548 ac_cpp='$CXXCPP $CPPFLAGS'
48549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48554 /* end confdefs.h. */
48555 #include <math.h>
48556 #ifdef HAVE_IEEEFP_H
48557 #include <ieeefp.h>
48558 #endif
48561 main ()
48563 _isinfl(0);
48565 return 0;
48567 _ACEOF
48568 if ac_fn_cxx_try_compile "$LINENO"; then :
48569 glibcxx_cv_func__isinfl_use=yes
48570 else
48571 glibcxx_cv_func__isinfl_use=no
48573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48574 ac_ext=c
48575 ac_cpp='$CPP $CPPFLAGS'
48576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
48585 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
48587 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
48588 for ac_func in _isinfl
48589 do :
48590 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
48591 if test "x$ac_cv_func__isinfl" = x""yes; then :
48592 cat >>confdefs.h <<_ACEOF
48593 #define HAVE__ISINFL 1
48594 _ACEOF
48597 done
48606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
48607 $as_echo_n "checking for atan2l declaration... " >&6; }
48608 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
48609 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
48610 $as_echo_n "(cached) " >&6
48611 else
48614 ac_ext=cpp
48615 ac_cpp='$CXXCPP $CPPFLAGS'
48616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48621 /* end confdefs.h. */
48622 #include <math.h>
48624 main ()
48626 atan2l(0, 0);
48628 return 0;
48630 _ACEOF
48631 if ac_fn_cxx_try_compile "$LINENO"; then :
48632 glibcxx_cv_func_atan2l_use=yes
48633 else
48634 glibcxx_cv_func_atan2l_use=no
48636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48637 ac_ext=c
48638 ac_cpp='$CPP $CPPFLAGS'
48639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
48648 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
48650 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
48651 for ac_func in atan2l
48652 do :
48653 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
48654 if test "x$ac_cv_func_atan2l" = x""yes; then :
48655 cat >>confdefs.h <<_ACEOF
48656 #define HAVE_ATAN2L 1
48657 _ACEOF
48660 done
48662 else
48664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
48665 $as_echo_n "checking for _atan2l declaration... " >&6; }
48666 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
48667 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
48668 $as_echo_n "(cached) " >&6
48669 else
48672 ac_ext=cpp
48673 ac_cpp='$CXXCPP $CPPFLAGS'
48674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48679 /* end confdefs.h. */
48680 #include <math.h>
48682 main ()
48684 _atan2l(0, 0);
48686 return 0;
48688 _ACEOF
48689 if ac_fn_cxx_try_compile "$LINENO"; then :
48690 glibcxx_cv_func__atan2l_use=yes
48691 else
48692 glibcxx_cv_func__atan2l_use=no
48694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48695 ac_ext=c
48696 ac_cpp='$CPP $CPPFLAGS'
48697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
48706 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
48708 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
48709 for ac_func in _atan2l
48710 do :
48711 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
48712 if test "x$ac_cv_func__atan2l" = x""yes; then :
48713 cat >>confdefs.h <<_ACEOF
48714 #define HAVE__ATAN2L 1
48715 _ACEOF
48718 done
48727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
48728 $as_echo_n "checking for expl declaration... " >&6; }
48729 if test x${glibcxx_cv_func_expl_use+set} != xset; then
48730 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
48731 $as_echo_n "(cached) " >&6
48732 else
48735 ac_ext=cpp
48736 ac_cpp='$CXXCPP $CPPFLAGS'
48737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48742 /* end confdefs.h. */
48743 #include <math.h>
48744 #ifdef HAVE_IEEEFP_H
48745 #include <ieeefp.h>
48746 #endif
48749 main ()
48751 expl(0);
48753 return 0;
48755 _ACEOF
48756 if ac_fn_cxx_try_compile "$LINENO"; then :
48757 glibcxx_cv_func_expl_use=yes
48758 else
48759 glibcxx_cv_func_expl_use=no
48761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48762 ac_ext=c
48763 ac_cpp='$CPP $CPPFLAGS'
48764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
48773 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
48775 if test x$glibcxx_cv_func_expl_use = x"yes"; then
48776 for ac_func in expl
48777 do :
48778 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
48779 if test "x$ac_cv_func_expl" = x""yes; then :
48780 cat >>confdefs.h <<_ACEOF
48781 #define HAVE_EXPL 1
48782 _ACEOF
48785 done
48787 else
48789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
48790 $as_echo_n "checking for _expl declaration... " >&6; }
48791 if test x${glibcxx_cv_func__expl_use+set} != xset; then
48792 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
48793 $as_echo_n "(cached) " >&6
48794 else
48797 ac_ext=cpp
48798 ac_cpp='$CXXCPP $CPPFLAGS'
48799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48804 /* end confdefs.h. */
48805 #include <math.h>
48806 #ifdef HAVE_IEEEFP_H
48807 #include <ieeefp.h>
48808 #endif
48811 main ()
48813 _expl(0);
48815 return 0;
48817 _ACEOF
48818 if ac_fn_cxx_try_compile "$LINENO"; then :
48819 glibcxx_cv_func__expl_use=yes
48820 else
48821 glibcxx_cv_func__expl_use=no
48823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48824 ac_ext=c
48825 ac_cpp='$CPP $CPPFLAGS'
48826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
48835 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
48837 if test x$glibcxx_cv_func__expl_use = x"yes"; then
48838 for ac_func in _expl
48839 do :
48840 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
48841 if test "x$ac_cv_func__expl" = x""yes; then :
48842 cat >>confdefs.h <<_ACEOF
48843 #define HAVE__EXPL 1
48844 _ACEOF
48847 done
48856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
48857 $as_echo_n "checking for fabsl declaration... " >&6; }
48858 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
48859 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
48860 $as_echo_n "(cached) " >&6
48861 else
48864 ac_ext=cpp
48865 ac_cpp='$CXXCPP $CPPFLAGS'
48866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48871 /* end confdefs.h. */
48872 #include <math.h>
48873 #ifdef HAVE_IEEEFP_H
48874 #include <ieeefp.h>
48875 #endif
48878 main ()
48880 fabsl(0);
48882 return 0;
48884 _ACEOF
48885 if ac_fn_cxx_try_compile "$LINENO"; then :
48886 glibcxx_cv_func_fabsl_use=yes
48887 else
48888 glibcxx_cv_func_fabsl_use=no
48890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48891 ac_ext=c
48892 ac_cpp='$CPP $CPPFLAGS'
48893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
48902 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
48904 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
48905 for ac_func in fabsl
48906 do :
48907 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
48908 if test "x$ac_cv_func_fabsl" = x""yes; then :
48909 cat >>confdefs.h <<_ACEOF
48910 #define HAVE_FABSL 1
48911 _ACEOF
48914 done
48916 else
48918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
48919 $as_echo_n "checking for _fabsl declaration... " >&6; }
48920 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
48921 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
48922 $as_echo_n "(cached) " >&6
48923 else
48926 ac_ext=cpp
48927 ac_cpp='$CXXCPP $CPPFLAGS'
48928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48933 /* end confdefs.h. */
48934 #include <math.h>
48935 #ifdef HAVE_IEEEFP_H
48936 #include <ieeefp.h>
48937 #endif
48940 main ()
48942 _fabsl(0);
48944 return 0;
48946 _ACEOF
48947 if ac_fn_cxx_try_compile "$LINENO"; then :
48948 glibcxx_cv_func__fabsl_use=yes
48949 else
48950 glibcxx_cv_func__fabsl_use=no
48952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48953 ac_ext=c
48954 ac_cpp='$CPP $CPPFLAGS'
48955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
48964 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
48966 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
48967 for ac_func in _fabsl
48968 do :
48969 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
48970 if test "x$ac_cv_func__fabsl" = x""yes; then :
48971 cat >>confdefs.h <<_ACEOF
48972 #define HAVE__FABSL 1
48973 _ACEOF
48976 done
48985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
48986 $as_echo_n "checking for fmodl declaration... " >&6; }
48987 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
48988 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
48989 $as_echo_n "(cached) " >&6
48990 else
48993 ac_ext=cpp
48994 ac_cpp='$CXXCPP $CPPFLAGS'
48995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49000 /* end confdefs.h. */
49001 #include <math.h>
49003 main ()
49005 fmodl(0, 0);
49007 return 0;
49009 _ACEOF
49010 if ac_fn_cxx_try_compile "$LINENO"; then :
49011 glibcxx_cv_func_fmodl_use=yes
49012 else
49013 glibcxx_cv_func_fmodl_use=no
49015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49016 ac_ext=c
49017 ac_cpp='$CPP $CPPFLAGS'
49018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49027 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49029 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
49030 for ac_func in fmodl
49031 do :
49032 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49033 if test "x$ac_cv_func_fmodl" = x""yes; then :
49034 cat >>confdefs.h <<_ACEOF
49035 #define HAVE_FMODL 1
49036 _ACEOF
49039 done
49041 else
49043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49044 $as_echo_n "checking for _fmodl declaration... " >&6; }
49045 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49046 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49047 $as_echo_n "(cached) " >&6
49048 else
49051 ac_ext=cpp
49052 ac_cpp='$CXXCPP $CPPFLAGS'
49053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49058 /* end confdefs.h. */
49059 #include <math.h>
49061 main ()
49063 _fmodl(0, 0);
49065 return 0;
49067 _ACEOF
49068 if ac_fn_cxx_try_compile "$LINENO"; then :
49069 glibcxx_cv_func__fmodl_use=yes
49070 else
49071 glibcxx_cv_func__fmodl_use=no
49073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49074 ac_ext=c
49075 ac_cpp='$CPP $CPPFLAGS'
49076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49085 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49087 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49088 for ac_func in _fmodl
49089 do :
49090 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49091 if test "x$ac_cv_func__fmodl" = x""yes; then :
49092 cat >>confdefs.h <<_ACEOF
49093 #define HAVE__FMODL 1
49094 _ACEOF
49097 done
49106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49107 $as_echo_n "checking for frexpl declaration... " >&6; }
49108 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49109 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49110 $as_echo_n "(cached) " >&6
49111 else
49114 ac_ext=cpp
49115 ac_cpp='$CXXCPP $CPPFLAGS'
49116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49121 /* end confdefs.h. */
49122 #include <math.h>
49124 main ()
49126 frexpl(0, 0);
49128 return 0;
49130 _ACEOF
49131 if ac_fn_cxx_try_compile "$LINENO"; then :
49132 glibcxx_cv_func_frexpl_use=yes
49133 else
49134 glibcxx_cv_func_frexpl_use=no
49136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49137 ac_ext=c
49138 ac_cpp='$CPP $CPPFLAGS'
49139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49148 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49150 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49151 for ac_func in frexpl
49152 do :
49153 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49154 if test "x$ac_cv_func_frexpl" = x""yes; then :
49155 cat >>confdefs.h <<_ACEOF
49156 #define HAVE_FREXPL 1
49157 _ACEOF
49160 done
49162 else
49164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49165 $as_echo_n "checking for _frexpl declaration... " >&6; }
49166 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49167 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
49168 $as_echo_n "(cached) " >&6
49169 else
49172 ac_ext=cpp
49173 ac_cpp='$CXXCPP $CPPFLAGS'
49174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49179 /* end confdefs.h. */
49180 #include <math.h>
49182 main ()
49184 _frexpl(0, 0);
49186 return 0;
49188 _ACEOF
49189 if ac_fn_cxx_try_compile "$LINENO"; then :
49190 glibcxx_cv_func__frexpl_use=yes
49191 else
49192 glibcxx_cv_func__frexpl_use=no
49194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49195 ac_ext=c
49196 ac_cpp='$CPP $CPPFLAGS'
49197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
49206 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
49208 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
49209 for ac_func in _frexpl
49210 do :
49211 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
49212 if test "x$ac_cv_func__frexpl" = x""yes; then :
49213 cat >>confdefs.h <<_ACEOF
49214 #define HAVE__FREXPL 1
49215 _ACEOF
49218 done
49227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
49228 $as_echo_n "checking for hypotl declaration... " >&6; }
49229 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
49230 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
49231 $as_echo_n "(cached) " >&6
49232 else
49235 ac_ext=cpp
49236 ac_cpp='$CXXCPP $CPPFLAGS'
49237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49242 /* end confdefs.h. */
49243 #include <math.h>
49245 main ()
49247 hypotl(0, 0);
49249 return 0;
49251 _ACEOF
49252 if ac_fn_cxx_try_compile "$LINENO"; then :
49253 glibcxx_cv_func_hypotl_use=yes
49254 else
49255 glibcxx_cv_func_hypotl_use=no
49257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49258 ac_ext=c
49259 ac_cpp='$CPP $CPPFLAGS'
49260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
49269 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
49271 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
49272 for ac_func in hypotl
49273 do :
49274 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
49275 if test "x$ac_cv_func_hypotl" = x""yes; then :
49276 cat >>confdefs.h <<_ACEOF
49277 #define HAVE_HYPOTL 1
49278 _ACEOF
49281 done
49283 else
49285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
49286 $as_echo_n "checking for _hypotl declaration... " >&6; }
49287 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
49288 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
49289 $as_echo_n "(cached) " >&6
49290 else
49293 ac_ext=cpp
49294 ac_cpp='$CXXCPP $CPPFLAGS'
49295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49300 /* end confdefs.h. */
49301 #include <math.h>
49303 main ()
49305 _hypotl(0, 0);
49307 return 0;
49309 _ACEOF
49310 if ac_fn_cxx_try_compile "$LINENO"; then :
49311 glibcxx_cv_func__hypotl_use=yes
49312 else
49313 glibcxx_cv_func__hypotl_use=no
49315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49316 ac_ext=c
49317 ac_cpp='$CPP $CPPFLAGS'
49318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
49327 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
49329 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
49330 for ac_func in _hypotl
49331 do :
49332 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
49333 if test "x$ac_cv_func__hypotl" = x""yes; then :
49334 cat >>confdefs.h <<_ACEOF
49335 #define HAVE__HYPOTL 1
49336 _ACEOF
49339 done
49348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
49349 $as_echo_n "checking for ldexpl declaration... " >&6; }
49350 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
49351 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
49352 $as_echo_n "(cached) " >&6
49353 else
49356 ac_ext=cpp
49357 ac_cpp='$CXXCPP $CPPFLAGS'
49358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49363 /* end confdefs.h. */
49364 #include <math.h>
49366 main ()
49368 ldexpl(0, 0);
49370 return 0;
49372 _ACEOF
49373 if ac_fn_cxx_try_compile "$LINENO"; then :
49374 glibcxx_cv_func_ldexpl_use=yes
49375 else
49376 glibcxx_cv_func_ldexpl_use=no
49378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49379 ac_ext=c
49380 ac_cpp='$CPP $CPPFLAGS'
49381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
49390 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
49392 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
49393 for ac_func in ldexpl
49394 do :
49395 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
49396 if test "x$ac_cv_func_ldexpl" = x""yes; then :
49397 cat >>confdefs.h <<_ACEOF
49398 #define HAVE_LDEXPL 1
49399 _ACEOF
49402 done
49404 else
49406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
49407 $as_echo_n "checking for _ldexpl declaration... " >&6; }
49408 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
49409 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
49410 $as_echo_n "(cached) " >&6
49411 else
49414 ac_ext=cpp
49415 ac_cpp='$CXXCPP $CPPFLAGS'
49416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49421 /* end confdefs.h. */
49422 #include <math.h>
49424 main ()
49426 _ldexpl(0, 0);
49428 return 0;
49430 _ACEOF
49431 if ac_fn_cxx_try_compile "$LINENO"; then :
49432 glibcxx_cv_func__ldexpl_use=yes
49433 else
49434 glibcxx_cv_func__ldexpl_use=no
49436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49437 ac_ext=c
49438 ac_cpp='$CPP $CPPFLAGS'
49439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
49448 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
49450 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
49451 for ac_func in _ldexpl
49452 do :
49453 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
49454 if test "x$ac_cv_func__ldexpl" = x""yes; then :
49455 cat >>confdefs.h <<_ACEOF
49456 #define HAVE__LDEXPL 1
49457 _ACEOF
49460 done
49469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
49470 $as_echo_n "checking for logl declaration... " >&6; }
49471 if test x${glibcxx_cv_func_logl_use+set} != xset; then
49472 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
49473 $as_echo_n "(cached) " >&6
49474 else
49477 ac_ext=cpp
49478 ac_cpp='$CXXCPP $CPPFLAGS'
49479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49484 /* end confdefs.h. */
49485 #include <math.h>
49486 #ifdef HAVE_IEEEFP_H
49487 #include <ieeefp.h>
49488 #endif
49491 main ()
49493 logl(0);
49495 return 0;
49497 _ACEOF
49498 if ac_fn_cxx_try_compile "$LINENO"; then :
49499 glibcxx_cv_func_logl_use=yes
49500 else
49501 glibcxx_cv_func_logl_use=no
49503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49504 ac_ext=c
49505 ac_cpp='$CPP $CPPFLAGS'
49506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
49515 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
49517 if test x$glibcxx_cv_func_logl_use = x"yes"; then
49518 for ac_func in logl
49519 do :
49520 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
49521 if test "x$ac_cv_func_logl" = x""yes; then :
49522 cat >>confdefs.h <<_ACEOF
49523 #define HAVE_LOGL 1
49524 _ACEOF
49527 done
49529 else
49531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
49532 $as_echo_n "checking for _logl declaration... " >&6; }
49533 if test x${glibcxx_cv_func__logl_use+set} != xset; then
49534 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
49535 $as_echo_n "(cached) " >&6
49536 else
49539 ac_ext=cpp
49540 ac_cpp='$CXXCPP $CPPFLAGS'
49541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49546 /* end confdefs.h. */
49547 #include <math.h>
49548 #ifdef HAVE_IEEEFP_H
49549 #include <ieeefp.h>
49550 #endif
49553 main ()
49555 _logl(0);
49557 return 0;
49559 _ACEOF
49560 if ac_fn_cxx_try_compile "$LINENO"; then :
49561 glibcxx_cv_func__logl_use=yes
49562 else
49563 glibcxx_cv_func__logl_use=no
49565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49566 ac_ext=c
49567 ac_cpp='$CPP $CPPFLAGS'
49568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
49577 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
49579 if test x$glibcxx_cv_func__logl_use = x"yes"; then
49580 for ac_func in _logl
49581 do :
49582 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
49583 if test "x$ac_cv_func__logl" = x""yes; then :
49584 cat >>confdefs.h <<_ACEOF
49585 #define HAVE__LOGL 1
49586 _ACEOF
49589 done
49598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
49599 $as_echo_n "checking for log10l declaration... " >&6; }
49600 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
49601 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
49602 $as_echo_n "(cached) " >&6
49603 else
49606 ac_ext=cpp
49607 ac_cpp='$CXXCPP $CPPFLAGS'
49608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49613 /* end confdefs.h. */
49614 #include <math.h>
49615 #ifdef HAVE_IEEEFP_H
49616 #include <ieeefp.h>
49617 #endif
49620 main ()
49622 log10l(0);
49624 return 0;
49626 _ACEOF
49627 if ac_fn_cxx_try_compile "$LINENO"; then :
49628 glibcxx_cv_func_log10l_use=yes
49629 else
49630 glibcxx_cv_func_log10l_use=no
49632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49633 ac_ext=c
49634 ac_cpp='$CPP $CPPFLAGS'
49635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
49644 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
49646 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
49647 for ac_func in log10l
49648 do :
49649 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
49650 if test "x$ac_cv_func_log10l" = x""yes; then :
49651 cat >>confdefs.h <<_ACEOF
49652 #define HAVE_LOG10L 1
49653 _ACEOF
49656 done
49658 else
49660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
49661 $as_echo_n "checking for _log10l declaration... " >&6; }
49662 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
49663 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
49664 $as_echo_n "(cached) " >&6
49665 else
49668 ac_ext=cpp
49669 ac_cpp='$CXXCPP $CPPFLAGS'
49670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49675 /* end confdefs.h. */
49676 #include <math.h>
49677 #ifdef HAVE_IEEEFP_H
49678 #include <ieeefp.h>
49679 #endif
49682 main ()
49684 _log10l(0);
49686 return 0;
49688 _ACEOF
49689 if ac_fn_cxx_try_compile "$LINENO"; then :
49690 glibcxx_cv_func__log10l_use=yes
49691 else
49692 glibcxx_cv_func__log10l_use=no
49694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49695 ac_ext=c
49696 ac_cpp='$CPP $CPPFLAGS'
49697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
49706 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
49708 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
49709 for ac_func in _log10l
49710 do :
49711 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
49712 if test "x$ac_cv_func__log10l" = x""yes; then :
49713 cat >>confdefs.h <<_ACEOF
49714 #define HAVE__LOG10L 1
49715 _ACEOF
49718 done
49727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
49728 $as_echo_n "checking for modfl declaration... " >&6; }
49729 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
49730 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
49731 $as_echo_n "(cached) " >&6
49732 else
49735 ac_ext=cpp
49736 ac_cpp='$CXXCPP $CPPFLAGS'
49737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49742 /* end confdefs.h. */
49743 #include <math.h>
49745 main ()
49747 modfl(0, 0);
49749 return 0;
49751 _ACEOF
49752 if ac_fn_cxx_try_compile "$LINENO"; then :
49753 glibcxx_cv_func_modfl_use=yes
49754 else
49755 glibcxx_cv_func_modfl_use=no
49757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49758 ac_ext=c
49759 ac_cpp='$CPP $CPPFLAGS'
49760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
49769 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
49771 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
49772 for ac_func in modfl
49773 do :
49774 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
49775 if test "x$ac_cv_func_modfl" = x""yes; then :
49776 cat >>confdefs.h <<_ACEOF
49777 #define HAVE_MODFL 1
49778 _ACEOF
49781 done
49783 else
49785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
49786 $as_echo_n "checking for _modfl declaration... " >&6; }
49787 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
49788 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
49789 $as_echo_n "(cached) " >&6
49790 else
49793 ac_ext=cpp
49794 ac_cpp='$CXXCPP $CPPFLAGS'
49795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49800 /* end confdefs.h. */
49801 #include <math.h>
49803 main ()
49805 _modfl(0, 0);
49807 return 0;
49809 _ACEOF
49810 if ac_fn_cxx_try_compile "$LINENO"; then :
49811 glibcxx_cv_func__modfl_use=yes
49812 else
49813 glibcxx_cv_func__modfl_use=no
49815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49816 ac_ext=c
49817 ac_cpp='$CPP $CPPFLAGS'
49818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
49827 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
49829 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
49830 for ac_func in _modfl
49831 do :
49832 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
49833 if test "x$ac_cv_func__modfl" = x""yes; then :
49834 cat >>confdefs.h <<_ACEOF
49835 #define HAVE__MODFL 1
49836 _ACEOF
49839 done
49848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
49849 $as_echo_n "checking for powl declaration... " >&6; }
49850 if test x${glibcxx_cv_func_powl_use+set} != xset; then
49851 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
49852 $as_echo_n "(cached) " >&6
49853 else
49856 ac_ext=cpp
49857 ac_cpp='$CXXCPP $CPPFLAGS'
49858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49863 /* end confdefs.h. */
49864 #include <math.h>
49866 main ()
49868 powl(0, 0);
49870 return 0;
49872 _ACEOF
49873 if ac_fn_cxx_try_compile "$LINENO"; then :
49874 glibcxx_cv_func_powl_use=yes
49875 else
49876 glibcxx_cv_func_powl_use=no
49878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49879 ac_ext=c
49880 ac_cpp='$CPP $CPPFLAGS'
49881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
49890 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
49892 if test x$glibcxx_cv_func_powl_use = x"yes"; then
49893 for ac_func in powl
49894 do :
49895 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
49896 if test "x$ac_cv_func_powl" = x""yes; then :
49897 cat >>confdefs.h <<_ACEOF
49898 #define HAVE_POWL 1
49899 _ACEOF
49902 done
49904 else
49906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
49907 $as_echo_n "checking for _powl declaration... " >&6; }
49908 if test x${glibcxx_cv_func__powl_use+set} != xset; then
49909 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
49910 $as_echo_n "(cached) " >&6
49911 else
49914 ac_ext=cpp
49915 ac_cpp='$CXXCPP $CPPFLAGS'
49916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49921 /* end confdefs.h. */
49922 #include <math.h>
49924 main ()
49926 _powl(0, 0);
49928 return 0;
49930 _ACEOF
49931 if ac_fn_cxx_try_compile "$LINENO"; then :
49932 glibcxx_cv_func__powl_use=yes
49933 else
49934 glibcxx_cv_func__powl_use=no
49936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49937 ac_ext=c
49938 ac_cpp='$CPP $CPPFLAGS'
49939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
49948 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
49950 if test x$glibcxx_cv_func__powl_use = x"yes"; then
49951 for ac_func in _powl
49952 do :
49953 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
49954 if test "x$ac_cv_func__powl" = x""yes; then :
49955 cat >>confdefs.h <<_ACEOF
49956 #define HAVE__POWL 1
49957 _ACEOF
49960 done
49969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
49970 $as_echo_n "checking for sqrtl declaration... " >&6; }
49971 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
49972 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
49973 $as_echo_n "(cached) " >&6
49974 else
49977 ac_ext=cpp
49978 ac_cpp='$CXXCPP $CPPFLAGS'
49979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49984 /* end confdefs.h. */
49985 #include <math.h>
49986 #ifdef HAVE_IEEEFP_H
49987 #include <ieeefp.h>
49988 #endif
49991 main ()
49993 sqrtl(0);
49995 return 0;
49997 _ACEOF
49998 if ac_fn_cxx_try_compile "$LINENO"; then :
49999 glibcxx_cv_func_sqrtl_use=yes
50000 else
50001 glibcxx_cv_func_sqrtl_use=no
50003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50004 ac_ext=c
50005 ac_cpp='$CPP $CPPFLAGS'
50006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
50015 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
50017 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
50018 for ac_func in sqrtl
50019 do :
50020 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
50021 if test "x$ac_cv_func_sqrtl" = x""yes; then :
50022 cat >>confdefs.h <<_ACEOF
50023 #define HAVE_SQRTL 1
50024 _ACEOF
50027 done
50029 else
50031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50032 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50033 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50034 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50035 $as_echo_n "(cached) " >&6
50036 else
50039 ac_ext=cpp
50040 ac_cpp='$CXXCPP $CPPFLAGS'
50041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50046 /* end confdefs.h. */
50047 #include <math.h>
50048 #ifdef HAVE_IEEEFP_H
50049 #include <ieeefp.h>
50050 #endif
50053 main ()
50055 _sqrtl(0);
50057 return 0;
50059 _ACEOF
50060 if ac_fn_cxx_try_compile "$LINENO"; then :
50061 glibcxx_cv_func__sqrtl_use=yes
50062 else
50063 glibcxx_cv_func__sqrtl_use=no
50065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50066 ac_ext=c
50067 ac_cpp='$CPP $CPPFLAGS'
50068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50077 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50079 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50080 for ac_func in _sqrtl
50081 do :
50082 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50083 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50084 cat >>confdefs.h <<_ACEOF
50085 #define HAVE__SQRTL 1
50086 _ACEOF
50089 done
50098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50099 $as_echo_n "checking for sincosl declaration... " >&6; }
50100 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50101 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50102 $as_echo_n "(cached) " >&6
50103 else
50106 ac_ext=cpp
50107 ac_cpp='$CXXCPP $CPPFLAGS'
50108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50113 /* end confdefs.h. */
50114 #include <math.h>
50116 main ()
50118 sincosl(0, 0, 0);
50120 return 0;
50122 _ACEOF
50123 if ac_fn_cxx_try_compile "$LINENO"; then :
50124 glibcxx_cv_func_sincosl_use=yes
50125 else
50126 glibcxx_cv_func_sincosl_use=no
50128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50129 ac_ext=c
50130 ac_cpp='$CPP $CPPFLAGS'
50131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50140 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50142 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50143 for ac_func in sincosl
50144 do :
50145 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50146 if test "x$ac_cv_func_sincosl" = x""yes; then :
50147 cat >>confdefs.h <<_ACEOF
50148 #define HAVE_SINCOSL 1
50149 _ACEOF
50152 done
50154 else
50156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50157 $as_echo_n "checking for _sincosl declaration... " >&6; }
50158 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50159 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50160 $as_echo_n "(cached) " >&6
50161 else
50164 ac_ext=cpp
50165 ac_cpp='$CXXCPP $CPPFLAGS'
50166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50171 /* end confdefs.h. */
50172 #include <math.h>
50174 main ()
50176 _sincosl(0, 0, 0);
50178 return 0;
50180 _ACEOF
50181 if ac_fn_cxx_try_compile "$LINENO"; then :
50182 glibcxx_cv_func__sincosl_use=yes
50183 else
50184 glibcxx_cv_func__sincosl_use=no
50186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50187 ac_ext=c
50188 ac_cpp='$CPP $CPPFLAGS'
50189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
50198 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
50200 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
50201 for ac_func in _sincosl
50202 do :
50203 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
50204 if test "x$ac_cv_func__sincosl" = x""yes; then :
50205 cat >>confdefs.h <<_ACEOF
50206 #define HAVE__SINCOSL 1
50207 _ACEOF
50210 done
50219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
50220 $as_echo_n "checking for finitel declaration... " >&6; }
50221 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
50222 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
50223 $as_echo_n "(cached) " >&6
50224 else
50227 ac_ext=cpp
50228 ac_cpp='$CXXCPP $CPPFLAGS'
50229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50234 /* end confdefs.h. */
50235 #include <math.h>
50236 #ifdef HAVE_IEEEFP_H
50237 #include <ieeefp.h>
50238 #endif
50241 main ()
50243 finitel(0);
50245 return 0;
50247 _ACEOF
50248 if ac_fn_cxx_try_compile "$LINENO"; then :
50249 glibcxx_cv_func_finitel_use=yes
50250 else
50251 glibcxx_cv_func_finitel_use=no
50253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50254 ac_ext=c
50255 ac_cpp='$CPP $CPPFLAGS'
50256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
50265 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
50267 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
50268 for ac_func in finitel
50269 do :
50270 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
50271 if test "x$ac_cv_func_finitel" = x""yes; then :
50272 cat >>confdefs.h <<_ACEOF
50273 #define HAVE_FINITEL 1
50274 _ACEOF
50277 done
50279 else
50281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
50282 $as_echo_n "checking for _finitel declaration... " >&6; }
50283 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
50284 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
50285 $as_echo_n "(cached) " >&6
50286 else
50289 ac_ext=cpp
50290 ac_cpp='$CXXCPP $CPPFLAGS'
50291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50296 /* end confdefs.h. */
50297 #include <math.h>
50298 #ifdef HAVE_IEEEFP_H
50299 #include <ieeefp.h>
50300 #endif
50303 main ()
50305 _finitel(0);
50307 return 0;
50309 _ACEOF
50310 if ac_fn_cxx_try_compile "$LINENO"; then :
50311 glibcxx_cv_func__finitel_use=yes
50312 else
50313 glibcxx_cv_func__finitel_use=no
50315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50316 ac_ext=c
50317 ac_cpp='$CPP $CPPFLAGS'
50318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
50327 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
50329 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
50330 for ac_func in _finitel
50331 do :
50332 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
50333 if test "x$ac_cv_func__finitel" = x""yes; then :
50334 cat >>confdefs.h <<_ACEOF
50335 #define HAVE__FINITEL 1
50336 _ACEOF
50339 done
50347 LIBS="$ac_save_LIBS"
50348 CXXFLAGS="$ac_save_CXXFLAGS"
50351 ac_test_CXXFLAGS="${CXXFLAGS+set}"
50352 ac_save_CXXFLAGS="$CXXFLAGS"
50353 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
50357 $as_echo_n "checking for strtold declaration... " >&6; }
50358 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
50359 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
50360 $as_echo_n "(cached) " >&6
50361 else
50364 ac_ext=cpp
50365 ac_cpp='$CXXCPP $CPPFLAGS'
50366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50371 /* end confdefs.h. */
50372 #include <stdlib.h>
50374 main ()
50376 strtold(0, 0);
50378 return 0;
50380 _ACEOF
50381 if ac_fn_cxx_try_compile "$LINENO"; then :
50382 glibcxx_cv_func_strtold_use=yes
50383 else
50384 glibcxx_cv_func_strtold_use=no
50386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50387 ac_ext=c
50388 ac_cpp='$CPP $CPPFLAGS'
50389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
50398 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
50399 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
50400 for ac_func in strtold
50401 do :
50402 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
50403 if test "x$ac_cv_func_strtold" = x""yes; then :
50404 cat >>confdefs.h <<_ACEOF
50405 #define HAVE_STRTOLD 1
50406 _ACEOF
50409 done
50416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
50417 $as_echo_n "checking for strtof declaration... " >&6; }
50418 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
50419 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
50420 $as_echo_n "(cached) " >&6
50421 else
50424 ac_ext=cpp
50425 ac_cpp='$CXXCPP $CPPFLAGS'
50426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50431 /* end confdefs.h. */
50432 #include <stdlib.h>
50434 main ()
50436 strtof(0, 0);
50438 return 0;
50440 _ACEOF
50441 if ac_fn_cxx_try_compile "$LINENO"; then :
50442 glibcxx_cv_func_strtof_use=yes
50443 else
50444 glibcxx_cv_func_strtof_use=no
50446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50447 ac_ext=c
50448 ac_cpp='$CPP $CPPFLAGS'
50449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
50458 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
50459 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
50460 for ac_func in strtof
50461 do :
50462 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
50463 if test "x$ac_cv_func_strtof" = x""yes; then :
50464 cat >>confdefs.h <<_ACEOF
50465 #define HAVE_STRTOF 1
50466 _ACEOF
50469 done
50476 CXXFLAGS="$ac_save_CXXFLAGS"
50478 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
50482 # Check whether --enable-tls was given.
50483 if test "${enable_tls+set}" = set; then :
50484 enableval=$enable_tls;
50485 case "$enableval" in
50486 yes|no) ;;
50487 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
50488 esac
50490 else
50491 enable_tls=yes
50495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
50496 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
50497 if test "${gcc_cv_have_tls+set}" = set; then :
50498 $as_echo_n "(cached) " >&6
50499 else
50501 if test "$cross_compiling" = yes; then :
50502 if test x$gcc_no_link = xyes; then
50503 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50506 /* end confdefs.h. */
50507 __thread int a; int b; int main() { return a = b; }
50508 _ACEOF
50509 if ac_fn_c_try_link "$LINENO"; then :
50510 chktls_save_LDFLAGS="$LDFLAGS"
50511 case $host in
50512 *-*-linux*)
50513 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
50515 esac
50516 chktls_save_CFLAGS="$CFLAGS"
50517 CFLAGS="-fPIC $CFLAGS"
50518 if test x$gcc_no_link = xyes; then
50519 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50522 /* end confdefs.h. */
50523 int f() { return 0; }
50524 _ACEOF
50525 if ac_fn_c_try_link "$LINENO"; then :
50526 if test x$gcc_no_link = xyes; then
50527 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50530 /* end confdefs.h. */
50531 __thread int a; int b; int f() { return a = b; }
50532 _ACEOF
50533 if ac_fn_c_try_link "$LINENO"; then :
50534 gcc_cv_have_tls=yes
50535 else
50536 gcc_cv_have_tls=no
50538 rm -f core conftest.err conftest.$ac_objext \
50539 conftest$ac_exeext conftest.$ac_ext
50540 else
50541 gcc_cv_have_tls=yes
50543 rm -f core conftest.err conftest.$ac_objext \
50544 conftest$ac_exeext conftest.$ac_ext
50545 CFLAGS="$chktls_save_CFLAGS"
50546 LDFLAGS="$chktls_save_LDFLAGS"
50547 else
50548 gcc_cv_have_tls=no
50550 rm -f core conftest.err conftest.$ac_objext \
50551 conftest$ac_exeext conftest.$ac_ext
50554 else
50555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50556 /* end confdefs.h. */
50557 __thread int a; int b; int main() { return a = b; }
50558 _ACEOF
50559 if ac_fn_c_try_run "$LINENO"; then :
50560 chktls_save_LDFLAGS="$LDFLAGS"
50561 LDFLAGS="-static $LDFLAGS"
50562 if test x$gcc_no_link = xyes; then
50563 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50566 /* end confdefs.h. */
50567 int main() { return 0; }
50568 _ACEOF
50569 if ac_fn_c_try_link "$LINENO"; then :
50570 if test "$cross_compiling" = yes; then :
50571 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50572 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50573 as_fn_error "cannot run test program while cross compiling
50574 See \`config.log' for more details." "$LINENO" 5; }
50575 else
50576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50577 /* end confdefs.h. */
50578 __thread int a; int b; int main() { return a = b; }
50579 _ACEOF
50580 if ac_fn_c_try_run "$LINENO"; then :
50581 gcc_cv_have_tls=yes
50582 else
50583 gcc_cv_have_tls=no
50585 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50586 conftest.$ac_objext conftest.beam conftest.$ac_ext
50589 else
50590 gcc_cv_have_tls=yes
50592 rm -f core conftest.err conftest.$ac_objext \
50593 conftest$ac_exeext conftest.$ac_ext
50594 LDFLAGS="$chktls_save_LDFLAGS"
50595 if test $gcc_cv_have_tls = yes; then
50596 chktls_save_CFLAGS="$CFLAGS"
50597 thread_CFLAGS=failed
50598 for flag in '' '-pthread' '-lpthread'; do
50599 CFLAGS="$flag $chktls_save_CFLAGS"
50600 if test x$gcc_no_link = xyes; then
50601 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50604 /* end confdefs.h. */
50605 #include <pthread.h>
50606 void *g(void *d) { return NULL; }
50608 main ()
50610 pthread_t t; pthread_create(&t,NULL,g,NULL);
50612 return 0;
50614 _ACEOF
50615 if ac_fn_c_try_link "$LINENO"; then :
50616 thread_CFLAGS="$flag"
50618 rm -f core conftest.err conftest.$ac_objext \
50619 conftest$ac_exeext conftest.$ac_ext
50620 if test "X$thread_CFLAGS" != Xfailed; then
50621 break
50623 done
50624 CFLAGS="$chktls_save_CFLAGS"
50625 if test "X$thread_CFLAGS" != Xfailed; then
50626 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
50627 if test "$cross_compiling" = yes; then :
50628 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50629 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50630 as_fn_error "cannot run test program while cross compiling
50631 See \`config.log' for more details." "$LINENO" 5; }
50632 else
50633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50634 /* end confdefs.h. */
50635 #include <pthread.h>
50636 __thread int a;
50637 static int *volatile a_in_other_thread;
50638 static void *
50639 thread_func (void *arg)
50641 a_in_other_thread = &a;
50642 return (void *)0;
50645 main ()
50647 pthread_t thread;
50648 void *thread_retval;
50649 int *volatile a_in_main_thread;
50650 a_in_main_thread = &a;
50651 if (pthread_create (&thread, (pthread_attr_t *)0,
50652 thread_func, (void *)0))
50653 return 0;
50654 if (pthread_join (thread, &thread_retval))
50655 return 0;
50656 return (a_in_other_thread == a_in_main_thread);
50658 return 0;
50660 _ACEOF
50661 if ac_fn_c_try_run "$LINENO"; then :
50662 gcc_cv_have_tls=yes
50663 else
50664 gcc_cv_have_tls=no
50666 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50667 conftest.$ac_objext conftest.beam conftest.$ac_ext
50670 CFLAGS="$chktls_save_CFLAGS"
50673 else
50674 gcc_cv_have_tls=no
50676 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50677 conftest.$ac_objext conftest.beam conftest.$ac_ext
50681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
50682 $as_echo "$gcc_cv_have_tls" >&6; }
50683 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
50685 $as_echo "#define HAVE_TLS 1" >>confdefs.h
50693 am_save_CPPFLAGS="$CPPFLAGS"
50695 for element in $INCICONV; do
50696 haveit=
50697 for x in $CPPFLAGS; do
50699 acl_save_prefix="$prefix"
50700 prefix="$acl_final_prefix"
50701 acl_save_exec_prefix="$exec_prefix"
50702 exec_prefix="$acl_final_exec_prefix"
50703 eval x=\"$x\"
50704 exec_prefix="$acl_save_exec_prefix"
50705 prefix="$acl_save_prefix"
50707 if test "X$x" = "X$element"; then
50708 haveit=yes
50709 break
50711 done
50712 if test -z "$haveit"; then
50713 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
50715 done
50718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
50719 $as_echo_n "checking for iconv... " >&6; }
50720 if test "${am_cv_func_iconv+set}" = set; then :
50721 $as_echo_n "(cached) " >&6
50722 else
50724 am_cv_func_iconv="no, consider installing GNU libiconv"
50725 am_cv_lib_iconv=no
50726 if test x$gcc_no_link = xyes; then
50727 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50730 /* end confdefs.h. */
50731 #include <stdlib.h>
50732 #include <iconv.h>
50734 main ()
50736 iconv_t cd = iconv_open("","");
50737 iconv(cd,NULL,NULL,NULL,NULL);
50738 iconv_close(cd);
50740 return 0;
50742 _ACEOF
50743 if ac_fn_c_try_link "$LINENO"; then :
50744 am_cv_func_iconv=yes
50746 rm -f core conftest.err conftest.$ac_objext \
50747 conftest$ac_exeext conftest.$ac_ext
50748 if test "$am_cv_func_iconv" != yes; then
50749 am_save_LIBS="$LIBS"
50750 LIBS="$LIBS $LIBICONV"
50751 if test x$gcc_no_link = xyes; then
50752 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50755 /* end confdefs.h. */
50756 #include <stdlib.h>
50757 #include <iconv.h>
50759 main ()
50761 iconv_t cd = iconv_open("","");
50762 iconv(cd,NULL,NULL,NULL,NULL);
50763 iconv_close(cd);
50765 return 0;
50767 _ACEOF
50768 if ac_fn_c_try_link "$LINENO"; then :
50769 am_cv_lib_iconv=yes
50770 am_cv_func_iconv=yes
50772 rm -f core conftest.err conftest.$ac_objext \
50773 conftest$ac_exeext conftest.$ac_ext
50774 LIBS="$am_save_LIBS"
50778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
50779 $as_echo "$am_cv_func_iconv" >&6; }
50780 if test "$am_cv_func_iconv" = yes; then
50782 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
50785 if test "$am_cv_lib_iconv" = yes; then
50786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
50787 $as_echo_n "checking how to link with libiconv... " >&6; }
50788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
50789 $as_echo "$LIBICONV" >&6; }
50790 else
50791 CPPFLAGS="$am_save_CPPFLAGS"
50792 LIBICONV=
50793 LTLIBICONV=
50798 if test "$am_cv_func_iconv" = yes; then
50799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
50800 $as_echo_n "checking for iconv declaration... " >&6; }
50801 if test "${am_cv_proto_iconv+set}" = set; then :
50802 $as_echo_n "(cached) " >&6
50803 else
50805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50806 /* end confdefs.h. */
50808 #include <stdlib.h>
50809 #include <iconv.h>
50810 extern
50811 #ifdef __cplusplus
50813 #endif
50814 #if defined(__STDC__) || defined(__cplusplus)
50815 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
50816 #else
50817 size_t iconv();
50818 #endif
50821 main ()
50825 return 0;
50827 _ACEOF
50828 if ac_fn_c_try_compile "$LINENO"; then :
50829 am_cv_proto_iconv_arg1=""
50830 else
50831 am_cv_proto_iconv_arg1="const"
50833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50834 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);"
50837 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
50838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
50839 }$am_cv_proto_iconv" >&5
50840 $as_echo "${ac_t:-
50841 }$am_cv_proto_iconv" >&6; }
50843 cat >>confdefs.h <<_ACEOF
50844 #define ICONV_CONST $am_cv_proto_iconv_arg1
50845 _ACEOF
50850 *-mingw32*)
50852 # If we're not using GNU ld, then there's no point in even trying these
50853 # tests. Check for that first. We should have already tested for gld
50854 # by now (in libtool), but require it now just to be safe...
50855 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
50856 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
50860 # The name set by libtool depends on the version of libtool. Shame on us
50861 # for depending on an impl detail, but c'est la vie. Older versions used
50862 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
50863 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
50864 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
50865 # set (hence we're using an older libtool), then set it.
50866 if test x${with_gnu_ld+set} != xset; then
50867 if test x${ac_cv_prog_gnu_ld+set} != xset; then
50868 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
50869 with_gnu_ld=no
50870 else
50871 with_gnu_ld=$ac_cv_prog_gnu_ld
50875 # Start by getting the version number. I think the libtool test already
50876 # does some of this, but throws away the result.
50877 glibcxx_ld_is_gold=no
50878 if test x"$with_gnu_ld" = x"yes"; then
50879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
50880 $as_echo_n "checking for ld version... " >&6; }
50882 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
50883 glibcxx_ld_is_gold=yes
50885 ldver=`$LD --version 2>/dev/null |
50886 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'`
50888 glibcxx_gnu_ld_version=`echo $ldver | \
50889 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
50890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
50891 $as_echo "$glibcxx_gnu_ld_version" >&6; }
50894 # Set --gc-sections.
50895 glibcxx_have_gc_sections=no
50896 if test "$glibcxx_ld_is_gold" = "yes"; then
50897 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
50898 glibcxx_have_gc_sections=yes
50900 else
50901 glibcxx_gcsections_min_ld=21602
50902 if test x"$with_gnu_ld" = x"yes" &&
50903 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
50904 glibcxx_have_gc_sections=yes
50907 if test "$glibcxx_have_gc_sections" = "yes"; then
50908 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
50909 # NB: This flag only works reliably after 2.16.1. Configure tests
50910 # for this are difficult, so hard wire a value that should work.
50912 ac_test_CFLAGS="${CFLAGS+set}"
50913 ac_save_CFLAGS="$CFLAGS"
50914 CFLAGS='-Wl,--gc-sections'
50916 # Check for -Wl,--gc-sections
50917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
50918 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
50919 if test x$gcc_no_link = xyes; then
50920 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50923 /* end confdefs.h. */
50924 int one(void) { return 1; }
50925 int two(void) { return 2; }
50928 main ()
50930 two();
50932 return 0;
50934 _ACEOF
50935 if ac_fn_c_try_link "$LINENO"; then :
50936 ac_gcsections=yes
50937 else
50938 ac_gcsections=no
50940 rm -f core conftest.err conftest.$ac_objext \
50941 conftest$ac_exeext conftest.$ac_ext
50942 if test "$ac_gcsections" = "yes"; then
50943 rm -f conftest.c
50944 touch conftest.c
50945 if $CC -c conftest.c; then
50946 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
50947 grep "Warning: gc-sections option ignored" > /dev/null; then
50948 ac_gcsections=no
50951 rm -f conftest.c conftest.o conftest
50953 if test "$ac_gcsections" = "yes"; then
50954 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
50956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
50957 $as_echo "$ac_gcsections" >&6; }
50959 if test "$ac_test_CFLAGS" = set; then
50960 CFLAGS="$ac_save_CFLAGS"
50961 else
50962 # this is the suspicious part
50963 CFLAGS=''
50967 # Set -z,relro.
50968 # Note this is only for shared objects.
50969 ac_ld_relro=no
50970 if test x"$with_gnu_ld" = x"yes"; then
50971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
50972 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
50973 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
50974 if test -n "$cxx_z_relo"; then
50975 OPT_LDFLAGS="-Wl,-z,relro"
50976 ac_ld_relro=yes
50978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
50979 $as_echo "$ac_ld_relro" >&6; }
50982 # Set linker optimization flags.
50983 if test x"$with_gnu_ld" = x"yes"; then
50984 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
50991 ac_test_CXXFLAGS="${CXXFLAGS+set}"
50992 ac_save_CXXFLAGS="$CXXFLAGS"
50993 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
50996 $as_echo_n "checking for sin in -lm... " >&6; }
50997 if test "${ac_cv_lib_m_sin+set}" = set; then :
50998 $as_echo_n "(cached) " >&6
50999 else
51000 ac_check_lib_save_LIBS=$LIBS
51001 LIBS="-lm $LIBS"
51002 if test x$gcc_no_link = xyes; then
51003 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51006 /* end confdefs.h. */
51008 /* Override any GCC internal prototype to avoid an error.
51009 Use char because int might match the return type of a GCC
51010 builtin and then its argument prototype would still apply. */
51011 #ifdef __cplusplus
51012 extern "C"
51013 #endif
51014 char sin ();
51016 main ()
51018 return sin ();
51020 return 0;
51022 _ACEOF
51023 if ac_fn_c_try_link "$LINENO"; then :
51024 ac_cv_lib_m_sin=yes
51025 else
51026 ac_cv_lib_m_sin=no
51028 rm -f core conftest.err conftest.$ac_objext \
51029 conftest$ac_exeext conftest.$ac_ext
51030 LIBS=$ac_check_lib_save_LIBS
51032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51033 $as_echo "$ac_cv_lib_m_sin" >&6; }
51034 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51035 libm="-lm"
51038 ac_save_LIBS="$LIBS"
51039 LIBS="$LIBS $libm"
51043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51044 $as_echo_n "checking for isinf declaration... " >&6; }
51045 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51046 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51047 $as_echo_n "(cached) " >&6
51048 else
51051 ac_ext=cpp
51052 ac_cpp='$CXXCPP $CPPFLAGS'
51053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51058 /* end confdefs.h. */
51059 #include <math.h>
51060 #ifdef HAVE_IEEEFP_H
51061 #include <ieeefp.h>
51062 #endif
51065 main ()
51067 isinf(0);
51069 return 0;
51071 _ACEOF
51072 if ac_fn_cxx_try_compile "$LINENO"; then :
51073 glibcxx_cv_func_isinf_use=yes
51074 else
51075 glibcxx_cv_func_isinf_use=no
51077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51078 ac_ext=c
51079 ac_cpp='$CPP $CPPFLAGS'
51080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51089 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51091 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51092 for ac_func in isinf
51093 do :
51094 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51095 if test "x$ac_cv_func_isinf" = x""yes; then :
51096 cat >>confdefs.h <<_ACEOF
51097 #define HAVE_ISINF 1
51098 _ACEOF
51101 done
51103 else
51105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51106 $as_echo_n "checking for _isinf declaration... " >&6; }
51107 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51108 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51109 $as_echo_n "(cached) " >&6
51110 else
51113 ac_ext=cpp
51114 ac_cpp='$CXXCPP $CPPFLAGS'
51115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51120 /* end confdefs.h. */
51121 #include <math.h>
51122 #ifdef HAVE_IEEEFP_H
51123 #include <ieeefp.h>
51124 #endif
51127 main ()
51129 _isinf(0);
51131 return 0;
51133 _ACEOF
51134 if ac_fn_cxx_try_compile "$LINENO"; then :
51135 glibcxx_cv_func__isinf_use=yes
51136 else
51137 glibcxx_cv_func__isinf_use=no
51139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51140 ac_ext=c
51141 ac_cpp='$CPP $CPPFLAGS'
51142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
51151 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51153 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51154 for ac_func in _isinf
51155 do :
51156 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51157 if test "x$ac_cv_func__isinf" = x""yes; then :
51158 cat >>confdefs.h <<_ACEOF
51159 #define HAVE__ISINF 1
51160 _ACEOF
51163 done
51172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51173 $as_echo_n "checking for isnan declaration... " >&6; }
51174 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51175 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51176 $as_echo_n "(cached) " >&6
51177 else
51180 ac_ext=cpp
51181 ac_cpp='$CXXCPP $CPPFLAGS'
51182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51187 /* end confdefs.h. */
51188 #include <math.h>
51189 #ifdef HAVE_IEEEFP_H
51190 #include <ieeefp.h>
51191 #endif
51194 main ()
51196 isnan(0);
51198 return 0;
51200 _ACEOF
51201 if ac_fn_cxx_try_compile "$LINENO"; then :
51202 glibcxx_cv_func_isnan_use=yes
51203 else
51204 glibcxx_cv_func_isnan_use=no
51206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51207 ac_ext=c
51208 ac_cpp='$CPP $CPPFLAGS'
51209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
51218 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
51220 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
51221 for ac_func in isnan
51222 do :
51223 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
51224 if test "x$ac_cv_func_isnan" = x""yes; then :
51225 cat >>confdefs.h <<_ACEOF
51226 #define HAVE_ISNAN 1
51227 _ACEOF
51230 done
51232 else
51234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
51235 $as_echo_n "checking for _isnan declaration... " >&6; }
51236 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
51237 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
51238 $as_echo_n "(cached) " >&6
51239 else
51242 ac_ext=cpp
51243 ac_cpp='$CXXCPP $CPPFLAGS'
51244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51249 /* end confdefs.h. */
51250 #include <math.h>
51251 #ifdef HAVE_IEEEFP_H
51252 #include <ieeefp.h>
51253 #endif
51256 main ()
51258 _isnan(0);
51260 return 0;
51262 _ACEOF
51263 if ac_fn_cxx_try_compile "$LINENO"; then :
51264 glibcxx_cv_func__isnan_use=yes
51265 else
51266 glibcxx_cv_func__isnan_use=no
51268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51269 ac_ext=c
51270 ac_cpp='$CPP $CPPFLAGS'
51271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
51280 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
51282 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
51283 for ac_func in _isnan
51284 do :
51285 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
51286 if test "x$ac_cv_func__isnan" = x""yes; then :
51287 cat >>confdefs.h <<_ACEOF
51288 #define HAVE__ISNAN 1
51289 _ACEOF
51292 done
51301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
51302 $as_echo_n "checking for finite declaration... " >&6; }
51303 if test x${glibcxx_cv_func_finite_use+set} != xset; then
51304 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
51305 $as_echo_n "(cached) " >&6
51306 else
51309 ac_ext=cpp
51310 ac_cpp='$CXXCPP $CPPFLAGS'
51311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51316 /* end confdefs.h. */
51317 #include <math.h>
51318 #ifdef HAVE_IEEEFP_H
51319 #include <ieeefp.h>
51320 #endif
51323 main ()
51325 finite(0);
51327 return 0;
51329 _ACEOF
51330 if ac_fn_cxx_try_compile "$LINENO"; then :
51331 glibcxx_cv_func_finite_use=yes
51332 else
51333 glibcxx_cv_func_finite_use=no
51335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51336 ac_ext=c
51337 ac_cpp='$CPP $CPPFLAGS'
51338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
51347 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
51349 if test x$glibcxx_cv_func_finite_use = x"yes"; then
51350 for ac_func in finite
51351 do :
51352 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
51353 if test "x$ac_cv_func_finite" = x""yes; then :
51354 cat >>confdefs.h <<_ACEOF
51355 #define HAVE_FINITE 1
51356 _ACEOF
51359 done
51361 else
51363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
51364 $as_echo_n "checking for _finite declaration... " >&6; }
51365 if test x${glibcxx_cv_func__finite_use+set} != xset; then
51366 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
51367 $as_echo_n "(cached) " >&6
51368 else
51371 ac_ext=cpp
51372 ac_cpp='$CXXCPP $CPPFLAGS'
51373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51378 /* end confdefs.h. */
51379 #include <math.h>
51380 #ifdef HAVE_IEEEFP_H
51381 #include <ieeefp.h>
51382 #endif
51385 main ()
51387 _finite(0);
51389 return 0;
51391 _ACEOF
51392 if ac_fn_cxx_try_compile "$LINENO"; then :
51393 glibcxx_cv_func__finite_use=yes
51394 else
51395 glibcxx_cv_func__finite_use=no
51397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51398 ac_ext=c
51399 ac_cpp='$CPP $CPPFLAGS'
51400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
51409 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
51411 if test x$glibcxx_cv_func__finite_use = x"yes"; then
51412 for ac_func in _finite
51413 do :
51414 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
51415 if test "x$ac_cv_func__finite" = x""yes; then :
51416 cat >>confdefs.h <<_ACEOF
51417 #define HAVE__FINITE 1
51418 _ACEOF
51421 done
51430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
51431 $as_echo_n "checking for sincos declaration... " >&6; }
51432 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
51433 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
51434 $as_echo_n "(cached) " >&6
51435 else
51438 ac_ext=cpp
51439 ac_cpp='$CXXCPP $CPPFLAGS'
51440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51445 /* end confdefs.h. */
51446 #include <math.h>
51448 main ()
51450 sincos(0, 0, 0);
51452 return 0;
51454 _ACEOF
51455 if ac_fn_cxx_try_compile "$LINENO"; then :
51456 glibcxx_cv_func_sincos_use=yes
51457 else
51458 glibcxx_cv_func_sincos_use=no
51460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51461 ac_ext=c
51462 ac_cpp='$CPP $CPPFLAGS'
51463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
51472 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
51474 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
51475 for ac_func in sincos
51476 do :
51477 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
51478 if test "x$ac_cv_func_sincos" = x""yes; then :
51479 cat >>confdefs.h <<_ACEOF
51480 #define HAVE_SINCOS 1
51481 _ACEOF
51484 done
51486 else
51488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
51489 $as_echo_n "checking for _sincos declaration... " >&6; }
51490 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
51491 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
51492 $as_echo_n "(cached) " >&6
51493 else
51496 ac_ext=cpp
51497 ac_cpp='$CXXCPP $CPPFLAGS'
51498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51503 /* end confdefs.h. */
51504 #include <math.h>
51506 main ()
51508 _sincos(0, 0, 0);
51510 return 0;
51512 _ACEOF
51513 if ac_fn_cxx_try_compile "$LINENO"; then :
51514 glibcxx_cv_func__sincos_use=yes
51515 else
51516 glibcxx_cv_func__sincos_use=no
51518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51519 ac_ext=c
51520 ac_cpp='$CPP $CPPFLAGS'
51521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
51530 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
51532 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
51533 for ac_func in _sincos
51534 do :
51535 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
51536 if test "x$ac_cv_func__sincos" = x""yes; then :
51537 cat >>confdefs.h <<_ACEOF
51538 #define HAVE__SINCOS 1
51539 _ACEOF
51542 done
51551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
51552 $as_echo_n "checking for fpclass declaration... " >&6; }
51553 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
51554 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
51555 $as_echo_n "(cached) " >&6
51556 else
51559 ac_ext=cpp
51560 ac_cpp='$CXXCPP $CPPFLAGS'
51561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51566 /* end confdefs.h. */
51567 #include <math.h>
51568 #ifdef HAVE_IEEEFP_H
51569 #include <ieeefp.h>
51570 #endif
51573 main ()
51575 fpclass(0);
51577 return 0;
51579 _ACEOF
51580 if ac_fn_cxx_try_compile "$LINENO"; then :
51581 glibcxx_cv_func_fpclass_use=yes
51582 else
51583 glibcxx_cv_func_fpclass_use=no
51585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51586 ac_ext=c
51587 ac_cpp='$CPP $CPPFLAGS'
51588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
51597 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
51599 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
51600 for ac_func in fpclass
51601 do :
51602 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
51603 if test "x$ac_cv_func_fpclass" = x""yes; then :
51604 cat >>confdefs.h <<_ACEOF
51605 #define HAVE_FPCLASS 1
51606 _ACEOF
51609 done
51611 else
51613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
51614 $as_echo_n "checking for _fpclass declaration... " >&6; }
51615 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
51616 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
51617 $as_echo_n "(cached) " >&6
51618 else
51621 ac_ext=cpp
51622 ac_cpp='$CXXCPP $CPPFLAGS'
51623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51628 /* end confdefs.h. */
51629 #include <math.h>
51630 #ifdef HAVE_IEEEFP_H
51631 #include <ieeefp.h>
51632 #endif
51635 main ()
51637 _fpclass(0);
51639 return 0;
51641 _ACEOF
51642 if ac_fn_cxx_try_compile "$LINENO"; then :
51643 glibcxx_cv_func__fpclass_use=yes
51644 else
51645 glibcxx_cv_func__fpclass_use=no
51647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51648 ac_ext=c
51649 ac_cpp='$CPP $CPPFLAGS'
51650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
51659 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
51661 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
51662 for ac_func in _fpclass
51663 do :
51664 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
51665 if test "x$ac_cv_func__fpclass" = x""yes; then :
51666 cat >>confdefs.h <<_ACEOF
51667 #define HAVE__FPCLASS 1
51668 _ACEOF
51671 done
51680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
51681 $as_echo_n "checking for qfpclass declaration... " >&6; }
51682 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
51683 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
51684 $as_echo_n "(cached) " >&6
51685 else
51688 ac_ext=cpp
51689 ac_cpp='$CXXCPP $CPPFLAGS'
51690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51695 /* end confdefs.h. */
51696 #include <math.h>
51697 #ifdef HAVE_IEEEFP_H
51698 #include <ieeefp.h>
51699 #endif
51702 main ()
51704 qfpclass(0);
51706 return 0;
51708 _ACEOF
51709 if ac_fn_cxx_try_compile "$LINENO"; then :
51710 glibcxx_cv_func_qfpclass_use=yes
51711 else
51712 glibcxx_cv_func_qfpclass_use=no
51714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51715 ac_ext=c
51716 ac_cpp='$CPP $CPPFLAGS'
51717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
51726 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
51728 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
51729 for ac_func in qfpclass
51730 do :
51731 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
51732 if test "x$ac_cv_func_qfpclass" = x""yes; then :
51733 cat >>confdefs.h <<_ACEOF
51734 #define HAVE_QFPCLASS 1
51735 _ACEOF
51738 done
51740 else
51742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
51743 $as_echo_n "checking for _qfpclass declaration... " >&6; }
51744 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
51745 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
51746 $as_echo_n "(cached) " >&6
51747 else
51750 ac_ext=cpp
51751 ac_cpp='$CXXCPP $CPPFLAGS'
51752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51757 /* end confdefs.h. */
51758 #include <math.h>
51759 #ifdef HAVE_IEEEFP_H
51760 #include <ieeefp.h>
51761 #endif
51764 main ()
51766 _qfpclass(0);
51768 return 0;
51770 _ACEOF
51771 if ac_fn_cxx_try_compile "$LINENO"; then :
51772 glibcxx_cv_func__qfpclass_use=yes
51773 else
51774 glibcxx_cv_func__qfpclass_use=no
51776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51777 ac_ext=c
51778 ac_cpp='$CPP $CPPFLAGS'
51779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
51788 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
51790 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
51791 for ac_func in _qfpclass
51792 do :
51793 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
51794 if test "x$ac_cv_func__qfpclass" = x""yes; then :
51795 cat >>confdefs.h <<_ACEOF
51796 #define HAVE__QFPCLASS 1
51797 _ACEOF
51800 done
51809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
51810 $as_echo_n "checking for hypot declaration... " >&6; }
51811 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
51812 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
51813 $as_echo_n "(cached) " >&6
51814 else
51817 ac_ext=cpp
51818 ac_cpp='$CXXCPP $CPPFLAGS'
51819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51824 /* end confdefs.h. */
51825 #include <math.h>
51827 main ()
51829 hypot(0, 0);
51831 return 0;
51833 _ACEOF
51834 if ac_fn_cxx_try_compile "$LINENO"; then :
51835 glibcxx_cv_func_hypot_use=yes
51836 else
51837 glibcxx_cv_func_hypot_use=no
51839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51840 ac_ext=c
51841 ac_cpp='$CPP $CPPFLAGS'
51842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
51851 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
51853 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
51854 for ac_func in hypot
51855 do :
51856 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
51857 if test "x$ac_cv_func_hypot" = x""yes; then :
51858 cat >>confdefs.h <<_ACEOF
51859 #define HAVE_HYPOT 1
51860 _ACEOF
51863 done
51865 else
51867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
51868 $as_echo_n "checking for _hypot declaration... " >&6; }
51869 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
51870 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
51871 $as_echo_n "(cached) " >&6
51872 else
51875 ac_ext=cpp
51876 ac_cpp='$CXXCPP $CPPFLAGS'
51877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51882 /* end confdefs.h. */
51883 #include <math.h>
51885 main ()
51887 _hypot(0, 0);
51889 return 0;
51891 _ACEOF
51892 if ac_fn_cxx_try_compile "$LINENO"; then :
51893 glibcxx_cv_func__hypot_use=yes
51894 else
51895 glibcxx_cv_func__hypot_use=no
51897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51898 ac_ext=c
51899 ac_cpp='$CPP $CPPFLAGS'
51900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
51909 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
51911 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
51912 for ac_func in _hypot
51913 do :
51914 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
51915 if test "x$ac_cv_func__hypot" = x""yes; then :
51916 cat >>confdefs.h <<_ACEOF
51917 #define HAVE__HYPOT 1
51918 _ACEOF
51921 done
51930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
51931 $as_echo_n "checking for float trig functions... " >&6; }
51932 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
51933 $as_echo_n "(cached) " >&6
51934 else
51937 ac_ext=cpp
51938 ac_cpp='$CXXCPP $CPPFLAGS'
51939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51944 /* end confdefs.h. */
51945 #include <math.h>
51947 main ()
51949 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
51951 return 0;
51953 _ACEOF
51954 if ac_fn_cxx_try_compile "$LINENO"; then :
51955 glibcxx_cv_func_float_trig_use=yes
51956 else
51957 glibcxx_cv_func_float_trig_use=no
51959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51960 ac_ext=c
51961 ac_cpp='$CPP $CPPFLAGS'
51962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
51969 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
51970 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
51971 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
51972 do :
51973 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51974 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51975 eval as_val=\$$as_ac_var
51976 if test "x$as_val" = x""yes; then :
51977 cat >>confdefs.h <<_ACEOF
51978 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51979 _ACEOF
51982 done
51984 else
51985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
51986 $as_echo_n "checking for _float trig functions... " >&6; }
51987 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
51988 $as_echo_n "(cached) " >&6
51989 else
51992 ac_ext=cpp
51993 ac_cpp='$CXXCPP $CPPFLAGS'
51994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51999 /* end confdefs.h. */
52000 #include <math.h>
52002 main ()
52004 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
52006 return 0;
52008 _ACEOF
52009 if ac_fn_cxx_try_compile "$LINENO"; then :
52010 glibcxx_cv_func__float_trig_use=yes
52011 else
52012 glibcxx_cv_func__float_trig_use=no
52014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52015 ac_ext=c
52016 ac_cpp='$CPP $CPPFLAGS'
52017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
52024 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
52025 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
52026 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
52027 do :
52028 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52029 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52030 eval as_val=\$$as_ac_var
52031 if test "x$as_val" = x""yes; then :
52032 cat >>confdefs.h <<_ACEOF
52033 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52034 _ACEOF
52037 done
52046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52047 $as_echo_n "checking for float round functions... " >&6; }
52048 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52049 $as_echo_n "(cached) " >&6
52050 else
52053 ac_ext=cpp
52054 ac_cpp='$CXXCPP $CPPFLAGS'
52055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52060 /* end confdefs.h. */
52061 #include <math.h>
52063 main ()
52065 ceilf (0); floorf (0);
52067 return 0;
52069 _ACEOF
52070 if ac_fn_cxx_try_compile "$LINENO"; then :
52071 glibcxx_cv_func_float_round_use=yes
52072 else
52073 glibcxx_cv_func_float_round_use=no
52075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52076 ac_ext=c
52077 ac_cpp='$CPP $CPPFLAGS'
52078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52085 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52086 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52087 for ac_func in ceilf floorf
52088 do :
52089 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52090 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52091 eval as_val=\$$as_ac_var
52092 if test "x$as_val" = x""yes; then :
52093 cat >>confdefs.h <<_ACEOF
52094 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52095 _ACEOF
52098 done
52100 else
52101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52102 $as_echo_n "checking for _float round functions... " >&6; }
52103 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52104 $as_echo_n "(cached) " >&6
52105 else
52108 ac_ext=cpp
52109 ac_cpp='$CXXCPP $CPPFLAGS'
52110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52115 /* end confdefs.h. */
52116 #include <math.h>
52118 main ()
52120 _ceilf (0); _floorf (0);
52122 return 0;
52124 _ACEOF
52125 if ac_fn_cxx_try_compile "$LINENO"; then :
52126 glibcxx_cv_func__float_round_use=yes
52127 else
52128 glibcxx_cv_func__float_round_use=no
52130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52131 ac_ext=c
52132 ac_cpp='$CPP $CPPFLAGS'
52133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52140 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52141 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52142 for ac_func in _ceilf _floorf
52143 do :
52144 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52145 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52146 eval as_val=\$$as_ac_var
52147 if test "x$as_val" = x""yes; then :
52148 cat >>confdefs.h <<_ACEOF
52149 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52150 _ACEOF
52153 done
52163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52164 $as_echo_n "checking for expf declaration... " >&6; }
52165 if test x${glibcxx_cv_func_expf_use+set} != xset; then
52166 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52167 $as_echo_n "(cached) " >&6
52168 else
52171 ac_ext=cpp
52172 ac_cpp='$CXXCPP $CPPFLAGS'
52173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52178 /* end confdefs.h. */
52179 #include <math.h>
52180 #ifdef HAVE_IEEEFP_H
52181 #include <ieeefp.h>
52182 #endif
52185 main ()
52187 expf(0);
52189 return 0;
52191 _ACEOF
52192 if ac_fn_cxx_try_compile "$LINENO"; then :
52193 glibcxx_cv_func_expf_use=yes
52194 else
52195 glibcxx_cv_func_expf_use=no
52197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52198 ac_ext=c
52199 ac_cpp='$CPP $CPPFLAGS'
52200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
52209 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
52211 if test x$glibcxx_cv_func_expf_use = x"yes"; then
52212 for ac_func in expf
52213 do :
52214 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
52215 if test "x$ac_cv_func_expf" = x""yes; then :
52216 cat >>confdefs.h <<_ACEOF
52217 #define HAVE_EXPF 1
52218 _ACEOF
52221 done
52223 else
52225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
52226 $as_echo_n "checking for _expf declaration... " >&6; }
52227 if test x${glibcxx_cv_func__expf_use+set} != xset; then
52228 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
52229 $as_echo_n "(cached) " >&6
52230 else
52233 ac_ext=cpp
52234 ac_cpp='$CXXCPP $CPPFLAGS'
52235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52240 /* end confdefs.h. */
52241 #include <math.h>
52242 #ifdef HAVE_IEEEFP_H
52243 #include <ieeefp.h>
52244 #endif
52247 main ()
52249 _expf(0);
52251 return 0;
52253 _ACEOF
52254 if ac_fn_cxx_try_compile "$LINENO"; then :
52255 glibcxx_cv_func__expf_use=yes
52256 else
52257 glibcxx_cv_func__expf_use=no
52259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52260 ac_ext=c
52261 ac_cpp='$CPP $CPPFLAGS'
52262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
52271 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
52273 if test x$glibcxx_cv_func__expf_use = x"yes"; then
52274 for ac_func in _expf
52275 do :
52276 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
52277 if test "x$ac_cv_func__expf" = x""yes; then :
52278 cat >>confdefs.h <<_ACEOF
52279 #define HAVE__EXPF 1
52280 _ACEOF
52283 done
52292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
52293 $as_echo_n "checking for isnanf declaration... " >&6; }
52294 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
52295 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
52296 $as_echo_n "(cached) " >&6
52297 else
52300 ac_ext=cpp
52301 ac_cpp='$CXXCPP $CPPFLAGS'
52302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52307 /* end confdefs.h. */
52308 #include <math.h>
52309 #ifdef HAVE_IEEEFP_H
52310 #include <ieeefp.h>
52311 #endif
52314 main ()
52316 isnanf(0);
52318 return 0;
52320 _ACEOF
52321 if ac_fn_cxx_try_compile "$LINENO"; then :
52322 glibcxx_cv_func_isnanf_use=yes
52323 else
52324 glibcxx_cv_func_isnanf_use=no
52326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52327 ac_ext=c
52328 ac_cpp='$CPP $CPPFLAGS'
52329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
52338 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
52340 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
52341 for ac_func in isnanf
52342 do :
52343 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
52344 if test "x$ac_cv_func_isnanf" = x""yes; then :
52345 cat >>confdefs.h <<_ACEOF
52346 #define HAVE_ISNANF 1
52347 _ACEOF
52350 done
52352 else
52354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
52355 $as_echo_n "checking for _isnanf declaration... " >&6; }
52356 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
52357 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
52358 $as_echo_n "(cached) " >&6
52359 else
52362 ac_ext=cpp
52363 ac_cpp='$CXXCPP $CPPFLAGS'
52364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52369 /* end confdefs.h. */
52370 #include <math.h>
52371 #ifdef HAVE_IEEEFP_H
52372 #include <ieeefp.h>
52373 #endif
52376 main ()
52378 _isnanf(0);
52380 return 0;
52382 _ACEOF
52383 if ac_fn_cxx_try_compile "$LINENO"; then :
52384 glibcxx_cv_func__isnanf_use=yes
52385 else
52386 glibcxx_cv_func__isnanf_use=no
52388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52389 ac_ext=c
52390 ac_cpp='$CPP $CPPFLAGS'
52391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
52400 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
52402 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
52403 for ac_func in _isnanf
52404 do :
52405 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
52406 if test "x$ac_cv_func__isnanf" = x""yes; then :
52407 cat >>confdefs.h <<_ACEOF
52408 #define HAVE__ISNANF 1
52409 _ACEOF
52412 done
52421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
52422 $as_echo_n "checking for isinff declaration... " >&6; }
52423 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
52424 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
52425 $as_echo_n "(cached) " >&6
52426 else
52429 ac_ext=cpp
52430 ac_cpp='$CXXCPP $CPPFLAGS'
52431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52436 /* end confdefs.h. */
52437 #include <math.h>
52438 #ifdef HAVE_IEEEFP_H
52439 #include <ieeefp.h>
52440 #endif
52443 main ()
52445 isinff(0);
52447 return 0;
52449 _ACEOF
52450 if ac_fn_cxx_try_compile "$LINENO"; then :
52451 glibcxx_cv_func_isinff_use=yes
52452 else
52453 glibcxx_cv_func_isinff_use=no
52455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52456 ac_ext=c
52457 ac_cpp='$CPP $CPPFLAGS'
52458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
52467 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
52469 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
52470 for ac_func in isinff
52471 do :
52472 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
52473 if test "x$ac_cv_func_isinff" = x""yes; then :
52474 cat >>confdefs.h <<_ACEOF
52475 #define HAVE_ISINFF 1
52476 _ACEOF
52479 done
52481 else
52483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
52484 $as_echo_n "checking for _isinff declaration... " >&6; }
52485 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
52486 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
52487 $as_echo_n "(cached) " >&6
52488 else
52491 ac_ext=cpp
52492 ac_cpp='$CXXCPP $CPPFLAGS'
52493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52498 /* end confdefs.h. */
52499 #include <math.h>
52500 #ifdef HAVE_IEEEFP_H
52501 #include <ieeefp.h>
52502 #endif
52505 main ()
52507 _isinff(0);
52509 return 0;
52511 _ACEOF
52512 if ac_fn_cxx_try_compile "$LINENO"; then :
52513 glibcxx_cv_func__isinff_use=yes
52514 else
52515 glibcxx_cv_func__isinff_use=no
52517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52518 ac_ext=c
52519 ac_cpp='$CPP $CPPFLAGS'
52520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
52529 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
52531 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
52532 for ac_func in _isinff
52533 do :
52534 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
52535 if test "x$ac_cv_func__isinff" = x""yes; then :
52536 cat >>confdefs.h <<_ACEOF
52537 #define HAVE__ISINFF 1
52538 _ACEOF
52541 done
52550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
52551 $as_echo_n "checking for atan2f declaration... " >&6; }
52552 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
52553 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
52554 $as_echo_n "(cached) " >&6
52555 else
52558 ac_ext=cpp
52559 ac_cpp='$CXXCPP $CPPFLAGS'
52560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52565 /* end confdefs.h. */
52566 #include <math.h>
52568 main ()
52570 atan2f(0, 0);
52572 return 0;
52574 _ACEOF
52575 if ac_fn_cxx_try_compile "$LINENO"; then :
52576 glibcxx_cv_func_atan2f_use=yes
52577 else
52578 glibcxx_cv_func_atan2f_use=no
52580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52581 ac_ext=c
52582 ac_cpp='$CPP $CPPFLAGS'
52583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
52592 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
52594 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
52595 for ac_func in atan2f
52596 do :
52597 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
52598 if test "x$ac_cv_func_atan2f" = x""yes; then :
52599 cat >>confdefs.h <<_ACEOF
52600 #define HAVE_ATAN2F 1
52601 _ACEOF
52604 done
52606 else
52608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
52609 $as_echo_n "checking for _atan2f declaration... " >&6; }
52610 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
52611 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
52612 $as_echo_n "(cached) " >&6
52613 else
52616 ac_ext=cpp
52617 ac_cpp='$CXXCPP $CPPFLAGS'
52618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52623 /* end confdefs.h. */
52624 #include <math.h>
52626 main ()
52628 _atan2f(0, 0);
52630 return 0;
52632 _ACEOF
52633 if ac_fn_cxx_try_compile "$LINENO"; then :
52634 glibcxx_cv_func__atan2f_use=yes
52635 else
52636 glibcxx_cv_func__atan2f_use=no
52638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52639 ac_ext=c
52640 ac_cpp='$CPP $CPPFLAGS'
52641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
52650 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
52652 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
52653 for ac_func in _atan2f
52654 do :
52655 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
52656 if test "x$ac_cv_func__atan2f" = x""yes; then :
52657 cat >>confdefs.h <<_ACEOF
52658 #define HAVE__ATAN2F 1
52659 _ACEOF
52662 done
52671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
52672 $as_echo_n "checking for fabsf declaration... " >&6; }
52673 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
52674 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
52675 $as_echo_n "(cached) " >&6
52676 else
52679 ac_ext=cpp
52680 ac_cpp='$CXXCPP $CPPFLAGS'
52681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52686 /* end confdefs.h. */
52687 #include <math.h>
52688 #ifdef HAVE_IEEEFP_H
52689 #include <ieeefp.h>
52690 #endif
52693 main ()
52695 fabsf(0);
52697 return 0;
52699 _ACEOF
52700 if ac_fn_cxx_try_compile "$LINENO"; then :
52701 glibcxx_cv_func_fabsf_use=yes
52702 else
52703 glibcxx_cv_func_fabsf_use=no
52705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52706 ac_ext=c
52707 ac_cpp='$CPP $CPPFLAGS'
52708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
52717 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
52719 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
52720 for ac_func in fabsf
52721 do :
52722 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
52723 if test "x$ac_cv_func_fabsf" = x""yes; then :
52724 cat >>confdefs.h <<_ACEOF
52725 #define HAVE_FABSF 1
52726 _ACEOF
52729 done
52731 else
52733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
52734 $as_echo_n "checking for _fabsf declaration... " >&6; }
52735 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
52736 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
52737 $as_echo_n "(cached) " >&6
52738 else
52741 ac_ext=cpp
52742 ac_cpp='$CXXCPP $CPPFLAGS'
52743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52748 /* end confdefs.h. */
52749 #include <math.h>
52750 #ifdef HAVE_IEEEFP_H
52751 #include <ieeefp.h>
52752 #endif
52755 main ()
52757 _fabsf(0);
52759 return 0;
52761 _ACEOF
52762 if ac_fn_cxx_try_compile "$LINENO"; then :
52763 glibcxx_cv_func__fabsf_use=yes
52764 else
52765 glibcxx_cv_func__fabsf_use=no
52767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52768 ac_ext=c
52769 ac_cpp='$CPP $CPPFLAGS'
52770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
52779 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
52781 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
52782 for ac_func in _fabsf
52783 do :
52784 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
52785 if test "x$ac_cv_func__fabsf" = x""yes; then :
52786 cat >>confdefs.h <<_ACEOF
52787 #define HAVE__FABSF 1
52788 _ACEOF
52791 done
52800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
52801 $as_echo_n "checking for fmodf declaration... " >&6; }
52802 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
52803 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
52804 $as_echo_n "(cached) " >&6
52805 else
52808 ac_ext=cpp
52809 ac_cpp='$CXXCPP $CPPFLAGS'
52810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52815 /* end confdefs.h. */
52816 #include <math.h>
52818 main ()
52820 fmodf(0, 0);
52822 return 0;
52824 _ACEOF
52825 if ac_fn_cxx_try_compile "$LINENO"; then :
52826 glibcxx_cv_func_fmodf_use=yes
52827 else
52828 glibcxx_cv_func_fmodf_use=no
52830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52831 ac_ext=c
52832 ac_cpp='$CPP $CPPFLAGS'
52833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
52842 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
52844 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
52845 for ac_func in fmodf
52846 do :
52847 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
52848 if test "x$ac_cv_func_fmodf" = x""yes; then :
52849 cat >>confdefs.h <<_ACEOF
52850 #define HAVE_FMODF 1
52851 _ACEOF
52854 done
52856 else
52858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
52859 $as_echo_n "checking for _fmodf declaration... " >&6; }
52860 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
52861 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
52862 $as_echo_n "(cached) " >&6
52863 else
52866 ac_ext=cpp
52867 ac_cpp='$CXXCPP $CPPFLAGS'
52868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52873 /* end confdefs.h. */
52874 #include <math.h>
52876 main ()
52878 _fmodf(0, 0);
52880 return 0;
52882 _ACEOF
52883 if ac_fn_cxx_try_compile "$LINENO"; then :
52884 glibcxx_cv_func__fmodf_use=yes
52885 else
52886 glibcxx_cv_func__fmodf_use=no
52888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52889 ac_ext=c
52890 ac_cpp='$CPP $CPPFLAGS'
52891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
52900 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
52902 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
52903 for ac_func in _fmodf
52904 do :
52905 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
52906 if test "x$ac_cv_func__fmodf" = x""yes; then :
52907 cat >>confdefs.h <<_ACEOF
52908 #define HAVE__FMODF 1
52909 _ACEOF
52912 done
52921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
52922 $as_echo_n "checking for frexpf declaration... " >&6; }
52923 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
52924 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
52925 $as_echo_n "(cached) " >&6
52926 else
52929 ac_ext=cpp
52930 ac_cpp='$CXXCPP $CPPFLAGS'
52931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52936 /* end confdefs.h. */
52937 #include <math.h>
52939 main ()
52941 frexpf(0, 0);
52943 return 0;
52945 _ACEOF
52946 if ac_fn_cxx_try_compile "$LINENO"; then :
52947 glibcxx_cv_func_frexpf_use=yes
52948 else
52949 glibcxx_cv_func_frexpf_use=no
52951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52952 ac_ext=c
52953 ac_cpp='$CPP $CPPFLAGS'
52954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
52963 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
52965 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
52966 for ac_func in frexpf
52967 do :
52968 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
52969 if test "x$ac_cv_func_frexpf" = x""yes; then :
52970 cat >>confdefs.h <<_ACEOF
52971 #define HAVE_FREXPF 1
52972 _ACEOF
52975 done
52977 else
52979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
52980 $as_echo_n "checking for _frexpf declaration... " >&6; }
52981 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
52982 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
52983 $as_echo_n "(cached) " >&6
52984 else
52987 ac_ext=cpp
52988 ac_cpp='$CXXCPP $CPPFLAGS'
52989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52994 /* end confdefs.h. */
52995 #include <math.h>
52997 main ()
52999 _frexpf(0, 0);
53001 return 0;
53003 _ACEOF
53004 if ac_fn_cxx_try_compile "$LINENO"; then :
53005 glibcxx_cv_func__frexpf_use=yes
53006 else
53007 glibcxx_cv_func__frexpf_use=no
53009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53010 ac_ext=c
53011 ac_cpp='$CPP $CPPFLAGS'
53012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
53021 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
53023 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
53024 for ac_func in _frexpf
53025 do :
53026 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
53027 if test "x$ac_cv_func__frexpf" = x""yes; then :
53028 cat >>confdefs.h <<_ACEOF
53029 #define HAVE__FREXPF 1
53030 _ACEOF
53033 done
53042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53043 $as_echo_n "checking for hypotf declaration... " >&6; }
53044 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53045 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53046 $as_echo_n "(cached) " >&6
53047 else
53050 ac_ext=cpp
53051 ac_cpp='$CXXCPP $CPPFLAGS'
53052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53057 /* end confdefs.h. */
53058 #include <math.h>
53060 main ()
53062 hypotf(0, 0);
53064 return 0;
53066 _ACEOF
53067 if ac_fn_cxx_try_compile "$LINENO"; then :
53068 glibcxx_cv_func_hypotf_use=yes
53069 else
53070 glibcxx_cv_func_hypotf_use=no
53072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53073 ac_ext=c
53074 ac_cpp='$CPP $CPPFLAGS'
53075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53084 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53086 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53087 for ac_func in hypotf
53088 do :
53089 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53090 if test "x$ac_cv_func_hypotf" = x""yes; then :
53091 cat >>confdefs.h <<_ACEOF
53092 #define HAVE_HYPOTF 1
53093 _ACEOF
53096 done
53098 else
53100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53101 $as_echo_n "checking for _hypotf declaration... " >&6; }
53102 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53103 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53104 $as_echo_n "(cached) " >&6
53105 else
53108 ac_ext=cpp
53109 ac_cpp='$CXXCPP $CPPFLAGS'
53110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53115 /* end confdefs.h. */
53116 #include <math.h>
53118 main ()
53120 _hypotf(0, 0);
53122 return 0;
53124 _ACEOF
53125 if ac_fn_cxx_try_compile "$LINENO"; then :
53126 glibcxx_cv_func__hypotf_use=yes
53127 else
53128 glibcxx_cv_func__hypotf_use=no
53130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53131 ac_ext=c
53132 ac_cpp='$CPP $CPPFLAGS'
53133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
53142 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53144 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53145 for ac_func in _hypotf
53146 do :
53147 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53148 if test "x$ac_cv_func__hypotf" = x""yes; then :
53149 cat >>confdefs.h <<_ACEOF
53150 #define HAVE__HYPOTF 1
53151 _ACEOF
53154 done
53163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
53164 $as_echo_n "checking for ldexpf declaration... " >&6; }
53165 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53166 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
53167 $as_echo_n "(cached) " >&6
53168 else
53171 ac_ext=cpp
53172 ac_cpp='$CXXCPP $CPPFLAGS'
53173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53178 /* end confdefs.h. */
53179 #include <math.h>
53181 main ()
53183 ldexpf(0, 0);
53185 return 0;
53187 _ACEOF
53188 if ac_fn_cxx_try_compile "$LINENO"; then :
53189 glibcxx_cv_func_ldexpf_use=yes
53190 else
53191 glibcxx_cv_func_ldexpf_use=no
53193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53194 ac_ext=c
53195 ac_cpp='$CPP $CPPFLAGS'
53196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
53205 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
53207 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
53208 for ac_func in ldexpf
53209 do :
53210 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
53211 if test "x$ac_cv_func_ldexpf" = x""yes; then :
53212 cat >>confdefs.h <<_ACEOF
53213 #define HAVE_LDEXPF 1
53214 _ACEOF
53217 done
53219 else
53221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
53222 $as_echo_n "checking for _ldexpf declaration... " >&6; }
53223 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
53224 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
53225 $as_echo_n "(cached) " >&6
53226 else
53229 ac_ext=cpp
53230 ac_cpp='$CXXCPP $CPPFLAGS'
53231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53236 /* end confdefs.h. */
53237 #include <math.h>
53239 main ()
53241 _ldexpf(0, 0);
53243 return 0;
53245 _ACEOF
53246 if ac_fn_cxx_try_compile "$LINENO"; then :
53247 glibcxx_cv_func__ldexpf_use=yes
53248 else
53249 glibcxx_cv_func__ldexpf_use=no
53251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53252 ac_ext=c
53253 ac_cpp='$CPP $CPPFLAGS'
53254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
53263 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
53265 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
53266 for ac_func in _ldexpf
53267 do :
53268 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
53269 if test "x$ac_cv_func__ldexpf" = x""yes; then :
53270 cat >>confdefs.h <<_ACEOF
53271 #define HAVE__LDEXPF 1
53272 _ACEOF
53275 done
53284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
53285 $as_echo_n "checking for logf declaration... " >&6; }
53286 if test x${glibcxx_cv_func_logf_use+set} != xset; then
53287 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
53288 $as_echo_n "(cached) " >&6
53289 else
53292 ac_ext=cpp
53293 ac_cpp='$CXXCPP $CPPFLAGS'
53294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53299 /* end confdefs.h. */
53300 #include <math.h>
53301 #ifdef HAVE_IEEEFP_H
53302 #include <ieeefp.h>
53303 #endif
53306 main ()
53308 logf(0);
53310 return 0;
53312 _ACEOF
53313 if ac_fn_cxx_try_compile "$LINENO"; then :
53314 glibcxx_cv_func_logf_use=yes
53315 else
53316 glibcxx_cv_func_logf_use=no
53318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53319 ac_ext=c
53320 ac_cpp='$CPP $CPPFLAGS'
53321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
53330 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
53332 if test x$glibcxx_cv_func_logf_use = x"yes"; then
53333 for ac_func in logf
53334 do :
53335 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
53336 if test "x$ac_cv_func_logf" = x""yes; then :
53337 cat >>confdefs.h <<_ACEOF
53338 #define HAVE_LOGF 1
53339 _ACEOF
53342 done
53344 else
53346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
53347 $as_echo_n "checking for _logf declaration... " >&6; }
53348 if test x${glibcxx_cv_func__logf_use+set} != xset; then
53349 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
53350 $as_echo_n "(cached) " >&6
53351 else
53354 ac_ext=cpp
53355 ac_cpp='$CXXCPP $CPPFLAGS'
53356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53361 /* end confdefs.h. */
53362 #include <math.h>
53363 #ifdef HAVE_IEEEFP_H
53364 #include <ieeefp.h>
53365 #endif
53368 main ()
53370 _logf(0);
53372 return 0;
53374 _ACEOF
53375 if ac_fn_cxx_try_compile "$LINENO"; then :
53376 glibcxx_cv_func__logf_use=yes
53377 else
53378 glibcxx_cv_func__logf_use=no
53380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53381 ac_ext=c
53382 ac_cpp='$CPP $CPPFLAGS'
53383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
53392 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
53394 if test x$glibcxx_cv_func__logf_use = x"yes"; then
53395 for ac_func in _logf
53396 do :
53397 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
53398 if test "x$ac_cv_func__logf" = x""yes; then :
53399 cat >>confdefs.h <<_ACEOF
53400 #define HAVE__LOGF 1
53401 _ACEOF
53404 done
53413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
53414 $as_echo_n "checking for log10f declaration... " >&6; }
53415 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
53416 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
53417 $as_echo_n "(cached) " >&6
53418 else
53421 ac_ext=cpp
53422 ac_cpp='$CXXCPP $CPPFLAGS'
53423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53428 /* end confdefs.h. */
53429 #include <math.h>
53430 #ifdef HAVE_IEEEFP_H
53431 #include <ieeefp.h>
53432 #endif
53435 main ()
53437 log10f(0);
53439 return 0;
53441 _ACEOF
53442 if ac_fn_cxx_try_compile "$LINENO"; then :
53443 glibcxx_cv_func_log10f_use=yes
53444 else
53445 glibcxx_cv_func_log10f_use=no
53447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53448 ac_ext=c
53449 ac_cpp='$CPP $CPPFLAGS'
53450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
53459 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
53461 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
53462 for ac_func in log10f
53463 do :
53464 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
53465 if test "x$ac_cv_func_log10f" = x""yes; then :
53466 cat >>confdefs.h <<_ACEOF
53467 #define HAVE_LOG10F 1
53468 _ACEOF
53471 done
53473 else
53475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
53476 $as_echo_n "checking for _log10f declaration... " >&6; }
53477 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
53478 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
53479 $as_echo_n "(cached) " >&6
53480 else
53483 ac_ext=cpp
53484 ac_cpp='$CXXCPP $CPPFLAGS'
53485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53490 /* end confdefs.h. */
53491 #include <math.h>
53492 #ifdef HAVE_IEEEFP_H
53493 #include <ieeefp.h>
53494 #endif
53497 main ()
53499 _log10f(0);
53501 return 0;
53503 _ACEOF
53504 if ac_fn_cxx_try_compile "$LINENO"; then :
53505 glibcxx_cv_func__log10f_use=yes
53506 else
53507 glibcxx_cv_func__log10f_use=no
53509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53510 ac_ext=c
53511 ac_cpp='$CPP $CPPFLAGS'
53512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
53521 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
53523 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
53524 for ac_func in _log10f
53525 do :
53526 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
53527 if test "x$ac_cv_func__log10f" = x""yes; then :
53528 cat >>confdefs.h <<_ACEOF
53529 #define HAVE__LOG10F 1
53530 _ACEOF
53533 done
53542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
53543 $as_echo_n "checking for modff declaration... " >&6; }
53544 if test x${glibcxx_cv_func_modff_use+set} != xset; then
53545 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
53546 $as_echo_n "(cached) " >&6
53547 else
53550 ac_ext=cpp
53551 ac_cpp='$CXXCPP $CPPFLAGS'
53552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53557 /* end confdefs.h. */
53558 #include <math.h>
53560 main ()
53562 modff(0, 0);
53564 return 0;
53566 _ACEOF
53567 if ac_fn_cxx_try_compile "$LINENO"; then :
53568 glibcxx_cv_func_modff_use=yes
53569 else
53570 glibcxx_cv_func_modff_use=no
53572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53573 ac_ext=c
53574 ac_cpp='$CPP $CPPFLAGS'
53575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
53584 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
53586 if test x$glibcxx_cv_func_modff_use = x"yes"; then
53587 for ac_func in modff
53588 do :
53589 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
53590 if test "x$ac_cv_func_modff" = x""yes; then :
53591 cat >>confdefs.h <<_ACEOF
53592 #define HAVE_MODFF 1
53593 _ACEOF
53596 done
53598 else
53600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
53601 $as_echo_n "checking for _modff declaration... " >&6; }
53602 if test x${glibcxx_cv_func__modff_use+set} != xset; then
53603 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
53604 $as_echo_n "(cached) " >&6
53605 else
53608 ac_ext=cpp
53609 ac_cpp='$CXXCPP $CPPFLAGS'
53610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53615 /* end confdefs.h. */
53616 #include <math.h>
53618 main ()
53620 _modff(0, 0);
53622 return 0;
53624 _ACEOF
53625 if ac_fn_cxx_try_compile "$LINENO"; then :
53626 glibcxx_cv_func__modff_use=yes
53627 else
53628 glibcxx_cv_func__modff_use=no
53630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53631 ac_ext=c
53632 ac_cpp='$CPP $CPPFLAGS'
53633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
53642 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
53644 if test x$glibcxx_cv_func__modff_use = x"yes"; then
53645 for ac_func in _modff
53646 do :
53647 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
53648 if test "x$ac_cv_func__modff" = x""yes; then :
53649 cat >>confdefs.h <<_ACEOF
53650 #define HAVE__MODFF 1
53651 _ACEOF
53654 done
53663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
53664 $as_echo_n "checking for modf declaration... " >&6; }
53665 if test x${glibcxx_cv_func_modf_use+set} != xset; then
53666 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
53667 $as_echo_n "(cached) " >&6
53668 else
53671 ac_ext=cpp
53672 ac_cpp='$CXXCPP $CPPFLAGS'
53673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53678 /* end confdefs.h. */
53679 #include <math.h>
53681 main ()
53683 modf(0, 0);
53685 return 0;
53687 _ACEOF
53688 if ac_fn_cxx_try_compile "$LINENO"; then :
53689 glibcxx_cv_func_modf_use=yes
53690 else
53691 glibcxx_cv_func_modf_use=no
53693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53694 ac_ext=c
53695 ac_cpp='$CPP $CPPFLAGS'
53696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
53705 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
53707 if test x$glibcxx_cv_func_modf_use = x"yes"; then
53708 for ac_func in modf
53709 do :
53710 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
53711 if test "x$ac_cv_func_modf" = x""yes; then :
53712 cat >>confdefs.h <<_ACEOF
53713 #define HAVE_MODF 1
53714 _ACEOF
53717 done
53719 else
53721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
53722 $as_echo_n "checking for _modf declaration... " >&6; }
53723 if test x${glibcxx_cv_func__modf_use+set} != xset; then
53724 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
53725 $as_echo_n "(cached) " >&6
53726 else
53729 ac_ext=cpp
53730 ac_cpp='$CXXCPP $CPPFLAGS'
53731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53736 /* end confdefs.h. */
53737 #include <math.h>
53739 main ()
53741 _modf(0, 0);
53743 return 0;
53745 _ACEOF
53746 if ac_fn_cxx_try_compile "$LINENO"; then :
53747 glibcxx_cv_func__modf_use=yes
53748 else
53749 glibcxx_cv_func__modf_use=no
53751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53752 ac_ext=c
53753 ac_cpp='$CPP $CPPFLAGS'
53754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
53763 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
53765 if test x$glibcxx_cv_func__modf_use = x"yes"; then
53766 for ac_func in _modf
53767 do :
53768 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
53769 if test "x$ac_cv_func__modf" = x""yes; then :
53770 cat >>confdefs.h <<_ACEOF
53771 #define HAVE__MODF 1
53772 _ACEOF
53775 done
53784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
53785 $as_echo_n "checking for powf declaration... " >&6; }
53786 if test x${glibcxx_cv_func_powf_use+set} != xset; then
53787 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
53788 $as_echo_n "(cached) " >&6
53789 else
53792 ac_ext=cpp
53793 ac_cpp='$CXXCPP $CPPFLAGS'
53794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53799 /* end confdefs.h. */
53800 #include <math.h>
53802 main ()
53804 powf(0, 0);
53806 return 0;
53808 _ACEOF
53809 if ac_fn_cxx_try_compile "$LINENO"; then :
53810 glibcxx_cv_func_powf_use=yes
53811 else
53812 glibcxx_cv_func_powf_use=no
53814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53815 ac_ext=c
53816 ac_cpp='$CPP $CPPFLAGS'
53817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
53826 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
53828 if test x$glibcxx_cv_func_powf_use = x"yes"; then
53829 for ac_func in powf
53830 do :
53831 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
53832 if test "x$ac_cv_func_powf" = x""yes; then :
53833 cat >>confdefs.h <<_ACEOF
53834 #define HAVE_POWF 1
53835 _ACEOF
53838 done
53840 else
53842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
53843 $as_echo_n "checking for _powf declaration... " >&6; }
53844 if test x${glibcxx_cv_func__powf_use+set} != xset; then
53845 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
53846 $as_echo_n "(cached) " >&6
53847 else
53850 ac_ext=cpp
53851 ac_cpp='$CXXCPP $CPPFLAGS'
53852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53857 /* end confdefs.h. */
53858 #include <math.h>
53860 main ()
53862 _powf(0, 0);
53864 return 0;
53866 _ACEOF
53867 if ac_fn_cxx_try_compile "$LINENO"; then :
53868 glibcxx_cv_func__powf_use=yes
53869 else
53870 glibcxx_cv_func__powf_use=no
53872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53873 ac_ext=c
53874 ac_cpp='$CPP $CPPFLAGS'
53875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
53884 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
53886 if test x$glibcxx_cv_func__powf_use = x"yes"; then
53887 for ac_func in _powf
53888 do :
53889 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
53890 if test "x$ac_cv_func__powf" = x""yes; then :
53891 cat >>confdefs.h <<_ACEOF
53892 #define HAVE__POWF 1
53893 _ACEOF
53896 done
53905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
53906 $as_echo_n "checking for sqrtf declaration... " >&6; }
53907 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
53908 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
53909 $as_echo_n "(cached) " >&6
53910 else
53913 ac_ext=cpp
53914 ac_cpp='$CXXCPP $CPPFLAGS'
53915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53920 /* end confdefs.h. */
53921 #include <math.h>
53922 #ifdef HAVE_IEEEFP_H
53923 #include <ieeefp.h>
53924 #endif
53927 main ()
53929 sqrtf(0);
53931 return 0;
53933 _ACEOF
53934 if ac_fn_cxx_try_compile "$LINENO"; then :
53935 glibcxx_cv_func_sqrtf_use=yes
53936 else
53937 glibcxx_cv_func_sqrtf_use=no
53939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53940 ac_ext=c
53941 ac_cpp='$CPP $CPPFLAGS'
53942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
53951 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
53953 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
53954 for ac_func in sqrtf
53955 do :
53956 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
53957 if test "x$ac_cv_func_sqrtf" = x""yes; then :
53958 cat >>confdefs.h <<_ACEOF
53959 #define HAVE_SQRTF 1
53960 _ACEOF
53963 done
53965 else
53967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
53968 $as_echo_n "checking for _sqrtf declaration... " >&6; }
53969 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
53970 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
53971 $as_echo_n "(cached) " >&6
53972 else
53975 ac_ext=cpp
53976 ac_cpp='$CXXCPP $CPPFLAGS'
53977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53982 /* end confdefs.h. */
53983 #include <math.h>
53984 #ifdef HAVE_IEEEFP_H
53985 #include <ieeefp.h>
53986 #endif
53989 main ()
53991 _sqrtf(0);
53993 return 0;
53995 _ACEOF
53996 if ac_fn_cxx_try_compile "$LINENO"; then :
53997 glibcxx_cv_func__sqrtf_use=yes
53998 else
53999 glibcxx_cv_func__sqrtf_use=no
54001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54002 ac_ext=c
54003 ac_cpp='$CPP $CPPFLAGS'
54004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
54013 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
54015 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
54016 for ac_func in _sqrtf
54017 do :
54018 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
54019 if test "x$ac_cv_func__sqrtf" = x""yes; then :
54020 cat >>confdefs.h <<_ACEOF
54021 #define HAVE__SQRTF 1
54022 _ACEOF
54025 done
54034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54035 $as_echo_n "checking for sincosf declaration... " >&6; }
54036 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54037 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54038 $as_echo_n "(cached) " >&6
54039 else
54042 ac_ext=cpp
54043 ac_cpp='$CXXCPP $CPPFLAGS'
54044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54049 /* end confdefs.h. */
54050 #include <math.h>
54052 main ()
54054 sincosf(0, 0, 0);
54056 return 0;
54058 _ACEOF
54059 if ac_fn_cxx_try_compile "$LINENO"; then :
54060 glibcxx_cv_func_sincosf_use=yes
54061 else
54062 glibcxx_cv_func_sincosf_use=no
54064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54065 ac_ext=c
54066 ac_cpp='$CPP $CPPFLAGS'
54067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54076 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54078 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54079 for ac_func in sincosf
54080 do :
54081 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54082 if test "x$ac_cv_func_sincosf" = x""yes; then :
54083 cat >>confdefs.h <<_ACEOF
54084 #define HAVE_SINCOSF 1
54085 _ACEOF
54088 done
54090 else
54092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54093 $as_echo_n "checking for _sincosf declaration... " >&6; }
54094 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54095 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54096 $as_echo_n "(cached) " >&6
54097 else
54100 ac_ext=cpp
54101 ac_cpp='$CXXCPP $CPPFLAGS'
54102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54107 /* end confdefs.h. */
54108 #include <math.h>
54110 main ()
54112 _sincosf(0, 0, 0);
54114 return 0;
54116 _ACEOF
54117 if ac_fn_cxx_try_compile "$LINENO"; then :
54118 glibcxx_cv_func__sincosf_use=yes
54119 else
54120 glibcxx_cv_func__sincosf_use=no
54122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54123 ac_ext=c
54124 ac_cpp='$CPP $CPPFLAGS'
54125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54134 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54136 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54137 for ac_func in _sincosf
54138 do :
54139 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54140 if test "x$ac_cv_func__sincosf" = x""yes; then :
54141 cat >>confdefs.h <<_ACEOF
54142 #define HAVE__SINCOSF 1
54143 _ACEOF
54146 done
54155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54156 $as_echo_n "checking for finitef declaration... " >&6; }
54157 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54158 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54159 $as_echo_n "(cached) " >&6
54160 else
54163 ac_ext=cpp
54164 ac_cpp='$CXXCPP $CPPFLAGS'
54165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54170 /* end confdefs.h. */
54171 #include <math.h>
54172 #ifdef HAVE_IEEEFP_H
54173 #include <ieeefp.h>
54174 #endif
54177 main ()
54179 finitef(0);
54181 return 0;
54183 _ACEOF
54184 if ac_fn_cxx_try_compile "$LINENO"; then :
54185 glibcxx_cv_func_finitef_use=yes
54186 else
54187 glibcxx_cv_func_finitef_use=no
54189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54190 ac_ext=c
54191 ac_cpp='$CPP $CPPFLAGS'
54192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
54201 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
54203 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
54204 for ac_func in finitef
54205 do :
54206 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
54207 if test "x$ac_cv_func_finitef" = x""yes; then :
54208 cat >>confdefs.h <<_ACEOF
54209 #define HAVE_FINITEF 1
54210 _ACEOF
54213 done
54215 else
54217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
54218 $as_echo_n "checking for _finitef declaration... " >&6; }
54219 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
54220 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
54221 $as_echo_n "(cached) " >&6
54222 else
54225 ac_ext=cpp
54226 ac_cpp='$CXXCPP $CPPFLAGS'
54227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54232 /* end confdefs.h. */
54233 #include <math.h>
54234 #ifdef HAVE_IEEEFP_H
54235 #include <ieeefp.h>
54236 #endif
54239 main ()
54241 _finitef(0);
54243 return 0;
54245 _ACEOF
54246 if ac_fn_cxx_try_compile "$LINENO"; then :
54247 glibcxx_cv_func__finitef_use=yes
54248 else
54249 glibcxx_cv_func__finitef_use=no
54251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54252 ac_ext=c
54253 ac_cpp='$CPP $CPPFLAGS'
54254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
54263 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
54265 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
54266 for ac_func in _finitef
54267 do :
54268 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
54269 if test "x$ac_cv_func__finitef" = x""yes; then :
54270 cat >>confdefs.h <<_ACEOF
54271 #define HAVE__FINITEF 1
54272 _ACEOF
54275 done
54284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
54285 $as_echo_n "checking for long double trig functions... " >&6; }
54286 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
54287 $as_echo_n "(cached) " >&6
54288 else
54291 ac_ext=cpp
54292 ac_cpp='$CXXCPP $CPPFLAGS'
54293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54298 /* end confdefs.h. */
54299 #include <math.h>
54301 main ()
54303 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
54305 return 0;
54307 _ACEOF
54308 if ac_fn_cxx_try_compile "$LINENO"; then :
54309 glibcxx_cv_func_long_double_trig_use=yes
54310 else
54311 glibcxx_cv_func_long_double_trig_use=no
54313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54314 ac_ext=c
54315 ac_cpp='$CPP $CPPFLAGS'
54316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
54323 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
54324 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
54325 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
54326 do :
54327 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54328 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54329 eval as_val=\$$as_ac_var
54330 if test "x$as_val" = x""yes; then :
54331 cat >>confdefs.h <<_ACEOF
54332 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54333 _ACEOF
54336 done
54338 else
54339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
54340 $as_echo_n "checking for _long double trig functions... " >&6; }
54341 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
54342 $as_echo_n "(cached) " >&6
54343 else
54346 ac_ext=cpp
54347 ac_cpp='$CXXCPP $CPPFLAGS'
54348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54353 /* end confdefs.h. */
54354 #include <math.h>
54356 main ()
54358 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
54360 return 0;
54362 _ACEOF
54363 if ac_fn_cxx_try_compile "$LINENO"; then :
54364 glibcxx_cv_func__long_double_trig_use=yes
54365 else
54366 glibcxx_cv_func__long_double_trig_use=no
54368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54369 ac_ext=c
54370 ac_cpp='$CPP $CPPFLAGS'
54371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
54378 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
54379 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
54380 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
54381 do :
54382 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54383 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54384 eval as_val=\$$as_ac_var
54385 if test "x$as_val" = x""yes; then :
54386 cat >>confdefs.h <<_ACEOF
54387 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54388 _ACEOF
54391 done
54400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
54401 $as_echo_n "checking for long double round functions... " >&6; }
54402 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
54403 $as_echo_n "(cached) " >&6
54404 else
54407 ac_ext=cpp
54408 ac_cpp='$CXXCPP $CPPFLAGS'
54409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54414 /* end confdefs.h. */
54415 #include <math.h>
54417 main ()
54419 ceill (0); floorl (0);
54421 return 0;
54423 _ACEOF
54424 if ac_fn_cxx_try_compile "$LINENO"; then :
54425 glibcxx_cv_func_long_double_round_use=yes
54426 else
54427 glibcxx_cv_func_long_double_round_use=no
54429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54430 ac_ext=c
54431 ac_cpp='$CPP $CPPFLAGS'
54432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
54439 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
54440 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
54441 for ac_func in ceill floorl
54442 do :
54443 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54444 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54445 eval as_val=\$$as_ac_var
54446 if test "x$as_val" = x""yes; then :
54447 cat >>confdefs.h <<_ACEOF
54448 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54449 _ACEOF
54452 done
54454 else
54455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
54456 $as_echo_n "checking for _long double round functions... " >&6; }
54457 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
54458 $as_echo_n "(cached) " >&6
54459 else
54462 ac_ext=cpp
54463 ac_cpp='$CXXCPP $CPPFLAGS'
54464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54469 /* end confdefs.h. */
54470 #include <math.h>
54472 main ()
54474 _ceill (0); _floorl (0);
54476 return 0;
54478 _ACEOF
54479 if ac_fn_cxx_try_compile "$LINENO"; then :
54480 glibcxx_cv_func__long_double_round_use=yes
54481 else
54482 glibcxx_cv_func__long_double_round_use=no
54484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54485 ac_ext=c
54486 ac_cpp='$CPP $CPPFLAGS'
54487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
54494 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
54495 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54496 for ac_func in _ceill _floorl
54497 do :
54498 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54499 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54500 eval as_val=\$$as_ac_var
54501 if test "x$as_val" = x""yes; then :
54502 cat >>confdefs.h <<_ACEOF
54503 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54504 _ACEOF
54507 done
54517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
54518 $as_echo_n "checking for isnanl declaration... " >&6; }
54519 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54520 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
54521 $as_echo_n "(cached) " >&6
54522 else
54525 ac_ext=cpp
54526 ac_cpp='$CXXCPP $CPPFLAGS'
54527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54532 /* end confdefs.h. */
54533 #include <math.h>
54534 #ifdef HAVE_IEEEFP_H
54535 #include <ieeefp.h>
54536 #endif
54539 main ()
54541 isnanl(0);
54543 return 0;
54545 _ACEOF
54546 if ac_fn_cxx_try_compile "$LINENO"; then :
54547 glibcxx_cv_func_isnanl_use=yes
54548 else
54549 glibcxx_cv_func_isnanl_use=no
54551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54552 ac_ext=c
54553 ac_cpp='$CPP $CPPFLAGS'
54554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
54563 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
54565 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54566 for ac_func in isnanl
54567 do :
54568 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
54569 if test "x$ac_cv_func_isnanl" = x""yes; then :
54570 cat >>confdefs.h <<_ACEOF
54571 #define HAVE_ISNANL 1
54572 _ACEOF
54575 done
54577 else
54579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
54580 $as_echo_n "checking for _isnanl declaration... " >&6; }
54581 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54582 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
54583 $as_echo_n "(cached) " >&6
54584 else
54587 ac_ext=cpp
54588 ac_cpp='$CXXCPP $CPPFLAGS'
54589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54594 /* end confdefs.h. */
54595 #include <math.h>
54596 #ifdef HAVE_IEEEFP_H
54597 #include <ieeefp.h>
54598 #endif
54601 main ()
54603 _isnanl(0);
54605 return 0;
54607 _ACEOF
54608 if ac_fn_cxx_try_compile "$LINENO"; then :
54609 glibcxx_cv_func__isnanl_use=yes
54610 else
54611 glibcxx_cv_func__isnanl_use=no
54613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54614 ac_ext=c
54615 ac_cpp='$CPP $CPPFLAGS'
54616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
54625 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
54627 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54628 for ac_func in _isnanl
54629 do :
54630 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
54631 if test "x$ac_cv_func__isnanl" = x""yes; then :
54632 cat >>confdefs.h <<_ACEOF
54633 #define HAVE__ISNANL 1
54634 _ACEOF
54637 done
54646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
54647 $as_echo_n "checking for isinfl declaration... " >&6; }
54648 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54649 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
54650 $as_echo_n "(cached) " >&6
54651 else
54654 ac_ext=cpp
54655 ac_cpp='$CXXCPP $CPPFLAGS'
54656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54661 /* end confdefs.h. */
54662 #include <math.h>
54663 #ifdef HAVE_IEEEFP_H
54664 #include <ieeefp.h>
54665 #endif
54668 main ()
54670 isinfl(0);
54672 return 0;
54674 _ACEOF
54675 if ac_fn_cxx_try_compile "$LINENO"; then :
54676 glibcxx_cv_func_isinfl_use=yes
54677 else
54678 glibcxx_cv_func_isinfl_use=no
54680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54681 ac_ext=c
54682 ac_cpp='$CPP $CPPFLAGS'
54683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
54692 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
54694 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54695 for ac_func in isinfl
54696 do :
54697 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
54698 if test "x$ac_cv_func_isinfl" = x""yes; then :
54699 cat >>confdefs.h <<_ACEOF
54700 #define HAVE_ISINFL 1
54701 _ACEOF
54704 done
54706 else
54708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
54709 $as_echo_n "checking for _isinfl declaration... " >&6; }
54710 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
54711 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
54712 $as_echo_n "(cached) " >&6
54713 else
54716 ac_ext=cpp
54717 ac_cpp='$CXXCPP $CPPFLAGS'
54718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54723 /* end confdefs.h. */
54724 #include <math.h>
54725 #ifdef HAVE_IEEEFP_H
54726 #include <ieeefp.h>
54727 #endif
54730 main ()
54732 _isinfl(0);
54734 return 0;
54736 _ACEOF
54737 if ac_fn_cxx_try_compile "$LINENO"; then :
54738 glibcxx_cv_func__isinfl_use=yes
54739 else
54740 glibcxx_cv_func__isinfl_use=no
54742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54743 ac_ext=c
54744 ac_cpp='$CPP $CPPFLAGS'
54745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
54754 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
54756 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
54757 for ac_func in _isinfl
54758 do :
54759 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
54760 if test "x$ac_cv_func__isinfl" = x""yes; then :
54761 cat >>confdefs.h <<_ACEOF
54762 #define HAVE__ISINFL 1
54763 _ACEOF
54766 done
54775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
54776 $as_echo_n "checking for atan2l declaration... " >&6; }
54777 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
54778 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
54779 $as_echo_n "(cached) " >&6
54780 else
54783 ac_ext=cpp
54784 ac_cpp='$CXXCPP $CPPFLAGS'
54785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54790 /* end confdefs.h. */
54791 #include <math.h>
54793 main ()
54795 atan2l(0, 0);
54797 return 0;
54799 _ACEOF
54800 if ac_fn_cxx_try_compile "$LINENO"; then :
54801 glibcxx_cv_func_atan2l_use=yes
54802 else
54803 glibcxx_cv_func_atan2l_use=no
54805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54806 ac_ext=c
54807 ac_cpp='$CPP $CPPFLAGS'
54808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
54817 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
54819 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
54820 for ac_func in atan2l
54821 do :
54822 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
54823 if test "x$ac_cv_func_atan2l" = x""yes; then :
54824 cat >>confdefs.h <<_ACEOF
54825 #define HAVE_ATAN2L 1
54826 _ACEOF
54829 done
54831 else
54833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
54834 $as_echo_n "checking for _atan2l declaration... " >&6; }
54835 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
54836 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
54837 $as_echo_n "(cached) " >&6
54838 else
54841 ac_ext=cpp
54842 ac_cpp='$CXXCPP $CPPFLAGS'
54843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54848 /* end confdefs.h. */
54849 #include <math.h>
54851 main ()
54853 _atan2l(0, 0);
54855 return 0;
54857 _ACEOF
54858 if ac_fn_cxx_try_compile "$LINENO"; then :
54859 glibcxx_cv_func__atan2l_use=yes
54860 else
54861 glibcxx_cv_func__atan2l_use=no
54863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54864 ac_ext=c
54865 ac_cpp='$CPP $CPPFLAGS'
54866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
54875 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
54877 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
54878 for ac_func in _atan2l
54879 do :
54880 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
54881 if test "x$ac_cv_func__atan2l" = x""yes; then :
54882 cat >>confdefs.h <<_ACEOF
54883 #define HAVE__ATAN2L 1
54884 _ACEOF
54887 done
54896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
54897 $as_echo_n "checking for expl declaration... " >&6; }
54898 if test x${glibcxx_cv_func_expl_use+set} != xset; then
54899 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
54900 $as_echo_n "(cached) " >&6
54901 else
54904 ac_ext=cpp
54905 ac_cpp='$CXXCPP $CPPFLAGS'
54906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54911 /* end confdefs.h. */
54912 #include <math.h>
54913 #ifdef HAVE_IEEEFP_H
54914 #include <ieeefp.h>
54915 #endif
54918 main ()
54920 expl(0);
54922 return 0;
54924 _ACEOF
54925 if ac_fn_cxx_try_compile "$LINENO"; then :
54926 glibcxx_cv_func_expl_use=yes
54927 else
54928 glibcxx_cv_func_expl_use=no
54930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54931 ac_ext=c
54932 ac_cpp='$CPP $CPPFLAGS'
54933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
54942 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
54944 if test x$glibcxx_cv_func_expl_use = x"yes"; then
54945 for ac_func in expl
54946 do :
54947 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
54948 if test "x$ac_cv_func_expl" = x""yes; then :
54949 cat >>confdefs.h <<_ACEOF
54950 #define HAVE_EXPL 1
54951 _ACEOF
54954 done
54956 else
54958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
54959 $as_echo_n "checking for _expl declaration... " >&6; }
54960 if test x${glibcxx_cv_func__expl_use+set} != xset; then
54961 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
54962 $as_echo_n "(cached) " >&6
54963 else
54966 ac_ext=cpp
54967 ac_cpp='$CXXCPP $CPPFLAGS'
54968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54973 /* end confdefs.h. */
54974 #include <math.h>
54975 #ifdef HAVE_IEEEFP_H
54976 #include <ieeefp.h>
54977 #endif
54980 main ()
54982 _expl(0);
54984 return 0;
54986 _ACEOF
54987 if ac_fn_cxx_try_compile "$LINENO"; then :
54988 glibcxx_cv_func__expl_use=yes
54989 else
54990 glibcxx_cv_func__expl_use=no
54992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54993 ac_ext=c
54994 ac_cpp='$CPP $CPPFLAGS'
54995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
55004 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
55006 if test x$glibcxx_cv_func__expl_use = x"yes"; then
55007 for ac_func in _expl
55008 do :
55009 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
55010 if test "x$ac_cv_func__expl" = x""yes; then :
55011 cat >>confdefs.h <<_ACEOF
55012 #define HAVE__EXPL 1
55013 _ACEOF
55016 done
55025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
55026 $as_echo_n "checking for fabsl declaration... " >&6; }
55027 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55028 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
55029 $as_echo_n "(cached) " >&6
55030 else
55033 ac_ext=cpp
55034 ac_cpp='$CXXCPP $CPPFLAGS'
55035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55040 /* end confdefs.h. */
55041 #include <math.h>
55042 #ifdef HAVE_IEEEFP_H
55043 #include <ieeefp.h>
55044 #endif
55047 main ()
55049 fabsl(0);
55051 return 0;
55053 _ACEOF
55054 if ac_fn_cxx_try_compile "$LINENO"; then :
55055 glibcxx_cv_func_fabsl_use=yes
55056 else
55057 glibcxx_cv_func_fabsl_use=no
55059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55060 ac_ext=c
55061 ac_cpp='$CPP $CPPFLAGS'
55062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55071 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55073 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55074 for ac_func in fabsl
55075 do :
55076 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55077 if test "x$ac_cv_func_fabsl" = x""yes; then :
55078 cat >>confdefs.h <<_ACEOF
55079 #define HAVE_FABSL 1
55080 _ACEOF
55083 done
55085 else
55087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55088 $as_echo_n "checking for _fabsl declaration... " >&6; }
55089 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55090 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55091 $as_echo_n "(cached) " >&6
55092 else
55095 ac_ext=cpp
55096 ac_cpp='$CXXCPP $CPPFLAGS'
55097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55102 /* end confdefs.h. */
55103 #include <math.h>
55104 #ifdef HAVE_IEEEFP_H
55105 #include <ieeefp.h>
55106 #endif
55109 main ()
55111 _fabsl(0);
55113 return 0;
55115 _ACEOF
55116 if ac_fn_cxx_try_compile "$LINENO"; then :
55117 glibcxx_cv_func__fabsl_use=yes
55118 else
55119 glibcxx_cv_func__fabsl_use=no
55121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55122 ac_ext=c
55123 ac_cpp='$CPP $CPPFLAGS'
55124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55133 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55135 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55136 for ac_func in _fabsl
55137 do :
55138 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55139 if test "x$ac_cv_func__fabsl" = x""yes; then :
55140 cat >>confdefs.h <<_ACEOF
55141 #define HAVE__FABSL 1
55142 _ACEOF
55145 done
55154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55155 $as_echo_n "checking for fmodl declaration... " >&6; }
55156 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55157 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55158 $as_echo_n "(cached) " >&6
55159 else
55162 ac_ext=cpp
55163 ac_cpp='$CXXCPP $CPPFLAGS'
55164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55169 /* end confdefs.h. */
55170 #include <math.h>
55172 main ()
55174 fmodl(0, 0);
55176 return 0;
55178 _ACEOF
55179 if ac_fn_cxx_try_compile "$LINENO"; then :
55180 glibcxx_cv_func_fmodl_use=yes
55181 else
55182 glibcxx_cv_func_fmodl_use=no
55184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55185 ac_ext=c
55186 ac_cpp='$CPP $CPPFLAGS'
55187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
55196 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
55198 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55199 for ac_func in fmodl
55200 do :
55201 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
55202 if test "x$ac_cv_func_fmodl" = x""yes; then :
55203 cat >>confdefs.h <<_ACEOF
55204 #define HAVE_FMODL 1
55205 _ACEOF
55208 done
55210 else
55212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
55213 $as_echo_n "checking for _fmodl declaration... " >&6; }
55214 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55215 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
55216 $as_echo_n "(cached) " >&6
55217 else
55220 ac_ext=cpp
55221 ac_cpp='$CXXCPP $CPPFLAGS'
55222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55227 /* end confdefs.h. */
55228 #include <math.h>
55230 main ()
55232 _fmodl(0, 0);
55234 return 0;
55236 _ACEOF
55237 if ac_fn_cxx_try_compile "$LINENO"; then :
55238 glibcxx_cv_func__fmodl_use=yes
55239 else
55240 glibcxx_cv_func__fmodl_use=no
55242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55243 ac_ext=c
55244 ac_cpp='$CPP $CPPFLAGS'
55245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
55254 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
55256 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
55257 for ac_func in _fmodl
55258 do :
55259 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
55260 if test "x$ac_cv_func__fmodl" = x""yes; then :
55261 cat >>confdefs.h <<_ACEOF
55262 #define HAVE__FMODL 1
55263 _ACEOF
55266 done
55275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
55276 $as_echo_n "checking for frexpl declaration... " >&6; }
55277 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55278 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
55279 $as_echo_n "(cached) " >&6
55280 else
55283 ac_ext=cpp
55284 ac_cpp='$CXXCPP $CPPFLAGS'
55285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55290 /* end confdefs.h. */
55291 #include <math.h>
55293 main ()
55295 frexpl(0, 0);
55297 return 0;
55299 _ACEOF
55300 if ac_fn_cxx_try_compile "$LINENO"; then :
55301 glibcxx_cv_func_frexpl_use=yes
55302 else
55303 glibcxx_cv_func_frexpl_use=no
55305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55306 ac_ext=c
55307 ac_cpp='$CPP $CPPFLAGS'
55308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
55317 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
55319 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
55320 for ac_func in frexpl
55321 do :
55322 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
55323 if test "x$ac_cv_func_frexpl" = x""yes; then :
55324 cat >>confdefs.h <<_ACEOF
55325 #define HAVE_FREXPL 1
55326 _ACEOF
55329 done
55331 else
55333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
55334 $as_echo_n "checking for _frexpl declaration... " >&6; }
55335 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
55336 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
55337 $as_echo_n "(cached) " >&6
55338 else
55341 ac_ext=cpp
55342 ac_cpp='$CXXCPP $CPPFLAGS'
55343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55348 /* end confdefs.h. */
55349 #include <math.h>
55351 main ()
55353 _frexpl(0, 0);
55355 return 0;
55357 _ACEOF
55358 if ac_fn_cxx_try_compile "$LINENO"; then :
55359 glibcxx_cv_func__frexpl_use=yes
55360 else
55361 glibcxx_cv_func__frexpl_use=no
55363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55364 ac_ext=c
55365 ac_cpp='$CPP $CPPFLAGS'
55366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
55375 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
55377 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
55378 for ac_func in _frexpl
55379 do :
55380 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
55381 if test "x$ac_cv_func__frexpl" = x""yes; then :
55382 cat >>confdefs.h <<_ACEOF
55383 #define HAVE__FREXPL 1
55384 _ACEOF
55387 done
55396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
55397 $as_echo_n "checking for hypotl declaration... " >&6; }
55398 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
55399 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
55400 $as_echo_n "(cached) " >&6
55401 else
55404 ac_ext=cpp
55405 ac_cpp='$CXXCPP $CPPFLAGS'
55406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55411 /* end confdefs.h. */
55412 #include <math.h>
55414 main ()
55416 hypotl(0, 0);
55418 return 0;
55420 _ACEOF
55421 if ac_fn_cxx_try_compile "$LINENO"; then :
55422 glibcxx_cv_func_hypotl_use=yes
55423 else
55424 glibcxx_cv_func_hypotl_use=no
55426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55427 ac_ext=c
55428 ac_cpp='$CPP $CPPFLAGS'
55429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
55438 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
55440 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
55441 for ac_func in hypotl
55442 do :
55443 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
55444 if test "x$ac_cv_func_hypotl" = x""yes; then :
55445 cat >>confdefs.h <<_ACEOF
55446 #define HAVE_HYPOTL 1
55447 _ACEOF
55450 done
55452 else
55454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
55455 $as_echo_n "checking for _hypotl declaration... " >&6; }
55456 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
55457 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
55458 $as_echo_n "(cached) " >&6
55459 else
55462 ac_ext=cpp
55463 ac_cpp='$CXXCPP $CPPFLAGS'
55464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55469 /* end confdefs.h. */
55470 #include <math.h>
55472 main ()
55474 _hypotl(0, 0);
55476 return 0;
55478 _ACEOF
55479 if ac_fn_cxx_try_compile "$LINENO"; then :
55480 glibcxx_cv_func__hypotl_use=yes
55481 else
55482 glibcxx_cv_func__hypotl_use=no
55484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55485 ac_ext=c
55486 ac_cpp='$CPP $CPPFLAGS'
55487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
55496 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
55498 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
55499 for ac_func in _hypotl
55500 do :
55501 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
55502 if test "x$ac_cv_func__hypotl" = x""yes; then :
55503 cat >>confdefs.h <<_ACEOF
55504 #define HAVE__HYPOTL 1
55505 _ACEOF
55508 done
55517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
55518 $as_echo_n "checking for ldexpl declaration... " >&6; }
55519 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
55520 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
55521 $as_echo_n "(cached) " >&6
55522 else
55525 ac_ext=cpp
55526 ac_cpp='$CXXCPP $CPPFLAGS'
55527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55532 /* end confdefs.h. */
55533 #include <math.h>
55535 main ()
55537 ldexpl(0, 0);
55539 return 0;
55541 _ACEOF
55542 if ac_fn_cxx_try_compile "$LINENO"; then :
55543 glibcxx_cv_func_ldexpl_use=yes
55544 else
55545 glibcxx_cv_func_ldexpl_use=no
55547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55548 ac_ext=c
55549 ac_cpp='$CPP $CPPFLAGS'
55550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
55559 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
55561 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
55562 for ac_func in ldexpl
55563 do :
55564 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
55565 if test "x$ac_cv_func_ldexpl" = x""yes; then :
55566 cat >>confdefs.h <<_ACEOF
55567 #define HAVE_LDEXPL 1
55568 _ACEOF
55571 done
55573 else
55575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
55576 $as_echo_n "checking for _ldexpl declaration... " >&6; }
55577 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
55578 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
55579 $as_echo_n "(cached) " >&6
55580 else
55583 ac_ext=cpp
55584 ac_cpp='$CXXCPP $CPPFLAGS'
55585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55590 /* end confdefs.h. */
55591 #include <math.h>
55593 main ()
55595 _ldexpl(0, 0);
55597 return 0;
55599 _ACEOF
55600 if ac_fn_cxx_try_compile "$LINENO"; then :
55601 glibcxx_cv_func__ldexpl_use=yes
55602 else
55603 glibcxx_cv_func__ldexpl_use=no
55605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55606 ac_ext=c
55607 ac_cpp='$CPP $CPPFLAGS'
55608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
55617 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
55619 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
55620 for ac_func in _ldexpl
55621 do :
55622 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
55623 if test "x$ac_cv_func__ldexpl" = x""yes; then :
55624 cat >>confdefs.h <<_ACEOF
55625 #define HAVE__LDEXPL 1
55626 _ACEOF
55629 done
55638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
55639 $as_echo_n "checking for logl declaration... " >&6; }
55640 if test x${glibcxx_cv_func_logl_use+set} != xset; then
55641 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
55642 $as_echo_n "(cached) " >&6
55643 else
55646 ac_ext=cpp
55647 ac_cpp='$CXXCPP $CPPFLAGS'
55648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55653 /* end confdefs.h. */
55654 #include <math.h>
55655 #ifdef HAVE_IEEEFP_H
55656 #include <ieeefp.h>
55657 #endif
55660 main ()
55662 logl(0);
55664 return 0;
55666 _ACEOF
55667 if ac_fn_cxx_try_compile "$LINENO"; then :
55668 glibcxx_cv_func_logl_use=yes
55669 else
55670 glibcxx_cv_func_logl_use=no
55672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55673 ac_ext=c
55674 ac_cpp='$CPP $CPPFLAGS'
55675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
55684 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
55686 if test x$glibcxx_cv_func_logl_use = x"yes"; then
55687 for ac_func in logl
55688 do :
55689 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
55690 if test "x$ac_cv_func_logl" = x""yes; then :
55691 cat >>confdefs.h <<_ACEOF
55692 #define HAVE_LOGL 1
55693 _ACEOF
55696 done
55698 else
55700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
55701 $as_echo_n "checking for _logl declaration... " >&6; }
55702 if test x${glibcxx_cv_func__logl_use+set} != xset; then
55703 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
55704 $as_echo_n "(cached) " >&6
55705 else
55708 ac_ext=cpp
55709 ac_cpp='$CXXCPP $CPPFLAGS'
55710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55715 /* end confdefs.h. */
55716 #include <math.h>
55717 #ifdef HAVE_IEEEFP_H
55718 #include <ieeefp.h>
55719 #endif
55722 main ()
55724 _logl(0);
55726 return 0;
55728 _ACEOF
55729 if ac_fn_cxx_try_compile "$LINENO"; then :
55730 glibcxx_cv_func__logl_use=yes
55731 else
55732 glibcxx_cv_func__logl_use=no
55734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55735 ac_ext=c
55736 ac_cpp='$CPP $CPPFLAGS'
55737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
55746 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
55748 if test x$glibcxx_cv_func__logl_use = x"yes"; then
55749 for ac_func in _logl
55750 do :
55751 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
55752 if test "x$ac_cv_func__logl" = x""yes; then :
55753 cat >>confdefs.h <<_ACEOF
55754 #define HAVE__LOGL 1
55755 _ACEOF
55758 done
55767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
55768 $as_echo_n "checking for log10l declaration... " >&6; }
55769 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
55770 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
55771 $as_echo_n "(cached) " >&6
55772 else
55775 ac_ext=cpp
55776 ac_cpp='$CXXCPP $CPPFLAGS'
55777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55782 /* end confdefs.h. */
55783 #include <math.h>
55784 #ifdef HAVE_IEEEFP_H
55785 #include <ieeefp.h>
55786 #endif
55789 main ()
55791 log10l(0);
55793 return 0;
55795 _ACEOF
55796 if ac_fn_cxx_try_compile "$LINENO"; then :
55797 glibcxx_cv_func_log10l_use=yes
55798 else
55799 glibcxx_cv_func_log10l_use=no
55801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55802 ac_ext=c
55803 ac_cpp='$CPP $CPPFLAGS'
55804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
55813 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
55815 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
55816 for ac_func in log10l
55817 do :
55818 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
55819 if test "x$ac_cv_func_log10l" = x""yes; then :
55820 cat >>confdefs.h <<_ACEOF
55821 #define HAVE_LOG10L 1
55822 _ACEOF
55825 done
55827 else
55829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
55830 $as_echo_n "checking for _log10l declaration... " >&6; }
55831 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
55832 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
55833 $as_echo_n "(cached) " >&6
55834 else
55837 ac_ext=cpp
55838 ac_cpp='$CXXCPP $CPPFLAGS'
55839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55844 /* end confdefs.h. */
55845 #include <math.h>
55846 #ifdef HAVE_IEEEFP_H
55847 #include <ieeefp.h>
55848 #endif
55851 main ()
55853 _log10l(0);
55855 return 0;
55857 _ACEOF
55858 if ac_fn_cxx_try_compile "$LINENO"; then :
55859 glibcxx_cv_func__log10l_use=yes
55860 else
55861 glibcxx_cv_func__log10l_use=no
55863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55864 ac_ext=c
55865 ac_cpp='$CPP $CPPFLAGS'
55866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
55875 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
55877 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
55878 for ac_func in _log10l
55879 do :
55880 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
55881 if test "x$ac_cv_func__log10l" = x""yes; then :
55882 cat >>confdefs.h <<_ACEOF
55883 #define HAVE__LOG10L 1
55884 _ACEOF
55887 done
55896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
55897 $as_echo_n "checking for modfl declaration... " >&6; }
55898 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
55899 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
55900 $as_echo_n "(cached) " >&6
55901 else
55904 ac_ext=cpp
55905 ac_cpp='$CXXCPP $CPPFLAGS'
55906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55911 /* end confdefs.h. */
55912 #include <math.h>
55914 main ()
55916 modfl(0, 0);
55918 return 0;
55920 _ACEOF
55921 if ac_fn_cxx_try_compile "$LINENO"; then :
55922 glibcxx_cv_func_modfl_use=yes
55923 else
55924 glibcxx_cv_func_modfl_use=no
55926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55927 ac_ext=c
55928 ac_cpp='$CPP $CPPFLAGS'
55929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
55938 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
55940 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
55941 for ac_func in modfl
55942 do :
55943 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
55944 if test "x$ac_cv_func_modfl" = x""yes; then :
55945 cat >>confdefs.h <<_ACEOF
55946 #define HAVE_MODFL 1
55947 _ACEOF
55950 done
55952 else
55954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
55955 $as_echo_n "checking for _modfl declaration... " >&6; }
55956 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
55957 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
55958 $as_echo_n "(cached) " >&6
55959 else
55962 ac_ext=cpp
55963 ac_cpp='$CXXCPP $CPPFLAGS'
55964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55969 /* end confdefs.h. */
55970 #include <math.h>
55972 main ()
55974 _modfl(0, 0);
55976 return 0;
55978 _ACEOF
55979 if ac_fn_cxx_try_compile "$LINENO"; then :
55980 glibcxx_cv_func__modfl_use=yes
55981 else
55982 glibcxx_cv_func__modfl_use=no
55984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55985 ac_ext=c
55986 ac_cpp='$CPP $CPPFLAGS'
55987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
55996 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
55998 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
55999 for ac_func in _modfl
56000 do :
56001 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
56002 if test "x$ac_cv_func__modfl" = x""yes; then :
56003 cat >>confdefs.h <<_ACEOF
56004 #define HAVE__MODFL 1
56005 _ACEOF
56008 done
56017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
56018 $as_echo_n "checking for powl declaration... " >&6; }
56019 if test x${glibcxx_cv_func_powl_use+set} != xset; then
56020 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
56021 $as_echo_n "(cached) " >&6
56022 else
56025 ac_ext=cpp
56026 ac_cpp='$CXXCPP $CPPFLAGS'
56027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56032 /* end confdefs.h. */
56033 #include <math.h>
56035 main ()
56037 powl(0, 0);
56039 return 0;
56041 _ACEOF
56042 if ac_fn_cxx_try_compile "$LINENO"; then :
56043 glibcxx_cv_func_powl_use=yes
56044 else
56045 glibcxx_cv_func_powl_use=no
56047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56048 ac_ext=c
56049 ac_cpp='$CPP $CPPFLAGS'
56050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56059 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56061 if test x$glibcxx_cv_func_powl_use = x"yes"; then
56062 for ac_func in powl
56063 do :
56064 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56065 if test "x$ac_cv_func_powl" = x""yes; then :
56066 cat >>confdefs.h <<_ACEOF
56067 #define HAVE_POWL 1
56068 _ACEOF
56071 done
56073 else
56075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56076 $as_echo_n "checking for _powl declaration... " >&6; }
56077 if test x${glibcxx_cv_func__powl_use+set} != xset; then
56078 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56079 $as_echo_n "(cached) " >&6
56080 else
56083 ac_ext=cpp
56084 ac_cpp='$CXXCPP $CPPFLAGS'
56085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56090 /* end confdefs.h. */
56091 #include <math.h>
56093 main ()
56095 _powl(0, 0);
56097 return 0;
56099 _ACEOF
56100 if ac_fn_cxx_try_compile "$LINENO"; then :
56101 glibcxx_cv_func__powl_use=yes
56102 else
56103 glibcxx_cv_func__powl_use=no
56105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56106 ac_ext=c
56107 ac_cpp='$CPP $CPPFLAGS'
56108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56117 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56119 if test x$glibcxx_cv_func__powl_use = x"yes"; then
56120 for ac_func in _powl
56121 do :
56122 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56123 if test "x$ac_cv_func__powl" = x""yes; then :
56124 cat >>confdefs.h <<_ACEOF
56125 #define HAVE__POWL 1
56126 _ACEOF
56129 done
56138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56139 $as_echo_n "checking for sqrtl declaration... " >&6; }
56140 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56141 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56142 $as_echo_n "(cached) " >&6
56143 else
56146 ac_ext=cpp
56147 ac_cpp='$CXXCPP $CPPFLAGS'
56148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56153 /* end confdefs.h. */
56154 #include <math.h>
56155 #ifdef HAVE_IEEEFP_H
56156 #include <ieeefp.h>
56157 #endif
56160 main ()
56162 sqrtl(0);
56164 return 0;
56166 _ACEOF
56167 if ac_fn_cxx_try_compile "$LINENO"; then :
56168 glibcxx_cv_func_sqrtl_use=yes
56169 else
56170 glibcxx_cv_func_sqrtl_use=no
56172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56173 ac_ext=c
56174 ac_cpp='$CPP $CPPFLAGS'
56175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
56184 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
56186 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
56187 for ac_func in sqrtl
56188 do :
56189 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
56190 if test "x$ac_cv_func_sqrtl" = x""yes; then :
56191 cat >>confdefs.h <<_ACEOF
56192 #define HAVE_SQRTL 1
56193 _ACEOF
56196 done
56198 else
56200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
56201 $as_echo_n "checking for _sqrtl declaration... " >&6; }
56202 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
56203 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
56204 $as_echo_n "(cached) " >&6
56205 else
56208 ac_ext=cpp
56209 ac_cpp='$CXXCPP $CPPFLAGS'
56210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56215 /* end confdefs.h. */
56216 #include <math.h>
56217 #ifdef HAVE_IEEEFP_H
56218 #include <ieeefp.h>
56219 #endif
56222 main ()
56224 _sqrtl(0);
56226 return 0;
56228 _ACEOF
56229 if ac_fn_cxx_try_compile "$LINENO"; then :
56230 glibcxx_cv_func__sqrtl_use=yes
56231 else
56232 glibcxx_cv_func__sqrtl_use=no
56234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56235 ac_ext=c
56236 ac_cpp='$CPP $CPPFLAGS'
56237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
56246 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
56248 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
56249 for ac_func in _sqrtl
56250 do :
56251 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
56252 if test "x$ac_cv_func__sqrtl" = x""yes; then :
56253 cat >>confdefs.h <<_ACEOF
56254 #define HAVE__SQRTL 1
56255 _ACEOF
56258 done
56267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
56268 $as_echo_n "checking for sincosl declaration... " >&6; }
56269 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
56270 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
56271 $as_echo_n "(cached) " >&6
56272 else
56275 ac_ext=cpp
56276 ac_cpp='$CXXCPP $CPPFLAGS'
56277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56282 /* end confdefs.h. */
56283 #include <math.h>
56285 main ()
56287 sincosl(0, 0, 0);
56289 return 0;
56291 _ACEOF
56292 if ac_fn_cxx_try_compile "$LINENO"; then :
56293 glibcxx_cv_func_sincosl_use=yes
56294 else
56295 glibcxx_cv_func_sincosl_use=no
56297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56298 ac_ext=c
56299 ac_cpp='$CPP $CPPFLAGS'
56300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
56309 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
56311 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
56312 for ac_func in sincosl
56313 do :
56314 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
56315 if test "x$ac_cv_func_sincosl" = x""yes; then :
56316 cat >>confdefs.h <<_ACEOF
56317 #define HAVE_SINCOSL 1
56318 _ACEOF
56321 done
56323 else
56325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
56326 $as_echo_n "checking for _sincosl declaration... " >&6; }
56327 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
56328 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
56329 $as_echo_n "(cached) " >&6
56330 else
56333 ac_ext=cpp
56334 ac_cpp='$CXXCPP $CPPFLAGS'
56335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56340 /* end confdefs.h. */
56341 #include <math.h>
56343 main ()
56345 _sincosl(0, 0, 0);
56347 return 0;
56349 _ACEOF
56350 if ac_fn_cxx_try_compile "$LINENO"; then :
56351 glibcxx_cv_func__sincosl_use=yes
56352 else
56353 glibcxx_cv_func__sincosl_use=no
56355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56356 ac_ext=c
56357 ac_cpp='$CPP $CPPFLAGS'
56358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
56367 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
56369 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
56370 for ac_func in _sincosl
56371 do :
56372 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
56373 if test "x$ac_cv_func__sincosl" = x""yes; then :
56374 cat >>confdefs.h <<_ACEOF
56375 #define HAVE__SINCOSL 1
56376 _ACEOF
56379 done
56388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
56389 $as_echo_n "checking for finitel declaration... " >&6; }
56390 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
56391 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
56392 $as_echo_n "(cached) " >&6
56393 else
56396 ac_ext=cpp
56397 ac_cpp='$CXXCPP $CPPFLAGS'
56398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56403 /* end confdefs.h. */
56404 #include <math.h>
56405 #ifdef HAVE_IEEEFP_H
56406 #include <ieeefp.h>
56407 #endif
56410 main ()
56412 finitel(0);
56414 return 0;
56416 _ACEOF
56417 if ac_fn_cxx_try_compile "$LINENO"; then :
56418 glibcxx_cv_func_finitel_use=yes
56419 else
56420 glibcxx_cv_func_finitel_use=no
56422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56423 ac_ext=c
56424 ac_cpp='$CPP $CPPFLAGS'
56425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
56434 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
56436 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
56437 for ac_func in finitel
56438 do :
56439 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
56440 if test "x$ac_cv_func_finitel" = x""yes; then :
56441 cat >>confdefs.h <<_ACEOF
56442 #define HAVE_FINITEL 1
56443 _ACEOF
56446 done
56448 else
56450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
56451 $as_echo_n "checking for _finitel declaration... " >&6; }
56452 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
56453 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
56454 $as_echo_n "(cached) " >&6
56455 else
56458 ac_ext=cpp
56459 ac_cpp='$CXXCPP $CPPFLAGS'
56460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56465 /* end confdefs.h. */
56466 #include <math.h>
56467 #ifdef HAVE_IEEEFP_H
56468 #include <ieeefp.h>
56469 #endif
56472 main ()
56474 _finitel(0);
56476 return 0;
56478 _ACEOF
56479 if ac_fn_cxx_try_compile "$LINENO"; then :
56480 glibcxx_cv_func__finitel_use=yes
56481 else
56482 glibcxx_cv_func__finitel_use=no
56484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56485 ac_ext=c
56486 ac_cpp='$CPP $CPPFLAGS'
56487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
56496 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
56498 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
56499 for ac_func in _finitel
56500 do :
56501 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
56502 if test "x$ac_cv_func__finitel" = x""yes; then :
56503 cat >>confdefs.h <<_ACEOF
56504 #define HAVE__FINITEL 1
56505 _ACEOF
56508 done
56516 LIBS="$ac_save_LIBS"
56517 CXXFLAGS="$ac_save_CXXFLAGS"
56520 ac_test_CXXFLAGS="${CXXFLAGS+set}"
56521 ac_save_CXXFLAGS="$CXXFLAGS"
56522 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
56525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
56526 $as_echo_n "checking for strtold declaration... " >&6; }
56527 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
56528 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
56529 $as_echo_n "(cached) " >&6
56530 else
56533 ac_ext=cpp
56534 ac_cpp='$CXXCPP $CPPFLAGS'
56535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56540 /* end confdefs.h. */
56541 #include <stdlib.h>
56543 main ()
56545 strtold(0, 0);
56547 return 0;
56549 _ACEOF
56550 if ac_fn_cxx_try_compile "$LINENO"; then :
56551 glibcxx_cv_func_strtold_use=yes
56552 else
56553 glibcxx_cv_func_strtold_use=no
56555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56556 ac_ext=c
56557 ac_cpp='$CPP $CPPFLAGS'
56558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
56567 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
56568 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
56569 for ac_func in strtold
56570 do :
56571 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
56572 if test "x$ac_cv_func_strtold" = x""yes; then :
56573 cat >>confdefs.h <<_ACEOF
56574 #define HAVE_STRTOLD 1
56575 _ACEOF
56578 done
56585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
56586 $as_echo_n "checking for strtof declaration... " >&6; }
56587 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
56588 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
56589 $as_echo_n "(cached) " >&6
56590 else
56593 ac_ext=cpp
56594 ac_cpp='$CXXCPP $CPPFLAGS'
56595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56600 /* end confdefs.h. */
56601 #include <stdlib.h>
56603 main ()
56605 strtof(0, 0);
56607 return 0;
56609 _ACEOF
56610 if ac_fn_cxx_try_compile "$LINENO"; then :
56611 glibcxx_cv_func_strtof_use=yes
56612 else
56613 glibcxx_cv_func_strtof_use=no
56615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56616 ac_ext=c
56617 ac_cpp='$CPP $CPPFLAGS'
56618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
56627 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
56628 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
56629 for ac_func in strtof
56630 do :
56631 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
56632 if test "x$ac_cv_func_strtof" = x""yes; then :
56633 cat >>confdefs.h <<_ACEOF
56634 #define HAVE_STRTOF 1
56635 _ACEOF
56638 done
56645 CXXFLAGS="$ac_save_CXXFLAGS"
56648 *-netbsd*)
56649 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56652 # If we're not using GNU ld, then there's no point in even trying these
56653 # tests. Check for that first. We should have already tested for gld
56654 # by now (in libtool), but require it now just to be safe...
56655 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56656 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56660 # The name set by libtool depends on the version of libtool. Shame on us
56661 # for depending on an impl detail, but c'est la vie. Older versions used
56662 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56663 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56664 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56665 # set (hence we're using an older libtool), then set it.
56666 if test x${with_gnu_ld+set} != xset; then
56667 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56668 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56669 with_gnu_ld=no
56670 else
56671 with_gnu_ld=$ac_cv_prog_gnu_ld
56675 # Start by getting the version number. I think the libtool test already
56676 # does some of this, but throws away the result.
56677 glibcxx_ld_is_gold=no
56678 if test x"$with_gnu_ld" = x"yes"; then
56679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56680 $as_echo_n "checking for ld version... " >&6; }
56682 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56683 glibcxx_ld_is_gold=yes
56685 ldver=`$LD --version 2>/dev/null |
56686 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'`
56688 glibcxx_gnu_ld_version=`echo $ldver | \
56689 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56691 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56694 # Set --gc-sections.
56695 glibcxx_have_gc_sections=no
56696 if test "$glibcxx_ld_is_gold" = "yes"; then
56697 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56698 glibcxx_have_gc_sections=yes
56700 else
56701 glibcxx_gcsections_min_ld=21602
56702 if test x"$with_gnu_ld" = x"yes" &&
56703 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56704 glibcxx_have_gc_sections=yes
56707 if test "$glibcxx_have_gc_sections" = "yes"; then
56708 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56709 # NB: This flag only works reliably after 2.16.1. Configure tests
56710 # for this are difficult, so hard wire a value that should work.
56712 ac_test_CFLAGS="${CFLAGS+set}"
56713 ac_save_CFLAGS="$CFLAGS"
56714 CFLAGS='-Wl,--gc-sections'
56716 # Check for -Wl,--gc-sections
56717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56718 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56719 if test x$gcc_no_link = xyes; then
56720 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56723 /* end confdefs.h. */
56724 int one(void) { return 1; }
56725 int two(void) { return 2; }
56728 main ()
56730 two();
56732 return 0;
56734 _ACEOF
56735 if ac_fn_c_try_link "$LINENO"; then :
56736 ac_gcsections=yes
56737 else
56738 ac_gcsections=no
56740 rm -f core conftest.err conftest.$ac_objext \
56741 conftest$ac_exeext conftest.$ac_ext
56742 if test "$ac_gcsections" = "yes"; then
56743 rm -f conftest.c
56744 touch conftest.c
56745 if $CC -c conftest.c; then
56746 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56747 grep "Warning: gc-sections option ignored" > /dev/null; then
56748 ac_gcsections=no
56751 rm -f conftest.c conftest.o conftest
56753 if test "$ac_gcsections" = "yes"; then
56754 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56757 $as_echo "$ac_gcsections" >&6; }
56759 if test "$ac_test_CFLAGS" = set; then
56760 CFLAGS="$ac_save_CFLAGS"
56761 else
56762 # this is the suspicious part
56763 CFLAGS=''
56767 # Set -z,relro.
56768 # Note this is only for shared objects.
56769 ac_ld_relro=no
56770 if test x"$with_gnu_ld" = x"yes"; then
56771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56772 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56773 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56774 if test -n "$cxx_z_relo"; then
56775 OPT_LDFLAGS="-Wl,-z,relro"
56776 ac_ld_relro=yes
56778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56779 $as_echo "$ac_ld_relro" >&6; }
56782 # Set linker optimization flags.
56783 if test x"$with_gnu_ld" = x"yes"; then
56784 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56790 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
56792 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
56794 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
56796 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
56798 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56800 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
56802 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56804 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
56806 if test x"long_double_math_on_this_cpu" = x"yes"; then
56807 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
56809 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
56811 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
56815 *-netware)
56816 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56819 # If we're not using GNU ld, then there's no point in even trying these
56820 # tests. Check for that first. We should have already tested for gld
56821 # by now (in libtool), but require it now just to be safe...
56822 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56823 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56827 # The name set by libtool depends on the version of libtool. Shame on us
56828 # for depending on an impl detail, but c'est la vie. Older versions used
56829 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56830 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56831 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56832 # set (hence we're using an older libtool), then set it.
56833 if test x${with_gnu_ld+set} != xset; then
56834 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56835 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56836 with_gnu_ld=no
56837 else
56838 with_gnu_ld=$ac_cv_prog_gnu_ld
56842 # Start by getting the version number. I think the libtool test already
56843 # does some of this, but throws away the result.
56844 glibcxx_ld_is_gold=no
56845 if test x"$with_gnu_ld" = x"yes"; then
56846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56847 $as_echo_n "checking for ld version... " >&6; }
56849 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56850 glibcxx_ld_is_gold=yes
56852 ldver=`$LD --version 2>/dev/null |
56853 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'`
56855 glibcxx_gnu_ld_version=`echo $ldver | \
56856 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56858 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56861 # Set --gc-sections.
56862 glibcxx_have_gc_sections=no
56863 if test "$glibcxx_ld_is_gold" = "yes"; then
56864 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56865 glibcxx_have_gc_sections=yes
56867 else
56868 glibcxx_gcsections_min_ld=21602
56869 if test x"$with_gnu_ld" = x"yes" &&
56870 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56871 glibcxx_have_gc_sections=yes
56874 if test "$glibcxx_have_gc_sections" = "yes"; then
56875 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56876 # NB: This flag only works reliably after 2.16.1. Configure tests
56877 # for this are difficult, so hard wire a value that should work.
56879 ac_test_CFLAGS="${CFLAGS+set}"
56880 ac_save_CFLAGS="$CFLAGS"
56881 CFLAGS='-Wl,--gc-sections'
56883 # Check for -Wl,--gc-sections
56884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56885 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56886 if test x$gcc_no_link = xyes; then
56887 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56890 /* end confdefs.h. */
56891 int one(void) { return 1; }
56892 int two(void) { return 2; }
56895 main ()
56897 two();
56899 return 0;
56901 _ACEOF
56902 if ac_fn_c_try_link "$LINENO"; then :
56903 ac_gcsections=yes
56904 else
56905 ac_gcsections=no
56907 rm -f core conftest.err conftest.$ac_objext \
56908 conftest$ac_exeext conftest.$ac_ext
56909 if test "$ac_gcsections" = "yes"; then
56910 rm -f conftest.c
56911 touch conftest.c
56912 if $CC -c conftest.c; then
56913 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56914 grep "Warning: gc-sections option ignored" > /dev/null; then
56915 ac_gcsections=no
56918 rm -f conftest.c conftest.o conftest
56920 if test "$ac_gcsections" = "yes"; then
56921 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56924 $as_echo "$ac_gcsections" >&6; }
56926 if test "$ac_test_CFLAGS" = set; then
56927 CFLAGS="$ac_save_CFLAGS"
56928 else
56929 # this is the suspicious part
56930 CFLAGS=''
56934 # Set -z,relro.
56935 # Note this is only for shared objects.
56936 ac_ld_relro=no
56937 if test x"$with_gnu_ld" = x"yes"; then
56938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56939 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56940 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56941 if test -n "$cxx_z_relo"; then
56942 OPT_LDFLAGS="-Wl,-z,relro"
56943 ac_ld_relro=yes
56945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56946 $as_echo "$ac_ld_relro" >&6; }
56949 # Set linker optimization flags.
56950 if test x"$with_gnu_ld" = x"yes"; then
56951 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56957 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
56959 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56961 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56964 *-qnx6.1* | *-qnx6.2*)
56965 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56968 # If we're not using GNU ld, then there's no point in even trying these
56969 # tests. Check for that first. We should have already tested for gld
56970 # by now (in libtool), but require it now just to be safe...
56971 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56972 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56976 # The name set by libtool depends on the version of libtool. Shame on us
56977 # for depending on an impl detail, but c'est la vie. Older versions used
56978 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56979 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56980 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56981 # set (hence we're using an older libtool), then set it.
56982 if test x${with_gnu_ld+set} != xset; then
56983 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56984 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56985 with_gnu_ld=no
56986 else
56987 with_gnu_ld=$ac_cv_prog_gnu_ld
56991 # Start by getting the version number. I think the libtool test already
56992 # does some of this, but throws away the result.
56993 glibcxx_ld_is_gold=no
56994 if test x"$with_gnu_ld" = x"yes"; then
56995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56996 $as_echo_n "checking for ld version... " >&6; }
56998 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56999 glibcxx_ld_is_gold=yes
57001 ldver=`$LD --version 2>/dev/null |
57002 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'`
57004 glibcxx_gnu_ld_version=`echo $ldver | \
57005 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57007 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57010 # Set --gc-sections.
57011 glibcxx_have_gc_sections=no
57012 if test "$glibcxx_ld_is_gold" = "yes"; then
57013 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57014 glibcxx_have_gc_sections=yes
57016 else
57017 glibcxx_gcsections_min_ld=21602
57018 if test x"$with_gnu_ld" = x"yes" &&
57019 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57020 glibcxx_have_gc_sections=yes
57023 if test "$glibcxx_have_gc_sections" = "yes"; then
57024 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57025 # NB: This flag only works reliably after 2.16.1. Configure tests
57026 # for this are difficult, so hard wire a value that should work.
57028 ac_test_CFLAGS="${CFLAGS+set}"
57029 ac_save_CFLAGS="$CFLAGS"
57030 CFLAGS='-Wl,--gc-sections'
57032 # Check for -Wl,--gc-sections
57033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57034 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57035 if test x$gcc_no_link = xyes; then
57036 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57039 /* end confdefs.h. */
57040 int one(void) { return 1; }
57041 int two(void) { return 2; }
57044 main ()
57046 two();
57048 return 0;
57050 _ACEOF
57051 if ac_fn_c_try_link "$LINENO"; then :
57052 ac_gcsections=yes
57053 else
57054 ac_gcsections=no
57056 rm -f core conftest.err conftest.$ac_objext \
57057 conftest$ac_exeext conftest.$ac_ext
57058 if test "$ac_gcsections" = "yes"; then
57059 rm -f conftest.c
57060 touch conftest.c
57061 if $CC -c conftest.c; then
57062 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57063 grep "Warning: gc-sections option ignored" > /dev/null; then
57064 ac_gcsections=no
57067 rm -f conftest.c conftest.o conftest
57069 if test "$ac_gcsections" = "yes"; then
57070 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57073 $as_echo "$ac_gcsections" >&6; }
57075 if test "$ac_test_CFLAGS" = set; then
57076 CFLAGS="$ac_save_CFLAGS"
57077 else
57078 # this is the suspicious part
57079 CFLAGS=''
57083 # Set -z,relro.
57084 # Note this is only for shared objects.
57085 ac_ld_relro=no
57086 if test x"$with_gnu_ld" = x"yes"; then
57087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57088 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57089 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57090 if test -n "$cxx_z_relo"; then
57091 OPT_LDFLAGS="-Wl,-z,relro"
57092 ac_ld_relro=yes
57094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57095 $as_echo "$ac_ld_relro" >&6; }
57098 # Set linker optimization flags.
57099 if test x"$with_gnu_ld" = x"yes"; then
57100 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57106 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57108 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57110 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57112 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57114 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57116 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57118 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57120 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57122 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57124 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57126 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57128 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57131 *-rtems*)
57133 # All these tests are for C++; save the language and the compiler flags.
57134 # The CXXFLAGS thing is suspicious, but based on similar bits previously
57135 # found in GLIBCXX_CONFIGURE.
57137 ac_ext=cpp
57138 ac_cpp='$CXXCPP $CPPFLAGS'
57139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57143 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57144 ac_save_CXXFLAGS="$CXXFLAGS"
57146 # Check for maintainer-mode bits.
57147 if test x"$USE_MAINTAINER_MODE" = xno; then
57148 WERROR=''
57149 else
57150 WERROR='-Werror'
57153 # Check for -ffunction-sections -fdata-sections
57154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
57155 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
57156 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
57157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57158 /* end confdefs.h. */
57159 int foo; void bar() { };
57161 main ()
57165 return 0;
57167 _ACEOF
57168 if ac_fn_cxx_try_compile "$LINENO"; then :
57169 ac_fdsections=yes
57170 else
57171 ac_fdsections=no
57173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57174 if test "$ac_test_CXXFLAGS" = set; then
57175 CXXFLAGS="$ac_save_CXXFLAGS"
57176 else
57177 # this is the suspicious part
57178 CXXFLAGS=''
57180 if test x"$ac_fdsections" = x"yes"; then
57181 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
57184 $as_echo "$ac_fdsections" >&6; }
57186 ac_ext=c
57187 ac_cpp='$CPP $CPPFLAGS'
57188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57196 # If we're not using GNU ld, then there's no point in even trying these
57197 # tests. Check for that first. We should have already tested for gld
57198 # by now (in libtool), but require it now just to be safe...
57199 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57200 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57204 # The name set by libtool depends on the version of libtool. Shame on us
57205 # for depending on an impl detail, but c'est la vie. Older versions used
57206 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57207 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57208 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57209 # set (hence we're using an older libtool), then set it.
57210 if test x${with_gnu_ld+set} != xset; then
57211 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57212 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57213 with_gnu_ld=no
57214 else
57215 with_gnu_ld=$ac_cv_prog_gnu_ld
57219 # Start by getting the version number. I think the libtool test already
57220 # does some of this, but throws away the result.
57221 glibcxx_ld_is_gold=no
57222 if test x"$with_gnu_ld" = x"yes"; then
57223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57224 $as_echo_n "checking for ld version... " >&6; }
57226 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57227 glibcxx_ld_is_gold=yes
57229 ldver=`$LD --version 2>/dev/null |
57230 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'`
57232 glibcxx_gnu_ld_version=`echo $ldver | \
57233 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57235 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57238 # Set --gc-sections.
57239 glibcxx_have_gc_sections=no
57240 if test "$glibcxx_ld_is_gold" = "yes"; then
57241 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57242 glibcxx_have_gc_sections=yes
57244 else
57245 glibcxx_gcsections_min_ld=21602
57246 if test x"$with_gnu_ld" = x"yes" &&
57247 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57248 glibcxx_have_gc_sections=yes
57251 if test "$glibcxx_have_gc_sections" = "yes"; then
57252 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57253 # NB: This flag only works reliably after 2.16.1. Configure tests
57254 # for this are difficult, so hard wire a value that should work.
57256 ac_test_CFLAGS="${CFLAGS+set}"
57257 ac_save_CFLAGS="$CFLAGS"
57258 CFLAGS='-Wl,--gc-sections'
57260 # Check for -Wl,--gc-sections
57261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57262 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57263 if test x$gcc_no_link = xyes; then
57264 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57267 /* end confdefs.h. */
57268 int one(void) { return 1; }
57269 int two(void) { return 2; }
57272 main ()
57274 two();
57276 return 0;
57278 _ACEOF
57279 if ac_fn_c_try_link "$LINENO"; then :
57280 ac_gcsections=yes
57281 else
57282 ac_gcsections=no
57284 rm -f core conftest.err conftest.$ac_objext \
57285 conftest$ac_exeext conftest.$ac_ext
57286 if test "$ac_gcsections" = "yes"; then
57287 rm -f conftest.c
57288 touch conftest.c
57289 if $CC -c conftest.c; then
57290 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57291 grep "Warning: gc-sections option ignored" > /dev/null; then
57292 ac_gcsections=no
57295 rm -f conftest.c conftest.o conftest
57297 if test "$ac_gcsections" = "yes"; then
57298 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57301 $as_echo "$ac_gcsections" >&6; }
57303 if test "$ac_test_CFLAGS" = set; then
57304 CFLAGS="$ac_save_CFLAGS"
57305 else
57306 # this is the suspicious part
57307 CFLAGS=''
57311 # Set -z,relro.
57312 # Note this is only for shared objects.
57313 ac_ld_relro=no
57314 if test x"$with_gnu_ld" = x"yes"; then
57315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57316 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57317 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57318 if test -n "$cxx_z_relo"; then
57319 OPT_LDFLAGS="-Wl,-z,relro"
57320 ac_ld_relro=yes
57322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57323 $as_echo "$ac_ld_relro" >&6; }
57326 # Set linker optimization flags.
57327 if test x"$with_gnu_ld" = x"yes"; then
57328 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57335 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57336 ac_save_CXXFLAGS="$CXXFLAGS"
57337 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
57340 $as_echo_n "checking for sin in -lm... " >&6; }
57341 if test "${ac_cv_lib_m_sin+set}" = set; then :
57342 $as_echo_n "(cached) " >&6
57343 else
57344 ac_check_lib_save_LIBS=$LIBS
57345 LIBS="-lm $LIBS"
57346 if test x$gcc_no_link = xyes; then
57347 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57350 /* end confdefs.h. */
57352 /* Override any GCC internal prototype to avoid an error.
57353 Use char because int might match the return type of a GCC
57354 builtin and then its argument prototype would still apply. */
57355 #ifdef __cplusplus
57356 extern "C"
57357 #endif
57358 char sin ();
57360 main ()
57362 return sin ();
57364 return 0;
57366 _ACEOF
57367 if ac_fn_c_try_link "$LINENO"; then :
57368 ac_cv_lib_m_sin=yes
57369 else
57370 ac_cv_lib_m_sin=no
57372 rm -f core conftest.err conftest.$ac_objext \
57373 conftest$ac_exeext conftest.$ac_ext
57374 LIBS=$ac_check_lib_save_LIBS
57376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
57377 $as_echo "$ac_cv_lib_m_sin" >&6; }
57378 if test "x$ac_cv_lib_m_sin" = x""yes; then :
57379 libm="-lm"
57382 ac_save_LIBS="$LIBS"
57383 LIBS="$LIBS $libm"
57387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
57388 $as_echo_n "checking for isinf declaration... " >&6; }
57389 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
57390 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
57391 $as_echo_n "(cached) " >&6
57392 else
57395 ac_ext=cpp
57396 ac_cpp='$CXXCPP $CPPFLAGS'
57397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57402 /* end confdefs.h. */
57403 #include <math.h>
57404 #ifdef HAVE_IEEEFP_H
57405 #include <ieeefp.h>
57406 #endif
57409 main ()
57411 isinf(0);
57413 return 0;
57415 _ACEOF
57416 if ac_fn_cxx_try_compile "$LINENO"; then :
57417 glibcxx_cv_func_isinf_use=yes
57418 else
57419 glibcxx_cv_func_isinf_use=no
57421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57422 ac_ext=c
57423 ac_cpp='$CPP $CPPFLAGS'
57424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
57433 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
57435 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
57436 for ac_func in isinf
57437 do :
57438 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
57439 if test "x$ac_cv_func_isinf" = x""yes; then :
57440 cat >>confdefs.h <<_ACEOF
57441 #define HAVE_ISINF 1
57442 _ACEOF
57445 done
57447 else
57449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
57450 $as_echo_n "checking for _isinf declaration... " >&6; }
57451 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
57452 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
57453 $as_echo_n "(cached) " >&6
57454 else
57457 ac_ext=cpp
57458 ac_cpp='$CXXCPP $CPPFLAGS'
57459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57464 /* end confdefs.h. */
57465 #include <math.h>
57466 #ifdef HAVE_IEEEFP_H
57467 #include <ieeefp.h>
57468 #endif
57471 main ()
57473 _isinf(0);
57475 return 0;
57477 _ACEOF
57478 if ac_fn_cxx_try_compile "$LINENO"; then :
57479 glibcxx_cv_func__isinf_use=yes
57480 else
57481 glibcxx_cv_func__isinf_use=no
57483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57484 ac_ext=c
57485 ac_cpp='$CPP $CPPFLAGS'
57486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
57495 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
57497 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
57498 for ac_func in _isinf
57499 do :
57500 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
57501 if test "x$ac_cv_func__isinf" = x""yes; then :
57502 cat >>confdefs.h <<_ACEOF
57503 #define HAVE__ISINF 1
57504 _ACEOF
57507 done
57516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
57517 $as_echo_n "checking for isnan declaration... " >&6; }
57518 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
57519 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
57520 $as_echo_n "(cached) " >&6
57521 else
57524 ac_ext=cpp
57525 ac_cpp='$CXXCPP $CPPFLAGS'
57526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57531 /* end confdefs.h. */
57532 #include <math.h>
57533 #ifdef HAVE_IEEEFP_H
57534 #include <ieeefp.h>
57535 #endif
57538 main ()
57540 isnan(0);
57542 return 0;
57544 _ACEOF
57545 if ac_fn_cxx_try_compile "$LINENO"; then :
57546 glibcxx_cv_func_isnan_use=yes
57547 else
57548 glibcxx_cv_func_isnan_use=no
57550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57551 ac_ext=c
57552 ac_cpp='$CPP $CPPFLAGS'
57553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
57562 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
57564 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
57565 for ac_func in isnan
57566 do :
57567 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
57568 if test "x$ac_cv_func_isnan" = x""yes; then :
57569 cat >>confdefs.h <<_ACEOF
57570 #define HAVE_ISNAN 1
57571 _ACEOF
57574 done
57576 else
57578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
57579 $as_echo_n "checking for _isnan declaration... " >&6; }
57580 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
57581 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
57582 $as_echo_n "(cached) " >&6
57583 else
57586 ac_ext=cpp
57587 ac_cpp='$CXXCPP $CPPFLAGS'
57588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57593 /* end confdefs.h. */
57594 #include <math.h>
57595 #ifdef HAVE_IEEEFP_H
57596 #include <ieeefp.h>
57597 #endif
57600 main ()
57602 _isnan(0);
57604 return 0;
57606 _ACEOF
57607 if ac_fn_cxx_try_compile "$LINENO"; then :
57608 glibcxx_cv_func__isnan_use=yes
57609 else
57610 glibcxx_cv_func__isnan_use=no
57612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57613 ac_ext=c
57614 ac_cpp='$CPP $CPPFLAGS'
57615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
57624 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
57626 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
57627 for ac_func in _isnan
57628 do :
57629 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
57630 if test "x$ac_cv_func__isnan" = x""yes; then :
57631 cat >>confdefs.h <<_ACEOF
57632 #define HAVE__ISNAN 1
57633 _ACEOF
57636 done
57645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
57646 $as_echo_n "checking for finite declaration... " >&6; }
57647 if test x${glibcxx_cv_func_finite_use+set} != xset; then
57648 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
57649 $as_echo_n "(cached) " >&6
57650 else
57653 ac_ext=cpp
57654 ac_cpp='$CXXCPP $CPPFLAGS'
57655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57660 /* end confdefs.h. */
57661 #include <math.h>
57662 #ifdef HAVE_IEEEFP_H
57663 #include <ieeefp.h>
57664 #endif
57667 main ()
57669 finite(0);
57671 return 0;
57673 _ACEOF
57674 if ac_fn_cxx_try_compile "$LINENO"; then :
57675 glibcxx_cv_func_finite_use=yes
57676 else
57677 glibcxx_cv_func_finite_use=no
57679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57680 ac_ext=c
57681 ac_cpp='$CPP $CPPFLAGS'
57682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
57691 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
57693 if test x$glibcxx_cv_func_finite_use = x"yes"; then
57694 for ac_func in finite
57695 do :
57696 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
57697 if test "x$ac_cv_func_finite" = x""yes; then :
57698 cat >>confdefs.h <<_ACEOF
57699 #define HAVE_FINITE 1
57700 _ACEOF
57703 done
57705 else
57707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
57708 $as_echo_n "checking for _finite declaration... " >&6; }
57709 if test x${glibcxx_cv_func__finite_use+set} != xset; then
57710 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
57711 $as_echo_n "(cached) " >&6
57712 else
57715 ac_ext=cpp
57716 ac_cpp='$CXXCPP $CPPFLAGS'
57717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57722 /* end confdefs.h. */
57723 #include <math.h>
57724 #ifdef HAVE_IEEEFP_H
57725 #include <ieeefp.h>
57726 #endif
57729 main ()
57731 _finite(0);
57733 return 0;
57735 _ACEOF
57736 if ac_fn_cxx_try_compile "$LINENO"; then :
57737 glibcxx_cv_func__finite_use=yes
57738 else
57739 glibcxx_cv_func__finite_use=no
57741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57742 ac_ext=c
57743 ac_cpp='$CPP $CPPFLAGS'
57744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
57753 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
57755 if test x$glibcxx_cv_func__finite_use = x"yes"; then
57756 for ac_func in _finite
57757 do :
57758 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
57759 if test "x$ac_cv_func__finite" = x""yes; then :
57760 cat >>confdefs.h <<_ACEOF
57761 #define HAVE__FINITE 1
57762 _ACEOF
57765 done
57774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
57775 $as_echo_n "checking for sincos declaration... " >&6; }
57776 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
57777 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
57778 $as_echo_n "(cached) " >&6
57779 else
57782 ac_ext=cpp
57783 ac_cpp='$CXXCPP $CPPFLAGS'
57784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57789 /* end confdefs.h. */
57790 #include <math.h>
57792 main ()
57794 sincos(0, 0, 0);
57796 return 0;
57798 _ACEOF
57799 if ac_fn_cxx_try_compile "$LINENO"; then :
57800 glibcxx_cv_func_sincos_use=yes
57801 else
57802 glibcxx_cv_func_sincos_use=no
57804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57805 ac_ext=c
57806 ac_cpp='$CPP $CPPFLAGS'
57807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
57816 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
57818 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
57819 for ac_func in sincos
57820 do :
57821 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
57822 if test "x$ac_cv_func_sincos" = x""yes; then :
57823 cat >>confdefs.h <<_ACEOF
57824 #define HAVE_SINCOS 1
57825 _ACEOF
57828 done
57830 else
57832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
57833 $as_echo_n "checking for _sincos declaration... " >&6; }
57834 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
57835 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
57836 $as_echo_n "(cached) " >&6
57837 else
57840 ac_ext=cpp
57841 ac_cpp='$CXXCPP $CPPFLAGS'
57842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57847 /* end confdefs.h. */
57848 #include <math.h>
57850 main ()
57852 _sincos(0, 0, 0);
57854 return 0;
57856 _ACEOF
57857 if ac_fn_cxx_try_compile "$LINENO"; then :
57858 glibcxx_cv_func__sincos_use=yes
57859 else
57860 glibcxx_cv_func__sincos_use=no
57862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57863 ac_ext=c
57864 ac_cpp='$CPP $CPPFLAGS'
57865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
57874 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
57876 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
57877 for ac_func in _sincos
57878 do :
57879 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
57880 if test "x$ac_cv_func__sincos" = x""yes; then :
57881 cat >>confdefs.h <<_ACEOF
57882 #define HAVE__SINCOS 1
57883 _ACEOF
57886 done
57895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
57896 $as_echo_n "checking for fpclass declaration... " >&6; }
57897 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
57898 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
57899 $as_echo_n "(cached) " >&6
57900 else
57903 ac_ext=cpp
57904 ac_cpp='$CXXCPP $CPPFLAGS'
57905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57910 /* end confdefs.h. */
57911 #include <math.h>
57912 #ifdef HAVE_IEEEFP_H
57913 #include <ieeefp.h>
57914 #endif
57917 main ()
57919 fpclass(0);
57921 return 0;
57923 _ACEOF
57924 if ac_fn_cxx_try_compile "$LINENO"; then :
57925 glibcxx_cv_func_fpclass_use=yes
57926 else
57927 glibcxx_cv_func_fpclass_use=no
57929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57930 ac_ext=c
57931 ac_cpp='$CPP $CPPFLAGS'
57932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
57941 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
57943 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
57944 for ac_func in fpclass
57945 do :
57946 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
57947 if test "x$ac_cv_func_fpclass" = x""yes; then :
57948 cat >>confdefs.h <<_ACEOF
57949 #define HAVE_FPCLASS 1
57950 _ACEOF
57953 done
57955 else
57957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
57958 $as_echo_n "checking for _fpclass declaration... " >&6; }
57959 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
57960 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
57961 $as_echo_n "(cached) " >&6
57962 else
57965 ac_ext=cpp
57966 ac_cpp='$CXXCPP $CPPFLAGS'
57967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57972 /* end confdefs.h. */
57973 #include <math.h>
57974 #ifdef HAVE_IEEEFP_H
57975 #include <ieeefp.h>
57976 #endif
57979 main ()
57981 _fpclass(0);
57983 return 0;
57985 _ACEOF
57986 if ac_fn_cxx_try_compile "$LINENO"; then :
57987 glibcxx_cv_func__fpclass_use=yes
57988 else
57989 glibcxx_cv_func__fpclass_use=no
57991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57992 ac_ext=c
57993 ac_cpp='$CPP $CPPFLAGS'
57994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
58003 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
58005 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
58006 for ac_func in _fpclass
58007 do :
58008 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
58009 if test "x$ac_cv_func__fpclass" = x""yes; then :
58010 cat >>confdefs.h <<_ACEOF
58011 #define HAVE__FPCLASS 1
58012 _ACEOF
58015 done
58024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
58025 $as_echo_n "checking for qfpclass declaration... " >&6; }
58026 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
58027 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
58028 $as_echo_n "(cached) " >&6
58029 else
58032 ac_ext=cpp
58033 ac_cpp='$CXXCPP $CPPFLAGS'
58034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58039 /* end confdefs.h. */
58040 #include <math.h>
58041 #ifdef HAVE_IEEEFP_H
58042 #include <ieeefp.h>
58043 #endif
58046 main ()
58048 qfpclass(0);
58050 return 0;
58052 _ACEOF
58053 if ac_fn_cxx_try_compile "$LINENO"; then :
58054 glibcxx_cv_func_qfpclass_use=yes
58055 else
58056 glibcxx_cv_func_qfpclass_use=no
58058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58059 ac_ext=c
58060 ac_cpp='$CPP $CPPFLAGS'
58061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
58070 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
58072 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
58073 for ac_func in qfpclass
58074 do :
58075 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
58076 if test "x$ac_cv_func_qfpclass" = x""yes; then :
58077 cat >>confdefs.h <<_ACEOF
58078 #define HAVE_QFPCLASS 1
58079 _ACEOF
58082 done
58084 else
58086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
58087 $as_echo_n "checking for _qfpclass declaration... " >&6; }
58088 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
58089 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
58090 $as_echo_n "(cached) " >&6
58091 else
58094 ac_ext=cpp
58095 ac_cpp='$CXXCPP $CPPFLAGS'
58096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58101 /* end confdefs.h. */
58102 #include <math.h>
58103 #ifdef HAVE_IEEEFP_H
58104 #include <ieeefp.h>
58105 #endif
58108 main ()
58110 _qfpclass(0);
58112 return 0;
58114 _ACEOF
58115 if ac_fn_cxx_try_compile "$LINENO"; then :
58116 glibcxx_cv_func__qfpclass_use=yes
58117 else
58118 glibcxx_cv_func__qfpclass_use=no
58120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58121 ac_ext=c
58122 ac_cpp='$CPP $CPPFLAGS'
58123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
58132 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
58134 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
58135 for ac_func in _qfpclass
58136 do :
58137 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
58138 if test "x$ac_cv_func__qfpclass" = x""yes; then :
58139 cat >>confdefs.h <<_ACEOF
58140 #define HAVE__QFPCLASS 1
58141 _ACEOF
58144 done
58153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
58154 $as_echo_n "checking for hypot declaration... " >&6; }
58155 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
58156 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
58157 $as_echo_n "(cached) " >&6
58158 else
58161 ac_ext=cpp
58162 ac_cpp='$CXXCPP $CPPFLAGS'
58163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58168 /* end confdefs.h. */
58169 #include <math.h>
58171 main ()
58173 hypot(0, 0);
58175 return 0;
58177 _ACEOF
58178 if ac_fn_cxx_try_compile "$LINENO"; then :
58179 glibcxx_cv_func_hypot_use=yes
58180 else
58181 glibcxx_cv_func_hypot_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_hypot_use" >&5
58195 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
58197 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
58198 for ac_func in hypot
58199 do :
58200 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
58201 if test "x$ac_cv_func_hypot" = x""yes; then :
58202 cat >>confdefs.h <<_ACEOF
58203 #define HAVE_HYPOT 1
58204 _ACEOF
58207 done
58209 else
58211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
58212 $as_echo_n "checking for _hypot declaration... " >&6; }
58213 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
58214 if test "${glibcxx_cv_func__hypot_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>
58229 main ()
58231 _hypot(0, 0);
58233 return 0;
58235 _ACEOF
58236 if ac_fn_cxx_try_compile "$LINENO"; then :
58237 glibcxx_cv_func__hypot_use=yes
58238 else
58239 glibcxx_cv_func__hypot_use=no
58241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58242 ac_ext=c
58243 ac_cpp='$CPP $CPPFLAGS'
58244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
58253 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
58255 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
58256 for ac_func in _hypot
58257 do :
58258 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
58259 if test "x$ac_cv_func__hypot" = x""yes; then :
58260 cat >>confdefs.h <<_ACEOF
58261 #define HAVE__HYPOT 1
58262 _ACEOF
58265 done
58274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
58275 $as_echo_n "checking for float trig functions... " >&6; }
58276 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
58277 $as_echo_n "(cached) " >&6
58278 else
58281 ac_ext=cpp
58282 ac_cpp='$CXXCPP $CPPFLAGS'
58283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58288 /* end confdefs.h. */
58289 #include <math.h>
58291 main ()
58293 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
58295 return 0;
58297 _ACEOF
58298 if ac_fn_cxx_try_compile "$LINENO"; then :
58299 glibcxx_cv_func_float_trig_use=yes
58300 else
58301 glibcxx_cv_func_float_trig_use=no
58303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58304 ac_ext=c
58305 ac_cpp='$CPP $CPPFLAGS'
58306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
58313 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
58314 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
58315 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
58316 do :
58317 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58318 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58319 eval as_val=\$$as_ac_var
58320 if test "x$as_val" = x""yes; then :
58321 cat >>confdefs.h <<_ACEOF
58322 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58323 _ACEOF
58326 done
58328 else
58329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
58330 $as_echo_n "checking for _float trig functions... " >&6; }
58331 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
58332 $as_echo_n "(cached) " >&6
58333 else
58336 ac_ext=cpp
58337 ac_cpp='$CXXCPP $CPPFLAGS'
58338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58343 /* end confdefs.h. */
58344 #include <math.h>
58346 main ()
58348 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
58350 return 0;
58352 _ACEOF
58353 if ac_fn_cxx_try_compile "$LINENO"; then :
58354 glibcxx_cv_func__float_trig_use=yes
58355 else
58356 glibcxx_cv_func__float_trig_use=no
58358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58359 ac_ext=c
58360 ac_cpp='$CPP $CPPFLAGS'
58361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
58368 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
58369 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
58370 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
58371 do :
58372 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58373 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58374 eval as_val=\$$as_ac_var
58375 if test "x$as_val" = x""yes; then :
58376 cat >>confdefs.h <<_ACEOF
58377 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58378 _ACEOF
58381 done
58390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
58391 $as_echo_n "checking for float round functions... " >&6; }
58392 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
58393 $as_echo_n "(cached) " >&6
58394 else
58397 ac_ext=cpp
58398 ac_cpp='$CXXCPP $CPPFLAGS'
58399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58404 /* end confdefs.h. */
58405 #include <math.h>
58407 main ()
58409 ceilf (0); floorf (0);
58411 return 0;
58413 _ACEOF
58414 if ac_fn_cxx_try_compile "$LINENO"; then :
58415 glibcxx_cv_func_float_round_use=yes
58416 else
58417 glibcxx_cv_func_float_round_use=no
58419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58420 ac_ext=c
58421 ac_cpp='$CPP $CPPFLAGS'
58422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
58429 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
58430 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
58431 for ac_func in ceilf floorf
58432 do :
58433 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58434 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58435 eval as_val=\$$as_ac_var
58436 if test "x$as_val" = x""yes; then :
58437 cat >>confdefs.h <<_ACEOF
58438 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58439 _ACEOF
58442 done
58444 else
58445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
58446 $as_echo_n "checking for _float round functions... " >&6; }
58447 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
58448 $as_echo_n "(cached) " >&6
58449 else
58452 ac_ext=cpp
58453 ac_cpp='$CXXCPP $CPPFLAGS'
58454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58459 /* end confdefs.h. */
58460 #include <math.h>
58462 main ()
58464 _ceilf (0); _floorf (0);
58466 return 0;
58468 _ACEOF
58469 if ac_fn_cxx_try_compile "$LINENO"; then :
58470 glibcxx_cv_func__float_round_use=yes
58471 else
58472 glibcxx_cv_func__float_round_use=no
58474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58475 ac_ext=c
58476 ac_cpp='$CPP $CPPFLAGS'
58477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
58484 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
58485 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
58486 for ac_func in _ceilf _floorf
58487 do :
58488 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58489 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58490 eval as_val=\$$as_ac_var
58491 if test "x$as_val" = x""yes; then :
58492 cat >>confdefs.h <<_ACEOF
58493 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58494 _ACEOF
58497 done
58507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
58508 $as_echo_n "checking for expf declaration... " >&6; }
58509 if test x${glibcxx_cv_func_expf_use+set} != xset; then
58510 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
58511 $as_echo_n "(cached) " >&6
58512 else
58515 ac_ext=cpp
58516 ac_cpp='$CXXCPP $CPPFLAGS'
58517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58522 /* end confdefs.h. */
58523 #include <math.h>
58524 #ifdef HAVE_IEEEFP_H
58525 #include <ieeefp.h>
58526 #endif
58529 main ()
58531 expf(0);
58533 return 0;
58535 _ACEOF
58536 if ac_fn_cxx_try_compile "$LINENO"; then :
58537 glibcxx_cv_func_expf_use=yes
58538 else
58539 glibcxx_cv_func_expf_use=no
58541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58542 ac_ext=c
58543 ac_cpp='$CPP $CPPFLAGS'
58544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
58553 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
58555 if test x$glibcxx_cv_func_expf_use = x"yes"; then
58556 for ac_func in expf
58557 do :
58558 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
58559 if test "x$ac_cv_func_expf" = x""yes; then :
58560 cat >>confdefs.h <<_ACEOF
58561 #define HAVE_EXPF 1
58562 _ACEOF
58565 done
58567 else
58569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
58570 $as_echo_n "checking for _expf declaration... " >&6; }
58571 if test x${glibcxx_cv_func__expf_use+set} != xset; then
58572 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
58573 $as_echo_n "(cached) " >&6
58574 else
58577 ac_ext=cpp
58578 ac_cpp='$CXXCPP $CPPFLAGS'
58579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58584 /* end confdefs.h. */
58585 #include <math.h>
58586 #ifdef HAVE_IEEEFP_H
58587 #include <ieeefp.h>
58588 #endif
58591 main ()
58593 _expf(0);
58595 return 0;
58597 _ACEOF
58598 if ac_fn_cxx_try_compile "$LINENO"; then :
58599 glibcxx_cv_func__expf_use=yes
58600 else
58601 glibcxx_cv_func__expf_use=no
58603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58604 ac_ext=c
58605 ac_cpp='$CPP $CPPFLAGS'
58606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
58615 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
58617 if test x$glibcxx_cv_func__expf_use = x"yes"; then
58618 for ac_func in _expf
58619 do :
58620 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
58621 if test "x$ac_cv_func__expf" = x""yes; then :
58622 cat >>confdefs.h <<_ACEOF
58623 #define HAVE__EXPF 1
58624 _ACEOF
58627 done
58636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
58637 $as_echo_n "checking for isnanf declaration... " >&6; }
58638 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
58639 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
58640 $as_echo_n "(cached) " >&6
58641 else
58644 ac_ext=cpp
58645 ac_cpp='$CXXCPP $CPPFLAGS'
58646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58651 /* end confdefs.h. */
58652 #include <math.h>
58653 #ifdef HAVE_IEEEFP_H
58654 #include <ieeefp.h>
58655 #endif
58658 main ()
58660 isnanf(0);
58662 return 0;
58664 _ACEOF
58665 if ac_fn_cxx_try_compile "$LINENO"; then :
58666 glibcxx_cv_func_isnanf_use=yes
58667 else
58668 glibcxx_cv_func_isnanf_use=no
58670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58671 ac_ext=c
58672 ac_cpp='$CPP $CPPFLAGS'
58673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
58682 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
58684 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
58685 for ac_func in isnanf
58686 do :
58687 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
58688 if test "x$ac_cv_func_isnanf" = x""yes; then :
58689 cat >>confdefs.h <<_ACEOF
58690 #define HAVE_ISNANF 1
58691 _ACEOF
58694 done
58696 else
58698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
58699 $as_echo_n "checking for _isnanf declaration... " >&6; }
58700 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
58701 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
58702 $as_echo_n "(cached) " >&6
58703 else
58706 ac_ext=cpp
58707 ac_cpp='$CXXCPP $CPPFLAGS'
58708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58713 /* end confdefs.h. */
58714 #include <math.h>
58715 #ifdef HAVE_IEEEFP_H
58716 #include <ieeefp.h>
58717 #endif
58720 main ()
58722 _isnanf(0);
58724 return 0;
58726 _ACEOF
58727 if ac_fn_cxx_try_compile "$LINENO"; then :
58728 glibcxx_cv_func__isnanf_use=yes
58729 else
58730 glibcxx_cv_func__isnanf_use=no
58732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58733 ac_ext=c
58734 ac_cpp='$CPP $CPPFLAGS'
58735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
58744 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
58746 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
58747 for ac_func in _isnanf
58748 do :
58749 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
58750 if test "x$ac_cv_func__isnanf" = x""yes; then :
58751 cat >>confdefs.h <<_ACEOF
58752 #define HAVE__ISNANF 1
58753 _ACEOF
58756 done
58765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
58766 $as_echo_n "checking for isinff declaration... " >&6; }
58767 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
58768 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
58769 $as_echo_n "(cached) " >&6
58770 else
58773 ac_ext=cpp
58774 ac_cpp='$CXXCPP $CPPFLAGS'
58775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58780 /* end confdefs.h. */
58781 #include <math.h>
58782 #ifdef HAVE_IEEEFP_H
58783 #include <ieeefp.h>
58784 #endif
58787 main ()
58789 isinff(0);
58791 return 0;
58793 _ACEOF
58794 if ac_fn_cxx_try_compile "$LINENO"; then :
58795 glibcxx_cv_func_isinff_use=yes
58796 else
58797 glibcxx_cv_func_isinff_use=no
58799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58800 ac_ext=c
58801 ac_cpp='$CPP $CPPFLAGS'
58802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
58811 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
58813 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
58814 for ac_func in isinff
58815 do :
58816 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
58817 if test "x$ac_cv_func_isinff" = x""yes; then :
58818 cat >>confdefs.h <<_ACEOF
58819 #define HAVE_ISINFF 1
58820 _ACEOF
58823 done
58825 else
58827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
58828 $as_echo_n "checking for _isinff declaration... " >&6; }
58829 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
58830 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
58831 $as_echo_n "(cached) " >&6
58832 else
58835 ac_ext=cpp
58836 ac_cpp='$CXXCPP $CPPFLAGS'
58837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58842 /* end confdefs.h. */
58843 #include <math.h>
58844 #ifdef HAVE_IEEEFP_H
58845 #include <ieeefp.h>
58846 #endif
58849 main ()
58851 _isinff(0);
58853 return 0;
58855 _ACEOF
58856 if ac_fn_cxx_try_compile "$LINENO"; then :
58857 glibcxx_cv_func__isinff_use=yes
58858 else
58859 glibcxx_cv_func__isinff_use=no
58861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58862 ac_ext=c
58863 ac_cpp='$CPP $CPPFLAGS'
58864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
58873 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
58875 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
58876 for ac_func in _isinff
58877 do :
58878 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
58879 if test "x$ac_cv_func__isinff" = x""yes; then :
58880 cat >>confdefs.h <<_ACEOF
58881 #define HAVE__ISINFF 1
58882 _ACEOF
58885 done
58894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
58895 $as_echo_n "checking for atan2f declaration... " >&6; }
58896 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
58897 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
58898 $as_echo_n "(cached) " >&6
58899 else
58902 ac_ext=cpp
58903 ac_cpp='$CXXCPP $CPPFLAGS'
58904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58909 /* end confdefs.h. */
58910 #include <math.h>
58912 main ()
58914 atan2f(0, 0);
58916 return 0;
58918 _ACEOF
58919 if ac_fn_cxx_try_compile "$LINENO"; then :
58920 glibcxx_cv_func_atan2f_use=yes
58921 else
58922 glibcxx_cv_func_atan2f_use=no
58924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58925 ac_ext=c
58926 ac_cpp='$CPP $CPPFLAGS'
58927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
58936 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
58938 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
58939 for ac_func in atan2f
58940 do :
58941 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
58942 if test "x$ac_cv_func_atan2f" = x""yes; then :
58943 cat >>confdefs.h <<_ACEOF
58944 #define HAVE_ATAN2F 1
58945 _ACEOF
58948 done
58950 else
58952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
58953 $as_echo_n "checking for _atan2f declaration... " >&6; }
58954 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
58955 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
58956 $as_echo_n "(cached) " >&6
58957 else
58960 ac_ext=cpp
58961 ac_cpp='$CXXCPP $CPPFLAGS'
58962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58967 /* end confdefs.h. */
58968 #include <math.h>
58970 main ()
58972 _atan2f(0, 0);
58974 return 0;
58976 _ACEOF
58977 if ac_fn_cxx_try_compile "$LINENO"; then :
58978 glibcxx_cv_func__atan2f_use=yes
58979 else
58980 glibcxx_cv_func__atan2f_use=no
58982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58983 ac_ext=c
58984 ac_cpp='$CPP $CPPFLAGS'
58985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
58994 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
58996 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
58997 for ac_func in _atan2f
58998 do :
58999 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
59000 if test "x$ac_cv_func__atan2f" = x""yes; then :
59001 cat >>confdefs.h <<_ACEOF
59002 #define HAVE__ATAN2F 1
59003 _ACEOF
59006 done
59015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
59016 $as_echo_n "checking for fabsf declaration... " >&6; }
59017 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59018 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
59019 $as_echo_n "(cached) " >&6
59020 else
59023 ac_ext=cpp
59024 ac_cpp='$CXXCPP $CPPFLAGS'
59025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59030 /* end confdefs.h. */
59031 #include <math.h>
59032 #ifdef HAVE_IEEEFP_H
59033 #include <ieeefp.h>
59034 #endif
59037 main ()
59039 fabsf(0);
59041 return 0;
59043 _ACEOF
59044 if ac_fn_cxx_try_compile "$LINENO"; then :
59045 glibcxx_cv_func_fabsf_use=yes
59046 else
59047 glibcxx_cv_func_fabsf_use=no
59049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59050 ac_ext=c
59051 ac_cpp='$CPP $CPPFLAGS'
59052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
59061 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
59063 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59064 for ac_func in fabsf
59065 do :
59066 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
59067 if test "x$ac_cv_func_fabsf" = x""yes; then :
59068 cat >>confdefs.h <<_ACEOF
59069 #define HAVE_FABSF 1
59070 _ACEOF
59073 done
59075 else
59077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
59078 $as_echo_n "checking for _fabsf declaration... " >&6; }
59079 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59080 if test "${glibcxx_cv_func__fabsf_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>
59094 #ifdef HAVE_IEEEFP_H
59095 #include <ieeefp.h>
59096 #endif
59099 main ()
59101 _fabsf(0);
59103 return 0;
59105 _ACEOF
59106 if ac_fn_cxx_try_compile "$LINENO"; then :
59107 glibcxx_cv_func__fabsf_use=yes
59108 else
59109 glibcxx_cv_func__fabsf_use=no
59111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59112 ac_ext=c
59113 ac_cpp='$CPP $CPPFLAGS'
59114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
59123 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
59125 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59126 for ac_func in _fabsf
59127 do :
59128 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
59129 if test "x$ac_cv_func__fabsf" = x""yes; then :
59130 cat >>confdefs.h <<_ACEOF
59131 #define HAVE__FABSF 1
59132 _ACEOF
59135 done
59144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
59145 $as_echo_n "checking for fmodf declaration... " >&6; }
59146 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
59147 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
59148 $as_echo_n "(cached) " >&6
59149 else
59152 ac_ext=cpp
59153 ac_cpp='$CXXCPP $CPPFLAGS'
59154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59159 /* end confdefs.h. */
59160 #include <math.h>
59162 main ()
59164 fmodf(0, 0);
59166 return 0;
59168 _ACEOF
59169 if ac_fn_cxx_try_compile "$LINENO"; then :
59170 glibcxx_cv_func_fmodf_use=yes
59171 else
59172 glibcxx_cv_func_fmodf_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_fmodf_use" >&5
59186 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
59188 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59189 for ac_func in fmodf
59190 do :
59191 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
59192 if test "x$ac_cv_func_fmodf" = x""yes; then :
59193 cat >>confdefs.h <<_ACEOF
59194 #define HAVE_FMODF 1
59195 _ACEOF
59198 done
59200 else
59202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
59203 $as_echo_n "checking for _fmodf declaration... " >&6; }
59204 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59205 if test "${glibcxx_cv_func__fmodf_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>
59220 main ()
59222 _fmodf(0, 0);
59224 return 0;
59226 _ACEOF
59227 if ac_fn_cxx_try_compile "$LINENO"; then :
59228 glibcxx_cv_func__fmodf_use=yes
59229 else
59230 glibcxx_cv_func__fmodf_use=no
59232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59233 ac_ext=c
59234 ac_cpp='$CPP $CPPFLAGS'
59235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
59244 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
59246 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59247 for ac_func in _fmodf
59248 do :
59249 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
59250 if test "x$ac_cv_func__fmodf" = x""yes; then :
59251 cat >>confdefs.h <<_ACEOF
59252 #define HAVE__FMODF 1
59253 _ACEOF
59256 done
59265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
59266 $as_echo_n "checking for frexpf declaration... " >&6; }
59267 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59268 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
59269 $as_echo_n "(cached) " >&6
59270 else
59273 ac_ext=cpp
59274 ac_cpp='$CXXCPP $CPPFLAGS'
59275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59280 /* end confdefs.h. */
59281 #include <math.h>
59283 main ()
59285 frexpf(0, 0);
59287 return 0;
59289 _ACEOF
59290 if ac_fn_cxx_try_compile "$LINENO"; then :
59291 glibcxx_cv_func_frexpf_use=yes
59292 else
59293 glibcxx_cv_func_frexpf_use=no
59295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59296 ac_ext=c
59297 ac_cpp='$CPP $CPPFLAGS'
59298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
59307 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
59309 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59310 for ac_func in frexpf
59311 do :
59312 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
59313 if test "x$ac_cv_func_frexpf" = x""yes; then :
59314 cat >>confdefs.h <<_ACEOF
59315 #define HAVE_FREXPF 1
59316 _ACEOF
59319 done
59321 else
59323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
59324 $as_echo_n "checking for _frexpf declaration... " >&6; }
59325 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59326 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
59327 $as_echo_n "(cached) " >&6
59328 else
59331 ac_ext=cpp
59332 ac_cpp='$CXXCPP $CPPFLAGS'
59333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59338 /* end confdefs.h. */
59339 #include <math.h>
59341 main ()
59343 _frexpf(0, 0);
59345 return 0;
59347 _ACEOF
59348 if ac_fn_cxx_try_compile "$LINENO"; then :
59349 glibcxx_cv_func__frexpf_use=yes
59350 else
59351 glibcxx_cv_func__frexpf_use=no
59353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59354 ac_ext=c
59355 ac_cpp='$CPP $CPPFLAGS'
59356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
59365 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
59367 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
59368 for ac_func in _frexpf
59369 do :
59370 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
59371 if test "x$ac_cv_func__frexpf" = x""yes; then :
59372 cat >>confdefs.h <<_ACEOF
59373 #define HAVE__FREXPF 1
59374 _ACEOF
59377 done
59386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
59387 $as_echo_n "checking for hypotf declaration... " >&6; }
59388 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
59389 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
59390 $as_echo_n "(cached) " >&6
59391 else
59394 ac_ext=cpp
59395 ac_cpp='$CXXCPP $CPPFLAGS'
59396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59401 /* end confdefs.h. */
59402 #include <math.h>
59404 main ()
59406 hypotf(0, 0);
59408 return 0;
59410 _ACEOF
59411 if ac_fn_cxx_try_compile "$LINENO"; then :
59412 glibcxx_cv_func_hypotf_use=yes
59413 else
59414 glibcxx_cv_func_hypotf_use=no
59416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59417 ac_ext=c
59418 ac_cpp='$CPP $CPPFLAGS'
59419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
59428 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
59430 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
59431 for ac_func in hypotf
59432 do :
59433 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
59434 if test "x$ac_cv_func_hypotf" = x""yes; then :
59435 cat >>confdefs.h <<_ACEOF
59436 #define HAVE_HYPOTF 1
59437 _ACEOF
59440 done
59442 else
59444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
59445 $as_echo_n "checking for _hypotf declaration... " >&6; }
59446 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
59447 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
59448 $as_echo_n "(cached) " >&6
59449 else
59452 ac_ext=cpp
59453 ac_cpp='$CXXCPP $CPPFLAGS'
59454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59459 /* end confdefs.h. */
59460 #include <math.h>
59462 main ()
59464 _hypotf(0, 0);
59466 return 0;
59468 _ACEOF
59469 if ac_fn_cxx_try_compile "$LINENO"; then :
59470 glibcxx_cv_func__hypotf_use=yes
59471 else
59472 glibcxx_cv_func__hypotf_use=no
59474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59475 ac_ext=c
59476 ac_cpp='$CPP $CPPFLAGS'
59477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
59486 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
59488 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
59489 for ac_func in _hypotf
59490 do :
59491 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
59492 if test "x$ac_cv_func__hypotf" = x""yes; then :
59493 cat >>confdefs.h <<_ACEOF
59494 #define HAVE__HYPOTF 1
59495 _ACEOF
59498 done
59507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
59508 $as_echo_n "checking for ldexpf declaration... " >&6; }
59509 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
59510 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
59511 $as_echo_n "(cached) " >&6
59512 else
59515 ac_ext=cpp
59516 ac_cpp='$CXXCPP $CPPFLAGS'
59517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59522 /* end confdefs.h. */
59523 #include <math.h>
59525 main ()
59527 ldexpf(0, 0);
59529 return 0;
59531 _ACEOF
59532 if ac_fn_cxx_try_compile "$LINENO"; then :
59533 glibcxx_cv_func_ldexpf_use=yes
59534 else
59535 glibcxx_cv_func_ldexpf_use=no
59537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59538 ac_ext=c
59539 ac_cpp='$CPP $CPPFLAGS'
59540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
59549 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
59551 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
59552 for ac_func in ldexpf
59553 do :
59554 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
59555 if test "x$ac_cv_func_ldexpf" = x""yes; then :
59556 cat >>confdefs.h <<_ACEOF
59557 #define HAVE_LDEXPF 1
59558 _ACEOF
59561 done
59563 else
59565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
59566 $as_echo_n "checking for _ldexpf declaration... " >&6; }
59567 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
59568 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
59569 $as_echo_n "(cached) " >&6
59570 else
59573 ac_ext=cpp
59574 ac_cpp='$CXXCPP $CPPFLAGS'
59575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59580 /* end confdefs.h. */
59581 #include <math.h>
59583 main ()
59585 _ldexpf(0, 0);
59587 return 0;
59589 _ACEOF
59590 if ac_fn_cxx_try_compile "$LINENO"; then :
59591 glibcxx_cv_func__ldexpf_use=yes
59592 else
59593 glibcxx_cv_func__ldexpf_use=no
59595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59596 ac_ext=c
59597 ac_cpp='$CPP $CPPFLAGS'
59598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
59607 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
59609 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
59610 for ac_func in _ldexpf
59611 do :
59612 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
59613 if test "x$ac_cv_func__ldexpf" = x""yes; then :
59614 cat >>confdefs.h <<_ACEOF
59615 #define HAVE__LDEXPF 1
59616 _ACEOF
59619 done
59628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
59629 $as_echo_n "checking for logf declaration... " >&6; }
59630 if test x${glibcxx_cv_func_logf_use+set} != xset; then
59631 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
59632 $as_echo_n "(cached) " >&6
59633 else
59636 ac_ext=cpp
59637 ac_cpp='$CXXCPP $CPPFLAGS'
59638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59643 /* end confdefs.h. */
59644 #include <math.h>
59645 #ifdef HAVE_IEEEFP_H
59646 #include <ieeefp.h>
59647 #endif
59650 main ()
59652 logf(0);
59654 return 0;
59656 _ACEOF
59657 if ac_fn_cxx_try_compile "$LINENO"; then :
59658 glibcxx_cv_func_logf_use=yes
59659 else
59660 glibcxx_cv_func_logf_use=no
59662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59663 ac_ext=c
59664 ac_cpp='$CPP $CPPFLAGS'
59665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
59674 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
59676 if test x$glibcxx_cv_func_logf_use = x"yes"; then
59677 for ac_func in logf
59678 do :
59679 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
59680 if test "x$ac_cv_func_logf" = x""yes; then :
59681 cat >>confdefs.h <<_ACEOF
59682 #define HAVE_LOGF 1
59683 _ACEOF
59686 done
59688 else
59690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
59691 $as_echo_n "checking for _logf declaration... " >&6; }
59692 if test x${glibcxx_cv_func__logf_use+set} != xset; then
59693 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
59694 $as_echo_n "(cached) " >&6
59695 else
59698 ac_ext=cpp
59699 ac_cpp='$CXXCPP $CPPFLAGS'
59700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59705 /* end confdefs.h. */
59706 #include <math.h>
59707 #ifdef HAVE_IEEEFP_H
59708 #include <ieeefp.h>
59709 #endif
59712 main ()
59714 _logf(0);
59716 return 0;
59718 _ACEOF
59719 if ac_fn_cxx_try_compile "$LINENO"; then :
59720 glibcxx_cv_func__logf_use=yes
59721 else
59722 glibcxx_cv_func__logf_use=no
59724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59725 ac_ext=c
59726 ac_cpp='$CPP $CPPFLAGS'
59727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
59736 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
59738 if test x$glibcxx_cv_func__logf_use = x"yes"; then
59739 for ac_func in _logf
59740 do :
59741 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
59742 if test "x$ac_cv_func__logf" = x""yes; then :
59743 cat >>confdefs.h <<_ACEOF
59744 #define HAVE__LOGF 1
59745 _ACEOF
59748 done
59757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
59758 $as_echo_n "checking for log10f declaration... " >&6; }
59759 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
59760 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
59761 $as_echo_n "(cached) " >&6
59762 else
59765 ac_ext=cpp
59766 ac_cpp='$CXXCPP $CPPFLAGS'
59767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59772 /* end confdefs.h. */
59773 #include <math.h>
59774 #ifdef HAVE_IEEEFP_H
59775 #include <ieeefp.h>
59776 #endif
59779 main ()
59781 log10f(0);
59783 return 0;
59785 _ACEOF
59786 if ac_fn_cxx_try_compile "$LINENO"; then :
59787 glibcxx_cv_func_log10f_use=yes
59788 else
59789 glibcxx_cv_func_log10f_use=no
59791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59792 ac_ext=c
59793 ac_cpp='$CPP $CPPFLAGS'
59794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
59803 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
59805 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
59806 for ac_func in log10f
59807 do :
59808 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
59809 if test "x$ac_cv_func_log10f" = x""yes; then :
59810 cat >>confdefs.h <<_ACEOF
59811 #define HAVE_LOG10F 1
59812 _ACEOF
59815 done
59817 else
59819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
59820 $as_echo_n "checking for _log10f declaration... " >&6; }
59821 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
59822 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
59823 $as_echo_n "(cached) " >&6
59824 else
59827 ac_ext=cpp
59828 ac_cpp='$CXXCPP $CPPFLAGS'
59829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59834 /* end confdefs.h. */
59835 #include <math.h>
59836 #ifdef HAVE_IEEEFP_H
59837 #include <ieeefp.h>
59838 #endif
59841 main ()
59843 _log10f(0);
59845 return 0;
59847 _ACEOF
59848 if ac_fn_cxx_try_compile "$LINENO"; then :
59849 glibcxx_cv_func__log10f_use=yes
59850 else
59851 glibcxx_cv_func__log10f_use=no
59853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59854 ac_ext=c
59855 ac_cpp='$CPP $CPPFLAGS'
59856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
59865 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
59867 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
59868 for ac_func in _log10f
59869 do :
59870 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
59871 if test "x$ac_cv_func__log10f" = x""yes; then :
59872 cat >>confdefs.h <<_ACEOF
59873 #define HAVE__LOG10F 1
59874 _ACEOF
59877 done
59886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
59887 $as_echo_n "checking for modff declaration... " >&6; }
59888 if test x${glibcxx_cv_func_modff_use+set} != xset; then
59889 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
59890 $as_echo_n "(cached) " >&6
59891 else
59894 ac_ext=cpp
59895 ac_cpp='$CXXCPP $CPPFLAGS'
59896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59901 /* end confdefs.h. */
59902 #include <math.h>
59904 main ()
59906 modff(0, 0);
59908 return 0;
59910 _ACEOF
59911 if ac_fn_cxx_try_compile "$LINENO"; then :
59912 glibcxx_cv_func_modff_use=yes
59913 else
59914 glibcxx_cv_func_modff_use=no
59916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59917 ac_ext=c
59918 ac_cpp='$CPP $CPPFLAGS'
59919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
59928 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
59930 if test x$glibcxx_cv_func_modff_use = x"yes"; then
59931 for ac_func in modff
59932 do :
59933 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
59934 if test "x$ac_cv_func_modff" = x""yes; then :
59935 cat >>confdefs.h <<_ACEOF
59936 #define HAVE_MODFF 1
59937 _ACEOF
59940 done
59942 else
59944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
59945 $as_echo_n "checking for _modff declaration... " >&6; }
59946 if test x${glibcxx_cv_func__modff_use+set} != xset; then
59947 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
59948 $as_echo_n "(cached) " >&6
59949 else
59952 ac_ext=cpp
59953 ac_cpp='$CXXCPP $CPPFLAGS'
59954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59959 /* end confdefs.h. */
59960 #include <math.h>
59962 main ()
59964 _modff(0, 0);
59966 return 0;
59968 _ACEOF
59969 if ac_fn_cxx_try_compile "$LINENO"; then :
59970 glibcxx_cv_func__modff_use=yes
59971 else
59972 glibcxx_cv_func__modff_use=no
59974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59975 ac_ext=c
59976 ac_cpp='$CPP $CPPFLAGS'
59977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
59986 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
59988 if test x$glibcxx_cv_func__modff_use = x"yes"; then
59989 for ac_func in _modff
59990 do :
59991 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
59992 if test "x$ac_cv_func__modff" = x""yes; then :
59993 cat >>confdefs.h <<_ACEOF
59994 #define HAVE__MODFF 1
59995 _ACEOF
59998 done
60007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
60008 $as_echo_n "checking for modf declaration... " >&6; }
60009 if test x${glibcxx_cv_func_modf_use+set} != xset; then
60010 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
60011 $as_echo_n "(cached) " >&6
60012 else
60015 ac_ext=cpp
60016 ac_cpp='$CXXCPP $CPPFLAGS'
60017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60022 /* end confdefs.h. */
60023 #include <math.h>
60025 main ()
60027 modf(0, 0);
60029 return 0;
60031 _ACEOF
60032 if ac_fn_cxx_try_compile "$LINENO"; then :
60033 glibcxx_cv_func_modf_use=yes
60034 else
60035 glibcxx_cv_func_modf_use=no
60037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60038 ac_ext=c
60039 ac_cpp='$CPP $CPPFLAGS'
60040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
60049 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
60051 if test x$glibcxx_cv_func_modf_use = x"yes"; then
60052 for ac_func in modf
60053 do :
60054 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
60055 if test "x$ac_cv_func_modf" = x""yes; then :
60056 cat >>confdefs.h <<_ACEOF
60057 #define HAVE_MODF 1
60058 _ACEOF
60061 done
60063 else
60065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
60066 $as_echo_n "checking for _modf declaration... " >&6; }
60067 if test x${glibcxx_cv_func__modf_use+set} != xset; then
60068 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
60069 $as_echo_n "(cached) " >&6
60070 else
60073 ac_ext=cpp
60074 ac_cpp='$CXXCPP $CPPFLAGS'
60075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60080 /* end confdefs.h. */
60081 #include <math.h>
60083 main ()
60085 _modf(0, 0);
60087 return 0;
60089 _ACEOF
60090 if ac_fn_cxx_try_compile "$LINENO"; then :
60091 glibcxx_cv_func__modf_use=yes
60092 else
60093 glibcxx_cv_func__modf_use=no
60095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60096 ac_ext=c
60097 ac_cpp='$CPP $CPPFLAGS'
60098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
60107 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
60109 if test x$glibcxx_cv_func__modf_use = x"yes"; then
60110 for ac_func in _modf
60111 do :
60112 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
60113 if test "x$ac_cv_func__modf" = x""yes; then :
60114 cat >>confdefs.h <<_ACEOF
60115 #define HAVE__MODF 1
60116 _ACEOF
60119 done
60128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
60129 $as_echo_n "checking for powf declaration... " >&6; }
60130 if test x${glibcxx_cv_func_powf_use+set} != xset; then
60131 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
60132 $as_echo_n "(cached) " >&6
60133 else
60136 ac_ext=cpp
60137 ac_cpp='$CXXCPP $CPPFLAGS'
60138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60143 /* end confdefs.h. */
60144 #include <math.h>
60146 main ()
60148 powf(0, 0);
60150 return 0;
60152 _ACEOF
60153 if ac_fn_cxx_try_compile "$LINENO"; then :
60154 glibcxx_cv_func_powf_use=yes
60155 else
60156 glibcxx_cv_func_powf_use=no
60158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60159 ac_ext=c
60160 ac_cpp='$CPP $CPPFLAGS'
60161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
60170 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
60172 if test x$glibcxx_cv_func_powf_use = x"yes"; then
60173 for ac_func in powf
60174 do :
60175 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
60176 if test "x$ac_cv_func_powf" = x""yes; then :
60177 cat >>confdefs.h <<_ACEOF
60178 #define HAVE_POWF 1
60179 _ACEOF
60182 done
60184 else
60186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
60187 $as_echo_n "checking for _powf declaration... " >&6; }
60188 if test x${glibcxx_cv_func__powf_use+set} != xset; then
60189 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
60190 $as_echo_n "(cached) " >&6
60191 else
60194 ac_ext=cpp
60195 ac_cpp='$CXXCPP $CPPFLAGS'
60196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60201 /* end confdefs.h. */
60202 #include <math.h>
60204 main ()
60206 _powf(0, 0);
60208 return 0;
60210 _ACEOF
60211 if ac_fn_cxx_try_compile "$LINENO"; then :
60212 glibcxx_cv_func__powf_use=yes
60213 else
60214 glibcxx_cv_func__powf_use=no
60216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60217 ac_ext=c
60218 ac_cpp='$CPP $CPPFLAGS'
60219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
60228 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
60230 if test x$glibcxx_cv_func__powf_use = x"yes"; then
60231 for ac_func in _powf
60232 do :
60233 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
60234 if test "x$ac_cv_func__powf" = x""yes; then :
60235 cat >>confdefs.h <<_ACEOF
60236 #define HAVE__POWF 1
60237 _ACEOF
60240 done
60249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
60250 $as_echo_n "checking for sqrtf declaration... " >&6; }
60251 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
60252 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
60253 $as_echo_n "(cached) " >&6
60254 else
60257 ac_ext=cpp
60258 ac_cpp='$CXXCPP $CPPFLAGS'
60259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60264 /* end confdefs.h. */
60265 #include <math.h>
60266 #ifdef HAVE_IEEEFP_H
60267 #include <ieeefp.h>
60268 #endif
60271 main ()
60273 sqrtf(0);
60275 return 0;
60277 _ACEOF
60278 if ac_fn_cxx_try_compile "$LINENO"; then :
60279 glibcxx_cv_func_sqrtf_use=yes
60280 else
60281 glibcxx_cv_func_sqrtf_use=no
60283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60284 ac_ext=c
60285 ac_cpp='$CPP $CPPFLAGS'
60286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
60295 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
60297 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
60298 for ac_func in sqrtf
60299 do :
60300 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
60301 if test "x$ac_cv_func_sqrtf" = x""yes; then :
60302 cat >>confdefs.h <<_ACEOF
60303 #define HAVE_SQRTF 1
60304 _ACEOF
60307 done
60309 else
60311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
60312 $as_echo_n "checking for _sqrtf declaration... " >&6; }
60313 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
60314 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
60315 $as_echo_n "(cached) " >&6
60316 else
60319 ac_ext=cpp
60320 ac_cpp='$CXXCPP $CPPFLAGS'
60321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60326 /* end confdefs.h. */
60327 #include <math.h>
60328 #ifdef HAVE_IEEEFP_H
60329 #include <ieeefp.h>
60330 #endif
60333 main ()
60335 _sqrtf(0);
60337 return 0;
60339 _ACEOF
60340 if ac_fn_cxx_try_compile "$LINENO"; then :
60341 glibcxx_cv_func__sqrtf_use=yes
60342 else
60343 glibcxx_cv_func__sqrtf_use=no
60345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60346 ac_ext=c
60347 ac_cpp='$CPP $CPPFLAGS'
60348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
60357 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
60359 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
60360 for ac_func in _sqrtf
60361 do :
60362 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
60363 if test "x$ac_cv_func__sqrtf" = x""yes; then :
60364 cat >>confdefs.h <<_ACEOF
60365 #define HAVE__SQRTF 1
60366 _ACEOF
60369 done
60378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
60379 $as_echo_n "checking for sincosf declaration... " >&6; }
60380 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
60381 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
60382 $as_echo_n "(cached) " >&6
60383 else
60386 ac_ext=cpp
60387 ac_cpp='$CXXCPP $CPPFLAGS'
60388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60393 /* end confdefs.h. */
60394 #include <math.h>
60396 main ()
60398 sincosf(0, 0, 0);
60400 return 0;
60402 _ACEOF
60403 if ac_fn_cxx_try_compile "$LINENO"; then :
60404 glibcxx_cv_func_sincosf_use=yes
60405 else
60406 glibcxx_cv_func_sincosf_use=no
60408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60409 ac_ext=c
60410 ac_cpp='$CPP $CPPFLAGS'
60411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
60420 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
60422 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
60423 for ac_func in sincosf
60424 do :
60425 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
60426 if test "x$ac_cv_func_sincosf" = x""yes; then :
60427 cat >>confdefs.h <<_ACEOF
60428 #define HAVE_SINCOSF 1
60429 _ACEOF
60432 done
60434 else
60436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
60437 $as_echo_n "checking for _sincosf declaration... " >&6; }
60438 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
60439 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
60440 $as_echo_n "(cached) " >&6
60441 else
60444 ac_ext=cpp
60445 ac_cpp='$CXXCPP $CPPFLAGS'
60446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60451 /* end confdefs.h. */
60452 #include <math.h>
60454 main ()
60456 _sincosf(0, 0, 0);
60458 return 0;
60460 _ACEOF
60461 if ac_fn_cxx_try_compile "$LINENO"; then :
60462 glibcxx_cv_func__sincosf_use=yes
60463 else
60464 glibcxx_cv_func__sincosf_use=no
60466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60467 ac_ext=c
60468 ac_cpp='$CPP $CPPFLAGS'
60469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
60478 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
60480 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
60481 for ac_func in _sincosf
60482 do :
60483 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
60484 if test "x$ac_cv_func__sincosf" = x""yes; then :
60485 cat >>confdefs.h <<_ACEOF
60486 #define HAVE__SINCOSF 1
60487 _ACEOF
60490 done
60499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
60500 $as_echo_n "checking for finitef declaration... " >&6; }
60501 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
60502 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
60503 $as_echo_n "(cached) " >&6
60504 else
60507 ac_ext=cpp
60508 ac_cpp='$CXXCPP $CPPFLAGS'
60509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60514 /* end confdefs.h. */
60515 #include <math.h>
60516 #ifdef HAVE_IEEEFP_H
60517 #include <ieeefp.h>
60518 #endif
60521 main ()
60523 finitef(0);
60525 return 0;
60527 _ACEOF
60528 if ac_fn_cxx_try_compile "$LINENO"; then :
60529 glibcxx_cv_func_finitef_use=yes
60530 else
60531 glibcxx_cv_func_finitef_use=no
60533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60534 ac_ext=c
60535 ac_cpp='$CPP $CPPFLAGS'
60536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
60545 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
60547 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
60548 for ac_func in finitef
60549 do :
60550 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
60551 if test "x$ac_cv_func_finitef" = x""yes; then :
60552 cat >>confdefs.h <<_ACEOF
60553 #define HAVE_FINITEF 1
60554 _ACEOF
60557 done
60559 else
60561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
60562 $as_echo_n "checking for _finitef declaration... " >&6; }
60563 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
60564 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
60565 $as_echo_n "(cached) " >&6
60566 else
60569 ac_ext=cpp
60570 ac_cpp='$CXXCPP $CPPFLAGS'
60571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60576 /* end confdefs.h. */
60577 #include <math.h>
60578 #ifdef HAVE_IEEEFP_H
60579 #include <ieeefp.h>
60580 #endif
60583 main ()
60585 _finitef(0);
60587 return 0;
60589 _ACEOF
60590 if ac_fn_cxx_try_compile "$LINENO"; then :
60591 glibcxx_cv_func__finitef_use=yes
60592 else
60593 glibcxx_cv_func__finitef_use=no
60595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60596 ac_ext=c
60597 ac_cpp='$CPP $CPPFLAGS'
60598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
60607 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
60609 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
60610 for ac_func in _finitef
60611 do :
60612 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
60613 if test "x$ac_cv_func__finitef" = x""yes; then :
60614 cat >>confdefs.h <<_ACEOF
60615 #define HAVE__FINITEF 1
60616 _ACEOF
60619 done
60628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
60629 $as_echo_n "checking for long double trig functions... " >&6; }
60630 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
60631 $as_echo_n "(cached) " >&6
60632 else
60635 ac_ext=cpp
60636 ac_cpp='$CXXCPP $CPPFLAGS'
60637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60642 /* end confdefs.h. */
60643 #include <math.h>
60645 main ()
60647 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
60649 return 0;
60651 _ACEOF
60652 if ac_fn_cxx_try_compile "$LINENO"; then :
60653 glibcxx_cv_func_long_double_trig_use=yes
60654 else
60655 glibcxx_cv_func_long_double_trig_use=no
60657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60658 ac_ext=c
60659 ac_cpp='$CPP $CPPFLAGS'
60660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
60667 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
60668 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
60669 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
60670 do :
60671 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60672 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60673 eval as_val=\$$as_ac_var
60674 if test "x$as_val" = x""yes; then :
60675 cat >>confdefs.h <<_ACEOF
60676 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60677 _ACEOF
60680 done
60682 else
60683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
60684 $as_echo_n "checking for _long double trig functions... " >&6; }
60685 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
60686 $as_echo_n "(cached) " >&6
60687 else
60690 ac_ext=cpp
60691 ac_cpp='$CXXCPP $CPPFLAGS'
60692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60697 /* end confdefs.h. */
60698 #include <math.h>
60700 main ()
60702 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
60704 return 0;
60706 _ACEOF
60707 if ac_fn_cxx_try_compile "$LINENO"; then :
60708 glibcxx_cv_func__long_double_trig_use=yes
60709 else
60710 glibcxx_cv_func__long_double_trig_use=no
60712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60713 ac_ext=c
60714 ac_cpp='$CPP $CPPFLAGS'
60715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
60722 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
60723 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
60724 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
60725 do :
60726 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60727 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60728 eval as_val=\$$as_ac_var
60729 if test "x$as_val" = x""yes; then :
60730 cat >>confdefs.h <<_ACEOF
60731 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60732 _ACEOF
60735 done
60744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
60745 $as_echo_n "checking for long double round functions... " >&6; }
60746 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
60747 $as_echo_n "(cached) " >&6
60748 else
60751 ac_ext=cpp
60752 ac_cpp='$CXXCPP $CPPFLAGS'
60753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60758 /* end confdefs.h. */
60759 #include <math.h>
60761 main ()
60763 ceill (0); floorl (0);
60765 return 0;
60767 _ACEOF
60768 if ac_fn_cxx_try_compile "$LINENO"; then :
60769 glibcxx_cv_func_long_double_round_use=yes
60770 else
60771 glibcxx_cv_func_long_double_round_use=no
60773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60774 ac_ext=c
60775 ac_cpp='$CPP $CPPFLAGS'
60776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
60783 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
60784 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
60785 for ac_func in ceill floorl
60786 do :
60787 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60788 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60789 eval as_val=\$$as_ac_var
60790 if test "x$as_val" = x""yes; then :
60791 cat >>confdefs.h <<_ACEOF
60792 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60793 _ACEOF
60796 done
60798 else
60799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
60800 $as_echo_n "checking for _long double round functions... " >&6; }
60801 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
60802 $as_echo_n "(cached) " >&6
60803 else
60806 ac_ext=cpp
60807 ac_cpp='$CXXCPP $CPPFLAGS'
60808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60813 /* end confdefs.h. */
60814 #include <math.h>
60816 main ()
60818 _ceill (0); _floorl (0);
60820 return 0;
60822 _ACEOF
60823 if ac_fn_cxx_try_compile "$LINENO"; then :
60824 glibcxx_cv_func__long_double_round_use=yes
60825 else
60826 glibcxx_cv_func__long_double_round_use=no
60828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60829 ac_ext=c
60830 ac_cpp='$CPP $CPPFLAGS'
60831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
60838 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
60839 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
60840 for ac_func in _ceill _floorl
60841 do :
60842 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60843 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60844 eval as_val=\$$as_ac_var
60845 if test "x$as_val" = x""yes; then :
60846 cat >>confdefs.h <<_ACEOF
60847 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60848 _ACEOF
60851 done
60861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
60862 $as_echo_n "checking for isnanl declaration... " >&6; }
60863 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
60864 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
60865 $as_echo_n "(cached) " >&6
60866 else
60869 ac_ext=cpp
60870 ac_cpp='$CXXCPP $CPPFLAGS'
60871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60876 /* end confdefs.h. */
60877 #include <math.h>
60878 #ifdef HAVE_IEEEFP_H
60879 #include <ieeefp.h>
60880 #endif
60883 main ()
60885 isnanl(0);
60887 return 0;
60889 _ACEOF
60890 if ac_fn_cxx_try_compile "$LINENO"; then :
60891 glibcxx_cv_func_isnanl_use=yes
60892 else
60893 glibcxx_cv_func_isnanl_use=no
60895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60896 ac_ext=c
60897 ac_cpp='$CPP $CPPFLAGS'
60898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
60907 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
60909 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
60910 for ac_func in isnanl
60911 do :
60912 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
60913 if test "x$ac_cv_func_isnanl" = x""yes; then :
60914 cat >>confdefs.h <<_ACEOF
60915 #define HAVE_ISNANL 1
60916 _ACEOF
60919 done
60921 else
60923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
60924 $as_echo_n "checking for _isnanl declaration... " >&6; }
60925 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
60926 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
60927 $as_echo_n "(cached) " >&6
60928 else
60931 ac_ext=cpp
60932 ac_cpp='$CXXCPP $CPPFLAGS'
60933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60938 /* end confdefs.h. */
60939 #include <math.h>
60940 #ifdef HAVE_IEEEFP_H
60941 #include <ieeefp.h>
60942 #endif
60945 main ()
60947 _isnanl(0);
60949 return 0;
60951 _ACEOF
60952 if ac_fn_cxx_try_compile "$LINENO"; then :
60953 glibcxx_cv_func__isnanl_use=yes
60954 else
60955 glibcxx_cv_func__isnanl_use=no
60957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60958 ac_ext=c
60959 ac_cpp='$CPP $CPPFLAGS'
60960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
60969 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
60971 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
60972 for ac_func in _isnanl
60973 do :
60974 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
60975 if test "x$ac_cv_func__isnanl" = x""yes; then :
60976 cat >>confdefs.h <<_ACEOF
60977 #define HAVE__ISNANL 1
60978 _ACEOF
60981 done
60990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
60991 $as_echo_n "checking for isinfl declaration... " >&6; }
60992 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
60993 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
60994 $as_echo_n "(cached) " >&6
60995 else
60998 ac_ext=cpp
60999 ac_cpp='$CXXCPP $CPPFLAGS'
61000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61005 /* end confdefs.h. */
61006 #include <math.h>
61007 #ifdef HAVE_IEEEFP_H
61008 #include <ieeefp.h>
61009 #endif
61012 main ()
61014 isinfl(0);
61016 return 0;
61018 _ACEOF
61019 if ac_fn_cxx_try_compile "$LINENO"; then :
61020 glibcxx_cv_func_isinfl_use=yes
61021 else
61022 glibcxx_cv_func_isinfl_use=no
61024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61025 ac_ext=c
61026 ac_cpp='$CPP $CPPFLAGS'
61027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
61036 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
61038 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
61039 for ac_func in isinfl
61040 do :
61041 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
61042 if test "x$ac_cv_func_isinfl" = x""yes; then :
61043 cat >>confdefs.h <<_ACEOF
61044 #define HAVE_ISINFL 1
61045 _ACEOF
61048 done
61050 else
61052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
61053 $as_echo_n "checking for _isinfl declaration... " >&6; }
61054 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
61055 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
61056 $as_echo_n "(cached) " >&6
61057 else
61060 ac_ext=cpp
61061 ac_cpp='$CXXCPP $CPPFLAGS'
61062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61067 /* end confdefs.h. */
61068 #include <math.h>
61069 #ifdef HAVE_IEEEFP_H
61070 #include <ieeefp.h>
61071 #endif
61074 main ()
61076 _isinfl(0);
61078 return 0;
61080 _ACEOF
61081 if ac_fn_cxx_try_compile "$LINENO"; then :
61082 glibcxx_cv_func__isinfl_use=yes
61083 else
61084 glibcxx_cv_func__isinfl_use=no
61086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61087 ac_ext=c
61088 ac_cpp='$CPP $CPPFLAGS'
61089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
61098 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
61100 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
61101 for ac_func in _isinfl
61102 do :
61103 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
61104 if test "x$ac_cv_func__isinfl" = x""yes; then :
61105 cat >>confdefs.h <<_ACEOF
61106 #define HAVE__ISINFL 1
61107 _ACEOF
61110 done
61119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
61120 $as_echo_n "checking for atan2l declaration... " >&6; }
61121 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
61122 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
61123 $as_echo_n "(cached) " >&6
61124 else
61127 ac_ext=cpp
61128 ac_cpp='$CXXCPP $CPPFLAGS'
61129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61134 /* end confdefs.h. */
61135 #include <math.h>
61137 main ()
61139 atan2l(0, 0);
61141 return 0;
61143 _ACEOF
61144 if ac_fn_cxx_try_compile "$LINENO"; then :
61145 glibcxx_cv_func_atan2l_use=yes
61146 else
61147 glibcxx_cv_func_atan2l_use=no
61149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61150 ac_ext=c
61151 ac_cpp='$CPP $CPPFLAGS'
61152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
61161 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
61163 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
61164 for ac_func in atan2l
61165 do :
61166 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
61167 if test "x$ac_cv_func_atan2l" = x""yes; then :
61168 cat >>confdefs.h <<_ACEOF
61169 #define HAVE_ATAN2L 1
61170 _ACEOF
61173 done
61175 else
61177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
61178 $as_echo_n "checking for _atan2l declaration... " >&6; }
61179 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
61180 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
61181 $as_echo_n "(cached) " >&6
61182 else
61185 ac_ext=cpp
61186 ac_cpp='$CXXCPP $CPPFLAGS'
61187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61192 /* end confdefs.h. */
61193 #include <math.h>
61195 main ()
61197 _atan2l(0, 0);
61199 return 0;
61201 _ACEOF
61202 if ac_fn_cxx_try_compile "$LINENO"; then :
61203 glibcxx_cv_func__atan2l_use=yes
61204 else
61205 glibcxx_cv_func__atan2l_use=no
61207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61208 ac_ext=c
61209 ac_cpp='$CPP $CPPFLAGS'
61210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
61219 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
61221 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
61222 for ac_func in _atan2l
61223 do :
61224 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
61225 if test "x$ac_cv_func__atan2l" = x""yes; then :
61226 cat >>confdefs.h <<_ACEOF
61227 #define HAVE__ATAN2L 1
61228 _ACEOF
61231 done
61240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
61241 $as_echo_n "checking for expl declaration... " >&6; }
61242 if test x${glibcxx_cv_func_expl_use+set} != xset; then
61243 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
61244 $as_echo_n "(cached) " >&6
61245 else
61248 ac_ext=cpp
61249 ac_cpp='$CXXCPP $CPPFLAGS'
61250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61255 /* end confdefs.h. */
61256 #include <math.h>
61257 #ifdef HAVE_IEEEFP_H
61258 #include <ieeefp.h>
61259 #endif
61262 main ()
61264 expl(0);
61266 return 0;
61268 _ACEOF
61269 if ac_fn_cxx_try_compile "$LINENO"; then :
61270 glibcxx_cv_func_expl_use=yes
61271 else
61272 glibcxx_cv_func_expl_use=no
61274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61275 ac_ext=c
61276 ac_cpp='$CPP $CPPFLAGS'
61277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
61286 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
61288 if test x$glibcxx_cv_func_expl_use = x"yes"; then
61289 for ac_func in expl
61290 do :
61291 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
61292 if test "x$ac_cv_func_expl" = x""yes; then :
61293 cat >>confdefs.h <<_ACEOF
61294 #define HAVE_EXPL 1
61295 _ACEOF
61298 done
61300 else
61302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
61303 $as_echo_n "checking for _expl declaration... " >&6; }
61304 if test x${glibcxx_cv_func__expl_use+set} != xset; then
61305 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
61306 $as_echo_n "(cached) " >&6
61307 else
61310 ac_ext=cpp
61311 ac_cpp='$CXXCPP $CPPFLAGS'
61312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61317 /* end confdefs.h. */
61318 #include <math.h>
61319 #ifdef HAVE_IEEEFP_H
61320 #include <ieeefp.h>
61321 #endif
61324 main ()
61326 _expl(0);
61328 return 0;
61330 _ACEOF
61331 if ac_fn_cxx_try_compile "$LINENO"; then :
61332 glibcxx_cv_func__expl_use=yes
61333 else
61334 glibcxx_cv_func__expl_use=no
61336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61337 ac_ext=c
61338 ac_cpp='$CPP $CPPFLAGS'
61339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
61348 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
61350 if test x$glibcxx_cv_func__expl_use = x"yes"; then
61351 for ac_func in _expl
61352 do :
61353 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
61354 if test "x$ac_cv_func__expl" = x""yes; then :
61355 cat >>confdefs.h <<_ACEOF
61356 #define HAVE__EXPL 1
61357 _ACEOF
61360 done
61369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
61370 $as_echo_n "checking for fabsl declaration... " >&6; }
61371 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
61372 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
61373 $as_echo_n "(cached) " >&6
61374 else
61377 ac_ext=cpp
61378 ac_cpp='$CXXCPP $CPPFLAGS'
61379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61384 /* end confdefs.h. */
61385 #include <math.h>
61386 #ifdef HAVE_IEEEFP_H
61387 #include <ieeefp.h>
61388 #endif
61391 main ()
61393 fabsl(0);
61395 return 0;
61397 _ACEOF
61398 if ac_fn_cxx_try_compile "$LINENO"; then :
61399 glibcxx_cv_func_fabsl_use=yes
61400 else
61401 glibcxx_cv_func_fabsl_use=no
61403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61404 ac_ext=c
61405 ac_cpp='$CPP $CPPFLAGS'
61406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
61415 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
61417 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
61418 for ac_func in fabsl
61419 do :
61420 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
61421 if test "x$ac_cv_func_fabsl" = x""yes; then :
61422 cat >>confdefs.h <<_ACEOF
61423 #define HAVE_FABSL 1
61424 _ACEOF
61427 done
61429 else
61431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
61432 $as_echo_n "checking for _fabsl declaration... " >&6; }
61433 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
61434 if test "${glibcxx_cv_func__fabsl_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>
61448 #ifdef HAVE_IEEEFP_H
61449 #include <ieeefp.h>
61450 #endif
61453 main ()
61455 _fabsl(0);
61457 return 0;
61459 _ACEOF
61460 if ac_fn_cxx_try_compile "$LINENO"; then :
61461 glibcxx_cv_func__fabsl_use=yes
61462 else
61463 glibcxx_cv_func__fabsl_use=no
61465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61466 ac_ext=c
61467 ac_cpp='$CPP $CPPFLAGS'
61468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
61477 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
61479 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
61480 for ac_func in _fabsl
61481 do :
61482 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
61483 if test "x$ac_cv_func__fabsl" = x""yes; then :
61484 cat >>confdefs.h <<_ACEOF
61485 #define HAVE__FABSL 1
61486 _ACEOF
61489 done
61498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
61499 $as_echo_n "checking for fmodl declaration... " >&6; }
61500 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
61501 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
61502 $as_echo_n "(cached) " >&6
61503 else
61506 ac_ext=cpp
61507 ac_cpp='$CXXCPP $CPPFLAGS'
61508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61513 /* end confdefs.h. */
61514 #include <math.h>
61516 main ()
61518 fmodl(0, 0);
61520 return 0;
61522 _ACEOF
61523 if ac_fn_cxx_try_compile "$LINENO"; then :
61524 glibcxx_cv_func_fmodl_use=yes
61525 else
61526 glibcxx_cv_func_fmodl_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_fmodl_use" >&5
61540 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
61542 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
61543 for ac_func in fmodl
61544 do :
61545 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
61546 if test "x$ac_cv_func_fmodl" = x""yes; then :
61547 cat >>confdefs.h <<_ACEOF
61548 #define HAVE_FMODL 1
61549 _ACEOF
61552 done
61554 else
61556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
61557 $as_echo_n "checking for _fmodl declaration... " >&6; }
61558 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
61559 if test "${glibcxx_cv_func__fmodl_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>
61574 main ()
61576 _fmodl(0, 0);
61578 return 0;
61580 _ACEOF
61581 if ac_fn_cxx_try_compile "$LINENO"; then :
61582 glibcxx_cv_func__fmodl_use=yes
61583 else
61584 glibcxx_cv_func__fmodl_use=no
61586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61587 ac_ext=c
61588 ac_cpp='$CPP $CPPFLAGS'
61589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
61598 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
61600 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
61601 for ac_func in _fmodl
61602 do :
61603 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
61604 if test "x$ac_cv_func__fmodl" = x""yes; then :
61605 cat >>confdefs.h <<_ACEOF
61606 #define HAVE__FMODL 1
61607 _ACEOF
61610 done
61619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
61620 $as_echo_n "checking for frexpl declaration... " >&6; }
61621 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
61622 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
61623 $as_echo_n "(cached) " >&6
61624 else
61627 ac_ext=cpp
61628 ac_cpp='$CXXCPP $CPPFLAGS'
61629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61634 /* end confdefs.h. */
61635 #include <math.h>
61637 main ()
61639 frexpl(0, 0);
61641 return 0;
61643 _ACEOF
61644 if ac_fn_cxx_try_compile "$LINENO"; then :
61645 glibcxx_cv_func_frexpl_use=yes
61646 else
61647 glibcxx_cv_func_frexpl_use=no
61649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61650 ac_ext=c
61651 ac_cpp='$CPP $CPPFLAGS'
61652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
61661 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
61663 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
61664 for ac_func in frexpl
61665 do :
61666 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
61667 if test "x$ac_cv_func_frexpl" = x""yes; then :
61668 cat >>confdefs.h <<_ACEOF
61669 #define HAVE_FREXPL 1
61670 _ACEOF
61673 done
61675 else
61677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
61678 $as_echo_n "checking for _frexpl declaration... " >&6; }
61679 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
61680 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
61681 $as_echo_n "(cached) " >&6
61682 else
61685 ac_ext=cpp
61686 ac_cpp='$CXXCPP $CPPFLAGS'
61687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61692 /* end confdefs.h. */
61693 #include <math.h>
61695 main ()
61697 _frexpl(0, 0);
61699 return 0;
61701 _ACEOF
61702 if ac_fn_cxx_try_compile "$LINENO"; then :
61703 glibcxx_cv_func__frexpl_use=yes
61704 else
61705 glibcxx_cv_func__frexpl_use=no
61707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61708 ac_ext=c
61709 ac_cpp='$CPP $CPPFLAGS'
61710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
61719 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
61721 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
61722 for ac_func in _frexpl
61723 do :
61724 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
61725 if test "x$ac_cv_func__frexpl" = x""yes; then :
61726 cat >>confdefs.h <<_ACEOF
61727 #define HAVE__FREXPL 1
61728 _ACEOF
61731 done
61740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
61741 $as_echo_n "checking for hypotl declaration... " >&6; }
61742 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
61743 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
61744 $as_echo_n "(cached) " >&6
61745 else
61748 ac_ext=cpp
61749 ac_cpp='$CXXCPP $CPPFLAGS'
61750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61755 /* end confdefs.h. */
61756 #include <math.h>
61758 main ()
61760 hypotl(0, 0);
61762 return 0;
61764 _ACEOF
61765 if ac_fn_cxx_try_compile "$LINENO"; then :
61766 glibcxx_cv_func_hypotl_use=yes
61767 else
61768 glibcxx_cv_func_hypotl_use=no
61770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61771 ac_ext=c
61772 ac_cpp='$CPP $CPPFLAGS'
61773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
61782 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
61784 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
61785 for ac_func in hypotl
61786 do :
61787 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
61788 if test "x$ac_cv_func_hypotl" = x""yes; then :
61789 cat >>confdefs.h <<_ACEOF
61790 #define HAVE_HYPOTL 1
61791 _ACEOF
61794 done
61796 else
61798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
61799 $as_echo_n "checking for _hypotl declaration... " >&6; }
61800 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
61801 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
61802 $as_echo_n "(cached) " >&6
61803 else
61806 ac_ext=cpp
61807 ac_cpp='$CXXCPP $CPPFLAGS'
61808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61813 /* end confdefs.h. */
61814 #include <math.h>
61816 main ()
61818 _hypotl(0, 0);
61820 return 0;
61822 _ACEOF
61823 if ac_fn_cxx_try_compile "$LINENO"; then :
61824 glibcxx_cv_func__hypotl_use=yes
61825 else
61826 glibcxx_cv_func__hypotl_use=no
61828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61829 ac_ext=c
61830 ac_cpp='$CPP $CPPFLAGS'
61831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
61840 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
61842 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
61843 for ac_func in _hypotl
61844 do :
61845 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
61846 if test "x$ac_cv_func__hypotl" = x""yes; then :
61847 cat >>confdefs.h <<_ACEOF
61848 #define HAVE__HYPOTL 1
61849 _ACEOF
61852 done
61861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
61862 $as_echo_n "checking for ldexpl declaration... " >&6; }
61863 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
61864 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
61865 $as_echo_n "(cached) " >&6
61866 else
61869 ac_ext=cpp
61870 ac_cpp='$CXXCPP $CPPFLAGS'
61871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61876 /* end confdefs.h. */
61877 #include <math.h>
61879 main ()
61881 ldexpl(0, 0);
61883 return 0;
61885 _ACEOF
61886 if ac_fn_cxx_try_compile "$LINENO"; then :
61887 glibcxx_cv_func_ldexpl_use=yes
61888 else
61889 glibcxx_cv_func_ldexpl_use=no
61891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61892 ac_ext=c
61893 ac_cpp='$CPP $CPPFLAGS'
61894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
61903 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
61905 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
61906 for ac_func in ldexpl
61907 do :
61908 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
61909 if test "x$ac_cv_func_ldexpl" = x""yes; then :
61910 cat >>confdefs.h <<_ACEOF
61911 #define HAVE_LDEXPL 1
61912 _ACEOF
61915 done
61917 else
61919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
61920 $as_echo_n "checking for _ldexpl declaration... " >&6; }
61921 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
61922 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
61923 $as_echo_n "(cached) " >&6
61924 else
61927 ac_ext=cpp
61928 ac_cpp='$CXXCPP $CPPFLAGS'
61929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61934 /* end confdefs.h. */
61935 #include <math.h>
61937 main ()
61939 _ldexpl(0, 0);
61941 return 0;
61943 _ACEOF
61944 if ac_fn_cxx_try_compile "$LINENO"; then :
61945 glibcxx_cv_func__ldexpl_use=yes
61946 else
61947 glibcxx_cv_func__ldexpl_use=no
61949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61950 ac_ext=c
61951 ac_cpp='$CPP $CPPFLAGS'
61952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
61961 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
61963 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
61964 for ac_func in _ldexpl
61965 do :
61966 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
61967 if test "x$ac_cv_func__ldexpl" = x""yes; then :
61968 cat >>confdefs.h <<_ACEOF
61969 #define HAVE__LDEXPL 1
61970 _ACEOF
61973 done
61982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
61983 $as_echo_n "checking for logl declaration... " >&6; }
61984 if test x${glibcxx_cv_func_logl_use+set} != xset; then
61985 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
61986 $as_echo_n "(cached) " >&6
61987 else
61990 ac_ext=cpp
61991 ac_cpp='$CXXCPP $CPPFLAGS'
61992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61997 /* end confdefs.h. */
61998 #include <math.h>
61999 #ifdef HAVE_IEEEFP_H
62000 #include <ieeefp.h>
62001 #endif
62004 main ()
62006 logl(0);
62008 return 0;
62010 _ACEOF
62011 if ac_fn_cxx_try_compile "$LINENO"; then :
62012 glibcxx_cv_func_logl_use=yes
62013 else
62014 glibcxx_cv_func_logl_use=no
62016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62017 ac_ext=c
62018 ac_cpp='$CPP $CPPFLAGS'
62019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
62028 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
62030 if test x$glibcxx_cv_func_logl_use = x"yes"; then
62031 for ac_func in logl
62032 do :
62033 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
62034 if test "x$ac_cv_func_logl" = x""yes; then :
62035 cat >>confdefs.h <<_ACEOF
62036 #define HAVE_LOGL 1
62037 _ACEOF
62040 done
62042 else
62044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
62045 $as_echo_n "checking for _logl declaration... " >&6; }
62046 if test x${glibcxx_cv_func__logl_use+set} != xset; then
62047 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
62048 $as_echo_n "(cached) " >&6
62049 else
62052 ac_ext=cpp
62053 ac_cpp='$CXXCPP $CPPFLAGS'
62054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62059 /* end confdefs.h. */
62060 #include <math.h>
62061 #ifdef HAVE_IEEEFP_H
62062 #include <ieeefp.h>
62063 #endif
62066 main ()
62068 _logl(0);
62070 return 0;
62072 _ACEOF
62073 if ac_fn_cxx_try_compile "$LINENO"; then :
62074 glibcxx_cv_func__logl_use=yes
62075 else
62076 glibcxx_cv_func__logl_use=no
62078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62079 ac_ext=c
62080 ac_cpp='$CPP $CPPFLAGS'
62081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
62090 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
62092 if test x$glibcxx_cv_func__logl_use = x"yes"; then
62093 for ac_func in _logl
62094 do :
62095 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
62096 if test "x$ac_cv_func__logl" = x""yes; then :
62097 cat >>confdefs.h <<_ACEOF
62098 #define HAVE__LOGL 1
62099 _ACEOF
62102 done
62111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
62112 $as_echo_n "checking for log10l declaration... " >&6; }
62113 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
62114 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
62115 $as_echo_n "(cached) " >&6
62116 else
62119 ac_ext=cpp
62120 ac_cpp='$CXXCPP $CPPFLAGS'
62121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62126 /* end confdefs.h. */
62127 #include <math.h>
62128 #ifdef HAVE_IEEEFP_H
62129 #include <ieeefp.h>
62130 #endif
62133 main ()
62135 log10l(0);
62137 return 0;
62139 _ACEOF
62140 if ac_fn_cxx_try_compile "$LINENO"; then :
62141 glibcxx_cv_func_log10l_use=yes
62142 else
62143 glibcxx_cv_func_log10l_use=no
62145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62146 ac_ext=c
62147 ac_cpp='$CPP $CPPFLAGS'
62148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
62157 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
62159 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
62160 for ac_func in log10l
62161 do :
62162 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
62163 if test "x$ac_cv_func_log10l" = x""yes; then :
62164 cat >>confdefs.h <<_ACEOF
62165 #define HAVE_LOG10L 1
62166 _ACEOF
62169 done
62171 else
62173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
62174 $as_echo_n "checking for _log10l declaration... " >&6; }
62175 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
62176 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
62177 $as_echo_n "(cached) " >&6
62178 else
62181 ac_ext=cpp
62182 ac_cpp='$CXXCPP $CPPFLAGS'
62183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62188 /* end confdefs.h. */
62189 #include <math.h>
62190 #ifdef HAVE_IEEEFP_H
62191 #include <ieeefp.h>
62192 #endif
62195 main ()
62197 _log10l(0);
62199 return 0;
62201 _ACEOF
62202 if ac_fn_cxx_try_compile "$LINENO"; then :
62203 glibcxx_cv_func__log10l_use=yes
62204 else
62205 glibcxx_cv_func__log10l_use=no
62207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62208 ac_ext=c
62209 ac_cpp='$CPP $CPPFLAGS'
62210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
62219 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
62221 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
62222 for ac_func in _log10l
62223 do :
62224 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
62225 if test "x$ac_cv_func__log10l" = x""yes; then :
62226 cat >>confdefs.h <<_ACEOF
62227 #define HAVE__LOG10L 1
62228 _ACEOF
62231 done
62240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
62241 $as_echo_n "checking for modfl declaration... " >&6; }
62242 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
62243 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
62244 $as_echo_n "(cached) " >&6
62245 else
62248 ac_ext=cpp
62249 ac_cpp='$CXXCPP $CPPFLAGS'
62250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62255 /* end confdefs.h. */
62256 #include <math.h>
62258 main ()
62260 modfl(0, 0);
62262 return 0;
62264 _ACEOF
62265 if ac_fn_cxx_try_compile "$LINENO"; then :
62266 glibcxx_cv_func_modfl_use=yes
62267 else
62268 glibcxx_cv_func_modfl_use=no
62270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62271 ac_ext=c
62272 ac_cpp='$CPP $CPPFLAGS'
62273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
62282 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
62284 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
62285 for ac_func in modfl
62286 do :
62287 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
62288 if test "x$ac_cv_func_modfl" = x""yes; then :
62289 cat >>confdefs.h <<_ACEOF
62290 #define HAVE_MODFL 1
62291 _ACEOF
62294 done
62296 else
62298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
62299 $as_echo_n "checking for _modfl declaration... " >&6; }
62300 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
62301 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
62302 $as_echo_n "(cached) " >&6
62303 else
62306 ac_ext=cpp
62307 ac_cpp='$CXXCPP $CPPFLAGS'
62308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62313 /* end confdefs.h. */
62314 #include <math.h>
62316 main ()
62318 _modfl(0, 0);
62320 return 0;
62322 _ACEOF
62323 if ac_fn_cxx_try_compile "$LINENO"; then :
62324 glibcxx_cv_func__modfl_use=yes
62325 else
62326 glibcxx_cv_func__modfl_use=no
62328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62329 ac_ext=c
62330 ac_cpp='$CPP $CPPFLAGS'
62331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
62340 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
62342 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
62343 for ac_func in _modfl
62344 do :
62345 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
62346 if test "x$ac_cv_func__modfl" = x""yes; then :
62347 cat >>confdefs.h <<_ACEOF
62348 #define HAVE__MODFL 1
62349 _ACEOF
62352 done
62361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
62362 $as_echo_n "checking for powl declaration... " >&6; }
62363 if test x${glibcxx_cv_func_powl_use+set} != xset; then
62364 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
62365 $as_echo_n "(cached) " >&6
62366 else
62369 ac_ext=cpp
62370 ac_cpp='$CXXCPP $CPPFLAGS'
62371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62376 /* end confdefs.h. */
62377 #include <math.h>
62379 main ()
62381 powl(0, 0);
62383 return 0;
62385 _ACEOF
62386 if ac_fn_cxx_try_compile "$LINENO"; then :
62387 glibcxx_cv_func_powl_use=yes
62388 else
62389 glibcxx_cv_func_powl_use=no
62391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62392 ac_ext=c
62393 ac_cpp='$CPP $CPPFLAGS'
62394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
62403 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
62405 if test x$glibcxx_cv_func_powl_use = x"yes"; then
62406 for ac_func in powl
62407 do :
62408 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
62409 if test "x$ac_cv_func_powl" = x""yes; then :
62410 cat >>confdefs.h <<_ACEOF
62411 #define HAVE_POWL 1
62412 _ACEOF
62415 done
62417 else
62419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
62420 $as_echo_n "checking for _powl declaration... " >&6; }
62421 if test x${glibcxx_cv_func__powl_use+set} != xset; then
62422 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
62423 $as_echo_n "(cached) " >&6
62424 else
62427 ac_ext=cpp
62428 ac_cpp='$CXXCPP $CPPFLAGS'
62429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62434 /* end confdefs.h. */
62435 #include <math.h>
62437 main ()
62439 _powl(0, 0);
62441 return 0;
62443 _ACEOF
62444 if ac_fn_cxx_try_compile "$LINENO"; then :
62445 glibcxx_cv_func__powl_use=yes
62446 else
62447 glibcxx_cv_func__powl_use=no
62449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62450 ac_ext=c
62451 ac_cpp='$CPP $CPPFLAGS'
62452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
62461 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
62463 if test x$glibcxx_cv_func__powl_use = x"yes"; then
62464 for ac_func in _powl
62465 do :
62466 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
62467 if test "x$ac_cv_func__powl" = x""yes; then :
62468 cat >>confdefs.h <<_ACEOF
62469 #define HAVE__POWL 1
62470 _ACEOF
62473 done
62482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
62483 $as_echo_n "checking for sqrtl declaration... " >&6; }
62484 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
62485 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
62486 $as_echo_n "(cached) " >&6
62487 else
62490 ac_ext=cpp
62491 ac_cpp='$CXXCPP $CPPFLAGS'
62492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62497 /* end confdefs.h. */
62498 #include <math.h>
62499 #ifdef HAVE_IEEEFP_H
62500 #include <ieeefp.h>
62501 #endif
62504 main ()
62506 sqrtl(0);
62508 return 0;
62510 _ACEOF
62511 if ac_fn_cxx_try_compile "$LINENO"; then :
62512 glibcxx_cv_func_sqrtl_use=yes
62513 else
62514 glibcxx_cv_func_sqrtl_use=no
62516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62517 ac_ext=c
62518 ac_cpp='$CPP $CPPFLAGS'
62519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
62528 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
62530 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
62531 for ac_func in sqrtl
62532 do :
62533 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
62534 if test "x$ac_cv_func_sqrtl" = x""yes; then :
62535 cat >>confdefs.h <<_ACEOF
62536 #define HAVE_SQRTL 1
62537 _ACEOF
62540 done
62542 else
62544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
62545 $as_echo_n "checking for _sqrtl declaration... " >&6; }
62546 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
62547 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
62548 $as_echo_n "(cached) " >&6
62549 else
62552 ac_ext=cpp
62553 ac_cpp='$CXXCPP $CPPFLAGS'
62554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62559 /* end confdefs.h. */
62560 #include <math.h>
62561 #ifdef HAVE_IEEEFP_H
62562 #include <ieeefp.h>
62563 #endif
62566 main ()
62568 _sqrtl(0);
62570 return 0;
62572 _ACEOF
62573 if ac_fn_cxx_try_compile "$LINENO"; then :
62574 glibcxx_cv_func__sqrtl_use=yes
62575 else
62576 glibcxx_cv_func__sqrtl_use=no
62578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62579 ac_ext=c
62580 ac_cpp='$CPP $CPPFLAGS'
62581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
62590 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
62592 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
62593 for ac_func in _sqrtl
62594 do :
62595 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
62596 if test "x$ac_cv_func__sqrtl" = x""yes; then :
62597 cat >>confdefs.h <<_ACEOF
62598 #define HAVE__SQRTL 1
62599 _ACEOF
62602 done
62611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
62612 $as_echo_n "checking for sincosl declaration... " >&6; }
62613 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
62614 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
62615 $as_echo_n "(cached) " >&6
62616 else
62619 ac_ext=cpp
62620 ac_cpp='$CXXCPP $CPPFLAGS'
62621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62626 /* end confdefs.h. */
62627 #include <math.h>
62629 main ()
62631 sincosl(0, 0, 0);
62633 return 0;
62635 _ACEOF
62636 if ac_fn_cxx_try_compile "$LINENO"; then :
62637 glibcxx_cv_func_sincosl_use=yes
62638 else
62639 glibcxx_cv_func_sincosl_use=no
62641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62642 ac_ext=c
62643 ac_cpp='$CPP $CPPFLAGS'
62644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
62653 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
62655 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
62656 for ac_func in sincosl
62657 do :
62658 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
62659 if test "x$ac_cv_func_sincosl" = x""yes; then :
62660 cat >>confdefs.h <<_ACEOF
62661 #define HAVE_SINCOSL 1
62662 _ACEOF
62665 done
62667 else
62669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
62670 $as_echo_n "checking for _sincosl declaration... " >&6; }
62671 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
62672 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
62673 $as_echo_n "(cached) " >&6
62674 else
62677 ac_ext=cpp
62678 ac_cpp='$CXXCPP $CPPFLAGS'
62679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62684 /* end confdefs.h. */
62685 #include <math.h>
62687 main ()
62689 _sincosl(0, 0, 0);
62691 return 0;
62693 _ACEOF
62694 if ac_fn_cxx_try_compile "$LINENO"; then :
62695 glibcxx_cv_func__sincosl_use=yes
62696 else
62697 glibcxx_cv_func__sincosl_use=no
62699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62700 ac_ext=c
62701 ac_cpp='$CPP $CPPFLAGS'
62702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
62711 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
62713 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
62714 for ac_func in _sincosl
62715 do :
62716 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
62717 if test "x$ac_cv_func__sincosl" = x""yes; then :
62718 cat >>confdefs.h <<_ACEOF
62719 #define HAVE__SINCOSL 1
62720 _ACEOF
62723 done
62732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
62733 $as_echo_n "checking for finitel declaration... " >&6; }
62734 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
62735 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
62736 $as_echo_n "(cached) " >&6
62737 else
62740 ac_ext=cpp
62741 ac_cpp='$CXXCPP $CPPFLAGS'
62742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62747 /* end confdefs.h. */
62748 #include <math.h>
62749 #ifdef HAVE_IEEEFP_H
62750 #include <ieeefp.h>
62751 #endif
62754 main ()
62756 finitel(0);
62758 return 0;
62760 _ACEOF
62761 if ac_fn_cxx_try_compile "$LINENO"; then :
62762 glibcxx_cv_func_finitel_use=yes
62763 else
62764 glibcxx_cv_func_finitel_use=no
62766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62767 ac_ext=c
62768 ac_cpp='$CPP $CPPFLAGS'
62769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
62778 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
62780 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
62781 for ac_func in finitel
62782 do :
62783 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
62784 if test "x$ac_cv_func_finitel" = x""yes; then :
62785 cat >>confdefs.h <<_ACEOF
62786 #define HAVE_FINITEL 1
62787 _ACEOF
62790 done
62792 else
62794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
62795 $as_echo_n "checking for _finitel declaration... " >&6; }
62796 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
62797 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
62798 $as_echo_n "(cached) " >&6
62799 else
62802 ac_ext=cpp
62803 ac_cpp='$CXXCPP $CPPFLAGS'
62804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62809 /* end confdefs.h. */
62810 #include <math.h>
62811 #ifdef HAVE_IEEEFP_H
62812 #include <ieeefp.h>
62813 #endif
62816 main ()
62818 _finitel(0);
62820 return 0;
62822 _ACEOF
62823 if ac_fn_cxx_try_compile "$LINENO"; then :
62824 glibcxx_cv_func__finitel_use=yes
62825 else
62826 glibcxx_cv_func__finitel_use=no
62828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62829 ac_ext=c
62830 ac_cpp='$CPP $CPPFLAGS'
62831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
62840 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
62842 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
62843 for ac_func in _finitel
62844 do :
62845 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
62846 if test "x$ac_cv_func__finitel" = x""yes; then :
62847 cat >>confdefs.h <<_ACEOF
62848 #define HAVE__FINITEL 1
62849 _ACEOF
62852 done
62860 LIBS="$ac_save_LIBS"
62861 CXXFLAGS="$ac_save_CXXFLAGS"
62864 ac_test_CXXFLAGS="${CXXFLAGS+set}"
62865 ac_save_CXXFLAGS="$CXXFLAGS"
62866 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
62869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
62870 $as_echo_n "checking for strtold declaration... " >&6; }
62871 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
62872 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
62873 $as_echo_n "(cached) " >&6
62874 else
62877 ac_ext=cpp
62878 ac_cpp='$CXXCPP $CPPFLAGS'
62879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62884 /* end confdefs.h. */
62885 #include <stdlib.h>
62887 main ()
62889 strtold(0, 0);
62891 return 0;
62893 _ACEOF
62894 if ac_fn_cxx_try_compile "$LINENO"; then :
62895 glibcxx_cv_func_strtold_use=yes
62896 else
62897 glibcxx_cv_func_strtold_use=no
62899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62900 ac_ext=c
62901 ac_cpp='$CPP $CPPFLAGS'
62902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
62911 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
62912 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
62913 for ac_func in strtold
62914 do :
62915 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
62916 if test "x$ac_cv_func_strtold" = x""yes; then :
62917 cat >>confdefs.h <<_ACEOF
62918 #define HAVE_STRTOLD 1
62919 _ACEOF
62922 done
62929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
62930 $as_echo_n "checking for strtof declaration... " >&6; }
62931 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
62932 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
62933 $as_echo_n "(cached) " >&6
62934 else
62937 ac_ext=cpp
62938 ac_cpp='$CXXCPP $CPPFLAGS'
62939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62944 /* end confdefs.h. */
62945 #include <stdlib.h>
62947 main ()
62949 strtof(0, 0);
62951 return 0;
62953 _ACEOF
62954 if ac_fn_cxx_try_compile "$LINENO"; then :
62955 glibcxx_cv_func_strtof_use=yes
62956 else
62957 glibcxx_cv_func_strtof_use=no
62959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62960 ac_ext=c
62961 ac_cpp='$CPP $CPPFLAGS'
62962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
62971 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
62972 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
62973 for ac_func in strtof
62974 do :
62975 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
62976 if test "x$ac_cv_func_strtof" = x""yes; then :
62977 cat >>confdefs.h <<_ACEOF
62978 #define HAVE_STRTOF 1
62979 _ACEOF
62982 done
62989 CXXFLAGS="$ac_save_CXXFLAGS"
62992 *-solaris*)
62993 case "$target" in
62994 *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
62996 # If we're not using GNU ld, then there's no point in even trying these
62997 # tests. Check for that first. We should have already tested for gld
62998 # by now (in libtool), but require it now just to be safe...
62999 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63000 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63004 # The name set by libtool depends on the version of libtool. Shame on us
63005 # for depending on an impl detail, but c'est la vie. Older versions used
63006 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63007 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63008 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63009 # set (hence we're using an older libtool), then set it.
63010 if test x${with_gnu_ld+set} != xset; then
63011 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63012 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63013 with_gnu_ld=no
63014 else
63015 with_gnu_ld=$ac_cv_prog_gnu_ld
63019 # Start by getting the version number. I think the libtool test already
63020 # does some of this, but throws away the result.
63021 glibcxx_ld_is_gold=no
63022 if test x"$with_gnu_ld" = x"yes"; then
63023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63024 $as_echo_n "checking for ld version... " >&6; }
63026 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63027 glibcxx_ld_is_gold=yes
63029 ldver=`$LD --version 2>/dev/null |
63030 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'`
63032 glibcxx_gnu_ld_version=`echo $ldver | \
63033 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63035 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63038 # Set --gc-sections.
63039 glibcxx_have_gc_sections=no
63040 if test "$glibcxx_ld_is_gold" = "yes"; then
63041 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63042 glibcxx_have_gc_sections=yes
63044 else
63045 glibcxx_gcsections_min_ld=21602
63046 if test x"$with_gnu_ld" = x"yes" &&
63047 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63048 glibcxx_have_gc_sections=yes
63051 if test "$glibcxx_have_gc_sections" = "yes"; then
63052 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63053 # NB: This flag only works reliably after 2.16.1. Configure tests
63054 # for this are difficult, so hard wire a value that should work.
63056 ac_test_CFLAGS="${CFLAGS+set}"
63057 ac_save_CFLAGS="$CFLAGS"
63058 CFLAGS='-Wl,--gc-sections'
63060 # Check for -Wl,--gc-sections
63061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63062 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63063 if test x$gcc_no_link = xyes; then
63064 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63067 /* end confdefs.h. */
63068 int one(void) { return 1; }
63069 int two(void) { return 2; }
63072 main ()
63074 two();
63076 return 0;
63078 _ACEOF
63079 if ac_fn_c_try_link "$LINENO"; then :
63080 ac_gcsections=yes
63081 else
63082 ac_gcsections=no
63084 rm -f core conftest.err conftest.$ac_objext \
63085 conftest$ac_exeext conftest.$ac_ext
63086 if test "$ac_gcsections" = "yes"; then
63087 rm -f conftest.c
63088 touch conftest.c
63089 if $CC -c conftest.c; then
63090 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63091 grep "Warning: gc-sections option ignored" > /dev/null; then
63092 ac_gcsections=no
63095 rm -f conftest.c conftest.o conftest
63097 if test "$ac_gcsections" = "yes"; then
63098 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63101 $as_echo "$ac_gcsections" >&6; }
63103 if test "$ac_test_CFLAGS" = set; then
63104 CFLAGS="$ac_save_CFLAGS"
63105 else
63106 # this is the suspicious part
63107 CFLAGS=''
63111 # Set -z,relro.
63112 # Note this is only for shared objects.
63113 ac_ld_relro=no
63114 if test x"$with_gnu_ld" = x"yes"; then
63115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63116 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63117 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63118 if test -n "$cxx_z_relo"; then
63119 OPT_LDFLAGS="-Wl,-z,relro"
63120 ac_ld_relro=yes
63122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63123 $as_echo "$ac_ld_relro" >&6; }
63126 # Set linker optimization flags.
63127 if test x"$with_gnu_ld" = x"yes"; then
63128 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63134 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
63136 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63138 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
63140 # All of the dependencies for wide character support are here, so
63141 # turn it on.
63142 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
63145 esac
63146 case "$target" in
63147 *-*-solaris2.10)
63148 # These two C99 functions are present only in Solaris >= 10
63149 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
63151 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
63154 esac
63155 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63157 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63159 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
63161 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63164 *-tpf)
63165 SECTION_FLAGS='-ffunction-sections -fdata-sections'
63168 # If we're not using GNU ld, then there's no point in even trying these
63169 # tests. Check for that first. We should have already tested for gld
63170 # by now (in libtool), but require it now just to be safe...
63171 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63172 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63176 # The name set by libtool depends on the version of libtool. Shame on us
63177 # for depending on an impl detail, but c'est la vie. Older versions used
63178 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63179 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63180 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63181 # set (hence we're using an older libtool), then set it.
63182 if test x${with_gnu_ld+set} != xset; then
63183 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63184 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63185 with_gnu_ld=no
63186 else
63187 with_gnu_ld=$ac_cv_prog_gnu_ld
63191 # Start by getting the version number. I think the libtool test already
63192 # does some of this, but throws away the result.
63193 glibcxx_ld_is_gold=no
63194 if test x"$with_gnu_ld" = x"yes"; then
63195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63196 $as_echo_n "checking for ld version... " >&6; }
63198 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63199 glibcxx_ld_is_gold=yes
63201 ldver=`$LD --version 2>/dev/null |
63202 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'`
63204 glibcxx_gnu_ld_version=`echo $ldver | \
63205 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63207 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63210 # Set --gc-sections.
63211 glibcxx_have_gc_sections=no
63212 if test "$glibcxx_ld_is_gold" = "yes"; then
63213 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63214 glibcxx_have_gc_sections=yes
63216 else
63217 glibcxx_gcsections_min_ld=21602
63218 if test x"$with_gnu_ld" = x"yes" &&
63219 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63220 glibcxx_have_gc_sections=yes
63223 if test "$glibcxx_have_gc_sections" = "yes"; then
63224 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63225 # NB: This flag only works reliably after 2.16.1. Configure tests
63226 # for this are difficult, so hard wire a value that should work.
63228 ac_test_CFLAGS="${CFLAGS+set}"
63229 ac_save_CFLAGS="$CFLAGS"
63230 CFLAGS='-Wl,--gc-sections'
63232 # Check for -Wl,--gc-sections
63233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63234 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63235 if test x$gcc_no_link = xyes; then
63236 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63239 /* end confdefs.h. */
63240 int one(void) { return 1; }
63241 int two(void) { return 2; }
63244 main ()
63246 two();
63248 return 0;
63250 _ACEOF
63251 if ac_fn_c_try_link "$LINENO"; then :
63252 ac_gcsections=yes
63253 else
63254 ac_gcsections=no
63256 rm -f core conftest.err conftest.$ac_objext \
63257 conftest$ac_exeext conftest.$ac_ext
63258 if test "$ac_gcsections" = "yes"; then
63259 rm -f conftest.c
63260 touch conftest.c
63261 if $CC -c conftest.c; then
63262 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63263 grep "Warning: gc-sections option ignored" > /dev/null; then
63264 ac_gcsections=no
63267 rm -f conftest.c conftest.o conftest
63269 if test "$ac_gcsections" = "yes"; then
63270 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63273 $as_echo "$ac_gcsections" >&6; }
63275 if test "$ac_test_CFLAGS" = set; then
63276 CFLAGS="$ac_save_CFLAGS"
63277 else
63278 # this is the suspicious part
63279 CFLAGS=''
63283 # Set -z,relro.
63284 # Note this is only for shared objects.
63285 ac_ld_relro=no
63286 if test x"$with_gnu_ld" = x"yes"; then
63287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63288 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63289 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63290 if test -n "$cxx_z_relo"; then
63291 OPT_LDFLAGS="-Wl,-z,relro"
63292 ac_ld_relro=yes
63294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63295 $as_echo "$ac_ld_relro" >&6; }
63298 # Set linker optimization flags.
63299 if test x"$with_gnu_ld" = x"yes"; then
63300 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63306 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63308 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
63310 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
63312 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
63314 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
63316 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
63318 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63320 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63322 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
63324 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
63326 if test x"long_double_math_on_this_cpu" = x"yes"; then
63327 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
63329 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
63331 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
63333 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
63337 *-vxworks)
63338 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
63340 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
63342 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
63344 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
63346 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
63348 $as_echo "#define HAVE_COSF 1" >>confdefs.h
63350 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
63352 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
63354 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
63356 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
63358 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
63360 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63362 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
63364 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
63366 $as_echo "#define HAVE_POWF 1" >>confdefs.h
63368 $as_echo "#define HAVE_SINF 1" >>confdefs.h
63370 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
63372 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
63374 $as_echo "#define HAVE_TANF 1" >>confdefs.h
63376 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
63380 as_fn_error "No support for this host/target combination." "$LINENO" 5
63382 esac
63386 # At some point, we should differentiate between architectures
63387 # like x86, which have long double versions, and alpha/powerpc/etc.,
63388 # which don't. For the time being, punt.
63389 if test x"long_double_math_on_this_cpu" = x"yes"; then
63390 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
63392 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
63394 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
63396 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
63398 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
63400 $as_echo "#define HAVE_COSL 1" >>confdefs.h
63402 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
63404 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
63406 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
63408 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
63410 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
63412 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
63414 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
63416 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
63418 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
63420 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
63422 $as_echo "#define HAVE_POWL 1" >>confdefs.h
63424 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
63426 $as_echo "#define HAVE_SINL 1" >>confdefs.h
63428 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
63430 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
63432 $as_echo "#define HAVE_TANL 1" >>confdefs.h
63434 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
63439 # Check for _Unwind_GetIPInfo.
63442 # Check whether --with-system-libunwind was given.
63443 if test "${with_system_libunwind+set}" = set; then :
63444 withval=$with_system_libunwind;
63447 # If system-libunwind was not specifically set, pick a default setting.
63448 if test x$with_system_libunwind = x; then
63449 case ${target} in
63450 ia64-*-hpux*) with_system_libunwind=yes ;;
63451 *) with_system_libunwind=no ;;
63452 esac
63454 # Based on system-libunwind and target, do we have ipinfo?
63455 if test x$with_system_libunwind = xyes; then
63456 case ${target} in
63457 ia64-*-*) have_unwind_getipinfo=no ;;
63458 *) have_unwind_getipinfo=yes ;;
63459 esac
63460 else
63461 # Darwin before version 9 does not have _Unwind_GetIPInfo.
63463 case ${target} in
63464 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
63465 *) have_unwind_getipinfo=yes ;;
63466 esac
63470 if test x$have_unwind_getipinfo = xyes; then
63472 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
63478 # Check whether --enable-linux-futex was given.
63479 if test "${enable_linux_futex+set}" = set; then :
63480 enableval=$enable_linux_futex;
63481 case "$enableval" in
63482 yes|no|default) ;;
63483 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
63484 esac
63486 else
63487 enable_linux_futex=default
63491 case "$target" in
63492 *-linux*)
63493 case "$enable_linux_futex" in
63494 default)
63495 # If headers don't have gettid/futex syscalls definition, then
63496 # default to no, otherwise there will be compile time failures.
63497 # Otherwise, default to yes. If we don't detect we are
63498 # compiled/linked against NPTL and not cross-compiling, check
63499 # if programs are run by default against NPTL and if not, issue
63500 # a warning.
63501 enable_linux_futex=no
63502 if test x$gcc_no_link = xyes; then
63503 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63506 /* end confdefs.h. */
63507 #include <sys/syscall.h>
63508 int lk;
63510 main ()
63512 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
63514 return 0;
63516 _ACEOF
63517 if ac_fn_c_try_link "$LINENO"; then :
63518 save_LIBS="$LIBS"
63519 LIBS="-lpthread $LIBS"
63520 if test x$gcc_no_link = xyes; then
63521 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63524 /* end confdefs.h. */
63525 #ifndef _GNU_SOURCE
63526 #define _GNU_SOURCE 1
63527 #endif
63528 #include <pthread.h>
63529 pthread_t th; void *status;
63531 main ()
63533 pthread_tryjoin_np (th, &status);
63535 return 0;
63537 _ACEOF
63538 if ac_fn_c_try_link "$LINENO"; then :
63539 enable_linux_futex=yes
63540 else
63541 if test x$cross_compiling = xno; then
63542 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
63543 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
63544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
63545 If so, please configure with --disable-linux-futex" >&5
63546 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
63547 If so, please configure with --disable-linux-futex" >&2;}
63550 enable_linux_futex=yes
63552 rm -f core conftest.err conftest.$ac_objext \
63553 conftest$ac_exeext conftest.$ac_ext
63554 LIBS="$save_LIBS"
63556 rm -f core conftest.err conftest.$ac_objext \
63557 conftest$ac_exeext conftest.$ac_ext
63559 yes)
63560 if test x$gcc_no_link = xyes; then
63561 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63564 /* end confdefs.h. */
63565 #include <sys/syscall.h>
63566 int lk;
63568 main ()
63570 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
63572 return 0;
63574 _ACEOF
63575 if ac_fn_c_try_link "$LINENO"; then :
63577 else
63578 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
63580 rm -f core conftest.err conftest.$ac_objext \
63581 conftest$ac_exeext conftest.$ac_ext
63583 esac
63586 enable_linux_futex=no
63588 esac
63589 if test x$enable_linux_futex = xyes; then
63591 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
63598 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
63600 acx_cv_header_stdint=stddef.h
63601 acx_cv_header_stdint_kind="(already complete)"
63602 for i in stdint.h $inttype_headers; do
63603 unset ac_cv_type_uintptr_t
63604 unset ac_cv_type_uintmax_t
63605 unset ac_cv_type_int_least32_t
63606 unset ac_cv_type_int_fast32_t
63607 unset ac_cv_type_uint64_t
63608 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
63609 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
63610 #include <$i>
63612 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
63613 acx_cv_header_stdint=$i
63614 else
63615 continue
63618 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
63619 #include <$i>
63621 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
63623 else
63624 acx_cv_header_stdint_kind="(mostly complete)"
63627 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
63628 #include <$i>
63630 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
63632 else
63633 acx_cv_header_stdint_kind="(mostly complete)"
63636 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
63637 #include <$i>
63639 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
63641 else
63642 acx_cv_header_stdint_kind="(mostly complete)"
63645 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
63646 #include <$i>
63648 if test "x$ac_cv_type_uint64_t" = x""yes; then :
63650 else
63651 acx_cv_header_stdint_kind="(lacks uint64_t)"
63654 break
63655 done
63656 if test "$acx_cv_header_stdint" = stddef.h; then
63657 acx_cv_header_stdint_kind="(lacks uintmax_t)"
63658 for i in stdint.h $inttype_headers; do
63659 unset ac_cv_type_uintptr_t
63660 unset ac_cv_type_uint32_t
63661 unset ac_cv_type_uint64_t
63662 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
63663 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
63664 #include <$i>
63666 if test "x$ac_cv_type_uint32_t" = x""yes; then :
63667 acx_cv_header_stdint=$i
63668 else
63669 continue
63672 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
63673 #include <$i>
63675 if test "x$ac_cv_type_uint64_t" = x""yes; then :
63679 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
63680 #include <$i>
63682 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
63686 break
63687 done
63689 if test "$acx_cv_header_stdint" = stddef.h; then
63690 acx_cv_header_stdint_kind="(u_intXX_t style)"
63691 for i in sys/types.h $inttype_headers; do
63692 unset ac_cv_type_u_int32_t
63693 unset ac_cv_type_u_int64_t
63694 $as_echo_n "looking for u_intXX_t types in $i, " >&6
63695 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
63696 #include <$i>
63698 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
63699 acx_cv_header_stdint=$i
63700 else
63701 continue
63704 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
63705 #include <$i>
63707 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
63711 break
63712 done
63714 if test "$acx_cv_header_stdint" = stddef.h; then
63715 acx_cv_header_stdint_kind="(using manual detection)"
63718 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
63719 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
63720 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
63721 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
63722 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
63724 # ----------------- Summarize what we found so far
63726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
63727 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
63729 case `$as_basename -- include/gstdint.h ||
63730 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
63731 Xinclude/gstdint.h : 'X\(//\)$' \| \
63732 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
63733 $as_echo X/include/gstdint.h |
63734 sed '/^.*\/\([^/][^/]*\)\/*$/{
63735 s//\1/
63738 /^X\/\(\/\/\)$/{
63739 s//\1/
63742 /^X\/\(\/\).*/{
63743 s//\1/
63746 s/.*/./; q'` in
63747 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
63748 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
63749 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
63750 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
63751 *) ;;
63752 esac
63754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
63755 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
63757 # ----------------- done included file, check C basic types --------
63759 # Lacking an uintptr_t? Test size of void *
63760 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
63761 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
63762 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
63763 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
63764 # This bug is HP SR number 8606223364.
63765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
63766 $as_echo_n "checking size of void *... " >&6; }
63767 if test "${ac_cv_sizeof_void_p+set}" = set; then :
63768 $as_echo_n "(cached) " >&6
63769 else
63770 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
63772 else
63773 if test "$ac_cv_type_void_p" = yes; then
63774 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
63775 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
63776 { as_fn_set_status 77
63777 as_fn_error "cannot compute sizeof (void *)
63778 See \`config.log' for more details." "$LINENO" 5; }; }
63779 else
63780 ac_cv_sizeof_void_p=0
63785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
63786 $as_echo "$ac_cv_sizeof_void_p" >&6; }
63790 cat >>confdefs.h <<_ACEOF
63791 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
63792 _ACEOF
63795 esac
63797 # Lacking an uint64_t? Test size of long
63798 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
63799 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
63800 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
63801 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
63802 # This bug is HP SR number 8606223364.
63803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
63804 $as_echo_n "checking size of long... " >&6; }
63805 if test "${ac_cv_sizeof_long+set}" = set; then :
63806 $as_echo_n "(cached) " >&6
63807 else
63808 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
63810 else
63811 if test "$ac_cv_type_long" = yes; then
63812 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
63813 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
63814 { as_fn_set_status 77
63815 as_fn_error "cannot compute sizeof (long)
63816 See \`config.log' for more details." "$LINENO" 5; }; }
63817 else
63818 ac_cv_sizeof_long=0
63823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
63824 $as_echo "$ac_cv_sizeof_long" >&6; }
63828 cat >>confdefs.h <<_ACEOF
63829 #define SIZEOF_LONG $ac_cv_sizeof_long
63830 _ACEOF
63833 esac
63835 if test $acx_cv_header_stdint = stddef.h; then
63836 # Lacking a good header? Test size of everything and deduce all types.
63837 # The cast to long int works around a bug in the HP C Compiler
63838 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
63839 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
63840 # This bug is HP SR number 8606223364.
63841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
63842 $as_echo_n "checking size of int... " >&6; }
63843 if test "${ac_cv_sizeof_int+set}" = set; then :
63844 $as_echo_n "(cached) " >&6
63845 else
63846 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
63848 else
63849 if test "$ac_cv_type_int" = yes; then
63850 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
63851 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
63852 { as_fn_set_status 77
63853 as_fn_error "cannot compute sizeof (int)
63854 See \`config.log' for more details." "$LINENO" 5; }; }
63855 else
63856 ac_cv_sizeof_int=0
63861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
63862 $as_echo "$ac_cv_sizeof_int" >&6; }
63866 cat >>confdefs.h <<_ACEOF
63867 #define SIZEOF_INT $ac_cv_sizeof_int
63868 _ACEOF
63871 # The cast to long int works around a bug in the HP C Compiler
63872 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
63873 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
63874 # This bug is HP SR number 8606223364.
63875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
63876 $as_echo_n "checking size of short... " >&6; }
63877 if test "${ac_cv_sizeof_short+set}" = set; then :
63878 $as_echo_n "(cached) " >&6
63879 else
63880 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
63882 else
63883 if test "$ac_cv_type_short" = yes; then
63884 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
63885 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
63886 { as_fn_set_status 77
63887 as_fn_error "cannot compute sizeof (short)
63888 See \`config.log' for more details." "$LINENO" 5; }; }
63889 else
63890 ac_cv_sizeof_short=0
63895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
63896 $as_echo "$ac_cv_sizeof_short" >&6; }
63900 cat >>confdefs.h <<_ACEOF
63901 #define SIZEOF_SHORT $ac_cv_sizeof_short
63902 _ACEOF
63905 # The cast to long int works around a bug in the HP C Compiler
63906 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
63907 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
63908 # This bug is HP SR number 8606223364.
63909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
63910 $as_echo_n "checking size of char... " >&6; }
63911 if test "${ac_cv_sizeof_char+set}" = set; then :
63912 $as_echo_n "(cached) " >&6
63913 else
63914 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
63916 else
63917 if test "$ac_cv_type_char" = yes; then
63918 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
63919 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
63920 { as_fn_set_status 77
63921 as_fn_error "cannot compute sizeof (char)
63922 See \`config.log' for more details." "$LINENO" 5; }; }
63923 else
63924 ac_cv_sizeof_char=0
63929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
63930 $as_echo "$ac_cv_sizeof_char" >&6; }
63934 cat >>confdefs.h <<_ACEOF
63935 #define SIZEOF_CHAR $ac_cv_sizeof_char
63936 _ACEOF
63940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
63941 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
63942 case "$ac_cv_sizeof_char" in
63943 1) acx_cv_type_int8_t=char ;;
63944 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
63945 esac
63946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
63947 $as_echo "$acx_cv_type_int8_t" >&6; }
63949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
63950 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
63951 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
63952 2:*) acx_cv_type_int16_t=int ;;
63953 *:2) acx_cv_type_int16_t=short ;;
63954 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
63955 esac
63956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
63957 $as_echo "$acx_cv_type_int16_t" >&6; }
63959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
63960 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
63961 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
63962 4:*) acx_cv_type_int32_t=int ;;
63963 *:4) acx_cv_type_int32_t=long ;;
63964 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
63965 esac
63966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
63967 $as_echo "$acx_cv_type_int32_t" >&6; }
63970 # These tests are here to make the output prettier
63972 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
63973 case "$ac_cv_sizeof_long" in
63974 8) acx_cv_type_int64_t=long ;;
63975 esac
63976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
63977 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
63978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
63979 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
63982 # Now we can use the above types
63984 if test "$ac_cv_type_uintptr_t" != yes; then
63985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
63986 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
63987 case $ac_cv_sizeof_void_p in
63988 2) acx_cv_type_intptr_t=int16_t ;;
63989 4) acx_cv_type_intptr_t=int32_t ;;
63990 8) acx_cv_type_intptr_t=int64_t ;;
63991 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
63992 esac
63993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
63994 $as_echo "$acx_cv_type_intptr_t" >&6; }
63997 # ----------------- done all checks, emit header -------------
63998 ac_config_commands="$ac_config_commands include/gstdint.h"
64003 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
64005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
64006 $as_echo_n "checking for GNU c++filt... " >&6; }
64007 if test "${ac_cv_path_CXXFILT+set}" = set; then :
64008 $as_echo_n "(cached) " >&6
64009 else
64010 if test -z "$CXXFILT"; then
64011 ac_path_CXXFILT_found=false
64012 # Loop through the user's path and test for each of PROGNAME-LIST
64013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64014 for as_dir in $PATH
64016 IFS=$as_save_IFS
64017 test -z "$as_dir" && as_dir=.
64018 for ac_prog in c++filt gc++filt; do
64019 for ac_exec_ext in '' $ac_executable_extensions; do
64020 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
64021 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
64022 # Check for GNU $ac_path_CXXFILT
64023 case `"$ac_path_CXXFILT" --version 2>&1` in
64024 *GNU*)
64025 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
64026 esac
64028 $ac_path_CXXFILT_found && break 3
64029 done
64030 done
64031 done
64032 IFS=$as_save_IFS
64033 if test -z "$ac_cv_path_CXXFILT"; then
64036 else
64037 ac_cv_path_CXXFILT=$CXXFILT
64041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
64042 $as_echo "$ac_cv_path_CXXFILT" >&6; }
64043 CXXFILT=$ac_cv_path_CXXFILT
64047 # Check whether --enable-symvers was given.
64048 if test "${enable_symvers+set}" = set; then :
64049 enableval=$enable_symvers;
64050 case "$enableval" in
64051 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
64052 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
64053 esac
64055 else
64056 enable_symvers=yes
64061 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
64062 # don't know enough about $LD to do tricks...
64064 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
64065 # with extern "C++" in version scripts.
64068 # Turn a 'yes' into a suitable default.
64069 if test x$enable_symvers = xyes ; then
64070 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
64071 enable_symvers=no
64072 else
64073 if test $with_gnu_ld = yes ; then
64074 case ${target_os} in
64075 hpux*)
64076 enable_symvers=no ;;
64078 enable_symvers=gnu ;;
64079 esac
64080 else
64081 case ${target_os} in
64082 darwin*)
64083 enable_symvers=darwin ;;
64084 # Sun symbol versioning exists since Solaris 2.5.
64085 solaris2.[5-9]* | solaris2.1[0-9]*)
64086 # make_sunver.pl needs GNU c++filt to support extern "C++" in
64087 # version scripts, so disable symbol versioning if none can be
64088 # found.
64089 if test -z "$ac_cv_path_CXXFILT"; then
64090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64091 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
64093 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
64094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64095 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64096 enable_symvers=no
64097 else
64098 enable_symvers=sun
64102 enable_symvers=no ;;
64103 esac
64108 # Check to see if 'darwin' or 'darwin-export' can win.
64109 if test x$enable_symvers = xdarwin-export ; then
64110 enable_symvers=darwin
64113 # Check if 'sun' was requested on non-Solaris 2 platforms.
64114 if test x$enable_symvers = xsun ; then
64115 case ${target_os} in
64116 solaris2*)
64117 # All fine.
64120 # Unlikely to work.
64121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64122 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
64124 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
64125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64126 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64127 enable_symvers=no
64129 esac
64132 # Check to see if 'gnu' can win.
64133 if test $enable_symvers = gnu ||
64134 test $enable_symvers = gnu-versioned-namespace ||
64135 test $enable_symvers = sun; then
64136 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
64137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
64138 $as_echo_n "checking for shared libgcc... " >&6; }
64139 ac_save_CFLAGS="$CFLAGS"
64140 CFLAGS=' -lgcc_s'
64141 if test x$gcc_no_link = xyes; then
64142 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64145 /* end confdefs.h. */
64148 main ()
64150 return 0;
64152 return 0;
64154 _ACEOF
64155 if ac_fn_c_try_link "$LINENO"; then :
64156 glibcxx_shared_libgcc=yes
64157 else
64158 glibcxx_shared_libgcc=no
64160 rm -f core conftest.err conftest.$ac_objext \
64161 conftest$ac_exeext conftest.$ac_ext
64162 CFLAGS="$ac_save_CFLAGS"
64163 if test $glibcxx_shared_libgcc = no; then
64164 cat > conftest.c <<EOF
64165 int main (void) { return 0; }
64167 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
64168 -shared -shared-libgcc -o conftest.so \
64169 conftest.c -v 2>&1 >/dev/null \
64170 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
64171 rm -f conftest.c conftest.so
64172 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
64173 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
64174 if test x$gcc_no_link = xyes; then
64175 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64178 /* end confdefs.h. */
64181 main ()
64183 return 0;
64185 return 0;
64187 _ACEOF
64188 if ac_fn_c_try_link "$LINENO"; then :
64189 glibcxx_shared_libgcc=yes
64191 rm -f core conftest.err conftest.$ac_objext \
64192 conftest$ac_exeext conftest.$ac_ext
64193 CFLAGS="$ac_save_CFLAGS"
64196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
64197 $as_echo "$glibcxx_shared_libgcc" >&6; }
64199 # For GNU ld, we need at least this version. The format is described in
64200 # GLIBCXX_CHECK_LINKER_FEATURES above.
64201 glibcxx_min_gnu_ld_version=21400
64203 # If no shared libgcc, can't win.
64204 if test $glibcxx_shared_libgcc != yes; then
64205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64206 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
64208 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
64209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64210 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64211 enable_symvers=no
64212 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
64213 : All interesting versions of Sun ld support sun style symbol versioning.
64214 elif test $with_gnu_ld != yes ; then
64215 # just fail for now
64216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64217 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
64219 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
64220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64221 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64222 enable_symvers=no
64223 elif test $glibcxx_ld_is_gold = yes ; then
64224 : All versions of gold support symbol versioning.
64225 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
64226 # The right tools, the right setup, but too old. Fallbacks?
64227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
64228 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
64229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
64230 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
64231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
64232 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
64233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
64234 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
64235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64236 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64237 enable_symvers=no
64241 # Everything parsed; figure out what file to use.
64242 case $enable_symvers in
64244 SYMVER_FILE=config/abi/pre/none.ver
64246 gnu)
64247 SYMVER_FILE=config/abi/pre/gnu.ver
64249 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
64252 gnu-versioned-namespace)
64253 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
64255 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
64258 darwin)
64259 SYMVER_FILE=config/abi/pre/gnu.ver
64261 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
64264 sun)
64265 SYMVER_FILE=config/abi/pre/gnu.ver
64267 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
64270 esac
64272 if test x$enable_symvers != xno ; then
64274 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
64278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
64279 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
64280 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
64281 $as_echo_n "(cached) " >&6
64282 else
64284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64285 /* end confdefs.h. */
64286 void foo (void); __asm (".symver foo, bar@SYMVER");
64288 main ()
64292 return 0;
64294 _ACEOF
64295 if ac_fn_c_try_compile "$LINENO"; then :
64296 glibcxx_cv_have_as_symver_directive=yes
64297 else
64298 glibcxx_cv_have_as_symver_directive=no
64300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
64303 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
64304 if test $glibcxx_cv_have_as_symver_directive = yes; then
64306 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
64317 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
64318 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
64320 if test $enable_symvers != no ; then
64321 case ${target_os} in
64322 # The Solaris 2 runtime linker doesn't support the GNU extension of
64323 # binding the same symbol to different versions
64324 solaris2*)
64325 symvers_renaming=no ;;
64326 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
64329 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
64331 symvers_renaming=yes ;;
64332 esac
64333 else
64334 symvers_renaming=no
64338 # Now, set up compatibility support, if any.
64339 # In addition, need this to deal with std::size_t mangling in
64340 # src/compatibility.cc. In a perfect world, could use
64341 # typeid(std::size_t).name()[0] to do direct substitution.
64342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
64343 $as_echo_n "checking for size_t as unsigned int... " >&6; }
64344 ac_save_CFLAGS="$CFLAGS"
64345 CFLAGS="-Werror"
64346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64347 /* end confdefs.h. */
64350 main ()
64352 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
64354 return 0;
64356 _ACEOF
64357 if ac_fn_c_try_compile "$LINENO"; then :
64358 glibcxx_size_t_is_i=yes
64359 else
64360 glibcxx_size_t_is_i=no
64362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64363 CFLAGS=$ac_save_CFLAGS
64364 if test "$glibcxx_size_t_is_i" = yes; then
64366 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
64369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
64370 $as_echo "$glibcxx_size_t_is_i" >&6; }
64372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
64373 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
64374 ac_save_CFLAGS="$CFLAGS"
64375 CFLAGS="-Werror"
64376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64377 /* end confdefs.h. */
64380 main ()
64382 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
64384 return 0;
64386 _ACEOF
64387 if ac_fn_c_try_compile "$LINENO"; then :
64388 glibcxx_ptrdiff_t_is_i=yes
64389 else
64390 glibcxx_ptrdiff_t_is_i=no
64392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64393 CFLAGS=$ac_save_CFLAGS
64394 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
64396 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
64399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
64400 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
64403 # Check whether --enable-visibility was given.
64404 if test "${enable_visibility+set}" = set; then :
64405 enableval=$enable_visibility;
64406 case "$enableval" in
64407 yes|no) ;;
64408 *) as_fn_error "Argument to enable/disable visibility must be yes or no" "$LINENO" 5 ;;
64409 esac
64411 else
64412 enable_visibility=yes
64417 if test x$enable_visibility = xyes ; then
64418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
64419 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
64420 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
64421 $as_echo_n "(cached) " >&6
64422 else
64424 save_CFLAGS="$CFLAGS"
64425 CFLAGS="$CFLAGS -Werror"
64426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64427 /* end confdefs.h. */
64428 void __attribute__((visibility("hidden"))) foo(void) { }
64430 main ()
64434 return 0;
64436 _ACEOF
64437 if ac_fn_c_try_compile "$LINENO"; then :
64438 glibcxx_cv_have_attribute_visibility=yes
64439 else
64440 glibcxx_cv_have_attribute_visibility=no
64442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64443 CFLAGS="$save_CFLAGS"
64445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
64446 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
64447 if test $glibcxx_cv_have_attribute_visibility = no; then
64448 enable_visibility=no
64453 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_visibility" >&5
64454 $as_echo "$as_me: visibility supported: $enable_visibility" >&6;}
64457 ac_ldbl_compat=no
64458 case "$target" in
64459 powerpc*-*-linux* | \
64460 powerpc*-*-gnu* | \
64461 sparc*-*-linux* | \
64462 s390*-*-linux* | \
64463 alpha*-*-linux*)
64464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64465 /* end confdefs.h. */
64468 main ()
64471 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
64472 #error no need for long double compatibility
64473 #endif
64476 return 0;
64478 _ACEOF
64479 if ac_fn_c_try_compile "$LINENO"; then :
64480 ac_ldbl_compat=yes
64481 else
64482 ac_ldbl_compat=no
64484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64485 if test "$ac_ldbl_compat" = yes; then
64487 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
64489 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
64491 esac
64494 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
64496 if $GLIBCXX_IS_NATIVE ; then
64497 # Do checks for resource limit functions.
64499 setrlimit_have_headers=yes
64500 for ac_header in unistd.h sys/time.h sys/resource.h
64501 do :
64502 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
64503 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
64504 eval as_val=\$$as_ac_Header
64505 if test "x$as_val" = x""yes; then :
64506 cat >>confdefs.h <<_ACEOF
64507 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
64508 _ACEOF
64510 else
64511 setrlimit_have_headers=no
64514 done
64516 # If don't have the headers, then we can't run the tests now, and we
64517 # won't be seeing any of these during testsuite compilation.
64518 if test $setrlimit_have_headers = yes; then
64519 # Can't do these in a loop, else the resulting syntax is wrong.
64521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
64522 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
64523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64524 /* end confdefs.h. */
64525 #include <unistd.h>
64526 #include <sys/time.h>
64527 #include <sys/resource.h>
64530 main ()
64532 int f = RLIMIT_DATA ;
64534 return 0;
64536 _ACEOF
64537 if ac_fn_c_try_compile "$LINENO"; then :
64538 glibcxx_mresult=1
64539 else
64540 glibcxx_mresult=0
64542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64544 cat >>confdefs.h <<_ACEOF
64545 #define HAVE_LIMIT_DATA $glibcxx_mresult
64546 _ACEOF
64548 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64550 $as_echo "$res" >&6; }
64553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
64554 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
64555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64556 /* end confdefs.h. */
64557 #include <unistd.h>
64558 #include <sys/time.h>
64559 #include <sys/resource.h>
64562 main ()
64564 int f = RLIMIT_RSS ;
64566 return 0;
64568 _ACEOF
64569 if ac_fn_c_try_compile "$LINENO"; then :
64570 glibcxx_mresult=1
64571 else
64572 glibcxx_mresult=0
64574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64576 cat >>confdefs.h <<_ACEOF
64577 #define HAVE_LIMIT_RSS $glibcxx_mresult
64578 _ACEOF
64580 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64582 $as_echo "$res" >&6; }
64585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
64586 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
64587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64588 /* end confdefs.h. */
64589 #include <unistd.h>
64590 #include <sys/time.h>
64591 #include <sys/resource.h>
64594 main ()
64596 int f = RLIMIT_VMEM ;
64598 return 0;
64600 _ACEOF
64601 if ac_fn_c_try_compile "$LINENO"; then :
64602 glibcxx_mresult=1
64603 else
64604 glibcxx_mresult=0
64606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64608 cat >>confdefs.h <<_ACEOF
64609 #define HAVE_LIMIT_VMEM $glibcxx_mresult
64610 _ACEOF
64612 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64614 $as_echo "$res" >&6; }
64617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
64618 $as_echo_n "checking for RLIMIT_AS... " >&6; }
64619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64620 /* end confdefs.h. */
64621 #include <unistd.h>
64622 #include <sys/time.h>
64623 #include <sys/resource.h>
64626 main ()
64628 int f = RLIMIT_AS ;
64630 return 0;
64632 _ACEOF
64633 if ac_fn_c_try_compile "$LINENO"; then :
64634 glibcxx_mresult=1
64635 else
64636 glibcxx_mresult=0
64638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64640 cat >>confdefs.h <<_ACEOF
64641 #define HAVE_LIMIT_AS $glibcxx_mresult
64642 _ACEOF
64644 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64646 $as_echo "$res" >&6; }
64649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
64650 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
64651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64652 /* end confdefs.h. */
64653 #include <unistd.h>
64654 #include <sys/time.h>
64655 #include <sys/resource.h>
64658 main ()
64660 int f = RLIMIT_FSIZE ;
64662 return 0;
64664 _ACEOF
64665 if ac_fn_c_try_compile "$LINENO"; then :
64666 glibcxx_mresult=1
64667 else
64668 glibcxx_mresult=0
64670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64672 cat >>confdefs.h <<_ACEOF
64673 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
64674 _ACEOF
64676 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64678 $as_echo "$res" >&6; }
64681 # Check for rlimit, setrlimit.
64682 if test "${glibcxx_cv_setrlimit+set}" = set; then :
64683 $as_echo_n "(cached) " >&6
64684 else
64686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64687 /* end confdefs.h. */
64688 #include <unistd.h>
64689 #include <sys/time.h>
64690 #include <sys/resource.h>
64693 main ()
64695 struct rlimit r;
64696 setrlimit(0, &r);
64698 return 0;
64700 _ACEOF
64701 if ac_fn_c_try_compile "$LINENO"; then :
64702 glibcxx_cv_setrlimit=yes
64703 else
64704 glibcxx_cv_setrlimit=no
64706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
64713 $as_echo_n "checking for testsuite resource limits support... " >&6; }
64714 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
64715 ac_res_limits=yes
64717 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
64719 else
64720 ac_res_limits=no
64722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
64723 $as_echo "$ac_res_limits" >&6; }
64726 # Look for setenv, so that extended locale tests can be performed.
64728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
64729 $as_echo_n "checking for setenv declaration... " >&6; }
64730 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
64731 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
64732 $as_echo_n "(cached) " >&6
64733 else
64736 ac_ext=cpp
64737 ac_cpp='$CXXCPP $CPPFLAGS'
64738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64743 /* end confdefs.h. */
64744 #include <stdlib.h>
64746 main ()
64748 setenv(0, 0, 0);
64750 return 0;
64752 _ACEOF
64753 if ac_fn_cxx_try_compile "$LINENO"; then :
64754 glibcxx_cv_func_setenv_use=yes
64755 else
64756 glibcxx_cv_func_setenv_use=no
64758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64759 ac_ext=c
64760 ac_cpp='$CPP $CPPFLAGS'
64761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
64770 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
64771 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
64772 for ac_func in setenv
64773 do :
64774 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
64775 if test "x$ac_cv_func_setenv" = x""yes; then :
64776 cat >>confdefs.h <<_ACEOF
64777 #define HAVE_SETENV 1
64778 _ACEOF
64781 done
64787 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
64788 test $enable_symvers != no; then
64789 case "$host" in
64790 *-*-cygwin*)
64791 enable_abi_check=no ;;
64793 enable_abi_check=yes ;;
64794 esac
64795 else
64796 # Only build this as native, since automake does not understand
64797 # CXX_FOR_BUILD.
64798 enable_abi_check=no
64801 # Export file names for ABI checking.
64802 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
64806 # Define documentation rules conditionally.
64808 # See if makeinfo has been installed and is modern enough
64809 # that we can use it.
64811 # Extract the first word of "makeinfo", so it can be a program name with args.
64812 set dummy makeinfo; ac_word=$2
64813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
64814 $as_echo_n "checking for $ac_word... " >&6; }
64815 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
64816 $as_echo_n "(cached) " >&6
64817 else
64818 if test -n "$MAKEINFO"; then
64819 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
64820 else
64821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64822 for as_dir in $PATH
64824 IFS=$as_save_IFS
64825 test -z "$as_dir" && as_dir=.
64826 for ac_exec_ext in '' $ac_executable_extensions; do
64827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
64828 ac_cv_prog_MAKEINFO="makeinfo"
64829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
64830 break 2
64832 done
64833 done
64834 IFS=$as_save_IFS
64838 MAKEINFO=$ac_cv_prog_MAKEINFO
64839 if test -n "$MAKEINFO"; then
64840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
64841 $as_echo "$MAKEINFO" >&6; }
64842 else
64843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
64844 $as_echo "no" >&6; }
64848 if test -n "$MAKEINFO"; then
64849 # Found it, now check the version.
64850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
64851 $as_echo_n "checking for modern makeinfo... " >&6; }
64852 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
64853 $as_echo_n "(cached) " >&6
64854 else
64855 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
64856 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
64858 case $ac_prog_version in
64859 '') gcc_cv_prog_makeinfo_modern=no;;
64860 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
64861 *) gcc_cv_prog_makeinfo_modern=no;;
64862 esac
64865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
64866 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
64867 else
64868 gcc_cv_prog_makeinfo_modern=no
64870 if test $gcc_cv_prog_makeinfo_modern = no; then
64871 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
64874 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
64875 BUILD_INFO_TRUE=
64876 BUILD_INFO_FALSE='#'
64877 else
64878 BUILD_INFO_TRUE='#'
64879 BUILD_INFO_FALSE=
64883 # Check for doxygen
64884 # Extract the first word of "doxygen", so it can be a program name with args.
64885 set dummy doxygen; ac_word=$2
64886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
64887 $as_echo_n "checking for $ac_word... " >&6; }
64888 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
64889 $as_echo_n "(cached) " >&6
64890 else
64891 if test -n "$DOXYGEN"; then
64892 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
64893 else
64894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64895 for as_dir in $PATH
64897 IFS=$as_save_IFS
64898 test -z "$as_dir" && as_dir=.
64899 for ac_exec_ext in '' $ac_executable_extensions; do
64900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
64901 ac_cv_prog_DOXYGEN="yes"
64902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
64903 break 2
64905 done
64906 done
64907 IFS=$as_save_IFS
64909 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
64912 DOXYGEN=$ac_cv_prog_DOXYGEN
64913 if test -n "$DOXYGEN"; then
64914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
64915 $as_echo "$DOXYGEN" >&6; }
64916 else
64917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
64918 $as_echo "no" >&6; }
64922 # Extract the first word of "dot", so it can be a program name with args.
64923 set dummy dot; ac_word=$2
64924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
64925 $as_echo_n "checking for $ac_word... " >&6; }
64926 if test "${ac_cv_prog_DOT+set}" = set; then :
64927 $as_echo_n "(cached) " >&6
64928 else
64929 if test -n "$DOT"; then
64930 ac_cv_prog_DOT="$DOT" # Let the user override the test.
64931 else
64932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64933 for as_dir in $PATH
64935 IFS=$as_save_IFS
64936 test -z "$as_dir" && as_dir=.
64937 for ac_exec_ext in '' $ac_executable_extensions; do
64938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
64939 ac_cv_prog_DOT="yes"
64940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
64941 break 2
64943 done
64944 done
64945 IFS=$as_save_IFS
64947 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
64950 DOT=$ac_cv_prog_DOT
64951 if test -n "$DOT"; then
64952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
64953 $as_echo "$DOT" >&6; }
64954 else
64955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
64956 $as_echo "no" >&6; }
64961 # Check for docbook
64962 # Extract the first word of "xsltproc", so it can be a program name with args.
64963 set dummy xsltproc; ac_word=$2
64964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
64965 $as_echo_n "checking for $ac_word... " >&6; }
64966 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
64967 $as_echo_n "(cached) " >&6
64968 else
64969 if test -n "$XSLTPROC"; then
64970 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
64971 else
64972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64973 for as_dir in $PATH
64975 IFS=$as_save_IFS
64976 test -z "$as_dir" && as_dir=.
64977 for ac_exec_ext in '' $ac_executable_extensions; do
64978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
64979 ac_cv_prog_XSLTPROC="yes"
64980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
64981 break 2
64983 done
64984 done
64985 IFS=$as_save_IFS
64987 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
64990 XSLTPROC=$ac_cv_prog_XSLTPROC
64991 if test -n "$XSLTPROC"; then
64992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
64993 $as_echo "$XSLTPROC" >&6; }
64994 else
64995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
64996 $as_echo "no" >&6; }
65000 # Extract the first word of "xmllint", so it can be a program name with args.
65001 set dummy xmllint; ac_word=$2
65002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65003 $as_echo_n "checking for $ac_word... " >&6; }
65004 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
65005 $as_echo_n "(cached) " >&6
65006 else
65007 if test -n "$XMLLINT"; then
65008 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
65009 else
65010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65011 for as_dir in $PATH
65013 IFS=$as_save_IFS
65014 test -z "$as_dir" && as_dir=.
65015 for ac_exec_ext in '' $ac_executable_extensions; do
65016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65017 ac_cv_prog_XMLLINT="yes"
65018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65019 break 2
65021 done
65022 done
65023 IFS=$as_save_IFS
65025 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
65028 XMLLINT=$ac_cv_prog_XMLLINT
65029 if test -n "$XMLLINT"; then
65030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
65031 $as_echo "$XMLLINT" >&6; }
65032 else
65033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65034 $as_echo "no" >&6; }
65039 glibcxx_stylesheets=no
65040 if test -f /usr/share/sgml/docbook/xsl-ns-stylesheets/VERSION; then
65041 glibcxx_stylesheets=yes
65044 # Check for xml/html dependencies.
65045 if test $ac_cv_prog_DOXYGEN = "yes" &&
65046 test $ac_cv_prog_DOT = "yes" &&
65047 test $ac_cv_prog_XSLTPROC = "yes" &&
65048 test $ac_cv_prog_XMLLINT = "yes" &&
65049 test $glibcxx_stylesheets = "yes"; then
65050 BUILD_XML_TRUE=
65051 BUILD_XML_FALSE='#'
65052 else
65053 BUILD_XML_TRUE='#'
65054 BUILD_XML_FALSE=
65058 if test $ac_cv_prog_DOXYGEN = "yes" &&
65059 test $ac_cv_prog_DOT = "yes" &&
65060 test $ac_cv_prog_XSLTPROC = "yes" &&
65061 test $ac_cv_prog_XMLLINT = "yes" &&
65062 test $glibcxx_stylesheets = "yes"; then
65063 BUILD_HTML_TRUE=
65064 BUILD_HTML_FALSE='#'
65065 else
65066 BUILD_HTML_TRUE='#'
65067 BUILD_HTML_FALSE=
65071 # Check for man dependencies.
65072 if test $ac_cv_prog_DOXYGEN = "yes" &&
65073 test $ac_cv_prog_DOT = "yes"; then
65074 BUILD_MAN_TRUE=
65075 BUILD_MAN_FALSE='#'
65076 else
65077 BUILD_MAN_TRUE='#'
65078 BUILD_MAN_FALSE=
65082 # Check for pdf/epub dependencies.
65083 # Extract the first word of "dblatex", so it can be a program name with args.
65084 set dummy dblatex; ac_word=$2
65085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65086 $as_echo_n "checking for $ac_word... " >&6; }
65087 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
65088 $as_echo_n "(cached) " >&6
65089 else
65090 if test -n "$DBLATEX"; then
65091 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
65092 else
65093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65094 for as_dir in $PATH
65096 IFS=$as_save_IFS
65097 test -z "$as_dir" && as_dir=.
65098 for ac_exec_ext in '' $ac_executable_extensions; do
65099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65100 ac_cv_prog_DBLATEX="yes"
65101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65102 break 2
65104 done
65105 done
65106 IFS=$as_save_IFS
65108 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
65111 DBLATEX=$ac_cv_prog_DBLATEX
65112 if test -n "$DBLATEX"; then
65113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
65114 $as_echo "$DBLATEX" >&6; }
65115 else
65116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65117 $as_echo "no" >&6; }
65121 # Extract the first word of "pdflatex", so it can be a program name with args.
65122 set dummy pdflatex; ac_word=$2
65123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65124 $as_echo_n "checking for $ac_word... " >&6; }
65125 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
65126 $as_echo_n "(cached) " >&6
65127 else
65128 if test -n "$PDFLATEX"; then
65129 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
65130 else
65131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65132 for as_dir in $PATH
65134 IFS=$as_save_IFS
65135 test -z "$as_dir" && as_dir=.
65136 for ac_exec_ext in '' $ac_executable_extensions; do
65137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65138 ac_cv_prog_PDFLATEX="yes"
65139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65140 break 2
65142 done
65143 done
65144 IFS=$as_save_IFS
65146 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
65149 PDFLATEX=$ac_cv_prog_PDFLATEX
65150 if test -n "$PDFLATEX"; then
65151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
65152 $as_echo "$PDFLATEX" >&6; }
65153 else
65154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65155 $as_echo "no" >&6; }
65159 if test $ac_cv_prog_DBLATEX = "yes" &&
65160 test $ac_cv_prog_PDFLATEX = "yes"; then
65161 BUILD_PDF_TRUE=
65162 BUILD_PDF_FALSE='#'
65163 else
65164 BUILD_PDF_TRUE='#'
65165 BUILD_PDF_FALSE=
65169 # Extract the first word of "ruby", so it can be a program name with args.
65170 set dummy ruby; ac_word=$2
65171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65172 $as_echo_n "checking for $ac_word... " >&6; }
65173 if test "${ac_cv_prog_RUBY+set}" = set; then :
65174 $as_echo_n "(cached) " >&6
65175 else
65176 if test -n "$RUBY"; then
65177 ac_cv_prog_RUBY="$RUBY" # Let the user override the test.
65178 else
65179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65180 for as_dir in $PATH
65182 IFS=$as_save_IFS
65183 test -z "$as_dir" && as_dir=.
65184 for ac_exec_ext in '' $ac_executable_extensions; do
65185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65186 ac_cv_prog_RUBY="yes"
65187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65188 break 2
65190 done
65191 done
65192 IFS=$as_save_IFS
65194 test -z "$ac_cv_prog_RUBY" && ac_cv_prog_RUBY="no"
65197 RUBY=$ac_cv_prog_RUBY
65198 if test -n "$RUBY"; then
65199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5
65200 $as_echo "$RUBY" >&6; }
65201 else
65202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65203 $as_echo "no" >&6; }
65207 # Extract the first word of "dbtoepubm", so it can be a program name with args.
65208 set dummy dbtoepubm; ac_word=$2
65209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65210 $as_echo_n "checking for $ac_word... " >&6; }
65211 if test "${ac_cv_prog_DBTOEPUB+set}" = set; then :
65212 $as_echo_n "(cached) " >&6
65213 else
65214 if test -n "$DBTOEPUB"; then
65215 ac_cv_prog_DBTOEPUB="$DBTOEPUB" # Let the user override the test.
65216 else
65217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65218 for as_dir in $PATH
65220 IFS=$as_save_IFS
65221 test -z "$as_dir" && as_dir=.
65222 for ac_exec_ext in '' $ac_executable_extensions; do
65223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65224 ac_cv_prog_DBTOEPUB="yes"
65225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65226 break 2
65228 done
65229 done
65230 IFS=$as_save_IFS
65232 test -z "$ac_cv_prog_DBTOEPUB" && ac_cv_prog_DBTOEPUB="no"
65235 DBTOEPUB=$ac_cv_prog_DBTOEPUB
65236 if test -n "$DBTOEPUB"; then
65237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBTOEPUB" >&5
65238 $as_echo "$DBTOEPUB" >&6; }
65239 else
65240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65241 $as_echo "no" >&6; }
65245 if test $ac_cv_prog_RUBY = "yes" &&
65246 test $ac_cv_prog_DBTOEPUB = "yes"; then
65247 BUILD_EPUB_TRUE=
65248 BUILD_EPUB_FALSE='#'
65249 else
65250 BUILD_EPUB_TRUE='#'
65251 BUILD_EPUB_FALSE=
65256 # Propagate the target-specific source directories through the build chain.
65257 ATOMICITY_SRCDIR=config/${atomicity_dir}
65258 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
65259 ATOMIC_FLAGS=${atomic_flags}
65260 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
65261 OS_INC_SRCDIR=config/${os_include_dir}
65262 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
65263 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
65273 # Determine cross-compile flags and AM_CONDITIONALs.
65274 #AC_SUBST(GLIBCXX_IS_NATIVE)
65275 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
65276 if test $is_hosted = yes; then
65277 GLIBCXX_HOSTED_TRUE=
65278 GLIBCXX_HOSTED_FALSE='#'
65279 else
65280 GLIBCXX_HOSTED_TRUE='#'
65281 GLIBCXX_HOSTED_FALSE=
65285 if test $enable_libstdcxx_pch = yes; then
65286 GLIBCXX_BUILD_PCH_TRUE=
65287 GLIBCXX_BUILD_PCH_FALSE='#'
65288 else
65289 GLIBCXX_BUILD_PCH_TRUE='#'
65290 GLIBCXX_BUILD_PCH_FALSE=
65294 if test $enable_cheaders = c; then
65295 GLIBCXX_C_HEADERS_C_TRUE=
65296 GLIBCXX_C_HEADERS_C_FALSE='#'
65297 else
65298 GLIBCXX_C_HEADERS_C_TRUE='#'
65299 GLIBCXX_C_HEADERS_C_FALSE=
65303 if test $enable_cheaders = c_std; then
65304 GLIBCXX_C_HEADERS_C_STD_TRUE=
65305 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
65306 else
65307 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
65308 GLIBCXX_C_HEADERS_C_STD_FALSE=
65312 if test $enable_cheaders = c_global; then
65313 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
65314 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
65315 else
65316 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
65317 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
65321 if test $c_compatibility = yes; then
65322 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
65323 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
65324 else
65325 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
65326 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
65330 if test $enable_libstdcxx_debug = yes; then
65331 GLIBCXX_BUILD_DEBUG_TRUE=
65332 GLIBCXX_BUILD_DEBUG_FALSE='#'
65333 else
65334 GLIBCXX_BUILD_DEBUG_TRUE='#'
65335 GLIBCXX_BUILD_DEBUG_FALSE=
65339 if test $enable_parallel = yes; then
65340 ENABLE_PARALLEL_TRUE=
65341 ENABLE_PARALLEL_FALSE='#'
65342 else
65343 ENABLE_PARALLEL_TRUE='#'
65344 ENABLE_PARALLEL_FALSE=
65348 if test $enable_symvers != no; then
65349 ENABLE_SYMVERS_TRUE=
65350 ENABLE_SYMVERS_FALSE='#'
65351 else
65352 ENABLE_SYMVERS_TRUE='#'
65353 ENABLE_SYMVERS_FALSE=
65357 if test $enable_symvers = gnu; then
65358 ENABLE_SYMVERS_GNU_TRUE=
65359 ENABLE_SYMVERS_GNU_FALSE='#'
65360 else
65361 ENABLE_SYMVERS_GNU_TRUE='#'
65362 ENABLE_SYMVERS_GNU_FALSE=
65366 if test $enable_symvers = gnu-versioned-namespace; then
65367 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
65368 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
65369 else
65370 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
65371 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
65375 if test $enable_symvers = darwin; then
65376 ENABLE_SYMVERS_DARWIN_TRUE=
65377 ENABLE_SYMVERS_DARWIN_FALSE='#'
65378 else
65379 ENABLE_SYMVERS_DARWIN_TRUE='#'
65380 ENABLE_SYMVERS_DARWIN_FALSE=
65384 if test $enable_symvers = sun; then
65385 ENABLE_SYMVERS_SUN_TRUE=
65386 ENABLE_SYMVERS_SUN_FALSE='#'
65387 else
65388 ENABLE_SYMVERS_SUN_TRUE='#'
65389 ENABLE_SYMVERS_SUN_FALSE=
65393 if test $symvers_renaming = no; then
65394 ENABLE_SYMVERS_SOL2_TRUE=
65395 ENABLE_SYMVERS_SOL2_FALSE='#'
65396 else
65397 ENABLE_SYMVERS_SOL2_TRUE='#'
65398 ENABLE_SYMVERS_SOL2_FALSE=
65402 if test $enable_visibility = yes; then
65403 ENABLE_VISIBILITY_TRUE=
65404 ENABLE_VISIBILITY_FALSE='#'
65405 else
65406 ENABLE_VISIBILITY_TRUE='#'
65407 ENABLE_VISIBILITY_FALSE=
65411 if test $ac_ldbl_compat = yes; then
65412 GLIBCXX_LDBL_COMPAT_TRUE=
65413 GLIBCXX_LDBL_COMPAT_FALSE='#'
65414 else
65415 GLIBCXX_LDBL_COMPAT_TRUE='#'
65416 GLIBCXX_LDBL_COMPAT_FALSE=
65422 cat >confcache <<\_ACEOF
65423 # This file is a shell script that caches the results of configure
65424 # tests run on this system so they can be shared between configure
65425 # scripts and configure runs, see configure's option --config-cache.
65426 # It is not useful on other systems. If it contains results you don't
65427 # want to keep, you may remove or edit it.
65429 # config.status only pays attention to the cache file if you give it
65430 # the --recheck option to rerun configure.
65432 # `ac_cv_env_foo' variables (set or unset) will be overridden when
65433 # loading this file, other *unset* `ac_cv_foo' will be assigned the
65434 # following values.
65436 _ACEOF
65438 # The following way of writing the cache mishandles newlines in values,
65439 # but we know of no workaround that is simple, portable, and efficient.
65440 # So, we kill variables containing newlines.
65441 # Ultrix sh set writes to stderr and can't be redirected directly,
65442 # and sets the high bit in the cache file unless we assign to the vars.
65444 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
65445 eval ac_val=\$$ac_var
65446 case $ac_val in #(
65447 *${as_nl}*)
65448 case $ac_var in #(
65449 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
65450 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
65451 esac
65452 case $ac_var in #(
65453 _ | IFS | as_nl) ;; #(
65454 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
65455 *) { eval $ac_var=; unset $ac_var;} ;;
65456 esac ;;
65457 esac
65458 done
65460 (set) 2>&1 |
65461 case $as_nl`(ac_space=' '; set) 2>&1` in #(
65462 *${as_nl}ac_space=\ *)
65463 # `set' does not quote correctly, so add quotes: double-quote
65464 # substitution turns \\\\ into \\, and sed turns \\ into \.
65465 sed -n \
65466 "s/'/'\\\\''/g;
65467 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
65468 ;; #(
65470 # `set' quotes correctly as required by POSIX, so do not add quotes.
65471 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
65473 esac |
65474 sort
65476 sed '
65477 /^ac_cv_env_/b end
65478 t clear
65479 :clear
65480 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
65481 t end
65482 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
65483 :end' >>confcache
65484 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
65485 if test -w "$cache_file"; then
65486 test "x$cache_file" != "x/dev/null" &&
65487 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
65488 $as_echo "$as_me: updating cache $cache_file" >&6;}
65489 cat confcache >$cache_file
65490 else
65491 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
65492 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
65495 rm -f confcache
65497 if test ${multilib} = yes; then
65498 multilib_arg="--enable-multilib"
65499 else
65500 multilib_arg=
65503 # Export all the install information.
65505 glibcxx_toolexecdir=no
65506 glibcxx_toolexeclibdir=no
65507 glibcxx_prefixdir=$prefix
65509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
65510 $as_echo_n "checking for gxx-include-dir... " >&6; }
65512 # Check whether --with-gxx-include-dir was given.
65513 if test "${with_gxx_include_dir+set}" = set; then :
65514 withval=$with_gxx_include_dir; case "$withval" in
65515 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
65516 no) gxx_include_dir=no ;;
65517 *) gxx_include_dir=$withval ;;
65518 esac
65519 else
65520 gxx_include_dir=no
65523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
65524 $as_echo "$gxx_include_dir" >&6; }
65526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
65527 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
65528 # Check whether --enable-version-specific-runtime-libs was given.
65529 if test "${enable_version_specific_runtime_libs+set}" = set; then :
65530 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
65531 yes) version_specific_libs=yes ;;
65532 no) version_specific_libs=no ;;
65533 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
65534 esac
65535 else
65536 version_specific_libs=no
65539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
65540 $as_echo "$version_specific_libs" >&6; }
65542 # Default case for install directory for include files.
65543 if test $version_specific_libs = no && test $gxx_include_dir = no; then
65544 gxx_include_dir='include/c++/${gcc_version}'
65545 if test -n "$with_cross_host" &&
65546 test x"$with_cross_host" != x"no"; then
65547 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
65548 else
65549 gxx_include_dir='${prefix}/'"$gxx_include_dir"
65553 # Version-specific runtime libs processing.
65554 if test $version_specific_libs = yes; then
65555 # Need the gcc compiler version to know where to install libraries
65556 # and header files if --enable-version-specific-runtime-libs option
65557 # is selected. FIXME: these variables are misnamed, there are
65558 # no executables installed in _toolexecdir or _toolexeclibdir.
65559 if test x"$gxx_include_dir" = x"no"; then
65560 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
65562 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
65563 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
65566 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
65567 # Install a library built with a cross compiler in tooldir, not libdir.
65568 if test x"$glibcxx_toolexecdir" = x"no"; then
65569 if test -n "$with_cross_host" &&
65570 test x"$with_cross_host" != x"no"; then
65571 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
65572 glibcxx_toolexeclibdir='${toolexecdir}/lib'
65573 else
65574 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
65575 glibcxx_toolexeclibdir='${libdir}'
65577 multi_os_directory=`$CXX -print-multi-os-directory`
65578 case $multi_os_directory in
65579 .) ;; # Avoid trailing /.
65580 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
65581 esac
65584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
65585 $as_echo_n "checking for install location... " >&6; }
65586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
65587 $as_echo "$gxx_include_dir" >&6; }
65595 # Export all the include and flag information to Makefiles.
65597 # Used for every C++ compile we perform.
65598 GLIBCXX_INCLUDES="\
65599 -I$glibcxx_builddir/include/$host_alias \
65600 -I$glibcxx_builddir/include \
65601 -I$glibcxx_srcdir/libsupc++"
65603 # For Canadian crosses, pick this up too.
65604 if test $CANADIAN = yes; then
65605 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
65608 # Stuff in the actual top level. Currently only used by libsupc++ to
65609 # get unwind* headers from the gcc dir.
65610 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
65611 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
65613 # Now, export this to all the little Makefiles....
65618 # Optimization flags that are probably a good idea for thrill-seekers. Just
65619 # uncomment the lines below and make, everything else is ready to go...
65620 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
65621 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
65624 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
65628 if test "$enable_shared" = yes; then
65629 LIBSUPCXX_PICFLAGS="-prefer-pic"
65630 else
65631 LIBSUPCXX_PICFLAGS=
65635 ac_config_files="$ac_config_files Makefile"
65637 ac_config_files="$ac_config_files scripts/testsuite_flags"
65639 ac_config_files="$ac_config_files scripts/extract_symvers"
65642 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
65643 # that multilib installs will end up installed in the correct place.
65644 # The testsuite needs it for multilib-aware ABI baseline files.
65645 # To work around this not being passed down from config-ml.in ->
65646 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
65647 # append it here. Only modify Makefiles that have just been created.
65649 # Also, get rid of this simulated-VPATH thing that automake does.
65650 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
65653 ac_config_commands="$ac_config_commands generate-headers"
65656 cat >confcache <<\_ACEOF
65657 # This file is a shell script that caches the results of configure
65658 # tests run on this system so they can be shared between configure
65659 # scripts and configure runs, see configure's option --config-cache.
65660 # It is not useful on other systems. If it contains results you don't
65661 # want to keep, you may remove or edit it.
65663 # config.status only pays attention to the cache file if you give it
65664 # the --recheck option to rerun configure.
65666 # `ac_cv_env_foo' variables (set or unset) will be overridden when
65667 # loading this file, other *unset* `ac_cv_foo' will be assigned the
65668 # following values.
65670 _ACEOF
65672 # The following way of writing the cache mishandles newlines in values,
65673 # but we know of no workaround that is simple, portable, and efficient.
65674 # So, we kill variables containing newlines.
65675 # Ultrix sh set writes to stderr and can't be redirected directly,
65676 # and sets the high bit in the cache file unless we assign to the vars.
65678 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
65679 eval ac_val=\$$ac_var
65680 case $ac_val in #(
65681 *${as_nl}*)
65682 case $ac_var in #(
65683 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
65684 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
65685 esac
65686 case $ac_var in #(
65687 _ | IFS | as_nl) ;; #(
65688 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
65689 *) { eval $ac_var=; unset $ac_var;} ;;
65690 esac ;;
65691 esac
65692 done
65694 (set) 2>&1 |
65695 case $as_nl`(ac_space=' '; set) 2>&1` in #(
65696 *${as_nl}ac_space=\ *)
65697 # `set' does not quote correctly, so add quotes: double-quote
65698 # substitution turns \\\\ into \\, and sed turns \\ into \.
65699 sed -n \
65700 "s/'/'\\\\''/g;
65701 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
65702 ;; #(
65704 # `set' quotes correctly as required by POSIX, so do not add quotes.
65705 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
65707 esac |
65708 sort
65710 sed '
65711 /^ac_cv_env_/b end
65712 t clear
65713 :clear
65714 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
65715 t end
65716 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
65717 :end' >>confcache
65718 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
65719 if test -w "$cache_file"; then
65720 test "x$cache_file" != "x/dev/null" &&
65721 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
65722 $as_echo "$as_me: updating cache $cache_file" >&6;}
65723 cat confcache >$cache_file
65724 else
65725 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
65726 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
65729 rm -f confcache
65731 test "x$prefix" = xNONE && prefix=$ac_default_prefix
65732 # Let make expand exec_prefix.
65733 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
65735 DEFS=-DHAVE_CONFIG_H
65737 ac_libobjs=
65738 ac_ltlibobjs=
65739 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
65740 # 1. Remove the extension, and $U if already installed.
65741 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
65742 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
65743 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
65744 # will be set to the directory where LIBOBJS objects are built.
65745 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
65746 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
65747 done
65748 LIBOBJS=$ac_libobjs
65750 LTLIBOBJS=$ac_ltlibobjs
65753 if test -n "$EXEEXT"; then
65754 am__EXEEXT_TRUE=
65755 am__EXEEXT_FALSE='#'
65756 else
65757 am__EXEEXT_TRUE='#'
65758 am__EXEEXT_FALSE=
65761 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
65762 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
65763 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65765 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
65766 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
65767 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65769 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
65770 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
65771 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65773 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
65774 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
65775 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65777 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
65778 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
65779 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65781 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
65782 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
65783 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65785 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
65786 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
65787 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65789 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
65790 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
65791 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65793 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
65794 as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
65795 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65797 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
65798 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
65799 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65801 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
65802 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
65803 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65805 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
65806 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
65807 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65809 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
65810 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
65811 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65813 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
65814 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
65815 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65817 if test -z "${ENABLE_SYMVERS_SOL2_TRUE}" && test -z "${ENABLE_SYMVERS_SOL2_FALSE}"; then
65818 as_fn_error "conditional \"ENABLE_SYMVERS_SOL2\" was never defined.
65819 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65821 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
65822 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
65823 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65825 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
65826 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
65827 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65829 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
65830 as_fn_error "conditional \"BUILD_INFO\" was never defined.
65831 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65833 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
65834 as_fn_error "conditional \"BUILD_XML\" was never defined.
65835 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65837 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
65838 as_fn_error "conditional \"BUILD_HTML\" was never defined.
65839 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65841 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
65842 as_fn_error "conditional \"BUILD_MAN\" was never defined.
65843 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65845 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
65846 as_fn_error "conditional \"BUILD_PDF\" was never defined.
65847 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65849 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
65850 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
65851 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65854 : ${CONFIG_STATUS=./config.status}
65855 ac_write_fail=0
65856 ac_clean_files_save=$ac_clean_files
65857 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
65858 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
65859 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
65860 as_write_fail=0
65861 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
65862 #! $SHELL
65863 # Generated by $as_me.
65864 # Run this file to recreate the current configuration.
65865 # Compiler output produced by configure, useful for debugging
65866 # configure, is in config.log if it exists.
65868 debug=false
65869 ac_cs_recheck=false
65870 ac_cs_silent=false
65872 SHELL=\${CONFIG_SHELL-$SHELL}
65873 export SHELL
65874 _ASEOF
65875 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
65876 ## -------------------- ##
65877 ## M4sh Initialization. ##
65878 ## -------------------- ##
65880 # Be more Bourne compatible
65881 DUALCASE=1; export DUALCASE # for MKS sh
65882 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
65883 emulate sh
65884 NULLCMD=:
65885 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
65886 # is contrary to our usage. Disable this feature.
65887 alias -g '${1+"$@"}'='"$@"'
65888 setopt NO_GLOB_SUBST
65889 else
65890 case `(set -o) 2>/dev/null` in #(
65891 *posix*) :
65892 set -o posix ;; #(
65893 *) :
65895 esac
65899 as_nl='
65901 export as_nl
65902 # Printing a long string crashes Solaris 7 /usr/bin/printf.
65903 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
65904 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
65905 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
65906 # Prefer a ksh shell builtin over an external printf program on Solaris,
65907 # but without wasting forks for bash or zsh.
65908 if test -z "$BASH_VERSION$ZSH_VERSION" \
65909 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
65910 as_echo='print -r --'
65911 as_echo_n='print -rn --'
65912 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
65913 as_echo='printf %s\n'
65914 as_echo_n='printf %s'
65915 else
65916 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
65917 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
65918 as_echo_n='/usr/ucb/echo -n'
65919 else
65920 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
65921 as_echo_n_body='eval
65922 arg=$1;
65923 case $arg in #(
65924 *"$as_nl"*)
65925 expr "X$arg" : "X\\(.*\\)$as_nl";
65926 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65927 esac;
65928 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65930 export as_echo_n_body
65931 as_echo_n='sh -c $as_echo_n_body as_echo'
65933 export as_echo_body
65934 as_echo='sh -c $as_echo_body as_echo'
65937 # The user is always right.
65938 if test "${PATH_SEPARATOR+set}" != set; then
65939 PATH_SEPARATOR=:
65940 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
65941 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
65942 PATH_SEPARATOR=';'
65947 # IFS
65948 # We need space, tab and new line, in precisely that order. Quoting is
65949 # there to prevent editors from complaining about space-tab.
65950 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65951 # splitting by setting IFS to empty value.)
65952 IFS=" "" $as_nl"
65954 # Find who we are. Look in the path if we contain no directory separator.
65955 case $0 in #((
65956 *[\\/]* ) as_myself=$0 ;;
65957 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65958 for as_dir in $PATH
65960 IFS=$as_save_IFS
65961 test -z "$as_dir" && as_dir=.
65962 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
65963 done
65964 IFS=$as_save_IFS
65967 esac
65968 # We did not find ourselves, most probably we were run as `sh COMMAND'
65969 # in which case we are not to be found in the path.
65970 if test "x$as_myself" = x; then
65971 as_myself=$0
65973 if test ! -f "$as_myself"; then
65974 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
65975 exit 1
65978 # Unset variables that we do not need and which cause bugs (e.g. in
65979 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
65980 # suppresses any "Segmentation fault" message there. '((' could
65981 # trigger a bug in pdksh 5.2.14.
65982 for as_var in BASH_ENV ENV MAIL MAILPATH
65983 do eval test x\${$as_var+set} = xset \
65984 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
65985 done
65986 PS1='$ '
65987 PS2='> '
65988 PS4='+ '
65990 # NLS nuisances.
65991 LC_ALL=C
65992 export LC_ALL
65993 LANGUAGE=C
65994 export LANGUAGE
65996 # CDPATH.
65997 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
66000 # as_fn_error ERROR [LINENO LOG_FD]
66001 # ---------------------------------
66002 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
66003 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
66004 # script with status $?, using 1 if that was 0.
66005 as_fn_error ()
66007 as_status=$?; test $as_status -eq 0 && as_status=1
66008 if test "$3"; then
66009 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
66010 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
66012 $as_echo "$as_me: error: $1" >&2
66013 as_fn_exit $as_status
66014 } # as_fn_error
66017 # as_fn_set_status STATUS
66018 # -----------------------
66019 # Set $? to STATUS, without forking.
66020 as_fn_set_status ()
66022 return $1
66023 } # as_fn_set_status
66025 # as_fn_exit STATUS
66026 # -----------------
66027 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
66028 as_fn_exit ()
66030 set +e
66031 as_fn_set_status $1
66032 exit $1
66033 } # as_fn_exit
66035 # as_fn_unset VAR
66036 # ---------------
66037 # Portably unset VAR.
66038 as_fn_unset ()
66040 { eval $1=; unset $1;}
66042 as_unset=as_fn_unset
66043 # as_fn_append VAR VALUE
66044 # ----------------------
66045 # Append the text in VALUE to the end of the definition contained in VAR. Take
66046 # advantage of any shell optimizations that allow amortized linear growth over
66047 # repeated appends, instead of the typical quadratic growth present in naive
66048 # implementations.
66049 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
66050 eval 'as_fn_append ()
66052 eval $1+=\$2
66054 else
66055 as_fn_append ()
66057 eval $1=\$$1\$2
66059 fi # as_fn_append
66061 # as_fn_arith ARG...
66062 # ------------------
66063 # Perform arithmetic evaluation on the ARGs, and store the result in the
66064 # global $as_val. Take advantage of shells that can avoid forks. The arguments
66065 # must be portable across $(()) and expr.
66066 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
66067 eval 'as_fn_arith ()
66069 as_val=$(( $* ))
66071 else
66072 as_fn_arith ()
66074 as_val=`expr "$@" || test $? -eq 1`
66076 fi # as_fn_arith
66079 if expr a : '\(a\)' >/dev/null 2>&1 &&
66080 test "X`expr 00001 : '.*\(...\)'`" = X001; then
66081 as_expr=expr
66082 else
66083 as_expr=false
66086 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
66087 as_basename=basename
66088 else
66089 as_basename=false
66092 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
66093 as_dirname=dirname
66094 else
66095 as_dirname=false
66098 as_me=`$as_basename -- "$0" ||
66099 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66100 X"$0" : 'X\(//\)$' \| \
66101 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
66102 $as_echo X/"$0" |
66103 sed '/^.*\/\([^/][^/]*\)\/*$/{
66104 s//\1/
66107 /^X\/\(\/\/\)$/{
66108 s//\1/
66111 /^X\/\(\/\).*/{
66112 s//\1/
66115 s/.*/./; q'`
66117 # Avoid depending upon Character Ranges.
66118 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
66119 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
66120 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
66121 as_cr_digits='0123456789'
66122 as_cr_alnum=$as_cr_Letters$as_cr_digits
66124 ECHO_C= ECHO_N= ECHO_T=
66125 case `echo -n x` in #(((((
66126 -n*)
66127 case `echo 'xy\c'` in
66128 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
66129 xy) ECHO_C='\c';;
66130 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
66131 ECHO_T=' ';;
66132 esac;;
66134 ECHO_N='-n';;
66135 esac
66137 rm -f conf$$ conf$$.exe conf$$.file
66138 if test -d conf$$.dir; then
66139 rm -f conf$$.dir/conf$$.file
66140 else
66141 rm -f conf$$.dir
66142 mkdir conf$$.dir 2>/dev/null
66144 if (echo >conf$$.file) 2>/dev/null; then
66145 if ln -s conf$$.file conf$$ 2>/dev/null; then
66146 as_ln_s='ln -s'
66147 # ... but there are two gotchas:
66148 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
66149 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
66150 # In both cases, we have to default to `cp -p'.
66151 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
66152 as_ln_s='cp -p'
66153 elif ln conf$$.file conf$$ 2>/dev/null; then
66154 as_ln_s=ln
66155 else
66156 as_ln_s='cp -p'
66158 else
66159 as_ln_s='cp -p'
66161 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
66162 rmdir conf$$.dir 2>/dev/null
66165 # as_fn_mkdir_p
66166 # -------------
66167 # Create "$as_dir" as a directory, including parents if necessary.
66168 as_fn_mkdir_p ()
66171 case $as_dir in #(
66172 -*) as_dir=./$as_dir;;
66173 esac
66174 test -d "$as_dir" || eval $as_mkdir_p || {
66175 as_dirs=
66176 while :; do
66177 case $as_dir in #(
66178 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
66179 *) as_qdir=$as_dir;;
66180 esac
66181 as_dirs="'$as_qdir' $as_dirs"
66182 as_dir=`$as_dirname -- "$as_dir" ||
66183 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
66184 X"$as_dir" : 'X\(//\)[^/]' \| \
66185 X"$as_dir" : 'X\(//\)$' \| \
66186 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
66187 $as_echo X"$as_dir" |
66188 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
66189 s//\1/
66192 /^X\(\/\/\)[^/].*/{
66193 s//\1/
66196 /^X\(\/\/\)$/{
66197 s//\1/
66200 /^X\(\/\).*/{
66201 s//\1/
66204 s/.*/./; q'`
66205 test -d "$as_dir" && break
66206 done
66207 test -z "$as_dirs" || eval "mkdir $as_dirs"
66208 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
66211 } # as_fn_mkdir_p
66212 if mkdir -p . 2>/dev/null; then
66213 as_mkdir_p='mkdir -p "$as_dir"'
66214 else
66215 test -d ./-p && rmdir ./-p
66216 as_mkdir_p=false
66219 if test -x / >/dev/null 2>&1; then
66220 as_test_x='test -x'
66221 else
66222 if ls -dL / >/dev/null 2>&1; then
66223 as_ls_L_option=L
66224 else
66225 as_ls_L_option=
66227 as_test_x='
66228 eval sh -c '\''
66229 if test -d "$1"; then
66230 test -d "$1/.";
66231 else
66232 case $1 in #(
66233 -*)set "./$1";;
66234 esac;
66235 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
66236 ???[sx]*):;;*)false;;esac;fi
66237 '\'' sh
66240 as_executable_p=$as_test_x
66242 # Sed expression to map a string onto a valid CPP name.
66243 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
66245 # Sed expression to map a string onto a valid variable name.
66246 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
66249 exec 6>&1
66250 ## ----------------------------------- ##
66251 ## Main body of $CONFIG_STATUS script. ##
66252 ## ----------------------------------- ##
66253 _ASEOF
66254 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
66256 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66257 # Save the log message, to keep $0 and so on meaningful, and to
66258 # report actual input values of CONFIG_FILES etc. instead of their
66259 # values after options handling.
66260 ac_log="
66261 This file was extended by package-unused $as_me version-unused, which was
66262 generated by GNU Autoconf 2.64. Invocation command line was
66264 CONFIG_FILES = $CONFIG_FILES
66265 CONFIG_HEADERS = $CONFIG_HEADERS
66266 CONFIG_LINKS = $CONFIG_LINKS
66267 CONFIG_COMMANDS = $CONFIG_COMMANDS
66268 $ $0 $@
66270 on `(hostname || uname -n) 2>/dev/null | sed 1q`
66273 _ACEOF
66275 case $ac_config_files in *"
66276 "*) set x $ac_config_files; shift; ac_config_files=$*;;
66277 esac
66279 case $ac_config_headers in *"
66280 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
66281 esac
66284 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66285 # Files that config.status was made for.
66286 config_files="$ac_config_files"
66287 config_headers="$ac_config_headers"
66288 config_commands="$ac_config_commands"
66290 _ACEOF
66292 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66293 ac_cs_usage="\
66294 \`$as_me' instantiates files and other configuration actions
66295 from templates according to the current configuration. Unless the files
66296 and actions are specified as TAGs, all are instantiated by default.
66298 Usage: $0 [OPTION]... [TAG]...
66300 -h, --help print this help, then exit
66301 -V, --version print version number and configuration settings, then exit
66302 -q, --quiet, --silent
66303 do not print progress messages
66304 -d, --debug don't remove temporary files
66305 --recheck update $as_me by reconfiguring in the same conditions
66306 --file=FILE[:TEMPLATE]
66307 instantiate the configuration file FILE
66308 --header=FILE[:TEMPLATE]
66309 instantiate the configuration header FILE
66311 Configuration files:
66312 $config_files
66314 Configuration headers:
66315 $config_headers
66317 Configuration commands:
66318 $config_commands
66320 Report bugs to the package provider."
66322 _ACEOF
66323 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66324 ac_cs_version="\\
66325 package-unused config.status version-unused
66326 configured by $0, generated by GNU Autoconf 2.64,
66327 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
66329 Copyright (C) 2009 Free Software Foundation, Inc.
66330 This config.status script is free software; the Free Software Foundation
66331 gives unlimited permission to copy, distribute and modify it."
66333 ac_pwd='$ac_pwd'
66334 srcdir='$srcdir'
66335 INSTALL='$INSTALL'
66336 MKDIR_P='$MKDIR_P'
66337 AWK='$AWK'
66338 test -n "\$AWK" || AWK=awk
66339 _ACEOF
66341 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66342 # The default lists apply if the user does not specify any file.
66343 ac_need_defaults=:
66344 while test $# != 0
66346 case $1 in
66347 --*=*)
66348 ac_option=`expr "X$1" : 'X\([^=]*\)='`
66349 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
66350 ac_shift=:
66353 ac_option=$1
66354 ac_optarg=$2
66355 ac_shift=shift
66357 esac
66359 case $ac_option in
66360 # Handling of the options.
66361 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
66362 ac_cs_recheck=: ;;
66363 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
66364 $as_echo "$ac_cs_version"; exit ;;
66365 --debug | --debu | --deb | --de | --d | -d )
66366 debug=: ;;
66367 --file | --fil | --fi | --f )
66368 $ac_shift
66369 case $ac_optarg in
66370 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
66371 esac
66372 as_fn_append CONFIG_FILES " '$ac_optarg'"
66373 ac_need_defaults=false;;
66374 --header | --heade | --head | --hea )
66375 $ac_shift
66376 case $ac_optarg in
66377 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
66378 esac
66379 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
66380 ac_need_defaults=false;;
66381 --he | --h)
66382 # Conflict between --help and --header
66383 as_fn_error "ambiguous option: \`$1'
66384 Try \`$0 --help' for more information.";;
66385 --help | --hel | -h )
66386 $as_echo "$ac_cs_usage"; exit ;;
66387 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
66388 | -silent | --silent | --silen | --sile | --sil | --si | --s)
66389 ac_cs_silent=: ;;
66391 # This is an error.
66392 -*) as_fn_error "unrecognized option: \`$1'
66393 Try \`$0 --help' for more information." ;;
66395 *) as_fn_append ac_config_targets " $1"
66396 ac_need_defaults=false ;;
66398 esac
66399 shift
66400 done
66402 ac_configure_extra_args=
66404 if $ac_cs_silent; then
66405 exec 6>/dev/null
66406 ac_configure_extra_args="$ac_configure_extra_args --silent"
66409 _ACEOF
66410 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66411 if \$ac_cs_recheck; then
66412 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
66413 shift
66414 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
66415 CONFIG_SHELL='$SHELL'
66416 export CONFIG_SHELL
66417 exec "\$@"
66420 _ACEOF
66421 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66422 exec 5>>config.log
66424 echo
66425 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
66426 ## Running $as_me. ##
66427 _ASBOX
66428 $as_echo "$ac_log"
66429 } >&5
66431 _ACEOF
66432 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66434 # INIT-COMMANDS
66437 srcdir="$srcdir"
66438 host="$host"
66439 target="$target"
66440 with_multisubdir="$with_multisubdir"
66441 with_multisrctop="$with_multisrctop"
66442 with_target_subdir="$with_target_subdir"
66443 ac_configure_args="${multilib_arg} ${ac_configure_args}"
66444 multi_basedir="$multi_basedir"
66445 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
66446 CC="$CC"
66447 CXX="$CXX"
66448 GFORTRAN="$GFORTRAN"
66449 GCJ="$GCJ"
66452 # The HP-UX ksh and POSIX shell print the target directory to stdout
66453 # if CDPATH is set.
66454 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
66456 sed_quote_subst='$sed_quote_subst'
66457 double_quote_subst='$double_quote_subst'
66458 delay_variable_subst='$delay_variable_subst'
66459 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
66460 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
66461 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
66462 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
66463 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
66464 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
66465 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
66466 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
66467 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
66468 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
66469 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
66470 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
66471 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
66472 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
66473 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
66474 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
66475 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
66476 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
66477 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
66478 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
66479 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
66480 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
66481 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
66482 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
66483 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
66484 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
66485 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
66486 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
66487 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
66488 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
66489 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
66490 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
66491 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
66492 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
66493 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
66494 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
66495 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
66496 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
66497 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
66498 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
66499 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
66500 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
66501 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
66502 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
66503 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
66504 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
66505 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
66506 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
66507 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"`'
66508 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
66509 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
66510 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
66511 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
66512 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
66513 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
66514 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
66515 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
66516 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
66517 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
66518 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
66519 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
66520 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
66521 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
66522 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
66523 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
66524 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
66525 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
66526 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
66527 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
66528 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
66529 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
66530 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
66531 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
66532 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
66533 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
66534 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
66535 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
66536 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
66537 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
66538 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
66539 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
66540 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
66541 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
66542 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
66543 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
66544 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
66545 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
66546 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
66547 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
66548 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
66549 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
66550 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
66551 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
66552 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
66553 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
66554 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
66555 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
66556 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
66557 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
66558 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
66559 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
66560 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
66561 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
66562 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
66563 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
66564 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
66565 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
66566 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
66567 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
66568 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
66569 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
66570 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
66571 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
66572 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
66573 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
66574 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
66575 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
66576 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
66577 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
66578 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
66579 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
66580 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
66581 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
66582 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
66583 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
66584 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
66585 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
66586 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
66587 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66588 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66589 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
66590 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
66591 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
66592 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
66593 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
66594 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
66595 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
66596 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
66597 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
66598 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
66599 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
66600 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
66601 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66602 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66603 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66604 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66605 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66606 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66607 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
66608 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
66609 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
66610 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
66611 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
66612 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
66613 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
66614 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
66615 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
66616 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
66617 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
66618 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
66619 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
66620 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
66621 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
66622 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66623 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
66624 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
66625 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66626 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
66627 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
66628 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
66629 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
66630 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
66631 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
66632 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
66633 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
66635 LTCC='$LTCC'
66636 LTCFLAGS='$LTCFLAGS'
66637 compiler='$compiler_DEFAULT'
66639 # A function that is used when there is no print builtin or printf.
66640 func_fallback_echo ()
66642 eval 'cat <<_LTECHO_EOF
66644 _LTECHO_EOF'
66647 # Quote evaled strings.
66648 for var in SHELL \
66649 ECHO \
66650 SED \
66651 GREP \
66652 EGREP \
66653 FGREP \
66654 LD \
66655 NM \
66656 LN_S \
66657 lt_SP2NL \
66658 lt_NL2SP \
66659 reload_flag \
66660 OBJDUMP \
66661 deplibs_check_method \
66662 file_magic_cmd \
66663 AR \
66664 AR_FLAGS \
66665 STRIP \
66666 RANLIB \
66667 CC \
66668 CFLAGS \
66669 compiler \
66670 lt_cv_sys_global_symbol_pipe \
66671 lt_cv_sys_global_symbol_to_cdecl \
66672 lt_cv_sys_global_symbol_to_c_name_address \
66673 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
66674 lt_prog_compiler_no_builtin_flag \
66675 lt_prog_compiler_wl \
66676 lt_prog_compiler_pic \
66677 lt_prog_compiler_static \
66678 lt_cv_prog_compiler_c_o \
66679 need_locks \
66680 DSYMUTIL \
66681 NMEDIT \
66682 LIPO \
66683 OTOOL \
66684 OTOOL64 \
66685 shrext_cmds \
66686 export_dynamic_flag_spec \
66687 whole_archive_flag_spec \
66688 compiler_needs_object \
66689 with_gnu_ld \
66690 allow_undefined_flag \
66691 no_undefined_flag \
66692 hardcode_libdir_flag_spec \
66693 hardcode_libdir_flag_spec_ld \
66694 hardcode_libdir_separator \
66695 fix_srcfile_path \
66696 exclude_expsyms \
66697 include_expsyms \
66698 file_list_spec \
66699 variables_saved_for_relink \
66700 libname_spec \
66701 library_names_spec \
66702 soname_spec \
66703 install_override_mode \
66704 finish_eval \
66705 old_striplib \
66706 striplib \
66707 compiler_lib_search_dirs \
66708 predep_objects \
66709 postdep_objects \
66710 predeps \
66711 postdeps \
66712 compiler_lib_search_path \
66713 LD_CXX \
66714 reload_flag_CXX \
66715 compiler_CXX \
66716 lt_prog_compiler_no_builtin_flag_CXX \
66717 lt_prog_compiler_wl_CXX \
66718 lt_prog_compiler_pic_CXX \
66719 lt_prog_compiler_static_CXX \
66720 lt_cv_prog_compiler_c_o_CXX \
66721 export_dynamic_flag_spec_CXX \
66722 whole_archive_flag_spec_CXX \
66723 compiler_needs_object_CXX \
66724 with_gnu_ld_CXX \
66725 allow_undefined_flag_CXX \
66726 no_undefined_flag_CXX \
66727 hardcode_libdir_flag_spec_CXX \
66728 hardcode_libdir_flag_spec_ld_CXX \
66729 hardcode_libdir_separator_CXX \
66730 fix_srcfile_path_CXX \
66731 exclude_expsyms_CXX \
66732 include_expsyms_CXX \
66733 file_list_spec_CXX \
66734 compiler_lib_search_dirs_CXX \
66735 predep_objects_CXX \
66736 postdep_objects_CXX \
66737 predeps_CXX \
66738 postdeps_CXX \
66739 compiler_lib_search_path_CXX; do
66740 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
66741 *[\\\\\\\`\\"\\\$]*)
66742 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
66745 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
66747 esac
66748 done
66750 # Double-quote double-evaled strings.
66751 for var in reload_cmds \
66752 old_postinstall_cmds \
66753 old_postuninstall_cmds \
66754 old_archive_cmds \
66755 extract_expsyms_cmds \
66756 old_archive_from_new_cmds \
66757 old_archive_from_expsyms_cmds \
66758 archive_cmds \
66759 archive_expsym_cmds \
66760 module_cmds \
66761 module_expsym_cmds \
66762 export_symbols_cmds \
66763 prelink_cmds \
66764 postinstall_cmds \
66765 postuninstall_cmds \
66766 finish_cmds \
66767 sys_lib_search_path_spec \
66768 sys_lib_dlsearch_path_spec \
66769 reload_cmds_CXX \
66770 old_archive_cmds_CXX \
66771 old_archive_from_new_cmds_CXX \
66772 old_archive_from_expsyms_cmds_CXX \
66773 archive_cmds_CXX \
66774 archive_expsym_cmds_CXX \
66775 module_cmds_CXX \
66776 module_expsym_cmds_CXX \
66777 export_symbols_cmds_CXX \
66778 prelink_cmds_CXX; do
66779 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
66780 *[\\\\\\\`\\"\\\$]*)
66781 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
66784 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
66786 esac
66787 done
66789 ac_aux_dir='$ac_aux_dir'
66790 xsi_shell='$xsi_shell'
66791 lt_shell_append='$lt_shell_append'
66793 # See if we are running on zsh, and set the options which allow our
66794 # commands through without removal of \ escapes INIT.
66795 if test -n "\${ZSH_VERSION+set}" ; then
66796 setopt NO_GLOB_SUBST
66800 PACKAGE='$PACKAGE'
66801 VERSION='$VERSION'
66802 TIMESTAMP='$TIMESTAMP'
66803 RM='$RM'
66804 ofile='$ofile'
66811 GCC="$GCC"
66812 CC="$CC"
66813 acx_cv_header_stdint="$acx_cv_header_stdint"
66814 acx_cv_type_int8_t="$acx_cv_type_int8_t"
66815 acx_cv_type_int16_t="$acx_cv_type_int16_t"
66816 acx_cv_type_int32_t="$acx_cv_type_int32_t"
66817 acx_cv_type_int64_t="$acx_cv_type_int64_t"
66818 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
66819 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
66820 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
66821 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
66822 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
66823 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
66824 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
66825 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
66826 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
66829 _ACEOF
66831 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66833 # Handling of arguments.
66834 for ac_config_target in $ac_config_targets
66836 case $ac_config_target in
66837 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
66838 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
66839 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
66840 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
66841 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
66842 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
66843 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
66844 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
66845 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
66846 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
66847 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
66848 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
66849 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
66850 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
66851 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
66853 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
66854 esac
66855 done
66858 # If the user did not use the arguments to specify the items to instantiate,
66859 # then the envvar interface is used. Set only those that are not.
66860 # We use the long form for the default assignment because of an extremely
66861 # bizarre bug on SunOS 4.1.3.
66862 if $ac_need_defaults; then
66863 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
66864 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
66865 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
66868 # Have a temporary directory for convenience. Make it in the build tree
66869 # simply because there is no reason against having it here, and in addition,
66870 # creating and moving files from /tmp can sometimes cause problems.
66871 # Hook for its removal unless debugging.
66872 # Note that there is a small window in which the directory will not be cleaned:
66873 # after its creation but before its name has been assigned to `$tmp'.
66874 $debug ||
66876 tmp=
66877 trap 'exit_status=$?
66878 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
66880 trap 'as_fn_exit 1' 1 2 13 15
66882 # Create a (secure) tmp directory for tmp files.
66885 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
66886 test -n "$tmp" && test -d "$tmp"
66887 } ||
66889 tmp=./conf$$-$RANDOM
66890 (umask 077 && mkdir "$tmp")
66891 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
66893 # Set up the scripts for CONFIG_FILES section.
66894 # No need to generate them if there are no CONFIG_FILES.
66895 # This happens for instance with `./config.status config.h'.
66896 if test -n "$CONFIG_FILES"; then
66899 ac_cr=`echo X | tr X '\015'`
66900 # On cygwin, bash can eat \r inside `` if the user requested igncr.
66901 # But we know of no other shell where ac_cr would be empty at this
66902 # point, so we can use a bashism as a fallback.
66903 if test "x$ac_cr" = x; then
66904 eval ac_cr=\$\'\\r\'
66906 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
66907 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
66908 ac_cs_awk_cr='\r'
66909 else
66910 ac_cs_awk_cr=$ac_cr
66913 echo 'BEGIN {' >"$tmp/subs1.awk" &&
66914 _ACEOF
66918 echo "cat >conf$$subs.awk <<_ACEOF" &&
66919 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
66920 echo "_ACEOF"
66921 } >conf$$subs.sh ||
66922 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
66923 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
66924 ac_delim='%!_!# '
66925 for ac_last_try in false false false false false :; do
66926 . ./conf$$subs.sh ||
66927 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
66929 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
66930 if test $ac_delim_n = $ac_delim_num; then
66931 break
66932 elif $ac_last_try; then
66933 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
66934 else
66935 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
66937 done
66938 rm -f conf$$subs.sh
66940 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66941 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
66942 _ACEOF
66943 sed -n '
66945 s/^/S["/; s/!.*/"]=/
66948 s/^[^!]*!//
66949 :repl
66950 t repl
66951 s/'"$ac_delim"'$//
66952 t delim
66955 s/\(.\{148\}\).*/\1/
66956 t more1
66957 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
66960 b repl
66961 :more1
66962 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
66965 s/.\{148\}//
66966 t nl
66967 :delim
66969 s/\(.\{148\}\).*/\1/
66970 t more2
66971 s/["\\]/\\&/g; s/^/"/; s/$/"/
66974 :more2
66975 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
66978 s/.\{148\}//
66979 t delim
66980 ' <conf$$subs.awk | sed '
66981 /^[^""]/{
66983 s/\n//
66985 ' >>$CONFIG_STATUS || ac_write_fail=1
66986 rm -f conf$$subs.awk
66987 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66988 _ACAWK
66989 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
66990 for (key in S) S_is_set[key] = 1
66991 FS = "\a"
66995 line = $ 0
66996 nfields = split(line, field, "@")
66997 substed = 0
66998 len = length(field[1])
66999 for (i = 2; i < nfields; i++) {
67000 key = field[i]
67001 keylen = length(key)
67002 if (S_is_set[key]) {
67003 value = S[key]
67004 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
67005 len += length(value) + length(field[++i])
67006 substed = 1
67007 } else
67008 len += 1 + keylen
67011 print line
67014 _ACAWK
67015 _ACEOF
67016 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67017 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
67018 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
67019 else
67021 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
67022 || as_fn_error "could not setup config files machinery" "$LINENO" 5
67023 _ACEOF
67025 # VPATH may cause trouble with some makes, so we remove $(srcdir),
67026 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
67027 # trailing colons and then remove the whole line if VPATH becomes empty
67028 # (actually we leave an empty line to preserve line numbers).
67029 if test "x$srcdir" = x.; then
67030 ac_vpsub='/^[ ]*VPATH[ ]*=/{
67031 s/:*\$(srcdir):*/:/
67032 s/:*\${srcdir}:*/:/
67033 s/:*@srcdir@:*/:/
67034 s/^\([^=]*=[ ]*\):*/\1/
67035 s/:*$//
67036 s/^[^=]*=[ ]*$//
67040 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67041 fi # test -n "$CONFIG_FILES"
67043 # Set up the scripts for CONFIG_HEADERS section.
67044 # No need to generate them if there are no CONFIG_HEADERS.
67045 # This happens for instance with `./config.status Makefile'.
67046 if test -n "$CONFIG_HEADERS"; then
67047 cat >"$tmp/defines.awk" <<\_ACAWK ||
67048 BEGIN {
67049 _ACEOF
67051 # Transform confdefs.h into an awk script `defines.awk', embedded as
67052 # here-document in config.status, that substitutes the proper values into
67053 # config.h.in to produce config.h.
67055 # Create a delimiter string that does not exist in confdefs.h, to ease
67056 # handling of long lines.
67057 ac_delim='%!_!# '
67058 for ac_last_try in false false :; do
67059 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
67060 if test -z "$ac_t"; then
67061 break
67062 elif $ac_last_try; then
67063 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
67064 else
67065 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67067 done
67069 # For the awk script, D is an array of macro values keyed by name,
67070 # likewise P contains macro parameters if any. Preserve backslash
67071 # newline sequences.
67073 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
67074 sed -n '
67075 s/.\{148\}/&'"$ac_delim"'/g
67076 t rset
67077 :rset
67078 s/^[ ]*#[ ]*define[ ][ ]*/ /
67079 t def
67081 :def
67082 s/\\$//
67083 t bsnl
67084 s/["\\]/\\&/g
67085 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
67086 D["\1"]=" \3"/p
67087 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
67089 :bsnl
67090 s/["\\]/\\&/g
67091 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
67092 D["\1"]=" \3\\\\\\n"\\/p
67093 t cont
67094 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
67095 t cont
67097 :cont
67099 s/.\{148\}/&'"$ac_delim"'/g
67100 t clear
67101 :clear
67102 s/\\$//
67103 t bsnlc
67104 s/["\\]/\\&/g; s/^/"/; s/$/"/p
67106 :bsnlc
67107 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
67108 b cont
67109 ' <confdefs.h | sed '
67110 s/'"$ac_delim"'/"\\\
67111 "/g' >>$CONFIG_STATUS || ac_write_fail=1
67113 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67114 for (key in D) D_is_set[key] = 1
67115 FS = "\a"
67117 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
67118 line = \$ 0
67119 split(line, arg, " ")
67120 if (arg[1] == "#") {
67121 defundef = arg[2]
67122 mac1 = arg[3]
67123 } else {
67124 defundef = substr(arg[1], 2)
67125 mac1 = arg[2]
67127 split(mac1, mac2, "(") #)
67128 macro = mac2[1]
67129 prefix = substr(line, 1, index(line, defundef) - 1)
67130 if (D_is_set[macro]) {
67131 # Preserve the white space surrounding the "#".
67132 print prefix "define", macro P[macro] D[macro]
67133 next
67134 } else {
67135 # Replace #undef with comments. This is necessary, for example,
67136 # in the case of _POSIX_SOURCE, which is predefined and required
67137 # on some systems where configure will not decide to define it.
67138 if (defundef == "undef") {
67139 print "/*", prefix defundef, macro, "*/"
67140 next
67144 { print }
67145 _ACAWK
67146 _ACEOF
67147 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67148 as_fn_error "could not setup config headers machinery" "$LINENO" 5
67149 fi # test -n "$CONFIG_HEADERS"
67152 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
67153 shift
67154 for ac_tag
67156 case $ac_tag in
67157 :[FHLC]) ac_mode=$ac_tag; continue;;
67158 esac
67159 case $ac_mode$ac_tag in
67160 :[FHL]*:*);;
67161 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
67162 :[FH]-) ac_tag=-:-;;
67163 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
67164 esac
67165 ac_save_IFS=$IFS
67166 IFS=:
67167 set x $ac_tag
67168 IFS=$ac_save_IFS
67169 shift
67170 ac_file=$1
67171 shift
67173 case $ac_mode in
67174 :L) ac_source=$1;;
67175 :[FH])
67176 ac_file_inputs=
67177 for ac_f
67179 case $ac_f in
67180 -) ac_f="$tmp/stdin";;
67181 *) # Look for the file first in the build tree, then in the source tree
67182 # (if the path is not absolute). The absolute path cannot be DOS-style,
67183 # because $ac_f cannot contain `:'.
67184 test -f "$ac_f" ||
67185 case $ac_f in
67186 [\\/$]*) false;;
67187 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
67188 esac ||
67189 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
67190 esac
67191 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
67192 as_fn_append ac_file_inputs " '$ac_f'"
67193 done
67195 # Let's still pretend it is `configure' which instantiates (i.e., don't
67196 # use $as_me), people would be surprised to read:
67197 # /* config.h. Generated by config.status. */
67198 configure_input='Generated from '`
67199 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
67200 `' by configure.'
67201 if test x"$ac_file" != x-; then
67202 configure_input="$ac_file. $configure_input"
67203 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
67204 $as_echo "$as_me: creating $ac_file" >&6;}
67206 # Neutralize special characters interpreted by sed in replacement strings.
67207 case $configure_input in #(
67208 *\&* | *\|* | *\\* )
67209 ac_sed_conf_input=`$as_echo "$configure_input" |
67210 sed 's/[\\\\&|]/\\\\&/g'`;; #(
67211 *) ac_sed_conf_input=$configure_input;;
67212 esac
67214 case $ac_tag in
67215 *:-:* | *:-) cat >"$tmp/stdin" \
67216 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
67217 esac
67219 esac
67221 ac_dir=`$as_dirname -- "$ac_file" ||
67222 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67223 X"$ac_file" : 'X\(//\)[^/]' \| \
67224 X"$ac_file" : 'X\(//\)$' \| \
67225 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
67226 $as_echo X"$ac_file" |
67227 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67228 s//\1/
67231 /^X\(\/\/\)[^/].*/{
67232 s//\1/
67235 /^X\(\/\/\)$/{
67236 s//\1/
67239 /^X\(\/\).*/{
67240 s//\1/
67243 s/.*/./; q'`
67244 as_dir="$ac_dir"; as_fn_mkdir_p
67245 ac_builddir=.
67247 case "$ac_dir" in
67248 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
67250 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
67251 # A ".." for each directory in $ac_dir_suffix.
67252 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
67253 case $ac_top_builddir_sub in
67254 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
67255 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
67256 esac ;;
67257 esac
67258 ac_abs_top_builddir=$ac_pwd
67259 ac_abs_builddir=$ac_pwd$ac_dir_suffix
67260 # for backward compatibility:
67261 ac_top_builddir=$ac_top_build_prefix
67263 case $srcdir in
67264 .) # We are building in place.
67265 ac_srcdir=.
67266 ac_top_srcdir=$ac_top_builddir_sub
67267 ac_abs_top_srcdir=$ac_pwd ;;
67268 [\\/]* | ?:[\\/]* ) # Absolute name.
67269 ac_srcdir=$srcdir$ac_dir_suffix;
67270 ac_top_srcdir=$srcdir
67271 ac_abs_top_srcdir=$srcdir ;;
67272 *) # Relative name.
67273 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
67274 ac_top_srcdir=$ac_top_build_prefix$srcdir
67275 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
67276 esac
67277 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
67280 case $ac_mode in
67283 # CONFIG_FILE
67286 case $INSTALL in
67287 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
67288 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
67289 esac
67290 ac_MKDIR_P=$MKDIR_P
67291 case $MKDIR_P in
67292 [\\/$]* | ?:[\\/]* ) ;;
67293 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
67294 esac
67295 _ACEOF
67297 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67298 # If the template does not know about datarootdir, expand it.
67299 # FIXME: This hack should be removed a few years after 2.60.
67300 ac_datarootdir_hack=; ac_datarootdir_seen=
67301 ac_sed_dataroot='
67302 /datarootdir/ {
67306 /@datadir@/p
67307 /@docdir@/p
67308 /@infodir@/p
67309 /@localedir@/p
67310 /@mandir@/p'
67311 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
67312 *datarootdir*) ac_datarootdir_seen=yes;;
67313 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
67314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
67315 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
67316 _ACEOF
67317 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67318 ac_datarootdir_hack='
67319 s&@datadir@&$datadir&g
67320 s&@docdir@&$docdir&g
67321 s&@infodir@&$infodir&g
67322 s&@localedir@&$localedir&g
67323 s&@mandir@&$mandir&g
67324 s&\\\${datarootdir}&$datarootdir&g' ;;
67325 esac
67326 _ACEOF
67328 # Neutralize VPATH when `$srcdir' = `.'.
67329 # Shell code in configure.ac might set extrasub.
67330 # FIXME: do we really want to maintain this feature?
67331 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67332 ac_sed_extra="$ac_vpsub
67333 $extrasub
67334 _ACEOF
67335 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67337 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
67338 s|@configure_input@|$ac_sed_conf_input|;t t
67339 s&@top_builddir@&$ac_top_builddir_sub&;t t
67340 s&@top_build_prefix@&$ac_top_build_prefix&;t t
67341 s&@srcdir@&$ac_srcdir&;t t
67342 s&@abs_srcdir@&$ac_abs_srcdir&;t t
67343 s&@top_srcdir@&$ac_top_srcdir&;t t
67344 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
67345 s&@builddir@&$ac_builddir&;t t
67346 s&@abs_builddir@&$ac_abs_builddir&;t t
67347 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
67348 s&@INSTALL@&$ac_INSTALL&;t t
67349 s&@MKDIR_P@&$ac_MKDIR_P&;t t
67350 $ac_datarootdir_hack
67352 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
67353 || as_fn_error "could not create $ac_file" "$LINENO" 5
67355 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
67356 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
67357 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
67358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
67359 which seems to be undefined. Please make sure it is defined." >&5
67360 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
67361 which seems to be undefined. Please make sure it is defined." >&2;}
67363 rm -f "$tmp/stdin"
67364 case $ac_file in
67365 -) cat "$tmp/out" && rm -f "$tmp/out";;
67366 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
67367 esac \
67368 || as_fn_error "could not create $ac_file" "$LINENO" 5
67372 # CONFIG_HEADER
67374 if test x"$ac_file" != x-; then
67376 $as_echo "/* $configure_input */" \
67377 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
67378 } >"$tmp/config.h" \
67379 || as_fn_error "could not create $ac_file" "$LINENO" 5
67380 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
67381 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
67382 $as_echo "$as_me: $ac_file is unchanged" >&6;}
67383 else
67384 rm -f "$ac_file"
67385 mv "$tmp/config.h" "$ac_file" \
67386 || as_fn_error "could not create $ac_file" "$LINENO" 5
67388 else
67389 $as_echo "/* $configure_input */" \
67390 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
67391 || as_fn_error "could not create -" "$LINENO" 5
67393 # Compute "$ac_file"'s index in $config_headers.
67394 _am_arg="$ac_file"
67395 _am_stamp_count=1
67396 for _am_header in $config_headers :; do
67397 case $_am_header in
67398 $_am_arg | $_am_arg:* )
67399 break ;;
67401 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
67402 esac
67403 done
67404 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
67405 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67406 X"$_am_arg" : 'X\(//\)[^/]' \| \
67407 X"$_am_arg" : 'X\(//\)$' \| \
67408 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
67409 $as_echo X"$_am_arg" |
67410 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67411 s//\1/
67414 /^X\(\/\/\)[^/].*/{
67415 s//\1/
67418 /^X\(\/\/\)$/{
67419 s//\1/
67422 /^X\(\/\).*/{
67423 s//\1/
67426 s/.*/./; q'`/stamp-h$_am_stamp_count
67429 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
67430 $as_echo "$as_me: executing $ac_file commands" >&6;}
67432 esac
67435 case $ac_file$ac_mode in
67436 "default-1":C)
67437 # Only add multilib support code if we just rebuilt the top-level
67438 # Makefile.
67439 case " $CONFIG_FILES " in
67440 *" Makefile "*)
67441 ac_file=Makefile . ${multi_basedir}/config-ml.in
67443 esac ;;
67444 "libtool":C)
67446 # See if we are running on zsh, and set the options which allow our
67447 # commands through without removal of \ escapes.
67448 if test -n "${ZSH_VERSION+set}" ; then
67449 setopt NO_GLOB_SUBST
67452 cfgfile="${ofile}T"
67453 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
67454 $RM "$cfgfile"
67456 cat <<_LT_EOF >> "$cfgfile"
67457 #! $SHELL
67459 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
67460 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
67461 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
67462 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
67464 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
67465 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
67466 # Written by Gordon Matzigkeit, 1996
67468 # This file is part of GNU Libtool.
67470 # GNU Libtool is free software; you can redistribute it and/or
67471 # modify it under the terms of the GNU General Public License as
67472 # published by the Free Software Foundation; either version 2 of
67473 # the License, or (at your option) any later version.
67475 # As a special exception to the GNU General Public License,
67476 # if you distribute this file as part of a program or library that
67477 # is built using GNU Libtool, you may include this file under the
67478 # same distribution terms that you use for the rest of that program.
67480 # GNU Libtool is distributed in the hope that it will be useful,
67481 # but WITHOUT ANY WARRANTY; without even the implied warranty of
67482 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
67483 # GNU General Public License for more details.
67485 # You should have received a copy of the GNU General Public License
67486 # along with GNU Libtool; see the file COPYING. If not, a copy
67487 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
67488 # obtained by writing to the Free Software Foundation, Inc.,
67489 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
67492 # The names of the tagged configurations supported by this script.
67493 available_tags="CXX "
67495 # ### BEGIN LIBTOOL CONFIG
67497 # Which release of libtool.m4 was used?
67498 macro_version=$macro_version
67499 macro_revision=$macro_revision
67501 # Whether or not to build shared libraries.
67502 build_libtool_libs=$enable_shared
67504 # Whether or not to build static libraries.
67505 build_old_libs=$enable_static
67507 # What type of objects to build.
67508 pic_mode=$pic_mode
67510 # Whether or not to optimize for fast installation.
67511 fast_install=$enable_fast_install
67513 # Shell to use when invoking shell scripts.
67514 SHELL=$lt_SHELL
67516 # An echo program that protects backslashes.
67517 ECHO=$lt_ECHO
67519 # The host system.
67520 host_alias=$host_alias
67521 host=$host
67522 host_os=$host_os
67524 # The build system.
67525 build_alias=$build_alias
67526 build=$build
67527 build_os=$build_os
67529 # A sed program that does not truncate output.
67530 SED=$lt_SED
67532 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
67533 Xsed="\$SED -e 1s/^X//"
67535 # A grep program that handles long lines.
67536 GREP=$lt_GREP
67538 # An ERE matcher.
67539 EGREP=$lt_EGREP
67541 # A literal string matcher.
67542 FGREP=$lt_FGREP
67544 # A BSD- or MS-compatible name lister.
67545 NM=$lt_NM
67547 # Whether we need soft or hard links.
67548 LN_S=$lt_LN_S
67550 # What is the maximum length of a command?
67551 max_cmd_len=$max_cmd_len
67553 # Object file suffix (normally "o").
67554 objext=$ac_objext
67556 # Executable file suffix (normally "").
67557 exeext=$exeext
67559 # whether the shell understands "unset".
67560 lt_unset=$lt_unset
67562 # turn spaces into newlines.
67563 SP2NL=$lt_lt_SP2NL
67565 # turn newlines into spaces.
67566 NL2SP=$lt_lt_NL2SP
67568 # An object symbol dumper.
67569 OBJDUMP=$lt_OBJDUMP
67571 # Method to check whether dependent libraries are shared objects.
67572 deplibs_check_method=$lt_deplibs_check_method
67574 # Command to use when deplibs_check_method == "file_magic".
67575 file_magic_cmd=$lt_file_magic_cmd
67577 # The archiver.
67578 AR=$lt_AR
67579 AR_FLAGS=$lt_AR_FLAGS
67581 # A symbol stripping program.
67582 STRIP=$lt_STRIP
67584 # Commands used to install an old-style archive.
67585 RANLIB=$lt_RANLIB
67586 old_postinstall_cmds=$lt_old_postinstall_cmds
67587 old_postuninstall_cmds=$lt_old_postuninstall_cmds
67589 # Whether to use a lock for old archive extraction.
67590 lock_old_archive_extraction=$lock_old_archive_extraction
67592 # A C compiler.
67593 LTCC=$lt_CC
67595 # LTCC compiler flags.
67596 LTCFLAGS=$lt_CFLAGS
67598 # Take the output of nm and produce a listing of raw symbols and C names.
67599 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
67601 # Transform the output of nm in a proper C declaration.
67602 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
67604 # Transform the output of nm in a C name address pair.
67605 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
67607 # Transform the output of nm in a C name address pair when lib prefix is needed.
67608 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
67610 # The name of the directory that contains temporary libtool files.
67611 objdir=$objdir
67613 # Used to examine libraries when file_magic_cmd begins with "file".
67614 MAGIC_CMD=$MAGIC_CMD
67616 # Must we lock files when doing compilation?
67617 need_locks=$lt_need_locks
67619 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
67620 DSYMUTIL=$lt_DSYMUTIL
67622 # Tool to change global to local symbols on Mac OS X.
67623 NMEDIT=$lt_NMEDIT
67625 # Tool to manipulate fat objects and archives on Mac OS X.
67626 LIPO=$lt_LIPO
67628 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
67629 OTOOL=$lt_OTOOL
67631 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
67632 OTOOL64=$lt_OTOOL64
67634 # Old archive suffix (normally "a").
67635 libext=$libext
67637 # Shared library suffix (normally ".so").
67638 shrext_cmds=$lt_shrext_cmds
67640 # The commands to extract the exported symbol list from a shared archive.
67641 extract_expsyms_cmds=$lt_extract_expsyms_cmds
67643 # Variables whose values should be saved in libtool wrapper scripts and
67644 # restored at link time.
67645 variables_saved_for_relink=$lt_variables_saved_for_relink
67647 # Do we need the "lib" prefix for modules?
67648 need_lib_prefix=$need_lib_prefix
67650 # Do we need a version for libraries?
67651 need_version=$need_version
67653 # Library versioning type.
67654 version_type=$version_type
67656 # Shared library runtime path variable.
67657 runpath_var=$runpath_var
67659 # Shared library path variable.
67660 shlibpath_var=$shlibpath_var
67662 # Is shlibpath searched before the hard-coded library search path?
67663 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
67665 # Format of library name prefix.
67666 libname_spec=$lt_libname_spec
67668 # List of archive names. First name is the real one, the rest are links.
67669 # The last name is the one that the linker finds with -lNAME
67670 library_names_spec=$lt_library_names_spec
67672 # The coded name of the library, if different from the real name.
67673 soname_spec=$lt_soname_spec
67675 # Permission mode override for installation of shared libraries.
67676 install_override_mode=$lt_install_override_mode
67678 # Command to use after installation of a shared archive.
67679 postinstall_cmds=$lt_postinstall_cmds
67681 # Command to use after uninstallation of a shared archive.
67682 postuninstall_cmds=$lt_postuninstall_cmds
67684 # Commands used to finish a libtool library installation in a directory.
67685 finish_cmds=$lt_finish_cmds
67687 # As "finish_cmds", except a single script fragment to be evaled but
67688 # not shown.
67689 finish_eval=$lt_finish_eval
67691 # Whether we should hardcode library paths into libraries.
67692 hardcode_into_libs=$hardcode_into_libs
67694 # Compile-time system search path for libraries.
67695 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
67697 # Run-time system search path for libraries.
67698 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
67700 # Whether dlopen is supported.
67701 dlopen_support=$enable_dlopen
67703 # Whether dlopen of programs is supported.
67704 dlopen_self=$enable_dlopen_self
67706 # Whether dlopen of statically linked programs is supported.
67707 dlopen_self_static=$enable_dlopen_self_static
67709 # Commands to strip libraries.
67710 old_striplib=$lt_old_striplib
67711 striplib=$lt_striplib
67714 # The linker used to build libraries.
67715 LD=$lt_LD
67717 # How to create reloadable object files.
67718 reload_flag=$lt_reload_flag
67719 reload_cmds=$lt_reload_cmds
67721 # Commands used to build an old-style archive.
67722 old_archive_cmds=$lt_old_archive_cmds
67724 # A language specific compiler.
67725 CC=$lt_compiler
67727 # Is the compiler the GNU compiler?
67728 with_gcc=$GCC
67730 # Compiler flag to turn off builtin functions.
67731 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
67733 # How to pass a linker flag through the compiler.
67734 wl=$lt_lt_prog_compiler_wl
67736 # Additional compiler flags for building library objects.
67737 pic_flag=$lt_lt_prog_compiler_pic
67739 # Compiler flag to prevent dynamic linking.
67740 link_static_flag=$lt_lt_prog_compiler_static
67742 # Does compiler simultaneously support -c and -o options?
67743 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
67745 # Whether or not to add -lc for building shared libraries.
67746 build_libtool_need_lc=$archive_cmds_need_lc
67748 # Whether or not to disallow shared libs when runtime libs are static.
67749 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
67751 # Compiler flag to allow reflexive dlopens.
67752 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
67754 # Compiler flag to generate shared objects directly from archives.
67755 whole_archive_flag_spec=$lt_whole_archive_flag_spec
67757 # Whether the compiler copes with passing no objects directly.
67758 compiler_needs_object=$lt_compiler_needs_object
67760 # Create an old-style archive from a shared archive.
67761 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
67763 # Create a temporary old-style archive to link instead of a shared archive.
67764 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
67766 # Commands used to build a shared archive.
67767 archive_cmds=$lt_archive_cmds
67768 archive_expsym_cmds=$lt_archive_expsym_cmds
67770 # Commands used to build a loadable module if different from building
67771 # a shared archive.
67772 module_cmds=$lt_module_cmds
67773 module_expsym_cmds=$lt_module_expsym_cmds
67775 # Whether we are building with GNU ld or not.
67776 with_gnu_ld=$lt_with_gnu_ld
67778 # Flag that allows shared libraries with undefined symbols to be built.
67779 allow_undefined_flag=$lt_allow_undefined_flag
67781 # Flag that enforces no undefined symbols.
67782 no_undefined_flag=$lt_no_undefined_flag
67784 # Flag to hardcode \$libdir into a binary during linking.
67785 # This must work even if \$libdir does not exist
67786 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
67788 # If ld is used when linking, flag to hardcode \$libdir into a binary
67789 # during linking. This must work even if \$libdir does not exist.
67790 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
67792 # Whether we need a single "-rpath" flag with a separated argument.
67793 hardcode_libdir_separator=$lt_hardcode_libdir_separator
67795 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
67796 # DIR into the resulting binary.
67797 hardcode_direct=$hardcode_direct
67799 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
67800 # DIR into the resulting binary and the resulting library dependency is
67801 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
67802 # library is relocated.
67803 hardcode_direct_absolute=$hardcode_direct_absolute
67805 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
67806 # into the resulting binary.
67807 hardcode_minus_L=$hardcode_minus_L
67809 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
67810 # into the resulting binary.
67811 hardcode_shlibpath_var=$hardcode_shlibpath_var
67813 # Set to "yes" if building a shared library automatically hardcodes DIR
67814 # into the library and all subsequent libraries and executables linked
67815 # against it.
67816 hardcode_automatic=$hardcode_automatic
67818 # Set to yes if linker adds runtime paths of dependent libraries
67819 # to runtime path list.
67820 inherit_rpath=$inherit_rpath
67822 # Whether libtool must link a program against all its dependency libraries.
67823 link_all_deplibs=$link_all_deplibs
67825 # Fix the shell variable \$srcfile for the compiler.
67826 fix_srcfile_path=$lt_fix_srcfile_path
67828 # Set to "yes" if exported symbols are required.
67829 always_export_symbols=$always_export_symbols
67831 # The commands to list exported symbols.
67832 export_symbols_cmds=$lt_export_symbols_cmds
67834 # Symbols that should not be listed in the preloaded symbols.
67835 exclude_expsyms=$lt_exclude_expsyms
67837 # Symbols that must always be exported.
67838 include_expsyms=$lt_include_expsyms
67840 # Commands necessary for linking programs (against libraries) with templates.
67841 prelink_cmds=$lt_prelink_cmds
67843 # Specify filename containing input files.
67844 file_list_spec=$lt_file_list_spec
67846 # How to hardcode a shared library path into an executable.
67847 hardcode_action=$hardcode_action
67849 # The directories searched by this compiler when creating a shared library.
67850 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
67852 # Dependencies to place before and after the objects being linked to
67853 # create a shared library.
67854 predep_objects=$lt_predep_objects
67855 postdep_objects=$lt_postdep_objects
67856 predeps=$lt_predeps
67857 postdeps=$lt_postdeps
67859 # The library search path used internally by the compiler when linking
67860 # a shared library.
67861 compiler_lib_search_path=$lt_compiler_lib_search_path
67863 # ### END LIBTOOL CONFIG
67865 _LT_EOF
67867 case $host_os in
67868 aix3*)
67869 cat <<\_LT_EOF >> "$cfgfile"
67870 # AIX sometimes has problems with the GCC collect2 program. For some
67871 # reason, if we set the COLLECT_NAMES environment variable, the problems
67872 # vanish in a puff of smoke.
67873 if test "X${COLLECT_NAMES+set}" != Xset; then
67874 COLLECT_NAMES=
67875 export COLLECT_NAMES
67877 _LT_EOF
67879 esac
67882 ltmain="$ac_aux_dir/ltmain.sh"
67885 # We use sed instead of cat because bash on DJGPP gets confused if
67886 # if finds mixed CR/LF and LF-only lines. Since sed operates in
67887 # text mode, it properly converts lines to CR/LF. This bash problem
67888 # is reportedly fixed, but why not run on old versions too?
67889 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
67890 || (rm -f "$cfgfile"; exit 1)
67892 case $xsi_shell in
67893 yes)
67894 cat << \_LT_EOF >> "$cfgfile"
67896 # func_dirname file append nondir_replacement
67897 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
67898 # otherwise set result to NONDIR_REPLACEMENT.
67899 func_dirname ()
67901 case ${1} in
67902 */*) func_dirname_result="${1%/*}${2}" ;;
67903 * ) func_dirname_result="${3}" ;;
67904 esac
67907 # func_basename file
67908 func_basename ()
67910 func_basename_result="${1##*/}"
67913 # func_dirname_and_basename file append nondir_replacement
67914 # perform func_basename and func_dirname in a single function
67915 # call:
67916 # dirname: Compute the dirname of FILE. If nonempty,
67917 # add APPEND to the result, otherwise set result
67918 # to NONDIR_REPLACEMENT.
67919 # value returned in "$func_dirname_result"
67920 # basename: Compute filename of FILE.
67921 # value retuned in "$func_basename_result"
67922 # Implementation must be kept synchronized with func_dirname
67923 # and func_basename. For efficiency, we do not delegate to
67924 # those functions but instead duplicate the functionality here.
67925 func_dirname_and_basename ()
67927 case ${1} in
67928 */*) func_dirname_result="${1%/*}${2}" ;;
67929 * ) func_dirname_result="${3}" ;;
67930 esac
67931 func_basename_result="${1##*/}"
67934 # func_stripname prefix suffix name
67935 # strip PREFIX and SUFFIX off of NAME.
67936 # PREFIX and SUFFIX must not contain globbing or regex special
67937 # characters, hashes, percent signs, but SUFFIX may contain a leading
67938 # dot (in which case that matches only a dot).
67939 func_stripname ()
67941 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
67942 # positional parameters, so assign one to ordinary parameter first.
67943 func_stripname_result=${3}
67944 func_stripname_result=${func_stripname_result#"${1}"}
67945 func_stripname_result=${func_stripname_result%"${2}"}
67948 # func_opt_split
67949 func_opt_split ()
67951 func_opt_split_opt=${1%%=*}
67952 func_opt_split_arg=${1#*=}
67955 # func_lo2o object
67956 func_lo2o ()
67958 case ${1} in
67959 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
67960 *) func_lo2o_result=${1} ;;
67961 esac
67964 # func_xform libobj-or-source
67965 func_xform ()
67967 func_xform_result=${1%.*}.lo
67970 # func_arith arithmetic-term...
67971 func_arith ()
67973 func_arith_result=$(( $* ))
67976 # func_len string
67977 # STRING may not start with a hyphen.
67978 func_len ()
67980 func_len_result=${#1}
67983 _LT_EOF
67985 *) # Bourne compatible functions.
67986 cat << \_LT_EOF >> "$cfgfile"
67988 # func_dirname file append nondir_replacement
67989 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
67990 # otherwise set result to NONDIR_REPLACEMENT.
67991 func_dirname ()
67993 # Extract subdirectory from the argument.
67994 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
67995 if test "X$func_dirname_result" = "X${1}"; then
67996 func_dirname_result="${3}"
67997 else
67998 func_dirname_result="$func_dirname_result${2}"
68002 # func_basename file
68003 func_basename ()
68005 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
68009 # func_stripname prefix suffix name
68010 # strip PREFIX and SUFFIX off of NAME.
68011 # PREFIX and SUFFIX must not contain globbing or regex special
68012 # characters, hashes, percent signs, but SUFFIX may contain a leading
68013 # dot (in which case that matches only a dot).
68014 # func_strip_suffix prefix name
68015 func_stripname ()
68017 case ${2} in
68018 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
68019 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
68020 esac
68023 # sed scripts:
68024 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
68025 my_sed_long_arg='1s/^-[^=]*=//'
68027 # func_opt_split
68028 func_opt_split ()
68030 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
68031 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
68034 # func_lo2o object
68035 func_lo2o ()
68037 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
68040 # func_xform libobj-or-source
68041 func_xform ()
68043 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
68046 # func_arith arithmetic-term...
68047 func_arith ()
68049 func_arith_result=`expr "$@"`
68052 # func_len string
68053 # STRING may not start with a hyphen.
68054 func_len ()
68056 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
68059 _LT_EOF
68060 esac
68062 case $lt_shell_append in
68063 yes)
68064 cat << \_LT_EOF >> "$cfgfile"
68066 # func_append var value
68067 # Append VALUE to the end of shell variable VAR.
68068 func_append ()
68070 eval "$1+=\$2"
68072 _LT_EOF
68075 cat << \_LT_EOF >> "$cfgfile"
68077 # func_append var value
68078 # Append VALUE to the end of shell variable VAR.
68079 func_append ()
68081 eval "$1=\$$1\$2"
68084 _LT_EOF
68086 esac
68089 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
68090 || (rm -f "$cfgfile"; exit 1)
68092 mv -f "$cfgfile" "$ofile" ||
68093 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
68094 chmod +x "$ofile"
68097 cat <<_LT_EOF >> "$ofile"
68099 # ### BEGIN LIBTOOL TAG CONFIG: CXX
68101 # The linker used to build libraries.
68102 LD=$lt_LD_CXX
68104 # How to create reloadable object files.
68105 reload_flag=$lt_reload_flag_CXX
68106 reload_cmds=$lt_reload_cmds_CXX
68108 # Commands used to build an old-style archive.
68109 old_archive_cmds=$lt_old_archive_cmds_CXX
68111 # A language specific compiler.
68112 CC=$lt_compiler_CXX
68114 # Is the compiler the GNU compiler?
68115 with_gcc=$GCC_CXX
68117 # Compiler flag to turn off builtin functions.
68118 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
68120 # How to pass a linker flag through the compiler.
68121 wl=$lt_lt_prog_compiler_wl_CXX
68123 # Additional compiler flags for building library objects.
68124 pic_flag=$lt_lt_prog_compiler_pic_CXX
68126 # Compiler flag to prevent dynamic linking.
68127 link_static_flag=$lt_lt_prog_compiler_static_CXX
68129 # Does compiler simultaneously support -c and -o options?
68130 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
68132 # Whether or not to add -lc for building shared libraries.
68133 build_libtool_need_lc=$archive_cmds_need_lc_CXX
68135 # Whether or not to disallow shared libs when runtime libs are static.
68136 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
68138 # Compiler flag to allow reflexive dlopens.
68139 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
68141 # Compiler flag to generate shared objects directly from archives.
68142 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
68144 # Whether the compiler copes with passing no objects directly.
68145 compiler_needs_object=$lt_compiler_needs_object_CXX
68147 # Create an old-style archive from a shared archive.
68148 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
68150 # Create a temporary old-style archive to link instead of a shared archive.
68151 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
68153 # Commands used to build a shared archive.
68154 archive_cmds=$lt_archive_cmds_CXX
68155 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
68157 # Commands used to build a loadable module if different from building
68158 # a shared archive.
68159 module_cmds=$lt_module_cmds_CXX
68160 module_expsym_cmds=$lt_module_expsym_cmds_CXX
68162 # Whether we are building with GNU ld or not.
68163 with_gnu_ld=$lt_with_gnu_ld_CXX
68165 # Flag that allows shared libraries with undefined symbols to be built.
68166 allow_undefined_flag=$lt_allow_undefined_flag_CXX
68168 # Flag that enforces no undefined symbols.
68169 no_undefined_flag=$lt_no_undefined_flag_CXX
68171 # Flag to hardcode \$libdir into a binary during linking.
68172 # This must work even if \$libdir does not exist
68173 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
68175 # If ld is used when linking, flag to hardcode \$libdir into a binary
68176 # during linking. This must work even if \$libdir does not exist.
68177 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
68179 # Whether we need a single "-rpath" flag with a separated argument.
68180 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
68182 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68183 # DIR into the resulting binary.
68184 hardcode_direct=$hardcode_direct_CXX
68186 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68187 # DIR into the resulting binary and the resulting library dependency is
68188 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
68189 # library is relocated.
68190 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
68192 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
68193 # into the resulting binary.
68194 hardcode_minus_L=$hardcode_minus_L_CXX
68196 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
68197 # into the resulting binary.
68198 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
68200 # Set to "yes" if building a shared library automatically hardcodes DIR
68201 # into the library and all subsequent libraries and executables linked
68202 # against it.
68203 hardcode_automatic=$hardcode_automatic_CXX
68205 # Set to yes if linker adds runtime paths of dependent libraries
68206 # to runtime path list.
68207 inherit_rpath=$inherit_rpath_CXX
68209 # Whether libtool must link a program against all its dependency libraries.
68210 link_all_deplibs=$link_all_deplibs_CXX
68212 # Fix the shell variable \$srcfile for the compiler.
68213 fix_srcfile_path=$lt_fix_srcfile_path_CXX
68215 # Set to "yes" if exported symbols are required.
68216 always_export_symbols=$always_export_symbols_CXX
68218 # The commands to list exported symbols.
68219 export_symbols_cmds=$lt_export_symbols_cmds_CXX
68221 # Symbols that should not be listed in the preloaded symbols.
68222 exclude_expsyms=$lt_exclude_expsyms_CXX
68224 # Symbols that must always be exported.
68225 include_expsyms=$lt_include_expsyms_CXX
68227 # Commands necessary for linking programs (against libraries) with templates.
68228 prelink_cmds=$lt_prelink_cmds_CXX
68230 # Specify filename containing input files.
68231 file_list_spec=$lt_file_list_spec_CXX
68233 # How to hardcode a shared library path into an executable.
68234 hardcode_action=$hardcode_action_CXX
68236 # The directories searched by this compiler when creating a shared library.
68237 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
68239 # Dependencies to place before and after the objects being linked to
68240 # create a shared library.
68241 predep_objects=$lt_predep_objects_CXX
68242 postdep_objects=$lt_postdep_objects_CXX
68243 predeps=$lt_predeps_CXX
68244 postdeps=$lt_postdeps_CXX
68246 # The library search path used internally by the compiler when linking
68247 # a shared library.
68248 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
68250 # ### END LIBTOOL TAG CONFIG: CXX
68251 _LT_EOF
68254 "include/gstdint.h":C)
68255 if test "$GCC" = yes; then
68256 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
68257 else
68258 echo "/* generated for $CC */" > tmp-stdint.h
68261 sed 's/^ *//' >> tmp-stdint.h <<EOF
68263 #ifndef GCC_GENERATED_STDINT_H
68264 #define GCC_GENERATED_STDINT_H 1
68266 #include <sys/types.h>
68269 if test "$acx_cv_header_stdint" != stdint.h; then
68270 echo "#include <stddef.h>" >> tmp-stdint.h
68272 if test "$acx_cv_header_stdint" != stddef.h; then
68273 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
68276 sed 's/^ *//' >> tmp-stdint.h <<EOF
68277 /* glibc uses these symbols as guards to prevent redefinitions. */
68278 #ifdef __int8_t_defined
68279 #define _INT8_T
68280 #define _INT16_T
68281 #define _INT32_T
68282 #endif
68283 #ifdef __uint32_t_defined
68284 #define _UINT32_T
68285 #endif
68289 # ----------------- done header, emit basic int types -------------
68290 if test "$acx_cv_header_stdint" = stddef.h; then
68291 sed 's/^ *//' >> tmp-stdint.h <<EOF
68293 #ifndef _UINT8_T
68294 #define _UINT8_T
68295 #ifndef __uint8_t_defined
68296 #define __uint8_t_defined
68297 #ifndef uint8_t
68298 typedef unsigned $acx_cv_type_int8_t uint8_t;
68299 #endif
68300 #endif
68301 #endif
68303 #ifndef _UINT16_T
68304 #define _UINT16_T
68305 #ifndef __uint16_t_defined
68306 #define __uint16_t_defined
68307 #ifndef uint16_t
68308 typedef unsigned $acx_cv_type_int16_t uint16_t;
68309 #endif
68310 #endif
68311 #endif
68313 #ifndef _UINT32_T
68314 #define _UINT32_T
68315 #ifndef __uint32_t_defined
68316 #define __uint32_t_defined
68317 #ifndef uint32_t
68318 typedef unsigned $acx_cv_type_int32_t uint32_t;
68319 #endif
68320 #endif
68321 #endif
68323 #ifndef _INT8_T
68324 #define _INT8_T
68325 #ifndef __int8_t_defined
68326 #define __int8_t_defined
68327 #ifndef int8_t
68328 typedef $acx_cv_type_int8_t int8_t;
68329 #endif
68330 #endif
68331 #endif
68333 #ifndef _INT16_T
68334 #define _INT16_T
68335 #ifndef __int16_t_defined
68336 #define __int16_t_defined
68337 #ifndef int16_t
68338 typedef $acx_cv_type_int16_t int16_t;
68339 #endif
68340 #endif
68341 #endif
68343 #ifndef _INT32_T
68344 #define _INT32_T
68345 #ifndef __int32_t_defined
68346 #define __int32_t_defined
68347 #ifndef int32_t
68348 typedef $acx_cv_type_int32_t int32_t;
68349 #endif
68350 #endif
68351 #endif
68353 elif test "$ac_cv_type_u_int32_t" = yes; then
68354 sed 's/^ *//' >> tmp-stdint.h <<EOF
68356 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
68357 #ifndef _INT8_T
68358 #define _INT8_T
68359 #endif
68360 #ifndef _INT16_T
68361 #define _INT16_T
68362 #endif
68363 #ifndef _INT32_T
68364 #define _INT32_T
68365 #endif
68367 #ifndef _UINT8_T
68368 #define _UINT8_T
68369 #ifndef __uint8_t_defined
68370 #define __uint8_t_defined
68371 #ifndef uint8_t
68372 typedef u_int8_t uint8_t;
68373 #endif
68374 #endif
68375 #endif
68377 #ifndef _UINT16_T
68378 #define _UINT16_T
68379 #ifndef __uint16_t_defined
68380 #define __uint16_t_defined
68381 #ifndef uint16_t
68382 typedef u_int16_t uint16_t;
68383 #endif
68384 #endif
68385 #endif
68387 #ifndef _UINT32_T
68388 #define _UINT32_T
68389 #ifndef __uint32_t_defined
68390 #define __uint32_t_defined
68391 #ifndef uint32_t
68392 typedef u_int32_t uint32_t;
68393 #endif
68394 #endif
68395 #endif
68397 else
68398 sed 's/^ *//' >> tmp-stdint.h <<EOF
68400 /* Some systems have guard macros to prevent redefinitions, define them. */
68401 #ifndef _INT8_T
68402 #define _INT8_T
68403 #endif
68404 #ifndef _INT16_T
68405 #define _INT16_T
68406 #endif
68407 #ifndef _INT32_T
68408 #define _INT32_T
68409 #endif
68410 #ifndef _UINT8_T
68411 #define _UINT8_T
68412 #endif
68413 #ifndef _UINT16_T
68414 #define _UINT16_T
68415 #endif
68416 #ifndef _UINT32_T
68417 #define _UINT32_T
68418 #endif
68422 # ------------- done basic int types, emit int64_t types ------------
68423 if test "$ac_cv_type_uint64_t" = yes; then
68424 sed 's/^ *//' >> tmp-stdint.h <<EOF
68426 /* system headers have good uint64_t and int64_t */
68427 #ifndef _INT64_T
68428 #define _INT64_T
68429 #endif
68430 #ifndef _UINT64_T
68431 #define _UINT64_T
68432 #endif
68434 elif test "$ac_cv_type_u_int64_t" = yes; then
68435 sed 's/^ *//' >> tmp-stdint.h <<EOF
68437 /* system headers have an u_int64_t (and int64_t) */
68438 #ifndef _INT64_T
68439 #define _INT64_T
68440 #endif
68441 #ifndef _UINT64_T
68442 #define _UINT64_T
68443 #ifndef __uint64_t_defined
68444 #define __uint64_t_defined
68445 #ifndef uint64_t
68446 typedef u_int64_t uint64_t;
68447 #endif
68448 #endif
68449 #endif
68451 elif test -n "$acx_cv_type_int64_t"; then
68452 sed 's/^ *//' >> tmp-stdint.h <<EOF
68454 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
68455 #ifndef _INT64_T
68456 #define _INT64_T
68457 #ifndef int64_t
68458 typedef $acx_cv_type_int64_t int64_t;
68459 #endif
68460 #endif
68461 #ifndef _UINT64_T
68462 #define _UINT64_T
68463 #ifndef __uint64_t_defined
68464 #define __uint64_t_defined
68465 #ifndef uint64_t
68466 typedef unsigned $acx_cv_type_int64_t uint64_t;
68467 #endif
68468 #endif
68469 #endif
68471 else
68472 sed 's/^ *//' >> tmp-stdint.h <<EOF
68474 /* some common heuristics for int64_t, using compiler-specific tests */
68475 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
68476 #ifndef _INT64_T
68477 #define _INT64_T
68478 #ifndef __int64_t_defined
68479 #ifndef int64_t
68480 typedef long long int64_t;
68481 #endif
68482 #endif
68483 #endif
68484 #ifndef _UINT64_T
68485 #define _UINT64_T
68486 #ifndef uint64_t
68487 typedef unsigned long long uint64_t;
68488 #endif
68489 #endif
68491 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
68492 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
68493 does not implement __extension__. But that compiler doesn't define
68494 __GNUC_MINOR__. */
68495 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
68496 # define __extension__
68497 # endif
68499 # ifndef _INT64_T
68500 # define _INT64_T
68501 # ifndef int64_t
68502 __extension__ typedef long long int64_t;
68503 # endif
68504 # endif
68505 # ifndef _UINT64_T
68506 # define _UINT64_T
68507 # ifndef uint64_t
68508 __extension__ typedef unsigned long long uint64_t;
68509 # endif
68510 # endif
68512 #elif !defined __STRICT_ANSI__
68513 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
68515 # ifndef _INT64_T
68516 # define _INT64_T
68517 # ifndef int64_t
68518 typedef __int64 int64_t;
68519 # endif
68520 # endif
68521 # ifndef _UINT64_T
68522 # define _UINT64_T
68523 # ifndef uint64_t
68524 typedef unsigned __int64 uint64_t;
68525 # endif
68526 # endif
68527 # endif /* compiler */
68529 #endif /* ANSI version */
68533 # ------------- done int64_t types, emit intptr types ------------
68534 if test "$ac_cv_type_uintptr_t" != yes; then
68535 sed 's/^ *//' >> tmp-stdint.h <<EOF
68537 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
68538 #ifndef __uintptr_t_defined
68539 #ifndef uintptr_t
68540 typedef u$acx_cv_type_intptr_t uintptr_t;
68541 #endif
68542 #endif
68543 #ifndef __intptr_t_defined
68544 #ifndef intptr_t
68545 typedef $acx_cv_type_intptr_t intptr_t;
68546 #endif
68547 #endif
68551 # ------------- done intptr types, emit int_least types ------------
68552 if test "$ac_cv_type_int_least32_t" != yes; then
68553 sed 's/^ *//' >> tmp-stdint.h <<EOF
68555 /* Define int_least types */
68556 typedef int8_t int_least8_t;
68557 typedef int16_t int_least16_t;
68558 typedef int32_t int_least32_t;
68559 #ifdef _INT64_T
68560 typedef int64_t int_least64_t;
68561 #endif
68563 typedef uint8_t uint_least8_t;
68564 typedef uint16_t uint_least16_t;
68565 typedef uint32_t uint_least32_t;
68566 #ifdef _UINT64_T
68567 typedef uint64_t uint_least64_t;
68568 #endif
68572 # ------------- done intptr types, emit int_fast types ------------
68573 if test "$ac_cv_type_int_fast32_t" != yes; then
68574 sed 's/^ *//' >> tmp-stdint.h <<EOF
68576 /* Define int_fast types. short is often slow */
68577 typedef int8_t int_fast8_t;
68578 typedef int int_fast16_t;
68579 typedef int32_t int_fast32_t;
68580 #ifdef _INT64_T
68581 typedef int64_t int_fast64_t;
68582 #endif
68584 typedef uint8_t uint_fast8_t;
68585 typedef unsigned int uint_fast16_t;
68586 typedef uint32_t uint_fast32_t;
68587 #ifdef _UINT64_T
68588 typedef uint64_t uint_fast64_t;
68589 #endif
68593 if test "$ac_cv_type_uintmax_t" != yes; then
68594 sed 's/^ *//' >> tmp-stdint.h <<EOF
68596 /* Define intmax based on what we found */
68597 #ifndef intmax_t
68598 #ifdef _INT64_T
68599 typedef int64_t intmax_t;
68600 #else
68601 typedef long intmax_t;
68602 #endif
68603 #endif
68604 #ifndef uintmax_t
68605 #ifdef _UINT64_T
68606 typedef uint64_t uintmax_t;
68607 #else
68608 typedef unsigned long uintmax_t;
68609 #endif
68610 #endif
68614 sed 's/^ *//' >> tmp-stdint.h <<EOF
68616 #endif /* GCC_GENERATED_STDINT_H */
68619 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
68620 rm -f tmp-stdint.h
68621 else
68622 mv -f tmp-stdint.h include/gstdint.h
68626 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
68627 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
68628 "include/Makefile":F) cat > vpsed$$ << \_EOF
68629 s!`test -f '$<' || echo '$(srcdir)/'`!!
68630 _EOF
68631 sed -f vpsed$$ $ac_file > tmp$$
68632 mv tmp$$ $ac_file
68633 rm vpsed$$
68634 echo 'MULTISUBDIR =' >> $ac_file
68635 ml_norecursion=yes
68636 . ${multi_basedir}/config-ml.in
68637 { ml_norecursion=; unset ml_norecursion;}
68639 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
68640 s!`test -f '$<' || echo '$(srcdir)/'`!!
68641 _EOF
68642 sed -f vpsed$$ $ac_file > tmp$$
68643 mv tmp$$ $ac_file
68644 rm vpsed$$
68645 echo 'MULTISUBDIR =' >> $ac_file
68646 ml_norecursion=yes
68647 . ${multi_basedir}/config-ml.in
68648 { ml_norecursion=; unset ml_norecursion;}
68650 "python/Makefile":F) cat > vpsed$$ << \_EOF
68651 s!`test -f '$<' || echo '$(srcdir)/'`!!
68652 _EOF
68653 sed -f vpsed$$ $ac_file > tmp$$
68654 mv tmp$$ $ac_file
68655 rm vpsed$$
68656 echo 'MULTISUBDIR =' >> $ac_file
68657 ml_norecursion=yes
68658 . ${multi_basedir}/config-ml.in
68659 { ml_norecursion=; unset ml_norecursion;}
68661 "src/Makefile":F) cat > vpsed$$ << \_EOF
68662 s!`test -f '$<' || echo '$(srcdir)/'`!!
68663 _EOF
68664 sed -f vpsed$$ $ac_file > tmp$$
68665 mv tmp$$ $ac_file
68666 rm vpsed$$
68667 echo 'MULTISUBDIR =' >> $ac_file
68668 ml_norecursion=yes
68669 . ${multi_basedir}/config-ml.in
68670 { ml_norecursion=; unset ml_norecursion;}
68672 "doc/Makefile":F) cat > vpsed$$ << \_EOF
68673 s!`test -f '$<' || echo '$(srcdir)/'`!!
68674 _EOF
68675 sed -f vpsed$$ $ac_file > tmp$$
68676 mv tmp$$ $ac_file
68677 rm vpsed$$
68678 echo 'MULTISUBDIR =' >> $ac_file
68679 ml_norecursion=yes
68680 . ${multi_basedir}/config-ml.in
68681 { ml_norecursion=; unset ml_norecursion;}
68683 "po/Makefile":F) cat > vpsed$$ << \_EOF
68684 s!`test -f '$<' || echo '$(srcdir)/'`!!
68685 _EOF
68686 sed -f vpsed$$ $ac_file > tmp$$
68687 mv tmp$$ $ac_file
68688 rm vpsed$$
68689 echo 'MULTISUBDIR =' >> $ac_file
68690 ml_norecursion=yes
68691 . ${multi_basedir}/config-ml.in
68692 { ml_norecursion=; unset ml_norecursion;}
68694 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
68695 s!`test -f '$<' || echo '$(srcdir)/'`!!
68696 _EOF
68697 sed -f vpsed$$ $ac_file > tmp$$
68698 mv tmp$$ $ac_file
68699 rm vpsed$$
68700 echo 'MULTISUBDIR =' >> $ac_file
68701 ml_norecursion=yes
68702 . ${multi_basedir}/config-ml.in
68703 { ml_norecursion=; unset ml_norecursion;}
68705 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
68707 esac
68708 done # for ac_tag
68711 as_fn_exit 0
68712 _ACEOF
68713 ac_clean_files=$ac_clean_files_save
68715 test $ac_write_fail = 0 ||
68716 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
68719 # configure is writing to config.log, and then calls config.status.
68720 # config.status does its own redirection, appending to config.log.
68721 # Unfortunately, on DOS this fails, as config.log is still kept open
68722 # by configure, so config.status won't be able to write to it; its
68723 # output is simply discarded. So we exec the FD to /dev/null,
68724 # effectively closing config.log, so it can be properly (re)opened and
68725 # appended to by config.status. When coming back to configure, we
68726 # need to make the FD available again.
68727 if test "$no_create" != yes; then
68728 ac_cs_success=:
68729 ac_config_status_args=
68730 test "$silent" = yes &&
68731 ac_config_status_args="$ac_config_status_args --quiet"
68732 exec 5>/dev/null
68733 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
68734 exec 5>>config.log
68735 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
68736 # would make configure fail if this is the last instruction.
68737 $ac_cs_success || as_fn_exit $?
68739 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
68740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
68741 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}