Add missing ChangeLog entries.
[official-gcc.git] / libstdc++-v3 / configure
blobc30286555e4dd0e5aea17a78ffdd2aa0468d5b44
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 XSL_STYLE_DIR
636 XMLLINT
637 XSLTPROC
639 DOXYGEN
640 BUILD_INFO_FALSE
641 BUILD_INFO_TRUE
642 baseline_dir
643 GLIBCXX_LDBL_COMPAT_FALSE
644 GLIBCXX_LDBL_COMPAT_TRUE
645 ENABLE_VISIBILITY_FALSE
646 ENABLE_VISIBILITY_TRUE
647 ENABLE_SYMVERS_SOL2_FALSE
648 ENABLE_SYMVERS_SOL2_TRUE
649 ENABLE_SYMVERS_SUN_FALSE
650 ENABLE_SYMVERS_SUN_TRUE
651 ENABLE_SYMVERS_DARWIN_FALSE
652 ENABLE_SYMVERS_DARWIN_TRUE
653 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
654 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
655 ENABLE_SYMVERS_GNU_FALSE
656 ENABLE_SYMVERS_GNU_TRUE
657 ENABLE_SYMVERS_FALSE
658 ENABLE_SYMVERS_TRUE
659 port_specific_symbol_files
660 SYMVER_FILE
661 CXXFILT
662 LTLIBICONV
663 LIBICONV
664 OPT_LDFLAGS
665 SECTION_LDFLAGS
666 GLIBCXX_LIBS
667 ENABLE_EXTERN_TEMPLATE_FALSE
668 ENABLE_EXTERN_TEMPLATE_TRUE
669 EXTRA_CXX_FLAGS
670 ENABLE_PARALLEL_FALSE
671 ENABLE_PARALLEL_TRUE
672 GLIBCXX_BUILD_DEBUG_FALSE
673 GLIBCXX_BUILD_DEBUG_TRUE
674 DEBUG_FLAGS
675 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
676 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
677 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
678 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
679 GLIBCXX_C_HEADERS_C_STD_FALSE
680 GLIBCXX_C_HEADERS_C_STD_TRUE
681 GLIBCXX_C_HEADERS_C_FALSE
682 GLIBCXX_C_HEADERS_C_TRUE
683 C_INCLUDE_DIR
684 ALLOCATOR_NAME
685 ALLOCATOR_H
686 CLOCALE_INTERNAL_H
687 CLOCALE_CC
688 CTIME_CC
689 CTIME_H
690 CNUMERIC_CC
691 CMONEY_CC
692 CMESSAGES_CC
693 CCTYPE_CC
694 CCOLLATE_CC
695 CCODECVT_CC
696 CMESSAGES_H
697 CLOCALE_H
698 USE_NLS
699 glibcxx_localedir
700 glibcxx_POFILES
701 glibcxx_MOFILES
702 check_msgfmt
703 BASIC_FILE_CC
704 BASIC_FILE_H
705 CSTDIO_H
706 SECTION_FLAGS
707 WERROR
708 glibcxx_thread_h
709 glibcxx_PCHFLAGS
710 GLIBCXX_BUILD_PCH_FALSE
711 GLIBCXX_BUILD_PCH_TRUE
712 GLIBCXX_HOSTED_FALSE
713 GLIBCXX_HOSTED_TRUE
714 enable_static
715 enable_shared
716 lt_host_flags
717 CXXCPP
718 OTOOL64
719 OTOOL
720 LIPO
721 NMEDIT
722 DSYMUTIL
723 OBJDUMP
725 ac_ct_DUMPBIN
726 DUMPBIN
728 FGREP
730 LIBTOOL
731 EGREP
732 GREP
734 MAINT
735 MAINTAINER_MODE_FALSE
736 MAINTAINER_MODE_TRUE
737 RANLIB
740 LN_S
741 toplevel_srcdir
742 glibcxx_srcdir
743 glibcxx_builddir
744 ac_ct_CXX
745 CXXFLAGS
747 OBJEXT
748 EXEEXT
749 ac_ct_CC
750 CPPFLAGS
751 LDFLAGS
752 CFLAGS
754 am__untar
755 am__tar
756 AMTAR
757 am__leading_dot
758 SET_MAKE
760 mkdir_p
761 MKDIR_P
762 INSTALL_STRIP_PROGRAM
763 STRIP
764 install_sh
765 MAKEINFO
766 AUTOHEADER
767 AUTOMAKE
768 AUTOCONF
769 ACLOCAL
770 VERSION
771 PACKAGE
772 CYGPATH_W
773 am__isrc
774 INSTALL_DATA
775 INSTALL_SCRIPT
776 INSTALL_PROGRAM
777 target_os
778 target_vendor
779 target_cpu
780 target
781 host_os
782 host_vendor
783 host_cpu
784 host
785 build_os
786 build_vendor
787 build_cpu
788 build
789 multi_basedir
790 libtool_VERSION
791 target_alias
792 host_alias
793 build_alias
794 LIBS
795 ECHO_T
796 ECHO_N
797 ECHO_C
798 DEFS
799 mandir
800 localedir
801 libdir
802 psdir
803 pdfdir
804 dvidir
805 htmldir
806 infodir
807 docdir
808 oldincludedir
809 includedir
810 localstatedir
811 sharedstatedir
812 sysconfdir
813 datadir
814 datarootdir
815 libexecdir
816 sbindir
817 bindir
818 program_transform_name
819 prefix
820 exec_prefix
821 PACKAGE_URL
822 PACKAGE_BUGREPORT
823 PACKAGE_STRING
824 PACKAGE_VERSION
825 PACKAGE_TARNAME
826 PACKAGE_NAME
827 PATH_SEPARATOR
828 SHELL'
829 ac_subst_files=''
830 ac_user_opts='
831 enable_option_checking
832 enable_multilib
833 with_target_subdir
834 with_cross_host
835 with_newlib
836 enable_maintainer_mode
837 enable_shared
838 enable_static
839 with_pic
840 enable_fast_install
841 with_gnu_ld
842 enable_libtool_lock
843 enable_hosted_libstdcxx
844 enable_sjlj_exceptions
845 enable_libstdcxx_pch
846 enable_cstdio
847 enable_clocale
848 enable_nls
849 enable_libstdcxx_allocator
850 enable_cheaders
851 enable_long_long
852 enable_wchar_t
853 enable_c99
854 enable_concept_checks
855 enable_libstdcxx_debug_flags
856 enable_libstdcxx_debug
857 enable_cxx_flags
858 enable_fully_dynamic_string
859 enable_extern_template
860 enable_libstdcxx_time
861 enable_tls
862 enable_rpath
863 with_libiconv_prefix
864 with_system_libunwind
865 enable_linux_futex
866 enable_symvers
867 enable_visibility
868 with_gxx_include_dir
869 enable_version_specific_runtime_libs
871 ac_precious_vars='build_alias
872 host_alias
873 target_alias
875 CFLAGS
876 LDFLAGS
877 LIBS
878 CPPFLAGS
880 CXXFLAGS
883 CXXCPP
884 CXXFILT'
887 # Initialize some variables set by options.
888 ac_init_help=
889 ac_init_version=false
890 ac_unrecognized_opts=
891 ac_unrecognized_sep=
892 # The variables have the same names as the options, with
893 # dashes changed to underlines.
894 cache_file=/dev/null
895 exec_prefix=NONE
896 no_create=
897 no_recursion=
898 prefix=NONE
899 program_prefix=NONE
900 program_suffix=NONE
901 program_transform_name=s,x,x,
902 silent=
903 site=
904 srcdir=
905 verbose=
906 x_includes=NONE
907 x_libraries=NONE
909 # Installation directory options.
910 # These are left unexpanded so users can "make install exec_prefix=/foo"
911 # and all the variables that are supposed to be based on exec_prefix
912 # by default will actually change.
913 # Use braces instead of parens because sh, perl, etc. also accept them.
914 # (The list follows the same order as the GNU Coding Standards.)
915 bindir='${exec_prefix}/bin'
916 sbindir='${exec_prefix}/sbin'
917 libexecdir='${exec_prefix}/libexec'
918 datarootdir='${prefix}/share'
919 datadir='${datarootdir}'
920 sysconfdir='${prefix}/etc'
921 sharedstatedir='${prefix}/com'
922 localstatedir='${prefix}/var'
923 includedir='${prefix}/include'
924 oldincludedir='/usr/include'
925 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
926 infodir='${datarootdir}/info'
927 htmldir='${docdir}'
928 dvidir='${docdir}'
929 pdfdir='${docdir}'
930 psdir='${docdir}'
931 libdir='${exec_prefix}/lib'
932 localedir='${datarootdir}/locale'
933 mandir='${datarootdir}/man'
935 ac_prev=
936 ac_dashdash=
937 for ac_option
939 # If the previous option needs an argument, assign it.
940 if test -n "$ac_prev"; then
941 eval $ac_prev=\$ac_option
942 ac_prev=
943 continue
946 case $ac_option in
947 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
948 *) ac_optarg=yes ;;
949 esac
951 # Accept the important Cygnus configure options, so we can diagnose typos.
953 case $ac_dashdash$ac_option in
955 ac_dashdash=yes ;;
957 -bindir | --bindir | --bindi | --bind | --bin | --bi)
958 ac_prev=bindir ;;
959 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
960 bindir=$ac_optarg ;;
962 -build | --build | --buil | --bui | --bu)
963 ac_prev=build_alias ;;
964 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
965 build_alias=$ac_optarg ;;
967 -cache-file | --cache-file | --cache-fil | --cache-fi \
968 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
969 ac_prev=cache_file ;;
970 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
971 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
972 cache_file=$ac_optarg ;;
974 --config-cache | -C)
975 cache_file=config.cache ;;
977 -datadir | --datadir | --datadi | --datad)
978 ac_prev=datadir ;;
979 -datadir=* | --datadir=* | --datadi=* | --datad=*)
980 datadir=$ac_optarg ;;
982 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
983 | --dataroo | --dataro | --datar)
984 ac_prev=datarootdir ;;
985 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
986 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
987 datarootdir=$ac_optarg ;;
989 -disable-* | --disable-*)
990 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
991 # Reject names that are not valid shell variable names.
992 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
993 as_fn_error "invalid feature name: $ac_useropt"
994 ac_useropt_orig=$ac_useropt
995 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
996 case $ac_user_opts in
998 "enable_$ac_useropt"
999 "*) ;;
1000 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1001 ac_unrecognized_sep=', ';;
1002 esac
1003 eval enable_$ac_useropt=no ;;
1005 -docdir | --docdir | --docdi | --doc | --do)
1006 ac_prev=docdir ;;
1007 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1008 docdir=$ac_optarg ;;
1010 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1011 ac_prev=dvidir ;;
1012 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1013 dvidir=$ac_optarg ;;
1015 -enable-* | --enable-*)
1016 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1017 # Reject names that are not valid shell variable names.
1018 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1019 as_fn_error "invalid feature name: $ac_useropt"
1020 ac_useropt_orig=$ac_useropt
1021 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1022 case $ac_user_opts in
1024 "enable_$ac_useropt"
1025 "*) ;;
1026 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1027 ac_unrecognized_sep=', ';;
1028 esac
1029 eval enable_$ac_useropt=\$ac_optarg ;;
1031 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1032 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1033 | --exec | --exe | --ex)
1034 ac_prev=exec_prefix ;;
1035 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1036 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1037 | --exec=* | --exe=* | --ex=*)
1038 exec_prefix=$ac_optarg ;;
1040 -gas | --gas | --ga | --g)
1041 # Obsolete; use --with-gas.
1042 with_gas=yes ;;
1044 -help | --help | --hel | --he | -h)
1045 ac_init_help=long ;;
1046 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1047 ac_init_help=recursive ;;
1048 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1049 ac_init_help=short ;;
1051 -host | --host | --hos | --ho)
1052 ac_prev=host_alias ;;
1053 -host=* | --host=* | --hos=* | --ho=*)
1054 host_alias=$ac_optarg ;;
1056 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1057 ac_prev=htmldir ;;
1058 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1059 | --ht=*)
1060 htmldir=$ac_optarg ;;
1062 -includedir | --includedir | --includedi | --included | --include \
1063 | --includ | --inclu | --incl | --inc)
1064 ac_prev=includedir ;;
1065 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1066 | --includ=* | --inclu=* | --incl=* | --inc=*)
1067 includedir=$ac_optarg ;;
1069 -infodir | --infodir | --infodi | --infod | --info | --inf)
1070 ac_prev=infodir ;;
1071 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1072 infodir=$ac_optarg ;;
1074 -libdir | --libdir | --libdi | --libd)
1075 ac_prev=libdir ;;
1076 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1077 libdir=$ac_optarg ;;
1079 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1080 | --libexe | --libex | --libe)
1081 ac_prev=libexecdir ;;
1082 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1083 | --libexe=* | --libex=* | --libe=*)
1084 libexecdir=$ac_optarg ;;
1086 -localedir | --localedir | --localedi | --localed | --locale)
1087 ac_prev=localedir ;;
1088 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1089 localedir=$ac_optarg ;;
1091 -localstatedir | --localstatedir | --localstatedi | --localstated \
1092 | --localstate | --localstat | --localsta | --localst | --locals)
1093 ac_prev=localstatedir ;;
1094 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1095 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1096 localstatedir=$ac_optarg ;;
1098 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1099 ac_prev=mandir ;;
1100 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1101 mandir=$ac_optarg ;;
1103 -nfp | --nfp | --nf)
1104 # Obsolete; use --without-fp.
1105 with_fp=no ;;
1107 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1108 | --no-cr | --no-c | -n)
1109 no_create=yes ;;
1111 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1112 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1113 no_recursion=yes ;;
1115 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1116 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1117 | --oldin | --oldi | --old | --ol | --o)
1118 ac_prev=oldincludedir ;;
1119 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1120 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1121 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1122 oldincludedir=$ac_optarg ;;
1124 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1125 ac_prev=prefix ;;
1126 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1127 prefix=$ac_optarg ;;
1129 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1130 | --program-pre | --program-pr | --program-p)
1131 ac_prev=program_prefix ;;
1132 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1133 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1134 program_prefix=$ac_optarg ;;
1136 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1137 | --program-suf | --program-su | --program-s)
1138 ac_prev=program_suffix ;;
1139 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1140 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1141 program_suffix=$ac_optarg ;;
1143 -program-transform-name | --program-transform-name \
1144 | --program-transform-nam | --program-transform-na \
1145 | --program-transform-n | --program-transform- \
1146 | --program-transform | --program-transfor \
1147 | --program-transfo | --program-transf \
1148 | --program-trans | --program-tran \
1149 | --progr-tra | --program-tr | --program-t)
1150 ac_prev=program_transform_name ;;
1151 -program-transform-name=* | --program-transform-name=* \
1152 | --program-transform-nam=* | --program-transform-na=* \
1153 | --program-transform-n=* | --program-transform-=* \
1154 | --program-transform=* | --program-transfor=* \
1155 | --program-transfo=* | --program-transf=* \
1156 | --program-trans=* | --program-tran=* \
1157 | --progr-tra=* | --program-tr=* | --program-t=*)
1158 program_transform_name=$ac_optarg ;;
1160 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1161 ac_prev=pdfdir ;;
1162 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1163 pdfdir=$ac_optarg ;;
1165 -psdir | --psdir | --psdi | --psd | --ps)
1166 ac_prev=psdir ;;
1167 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1168 psdir=$ac_optarg ;;
1170 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1171 | -silent | --silent | --silen | --sile | --sil)
1172 silent=yes ;;
1174 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1175 ac_prev=sbindir ;;
1176 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1177 | --sbi=* | --sb=*)
1178 sbindir=$ac_optarg ;;
1180 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1181 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1182 | --sharedst | --shareds | --shared | --share | --shar \
1183 | --sha | --sh)
1184 ac_prev=sharedstatedir ;;
1185 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1186 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1187 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1188 | --sha=* | --sh=*)
1189 sharedstatedir=$ac_optarg ;;
1191 -site | --site | --sit)
1192 ac_prev=site ;;
1193 -site=* | --site=* | --sit=*)
1194 site=$ac_optarg ;;
1196 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1197 ac_prev=srcdir ;;
1198 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1199 srcdir=$ac_optarg ;;
1201 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1202 | --syscon | --sysco | --sysc | --sys | --sy)
1203 ac_prev=sysconfdir ;;
1204 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1205 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1206 sysconfdir=$ac_optarg ;;
1208 -target | --target | --targe | --targ | --tar | --ta | --t)
1209 ac_prev=target_alias ;;
1210 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1211 target_alias=$ac_optarg ;;
1213 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1214 verbose=yes ;;
1216 -version | --version | --versio | --versi | --vers | -V)
1217 ac_init_version=: ;;
1219 -with-* | --with-*)
1220 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1221 # Reject names that are not valid shell variable names.
1222 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1223 as_fn_error "invalid package name: $ac_useropt"
1224 ac_useropt_orig=$ac_useropt
1225 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1226 case $ac_user_opts in
1228 "with_$ac_useropt"
1229 "*) ;;
1230 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1231 ac_unrecognized_sep=', ';;
1232 esac
1233 eval with_$ac_useropt=\$ac_optarg ;;
1235 -without-* | --without-*)
1236 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1237 # Reject names that are not valid shell variable names.
1238 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1239 as_fn_error "invalid package name: $ac_useropt"
1240 ac_useropt_orig=$ac_useropt
1241 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1242 case $ac_user_opts in
1244 "with_$ac_useropt"
1245 "*) ;;
1246 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1247 ac_unrecognized_sep=', ';;
1248 esac
1249 eval with_$ac_useropt=no ;;
1251 --x)
1252 # Obsolete; use --with-x.
1253 with_x=yes ;;
1255 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1256 | --x-incl | --x-inc | --x-in | --x-i)
1257 ac_prev=x_includes ;;
1258 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1259 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1260 x_includes=$ac_optarg ;;
1262 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1263 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1264 ac_prev=x_libraries ;;
1265 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1266 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1267 x_libraries=$ac_optarg ;;
1269 -*) as_fn_error "unrecognized option: \`$ac_option'
1270 Try \`$0 --help' for more information."
1273 *=*)
1274 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1275 # Reject names that are not valid shell variable names.
1276 case $ac_envvar in #(
1277 '' | [0-9]* | *[!_$as_cr_alnum]* )
1278 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1279 esac
1280 eval $ac_envvar=\$ac_optarg
1281 export $ac_envvar ;;
1284 # FIXME: should be removed in autoconf 3.0.
1285 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1286 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1287 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1288 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1291 esac
1292 done
1294 if test -n "$ac_prev"; then
1295 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1296 as_fn_error "missing argument to $ac_option"
1299 if test -n "$ac_unrecognized_opts"; then
1300 case $enable_option_checking in
1301 no) ;;
1302 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1303 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1304 esac
1307 # Check all directory arguments for consistency.
1308 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1309 datadir sysconfdir sharedstatedir localstatedir includedir \
1310 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1311 libdir localedir mandir
1313 eval ac_val=\$$ac_var
1314 # Remove trailing slashes.
1315 case $ac_val in
1316 */ )
1317 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1318 eval $ac_var=\$ac_val;;
1319 esac
1320 # Be sure to have absolute directory names.
1321 case $ac_val in
1322 [\\/$]* | ?:[\\/]* ) continue;;
1323 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1324 esac
1325 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1326 done
1328 # There might be people who depend on the old broken behavior: `$host'
1329 # used to hold the argument of --host etc.
1330 # FIXME: To remove some day.
1331 build=$build_alias
1332 host=$host_alias
1333 target=$target_alias
1335 # FIXME: To remove some day.
1336 if test "x$host_alias" != x; then
1337 if test "x$build_alias" = x; then
1338 cross_compiling=maybe
1339 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1340 If a cross compiler is detected then cross compile mode will be used." >&2
1341 elif test "x$build_alias" != "x$host_alias"; then
1342 cross_compiling=yes
1346 ac_tool_prefix=
1347 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1349 test "$silent" = yes && exec 6>/dev/null
1352 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1353 ac_ls_di=`ls -di .` &&
1354 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1355 as_fn_error "working directory cannot be determined"
1356 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1357 as_fn_error "pwd does not report name of working directory"
1360 # Find the source files, if location was not specified.
1361 if test -z "$srcdir"; then
1362 ac_srcdir_defaulted=yes
1363 # Try the directory containing this script, then the parent directory.
1364 ac_confdir=`$as_dirname -- "$as_myself" ||
1365 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1366 X"$as_myself" : 'X\(//\)[^/]' \| \
1367 X"$as_myself" : 'X\(//\)$' \| \
1368 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1369 $as_echo X"$as_myself" |
1370 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1371 s//\1/
1374 /^X\(\/\/\)[^/].*/{
1375 s//\1/
1378 /^X\(\/\/\)$/{
1379 s//\1/
1382 /^X\(\/\).*/{
1383 s//\1/
1386 s/.*/./; q'`
1387 srcdir=$ac_confdir
1388 if test ! -r "$srcdir/$ac_unique_file"; then
1389 srcdir=..
1391 else
1392 ac_srcdir_defaulted=no
1394 if test ! -r "$srcdir/$ac_unique_file"; then
1395 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1396 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1398 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1399 ac_abs_confdir=`(
1400 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1401 pwd)`
1402 # When building in place, set srcdir=.
1403 if test "$ac_abs_confdir" = "$ac_pwd"; then
1404 srcdir=.
1406 # Remove unnecessary trailing slashes from srcdir.
1407 # Double slashes in file names in object file debugging info
1408 # mess up M-x gdb in Emacs.
1409 case $srcdir in
1410 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1411 esac
1412 for ac_var in $ac_precious_vars; do
1413 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1414 eval ac_env_${ac_var}_value=\$${ac_var}
1415 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1416 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1417 done
1420 # Report the --help message.
1422 if test "$ac_init_help" = "long"; then
1423 # Omit some internal or obsolete options to make the list less imposing.
1424 # This message is too long to be a string in the A/UX 3.1 sh.
1425 cat <<_ACEOF
1426 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1428 Usage: $0 [OPTION]... [VAR=VALUE]...
1430 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1431 VAR=VALUE. See below for descriptions of some of the useful variables.
1433 Defaults for the options are specified in brackets.
1435 Configuration:
1436 -h, --help display this help and exit
1437 --help=short display options specific to this package
1438 --help=recursive display the short help of all the included packages
1439 -V, --version display version information and exit
1440 -q, --quiet, --silent do not print \`checking...' messages
1441 --cache-file=FILE cache test results in FILE [disabled]
1442 -C, --config-cache alias for \`--cache-file=config.cache'
1443 -n, --no-create do not create output files
1444 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1446 Installation directories:
1447 --prefix=PREFIX install architecture-independent files in PREFIX
1448 [$ac_default_prefix]
1449 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1450 [PREFIX]
1452 By default, \`make install' will install all the files in
1453 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1454 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1455 for instance \`--prefix=\$HOME'.
1457 For better control, use the options below.
1459 Fine tuning of the installation directories:
1460 --bindir=DIR user executables [EPREFIX/bin]
1461 --sbindir=DIR system admin executables [EPREFIX/sbin]
1462 --libexecdir=DIR program executables [EPREFIX/libexec]
1463 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1464 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1465 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1466 --libdir=DIR object code libraries [EPREFIX/lib]
1467 --includedir=DIR C header files [PREFIX/include]
1468 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1469 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1470 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1471 --infodir=DIR info documentation [DATAROOTDIR/info]
1472 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1473 --mandir=DIR man documentation [DATAROOTDIR/man]
1474 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1475 --htmldir=DIR html documentation [DOCDIR]
1476 --dvidir=DIR dvi documentation [DOCDIR]
1477 --pdfdir=DIR pdf documentation [DOCDIR]
1478 --psdir=DIR ps documentation [DOCDIR]
1479 _ACEOF
1481 cat <<\_ACEOF
1483 Program names:
1484 --program-prefix=PREFIX prepend PREFIX to installed program names
1485 --program-suffix=SUFFIX append SUFFIX to installed program names
1486 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1488 System types:
1489 --build=BUILD configure for building on BUILD [guessed]
1490 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1491 --target=TARGET configure for building compilers for TARGET [HOST]
1492 _ACEOF
1495 if test -n "$ac_init_help"; then
1496 case $ac_init_help in
1497 short | recursive ) echo "Configuration of package-unused version-unused:";;
1498 esac
1499 cat <<\_ACEOF
1501 Optional Features:
1502 --disable-option-checking ignore unrecognized --enable/--with options
1503 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1504 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1505 --enable-multilib build many library versions (default)
1506 --enable-maintainer-mode enable make rules and dependencies not useful
1507 (and sometimes confusing) to the casual installer
1508 --enable-shared[=PKGS] build shared libraries [default=yes]
1509 --enable-static[=PKGS] build static libraries [default=yes]
1510 --enable-fast-install[=PKGS]
1511 optimize for fast installation [default=yes]
1512 --disable-libtool-lock avoid locking (might break parallel builds)
1513 --disable-hosted-libstdcxx
1514 only build freestanding C++ runtime support
1515 --enable-sjlj-exceptions
1516 force use of builtin_setjmp for exceptions
1517 [default=auto]
1518 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1519 [default=$is_hosted]
1520 --enable-cstdio[=PACKAGE]
1521 use target-specific I/O package [default=stdio]
1522 --enable-clocale[=MODEL]
1523 use MODEL for target locale package [default=auto]
1524 --enable-nls use Native Language Support (default)
1525 --enable-libstdcxx-allocator[=KIND]
1526 use KIND for target std::allocator base
1527 [default=auto]
1528 --enable-cheaders[=KIND]
1529 construct "C" headers for g++ [default=$c_model]
1530 --enable-long-long enable template specializations for 'long long'
1531 [default=yes]
1532 --enable-wchar_t enable template specializations for 'wchar_t'
1533 [default=yes]
1534 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1535 --enable-concept-checks use Boost-derived template checks [default=no]
1536 --enable-libstdcxx-debug-flags=FLAGS
1537 pass compiler FLAGS when building debug library
1538 [default="-g3 -O0"]
1539 --enable-libstdcxx-debug
1540 build extra debug library [default=no]
1541 --enable-cxx-flags=FLAGS
1542 pass compiler FLAGS when building library [default=]
1543 --enable-fully-dynamic-string
1544 do not put empty strings in per-process static
1545 memory [default=no]
1546 --enable-extern-template
1547 enable extern template [default=yes]
1548 --enable-libstdcxx-time[=KIND]
1549 use KIND for check type [default=no]
1550 --enable-tls Use thread-local storage [default=yes]
1551 --disable-rpath do not hardcode runtime library paths
1552 --enable-linux-futex use the Linux futex system call [default=default]
1553 --enable-symvers[=STYLE]
1554 enables symbol versioning of the shared library
1555 [default=yes]
1556 --enable-visibility enables visibility safe usage [default=yes]
1557 --enable-version-specific-runtime-libs
1558 Specify that runtime libraries should be installed
1559 in a compiler-specific directory
1561 Optional Packages:
1562 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1563 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1564 --with-target-subdir=SUBDIR
1565 configuring in a subdirectory
1566 --with-cross-host=HOST configuring with a cross compiler
1567 --with-newlib assume newlib as a system C library
1568 --with-pic try to use only PIC/non-PIC objects [default=use
1569 both]
1570 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1571 --with-gnu-ld assume the C compiler uses GNU ld default=no
1572 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1573 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1574 --with-system-libunwind use installed libunwind
1575 --with-gxx-include-dir=DIR
1576 installation directory for include files
1578 Some influential environment variables:
1579 CC C compiler command
1580 CFLAGS C compiler flags
1581 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1582 nonstandard directory <lib dir>
1583 LIBS libraries to pass to the linker, e.g. -l<library>
1584 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1585 you have headers in a nonstandard directory <include dir>
1586 CXX C++ compiler command
1587 CXXFLAGS C++ compiler flags
1588 CPP C preprocessor
1589 CXXCPP C++ preprocessor
1590 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1591 `c++filt', `gc++filt' on PATH.
1593 Use these variables to override the choices made by `configure' or to help
1594 it to find libraries and programs with nonstandard names/locations.
1596 Report bugs to the package provider.
1597 _ACEOF
1598 ac_status=$?
1601 if test "$ac_init_help" = "recursive"; then
1602 # If there are subdirs, report their specific --help.
1603 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1604 test -d "$ac_dir" ||
1605 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1606 continue
1607 ac_builddir=.
1609 case "$ac_dir" in
1610 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1612 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1613 # A ".." for each directory in $ac_dir_suffix.
1614 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1615 case $ac_top_builddir_sub in
1616 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1617 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1618 esac ;;
1619 esac
1620 ac_abs_top_builddir=$ac_pwd
1621 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1622 # for backward compatibility:
1623 ac_top_builddir=$ac_top_build_prefix
1625 case $srcdir in
1626 .) # We are building in place.
1627 ac_srcdir=.
1628 ac_top_srcdir=$ac_top_builddir_sub
1629 ac_abs_top_srcdir=$ac_pwd ;;
1630 [\\/]* | ?:[\\/]* ) # Absolute name.
1631 ac_srcdir=$srcdir$ac_dir_suffix;
1632 ac_top_srcdir=$srcdir
1633 ac_abs_top_srcdir=$srcdir ;;
1634 *) # Relative name.
1635 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1636 ac_top_srcdir=$ac_top_build_prefix$srcdir
1637 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1638 esac
1639 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1641 cd "$ac_dir" || { ac_status=$?; continue; }
1642 # Check for guested configure.
1643 if test -f "$ac_srcdir/configure.gnu"; then
1644 echo &&
1645 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1646 elif test -f "$ac_srcdir/configure"; then
1647 echo &&
1648 $SHELL "$ac_srcdir/configure" --help=recursive
1649 else
1650 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1651 fi || ac_status=$?
1652 cd "$ac_pwd" || { ac_status=$?; break; }
1653 done
1656 test -n "$ac_init_help" && exit $ac_status
1657 if $ac_init_version; then
1658 cat <<\_ACEOF
1659 package-unused configure version-unused
1660 generated by GNU Autoconf 2.64
1662 Copyright (C) 2009 Free Software Foundation, Inc.
1663 This configure script is free software; the Free Software Foundation
1664 gives unlimited permission to copy, distribute and modify it.
1665 _ACEOF
1666 exit
1669 ## ------------------------ ##
1670 ## Autoconf initialization. ##
1671 ## ------------------------ ##
1673 # ac_fn_c_try_compile LINENO
1674 # --------------------------
1675 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1676 ac_fn_c_try_compile ()
1678 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1679 rm -f conftest.$ac_objext
1680 if { { ac_try="$ac_compile"
1681 case "(($ac_try" in
1682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1683 *) ac_try_echo=$ac_try;;
1684 esac
1685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1686 $as_echo "$ac_try_echo"; } >&5
1687 (eval "$ac_compile") 2>conftest.err
1688 ac_status=$?
1689 if test -s conftest.err; then
1690 grep -v '^ *+' conftest.err >conftest.er1
1691 cat conftest.er1 >&5
1692 mv -f conftest.er1 conftest.err
1694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1695 test $ac_status = 0; } && {
1696 test -z "$ac_c_werror_flag" ||
1697 test ! -s conftest.err
1698 } && test -s conftest.$ac_objext; then :
1699 ac_retval=0
1700 else
1701 $as_echo "$as_me: failed program was:" >&5
1702 sed 's/^/| /' conftest.$ac_ext >&5
1704 ac_retval=1
1706 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1707 return $ac_retval
1709 } # ac_fn_c_try_compile
1711 # ac_fn_cxx_try_compile LINENO
1712 # ----------------------------
1713 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1714 ac_fn_cxx_try_compile ()
1716 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1717 rm -f conftest.$ac_objext
1718 if { { ac_try="$ac_compile"
1719 case "(($ac_try" in
1720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1721 *) ac_try_echo=$ac_try;;
1722 esac
1723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1724 $as_echo "$ac_try_echo"; } >&5
1725 (eval "$ac_compile") 2>conftest.err
1726 ac_status=$?
1727 if test -s conftest.err; then
1728 grep -v '^ *+' conftest.err >conftest.er1
1729 cat conftest.er1 >&5
1730 mv -f conftest.er1 conftest.err
1732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1733 test $ac_status = 0; } && {
1734 test -z "$ac_cxx_werror_flag" ||
1735 test ! -s conftest.err
1736 } && test -s conftest.$ac_objext; then :
1737 ac_retval=0
1738 else
1739 $as_echo "$as_me: failed program was:" >&5
1740 sed 's/^/| /' conftest.$ac_ext >&5
1742 ac_retval=1
1744 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1745 return $ac_retval
1747 } # ac_fn_cxx_try_compile
1749 # ac_fn_c_try_cpp LINENO
1750 # ----------------------
1751 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1752 ac_fn_c_try_cpp ()
1754 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1755 if { { ac_try="$ac_cpp conftest.$ac_ext"
1756 case "(($ac_try" in
1757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1758 *) ac_try_echo=$ac_try;;
1759 esac
1760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1761 $as_echo "$ac_try_echo"; } >&5
1762 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1763 ac_status=$?
1764 if test -s conftest.err; then
1765 grep -v '^ *+' conftest.err >conftest.er1
1766 cat conftest.er1 >&5
1767 mv -f conftest.er1 conftest.err
1769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1770 test $ac_status = 0; } >/dev/null && {
1771 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1772 test ! -s conftest.err
1773 }; then :
1774 ac_retval=0
1775 else
1776 $as_echo "$as_me: failed program was:" >&5
1777 sed 's/^/| /' conftest.$ac_ext >&5
1779 ac_retval=1
1781 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1782 return $ac_retval
1784 } # ac_fn_c_try_cpp
1786 # ac_fn_c_try_link LINENO
1787 # -----------------------
1788 # Try to link conftest.$ac_ext, and return whether this succeeded.
1789 ac_fn_c_try_link ()
1791 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1792 rm -f conftest.$ac_objext conftest$ac_exeext
1793 if { { ac_try="$ac_link"
1794 case "(($ac_try" in
1795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1796 *) ac_try_echo=$ac_try;;
1797 esac
1798 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1799 $as_echo "$ac_try_echo"; } >&5
1800 (eval "$ac_link") 2>conftest.err
1801 ac_status=$?
1802 if test -s conftest.err; then
1803 grep -v '^ *+' conftest.err >conftest.er1
1804 cat conftest.er1 >&5
1805 mv -f conftest.er1 conftest.err
1807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1808 test $ac_status = 0; } && {
1809 test -z "$ac_c_werror_flag" ||
1810 test ! -s conftest.err
1811 } && test -s conftest$ac_exeext && {
1812 test "$cross_compiling" = yes ||
1813 $as_test_x conftest$ac_exeext
1814 }; then :
1815 ac_retval=0
1816 else
1817 $as_echo "$as_me: failed program was:" >&5
1818 sed 's/^/| /' conftest.$ac_ext >&5
1820 ac_retval=1
1822 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1823 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1824 # interfere with the next link command; also delete a directory that is
1825 # left behind by Apple's compiler. We do this before executing the actions.
1826 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1827 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1828 return $ac_retval
1830 } # ac_fn_c_try_link
1832 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1833 # -------------------------------------------------------
1834 # Tests whether HEADER exists and can be compiled using the include files in
1835 # INCLUDES, setting the cache variable VAR accordingly.
1836 ac_fn_c_check_header_compile ()
1838 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1840 $as_echo_n "checking for $2... " >&6; }
1841 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1842 $as_echo_n "(cached) " >&6
1843 else
1844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1845 /* end confdefs.h. */
1847 #include <$2>
1848 _ACEOF
1849 if ac_fn_c_try_compile "$LINENO"; then :
1850 eval "$3=yes"
1851 else
1852 eval "$3=no"
1854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1856 eval ac_res=\$$3
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1858 $as_echo "$ac_res" >&6; }
1859 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1861 } # ac_fn_c_check_header_compile
1863 # ac_fn_c_try_run LINENO
1864 # ----------------------
1865 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1866 # that executables *can* be run.
1867 ac_fn_c_try_run ()
1869 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1870 if { { ac_try="$ac_link"
1871 case "(($ac_try" in
1872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1873 *) ac_try_echo=$ac_try;;
1874 esac
1875 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1876 $as_echo "$ac_try_echo"; } >&5
1877 (eval "$ac_link") 2>&5
1878 ac_status=$?
1879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1880 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1881 { { case "(($ac_try" in
1882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1883 *) ac_try_echo=$ac_try;;
1884 esac
1885 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1886 $as_echo "$ac_try_echo"; } >&5
1887 (eval "$ac_try") 2>&5
1888 ac_status=$?
1889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1890 test $ac_status = 0; }; }; then :
1891 ac_retval=0
1892 else
1893 $as_echo "$as_me: program exited with status $ac_status" >&5
1894 $as_echo "$as_me: failed program was:" >&5
1895 sed 's/^/| /' conftest.$ac_ext >&5
1897 ac_retval=$ac_status
1899 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1900 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1901 return $ac_retval
1903 } # ac_fn_c_try_run
1905 # ac_fn_c_check_func LINENO FUNC VAR
1906 # ----------------------------------
1907 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1908 ac_fn_c_check_func ()
1910 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1912 $as_echo_n "checking for $2... " >&6; }
1913 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1914 $as_echo_n "(cached) " >&6
1915 else
1916 if test x$gcc_no_link = xyes; then
1917 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1920 /* end confdefs.h. */
1921 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1923 #define $2 innocuous_$2
1925 /* System header to define __stub macros and hopefully few prototypes,
1926 which can conflict with char $2 (); below.
1927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1928 <limits.h> exists even on freestanding compilers. */
1930 #ifdef __STDC__
1931 # include <limits.h>
1932 #else
1933 # include <assert.h>
1934 #endif
1936 #undef $2
1938 /* Override any GCC internal prototype to avoid an error.
1939 Use char because int might match the return type of a GCC
1940 builtin and then its argument prototype would still apply. */
1941 #ifdef __cplusplus
1942 extern "C"
1943 #endif
1944 char $2 ();
1945 /* The GNU C library defines this for functions which it implements
1946 to always fail with ENOSYS. Some functions are actually named
1947 something starting with __ and the normal name is an alias. */
1948 #if defined __stub_$2 || defined __stub___$2
1949 choke me
1950 #endif
1953 main ()
1955 return $2 ();
1957 return 0;
1959 _ACEOF
1960 if ac_fn_c_try_link "$LINENO"; then :
1961 eval "$3=yes"
1962 else
1963 eval "$3=no"
1965 rm -f core conftest.err conftest.$ac_objext \
1966 conftest$ac_exeext conftest.$ac_ext
1968 eval ac_res=\$$3
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1970 $as_echo "$ac_res" >&6; }
1971 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1973 } # ac_fn_c_check_func
1975 # ac_fn_cxx_try_cpp LINENO
1976 # ------------------------
1977 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1978 ac_fn_cxx_try_cpp ()
1980 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1981 if { { ac_try="$ac_cpp conftest.$ac_ext"
1982 case "(($ac_try" in
1983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1984 *) ac_try_echo=$ac_try;;
1985 esac
1986 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1987 $as_echo "$ac_try_echo"; } >&5
1988 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1989 ac_status=$?
1990 if test -s conftest.err; then
1991 grep -v '^ *+' conftest.err >conftest.er1
1992 cat conftest.er1 >&5
1993 mv -f conftest.er1 conftest.err
1995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1996 test $ac_status = 0; } >/dev/null && {
1997 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1998 test ! -s conftest.err
1999 }; then :
2000 ac_retval=0
2001 else
2002 $as_echo "$as_me: failed program was:" >&5
2003 sed 's/^/| /' conftest.$ac_ext >&5
2005 ac_retval=1
2007 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2008 return $ac_retval
2010 } # ac_fn_cxx_try_cpp
2012 # ac_fn_cxx_try_link LINENO
2013 # -------------------------
2014 # Try to link conftest.$ac_ext, and return whether this succeeded.
2015 ac_fn_cxx_try_link ()
2017 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2018 rm -f conftest.$ac_objext conftest$ac_exeext
2019 if { { ac_try="$ac_link"
2020 case "(($ac_try" in
2021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2022 *) ac_try_echo=$ac_try;;
2023 esac
2024 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2025 $as_echo "$ac_try_echo"; } >&5
2026 (eval "$ac_link") 2>conftest.err
2027 ac_status=$?
2028 if test -s conftest.err; then
2029 grep -v '^ *+' conftest.err >conftest.er1
2030 cat conftest.er1 >&5
2031 mv -f conftest.er1 conftest.err
2033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2034 test $ac_status = 0; } && {
2035 test -z "$ac_cxx_werror_flag" ||
2036 test ! -s conftest.err
2037 } && test -s conftest$ac_exeext && {
2038 test "$cross_compiling" = yes ||
2039 $as_test_x conftest$ac_exeext
2040 }; then :
2041 ac_retval=0
2042 else
2043 $as_echo "$as_me: failed program was:" >&5
2044 sed 's/^/| /' conftest.$ac_ext >&5
2046 ac_retval=1
2048 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2049 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2050 # interfere with the next link command; also delete a directory that is
2051 # left behind by Apple's compiler. We do this before executing the actions.
2052 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2053 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2054 return $ac_retval
2056 } # ac_fn_cxx_try_link
2058 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2059 # -------------------------------------------------------
2060 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2061 # the include files in INCLUDES and setting the cache variable VAR
2062 # accordingly.
2063 ac_fn_c_check_header_mongrel ()
2065 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2066 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2068 $as_echo_n "checking for $2... " >&6; }
2069 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2070 $as_echo_n "(cached) " >&6
2072 eval ac_res=\$$3
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2074 $as_echo "$ac_res" >&6; }
2075 else
2076 # Is the header compilable?
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2078 $as_echo_n "checking $2 usability... " >&6; }
2079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2080 /* end confdefs.h. */
2082 #include <$2>
2083 _ACEOF
2084 if ac_fn_c_try_compile "$LINENO"; then :
2085 ac_header_compiler=yes
2086 else
2087 ac_header_compiler=no
2089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2091 $as_echo "$ac_header_compiler" >&6; }
2093 # Is the header present?
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2095 $as_echo_n "checking $2 presence... " >&6; }
2096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2097 /* end confdefs.h. */
2098 #include <$2>
2099 _ACEOF
2100 if ac_fn_c_try_cpp "$LINENO"; then :
2101 ac_header_preproc=yes
2102 else
2103 ac_header_preproc=no
2105 rm -f conftest.err conftest.$ac_ext
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2107 $as_echo "$ac_header_preproc" >&6; }
2109 # So? What about this header?
2110 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2111 yes:no: )
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2113 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2115 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2117 no:yes:* )
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2119 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2121 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2123 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2125 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2127 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2129 esac
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2131 $as_echo_n "checking for $2... " >&6; }
2132 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2133 $as_echo_n "(cached) " >&6
2134 else
2135 eval "$3=\$ac_header_compiler"
2137 eval ac_res=\$$3
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2139 $as_echo "$ac_res" >&6; }
2141 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2143 } # ac_fn_c_check_header_mongrel
2145 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2146 # ---------------------------------------------------------
2147 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2148 # the include files in INCLUDES and setting the cache variable VAR
2149 # accordingly.
2150 ac_fn_cxx_check_header_mongrel ()
2152 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2153 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2155 $as_echo_n "checking for $2... " >&6; }
2156 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2157 $as_echo_n "(cached) " >&6
2159 eval ac_res=\$$3
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2161 $as_echo "$ac_res" >&6; }
2162 else
2163 # Is the header compilable?
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2165 $as_echo_n "checking $2 usability... " >&6; }
2166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2167 /* end confdefs.h. */
2169 #include <$2>
2170 _ACEOF
2171 if ac_fn_cxx_try_compile "$LINENO"; then :
2172 ac_header_compiler=yes
2173 else
2174 ac_header_compiler=no
2176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2178 $as_echo "$ac_header_compiler" >&6; }
2180 # Is the header present?
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2182 $as_echo_n "checking $2 presence... " >&6; }
2183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2184 /* end confdefs.h. */
2185 #include <$2>
2186 _ACEOF
2187 if ac_fn_cxx_try_cpp "$LINENO"; then :
2188 ac_header_preproc=yes
2189 else
2190 ac_header_preproc=no
2192 rm -f conftest.err conftest.$ac_ext
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2194 $as_echo "$ac_header_preproc" >&6; }
2196 # So? What about this header?
2197 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2198 yes:no: )
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2200 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2202 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2204 no:yes:* )
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2206 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2208 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2210 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2212 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2214 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2216 esac
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2218 $as_echo_n "checking for $2... " >&6; }
2219 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2220 $as_echo_n "(cached) " >&6
2221 else
2222 eval "$3=\$ac_header_compiler"
2224 eval ac_res=\$$3
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2226 $as_echo "$ac_res" >&6; }
2228 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2230 } # ac_fn_cxx_check_header_mongrel
2232 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2233 # --------------------------------------------
2234 # Tries to find the compile-time value of EXPR in a program that includes
2235 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2236 # computed
2237 ac_fn_c_compute_int ()
2239 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2240 if test "$cross_compiling" = yes; then
2241 # Depending upon the size, compute the lo and hi bounds.
2242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2243 /* end confdefs.h. */
2246 main ()
2248 static int test_array [1 - 2 * !(($2) >= 0)];
2249 test_array [0] = 0
2252 return 0;
2254 _ACEOF
2255 if ac_fn_c_try_compile "$LINENO"; then :
2256 ac_lo=0 ac_mid=0
2257 while :; do
2258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2259 /* end confdefs.h. */
2262 main ()
2264 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2265 test_array [0] = 0
2268 return 0;
2270 _ACEOF
2271 if ac_fn_c_try_compile "$LINENO"; then :
2272 ac_hi=$ac_mid; break
2273 else
2274 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2275 if test $ac_lo -le $ac_mid; then
2276 ac_lo= ac_hi=
2277 break
2279 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2282 done
2283 else
2284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2285 /* end confdefs.h. */
2288 main ()
2290 static int test_array [1 - 2 * !(($2) < 0)];
2291 test_array [0] = 0
2294 return 0;
2296 _ACEOF
2297 if ac_fn_c_try_compile "$LINENO"; then :
2298 ac_hi=-1 ac_mid=-1
2299 while :; do
2300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2301 /* end confdefs.h. */
2304 main ()
2306 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2307 test_array [0] = 0
2310 return 0;
2312 _ACEOF
2313 if ac_fn_c_try_compile "$LINENO"; then :
2314 ac_lo=$ac_mid; break
2315 else
2316 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2317 if test $ac_mid -le $ac_hi; then
2318 ac_lo= ac_hi=
2319 break
2321 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2324 done
2325 else
2326 ac_lo= ac_hi=
2328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2331 # Binary search between lo and hi bounds.
2332 while test "x$ac_lo" != "x$ac_hi"; do
2333 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2335 /* end confdefs.h. */
2338 main ()
2340 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2341 test_array [0] = 0
2344 return 0;
2346 _ACEOF
2347 if ac_fn_c_try_compile "$LINENO"; then :
2348 ac_hi=$ac_mid
2349 else
2350 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2353 done
2354 case $ac_lo in #((
2355 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2356 '') ac_retval=1 ;;
2357 esac
2358 else
2359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2360 /* end confdefs.h. */
2362 static long int longval () { return $2; }
2363 static unsigned long int ulongval () { return $2; }
2364 #include <stdio.h>
2365 #include <stdlib.h>
2367 main ()
2370 FILE *f = fopen ("conftest.val", "w");
2371 if (! f)
2372 return 1;
2373 if (($2) < 0)
2375 long int i = longval ();
2376 if (i != ($2))
2377 return 1;
2378 fprintf (f, "%ld", i);
2380 else
2382 unsigned long int i = ulongval ();
2383 if (i != ($2))
2384 return 1;
2385 fprintf (f, "%lu", i);
2387 /* Do not output a trailing newline, as this causes \r\n confusion
2388 on some platforms. */
2389 return ferror (f) || fclose (f) != 0;
2392 return 0;
2394 _ACEOF
2395 if ac_fn_c_try_run "$LINENO"; then :
2396 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2397 else
2398 ac_retval=1
2400 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2401 conftest.$ac_objext conftest.beam conftest.$ac_ext
2402 rm -f conftest.val
2405 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2406 return $ac_retval
2408 } # ac_fn_c_compute_int
2410 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2411 # -------------------------------------------
2412 # Tests whether TYPE exists after having included INCLUDES, setting cache
2413 # variable VAR accordingly.
2414 ac_fn_c_check_type ()
2416 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2418 $as_echo_n "checking for $2... " >&6; }
2419 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2420 $as_echo_n "(cached) " >&6
2421 else
2422 eval "$3=no"
2423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2424 /* end confdefs.h. */
2427 main ()
2429 if (sizeof ($2))
2430 return 0;
2432 return 0;
2434 _ACEOF
2435 if ac_fn_c_try_compile "$LINENO"; then :
2436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2437 /* end confdefs.h. */
2440 main ()
2442 if (sizeof (($2)))
2443 return 0;
2445 return 0;
2447 _ACEOF
2448 if ac_fn_c_try_compile "$LINENO"; then :
2450 else
2451 eval "$3=yes"
2453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2457 eval ac_res=\$$3
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2459 $as_echo "$ac_res" >&6; }
2460 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2462 } # ac_fn_c_check_type
2463 cat >config.log <<_ACEOF
2464 This file contains any messages produced by compilers while
2465 running configure, to aid debugging if configure makes a mistake.
2467 It was created by package-unused $as_me version-unused, which was
2468 generated by GNU Autoconf 2.64. Invocation command line was
2470 $ $0 $@
2472 _ACEOF
2473 exec 5>>config.log
2475 cat <<_ASUNAME
2476 ## --------- ##
2477 ## Platform. ##
2478 ## --------- ##
2480 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2481 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2482 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2483 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2484 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2486 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2487 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2489 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2490 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2491 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2492 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2493 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2494 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2495 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2497 _ASUNAME
2499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2500 for as_dir in $PATH
2502 IFS=$as_save_IFS
2503 test -z "$as_dir" && as_dir=.
2504 $as_echo "PATH: $as_dir"
2505 done
2506 IFS=$as_save_IFS
2508 } >&5
2510 cat >&5 <<_ACEOF
2513 ## ----------- ##
2514 ## Core tests. ##
2515 ## ----------- ##
2517 _ACEOF
2520 # Keep a trace of the command line.
2521 # Strip out --no-create and --no-recursion so they do not pile up.
2522 # Strip out --silent because we don't want to record it for future runs.
2523 # Also quote any args containing shell meta-characters.
2524 # Make two passes to allow for proper duplicate-argument suppression.
2525 ac_configure_args=
2526 ac_configure_args0=
2527 ac_configure_args1=
2528 ac_must_keep_next=false
2529 for ac_pass in 1 2
2531 for ac_arg
2533 case $ac_arg in
2534 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2535 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2536 | -silent | --silent | --silen | --sile | --sil)
2537 continue ;;
2538 *\'*)
2539 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2540 esac
2541 case $ac_pass in
2542 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2544 as_fn_append ac_configure_args1 " '$ac_arg'"
2545 if test $ac_must_keep_next = true; then
2546 ac_must_keep_next=false # Got value, back to normal.
2547 else
2548 case $ac_arg in
2549 *=* | --config-cache | -C | -disable-* | --disable-* \
2550 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2551 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2552 | -with-* | --with-* | -without-* | --without-* | --x)
2553 case "$ac_configure_args0 " in
2554 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2555 esac
2557 -* ) ac_must_keep_next=true ;;
2558 esac
2560 as_fn_append ac_configure_args " '$ac_arg'"
2562 esac
2563 done
2564 done
2565 { ac_configure_args0=; unset ac_configure_args0;}
2566 { ac_configure_args1=; unset ac_configure_args1;}
2568 # When interrupted or exit'd, cleanup temporary files, and complete
2569 # config.log. We remove comments because anyway the quotes in there
2570 # would cause problems or look ugly.
2571 # WARNING: Use '\'' to represent an apostrophe within the trap.
2572 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2573 trap 'exit_status=$?
2574 # Save into config.log some information that might help in debugging.
2576 echo
2578 cat <<\_ASBOX
2579 ## ---------------- ##
2580 ## Cache variables. ##
2581 ## ---------------- ##
2582 _ASBOX
2583 echo
2584 # The following way of writing the cache mishandles newlines in values,
2586 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2587 eval ac_val=\$$ac_var
2588 case $ac_val in #(
2589 *${as_nl}*)
2590 case $ac_var in #(
2591 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2592 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2593 esac
2594 case $ac_var in #(
2595 _ | IFS | as_nl) ;; #(
2596 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2597 *) { eval $ac_var=; unset $ac_var;} ;;
2598 esac ;;
2599 esac
2600 done
2601 (set) 2>&1 |
2602 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2603 *${as_nl}ac_space=\ *)
2604 sed -n \
2605 "s/'\''/'\''\\\\'\'''\''/g;
2606 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2607 ;; #(
2609 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2611 esac |
2612 sort
2614 echo
2616 cat <<\_ASBOX
2617 ## ----------------- ##
2618 ## Output variables. ##
2619 ## ----------------- ##
2620 _ASBOX
2621 echo
2622 for ac_var in $ac_subst_vars
2624 eval ac_val=\$$ac_var
2625 case $ac_val in
2626 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2627 esac
2628 $as_echo "$ac_var='\''$ac_val'\''"
2629 done | sort
2630 echo
2632 if test -n "$ac_subst_files"; then
2633 cat <<\_ASBOX
2634 ## ------------------- ##
2635 ## File substitutions. ##
2636 ## ------------------- ##
2637 _ASBOX
2638 echo
2639 for ac_var in $ac_subst_files
2641 eval ac_val=\$$ac_var
2642 case $ac_val in
2643 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2644 esac
2645 $as_echo "$ac_var='\''$ac_val'\''"
2646 done | sort
2647 echo
2650 if test -s confdefs.h; then
2651 cat <<\_ASBOX
2652 ## ----------- ##
2653 ## confdefs.h. ##
2654 ## ----------- ##
2655 _ASBOX
2656 echo
2657 cat confdefs.h
2658 echo
2660 test "$ac_signal" != 0 &&
2661 $as_echo "$as_me: caught signal $ac_signal"
2662 $as_echo "$as_me: exit $exit_status"
2663 } >&5
2664 rm -f core *.core core.conftest.* &&
2665 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2666 exit $exit_status
2668 for ac_signal in 1 2 13 15; do
2669 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2670 done
2671 ac_signal=0
2673 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2674 rm -f -r conftest* confdefs.h
2676 $as_echo "/* confdefs.h */" > confdefs.h
2678 # Predefined preprocessor variables.
2680 cat >>confdefs.h <<_ACEOF
2681 #define PACKAGE_NAME "$PACKAGE_NAME"
2682 _ACEOF
2684 cat >>confdefs.h <<_ACEOF
2685 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2686 _ACEOF
2688 cat >>confdefs.h <<_ACEOF
2689 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2690 _ACEOF
2692 cat >>confdefs.h <<_ACEOF
2693 #define PACKAGE_STRING "$PACKAGE_STRING"
2694 _ACEOF
2696 cat >>confdefs.h <<_ACEOF
2697 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2698 _ACEOF
2700 cat >>confdefs.h <<_ACEOF
2701 #define PACKAGE_URL "$PACKAGE_URL"
2702 _ACEOF
2705 # Let the site file select an alternate cache file if it wants to.
2706 # Prefer an explicitly selected file to automatically selected ones.
2707 ac_site_file1=NONE
2708 ac_site_file2=NONE
2709 if test -n "$CONFIG_SITE"; then
2710 ac_site_file1=$CONFIG_SITE
2711 elif test "x$prefix" != xNONE; then
2712 ac_site_file1=$prefix/share/config.site
2713 ac_site_file2=$prefix/etc/config.site
2714 else
2715 ac_site_file1=$ac_default_prefix/share/config.site
2716 ac_site_file2=$ac_default_prefix/etc/config.site
2718 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2720 test "x$ac_site_file" = xNONE && continue
2721 if test -r "$ac_site_file"; then
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2723 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2724 sed 's/^/| /' "$ac_site_file" >&5
2725 . "$ac_site_file"
2727 done
2729 if test -r "$cache_file"; then
2730 # Some versions of bash will fail to source /dev/null (special
2731 # files actually), so we avoid doing that.
2732 if test -f "$cache_file"; then
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2734 $as_echo "$as_me: loading cache $cache_file" >&6;}
2735 case $cache_file in
2736 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2737 *) . "./$cache_file";;
2738 esac
2740 else
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2742 $as_echo "$as_me: creating cache $cache_file" >&6;}
2743 >$cache_file
2746 # Check that the precious variables saved in the cache have kept the same
2747 # value.
2748 ac_cache_corrupted=false
2749 for ac_var in $ac_precious_vars; do
2750 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2751 eval ac_new_set=\$ac_env_${ac_var}_set
2752 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2753 eval ac_new_val=\$ac_env_${ac_var}_value
2754 case $ac_old_set,$ac_new_set in
2755 set,)
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2757 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2758 ac_cache_corrupted=: ;;
2759 ,set)
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2761 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2762 ac_cache_corrupted=: ;;
2763 ,);;
2765 if test "x$ac_old_val" != "x$ac_new_val"; then
2766 # differences in whitespace do not lead to failure.
2767 ac_old_val_w=`echo x $ac_old_val`
2768 ac_new_val_w=`echo x $ac_new_val`
2769 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2771 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2772 ac_cache_corrupted=:
2773 else
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2775 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2776 eval $ac_var=\$ac_old_val
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2779 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2781 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2782 fi;;
2783 esac
2784 # Pass precious variables to config.status.
2785 if test "$ac_new_set" = set; then
2786 case $ac_new_val in
2787 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2788 *) ac_arg=$ac_var=$ac_new_val ;;
2789 esac
2790 case " $ac_configure_args " in
2791 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2792 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2793 esac
2795 done
2796 if $ac_cache_corrupted; then
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2798 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2800 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2801 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2803 ## -------------------- ##
2804 ## Main body of script. ##
2805 ## -------------------- ##
2807 ac_ext=c
2808 ac_cpp='$CPP $CPPFLAGS'
2809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2818 ac_config_headers="$ac_config_headers config.h"
2821 # This works around the fact that libtool configuration may change LD
2822 # for this particular configuration, but some shells, instead of
2823 # keeping the changes in LD private, export them just because LD is
2824 # exported. Only used at the end of this file.
2825 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2827 # For libtool versioning info, format is CURRENT:REVISION:AGE
2828 libtool_VERSION=6:15:0
2831 # Find the rest of the source tree framework.
2832 # Default to --enable-multilib
2833 # Check whether --enable-multilib was given.
2834 if test "${enable_multilib+set}" = set; then :
2835 enableval=$enable_multilib; case "$enableval" in
2836 yes) multilib=yes ;;
2837 no) multilib=no ;;
2838 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2839 esac
2840 else
2841 multilib=yes
2845 # We may get other options which we leave undocumented:
2846 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2847 # See config-ml.in if you want the gory details.
2849 if test "$srcdir" = "."; then
2850 if test "$with_target_subdir" != "."; then
2851 multi_basedir="$srcdir/$with_multisrctop../.."
2852 else
2853 multi_basedir="$srcdir/$with_multisrctop.."
2855 else
2856 multi_basedir="$srcdir/.."
2860 # Even if the default multilib is not a cross compilation,
2861 # it may be that some of the other multilibs are.
2862 if test $cross_compiling = no && test $multilib = yes \
2863 && test "x${with_multisubdir}" != x ; then
2864 cross_compiling=maybe
2867 ac_config_commands="$ac_config_commands default-1"
2870 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2872 # You will slowly go insane if you do not grok the following fact: when
2873 # building v3 as part of the compiler, the top-level /target/ becomes the
2874 # library's /host/. configure then causes --target to default to --host,
2875 # exactly like any other package using autoconf. Therefore, 'target' and
2876 # 'host' will always be the same. This makes sense both for native and
2877 # cross compilers, just think about it for a little while. :-)
2879 # Also, if v3 is being configured as part of a cross compiler, the top-level
2880 # configure script will pass the "real" host as $with_cross_host.
2882 # Do not delete or change the following two lines. For why, see
2883 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2884 ac_aux_dir=
2885 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2886 for ac_t in install-sh install.sh shtool; do
2887 if test -f "$ac_dir/$ac_t"; then
2888 ac_aux_dir=$ac_dir
2889 ac_install_sh="$ac_aux_dir/$ac_t -c"
2890 break 2
2892 done
2893 done
2894 if test -z "$ac_aux_dir"; then
2895 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2898 # These three variables are undocumented and unsupported,
2899 # and are intended to be withdrawn in a future Autoconf release.
2900 # They can cause serious problems if a builder's source tree is in a directory
2901 # whose full name contains unusual characters.
2902 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2903 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2904 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2907 # Make sure we can run config.sub.
2908 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2909 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2912 $as_echo_n "checking build system type... " >&6; }
2913 if test "${ac_cv_build+set}" = set; then :
2914 $as_echo_n "(cached) " >&6
2915 else
2916 ac_build_alias=$build_alias
2917 test "x$ac_build_alias" = x &&
2918 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2919 test "x$ac_build_alias" = x &&
2920 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2921 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2922 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2926 $as_echo "$ac_cv_build" >&6; }
2927 case $ac_cv_build in
2928 *-*-*) ;;
2929 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2930 esac
2931 build=$ac_cv_build
2932 ac_save_IFS=$IFS; IFS='-'
2933 set x $ac_cv_build
2934 shift
2935 build_cpu=$1
2936 build_vendor=$2
2937 shift; shift
2938 # Remember, the first character of IFS is used to create $*,
2939 # except with old shells:
2940 build_os=$*
2941 IFS=$ac_save_IFS
2942 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2946 $as_echo_n "checking host system type... " >&6; }
2947 if test "${ac_cv_host+set}" = set; then :
2948 $as_echo_n "(cached) " >&6
2949 else
2950 if test "x$host_alias" = x; then
2951 ac_cv_host=$ac_cv_build
2952 else
2953 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2954 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2959 $as_echo "$ac_cv_host" >&6; }
2960 case $ac_cv_host in
2961 *-*-*) ;;
2962 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2963 esac
2964 host=$ac_cv_host
2965 ac_save_IFS=$IFS; IFS='-'
2966 set x $ac_cv_host
2967 shift
2968 host_cpu=$1
2969 host_vendor=$2
2970 shift; shift
2971 # Remember, the first character of IFS is used to create $*,
2972 # except with old shells:
2973 host_os=$*
2974 IFS=$ac_save_IFS
2975 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2979 $as_echo_n "checking target system type... " >&6; }
2980 if test "${ac_cv_target+set}" = set; then :
2981 $as_echo_n "(cached) " >&6
2982 else
2983 if test "x$target_alias" = x; then
2984 ac_cv_target=$ac_cv_host
2985 else
2986 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2987 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2992 $as_echo "$ac_cv_target" >&6; }
2993 case $ac_cv_target in
2994 *-*-*) ;;
2995 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2996 esac
2997 target=$ac_cv_target
2998 ac_save_IFS=$IFS; IFS='-'
2999 set x $ac_cv_target
3000 shift
3001 target_cpu=$1
3002 target_vendor=$2
3003 shift; shift
3004 # Remember, the first character of IFS is used to create $*,
3005 # except with old shells:
3006 target_os=$*
3007 IFS=$ac_save_IFS
3008 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3011 # The aliases save the names the user supplied, while $host etc.
3012 # will get canonicalized.
3013 test -n "$target_alias" &&
3014 test "$program_prefix$program_suffix$program_transform_name" = \
3015 NONENONEs,x,x, &&
3016 program_prefix=${target_alias}-
3018 target_alias=${target_alias-$host_alias}
3020 # Handy for debugging:
3021 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3023 if test "$build" != "$host"; then
3024 # We are being configured with some form of cross compiler.
3025 GLIBCXX_IS_NATIVE=false
3026 case "$host","$target" in
3027 # Darwin crosses can use the host system's libraries and headers,
3028 # because of the fat library support. Of course, it must be the
3029 # same version of Darwin on both sides. Allow the user to
3030 # just say --target=foo-darwin without a version number to mean
3031 # "the version on this system".
3032 *-*-darwin*,*-*-darwin*)
3033 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3034 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3035 if test $hostos = $targetos -o $targetos = darwin ; then
3036 GLIBCXX_IS_NATIVE=true
3043 esac
3044 else
3045 GLIBCXX_IS_NATIVE=true
3048 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3049 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3050 # 1.x: minimum required version
3051 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3052 # of other PACKAGE_* variables will, however, and there's nothing
3053 # we can do about that; they come from AC_INIT).
3054 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3055 # file in the top srcdir, etc, etc), so stop complaining.
3056 # no-dependencies: turns off auto dependency generation (just for now)
3057 # no-dist: we don't want 'dist' and related rules.
3058 # -Wall: turns on all automake warnings...
3059 # -Wno-portability: ...except this one, since GNU make is now required.
3060 am__api_version='1.11'
3062 # Find a good install program. We prefer a C program (faster),
3063 # so one script is as good as another. But avoid the broken or
3064 # incompatible versions:
3065 # SysV /etc/install, /usr/sbin/install
3066 # SunOS /usr/etc/install
3067 # IRIX /sbin/install
3068 # AIX /bin/install
3069 # AmigaOS /C/install, which installs bootblocks on floppy discs
3070 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3071 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3072 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3073 # OS/2's system install, which has a completely different semantic
3074 # ./install, which can be erroneously created by make from ./install.sh.
3075 # Reject install programs that cannot install multiple files.
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3077 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3078 if test -z "$INSTALL"; then
3079 if test "${ac_cv_path_install+set}" = set; then :
3080 $as_echo_n "(cached) " >&6
3081 else
3082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3083 for as_dir in $PATH
3085 IFS=$as_save_IFS
3086 test -z "$as_dir" && as_dir=.
3087 # Account for people who put trailing slashes in PATH elements.
3088 case $as_dir/ in #((
3089 ./ | .// | /[cC]/* | \
3090 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3091 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3092 /usr/ucb/* ) ;;
3094 # OSF1 and SCO ODT 3.0 have their own names for install.
3095 # Don't use installbsd from OSF since it installs stuff as root
3096 # by default.
3097 for ac_prog in ginstall scoinst install; do
3098 for ac_exec_ext in '' $ac_executable_extensions; do
3099 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3100 if test $ac_prog = install &&
3101 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3102 # AIX install. It has an incompatible calling convention.
3104 elif test $ac_prog = install &&
3105 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3106 # program-specific install script used by HP pwplus--don't use.
3108 else
3109 rm -rf conftest.one conftest.two conftest.dir
3110 echo one > conftest.one
3111 echo two > conftest.two
3112 mkdir conftest.dir
3113 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3114 test -s conftest.one && test -s conftest.two &&
3115 test -s conftest.dir/conftest.one &&
3116 test -s conftest.dir/conftest.two
3117 then
3118 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3119 break 3
3123 done
3124 done
3126 esac
3128 done
3129 IFS=$as_save_IFS
3131 rm -rf conftest.one conftest.two conftest.dir
3134 if test "${ac_cv_path_install+set}" = set; then
3135 INSTALL=$ac_cv_path_install
3136 else
3137 # As a last resort, use the slow shell script. Don't cache a
3138 # value for INSTALL within a source directory, because that will
3139 # break other packages using the cache if that directory is
3140 # removed, or if the value is a relative name.
3141 INSTALL=$ac_install_sh
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3145 $as_echo "$INSTALL" >&6; }
3147 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3148 # It thinks the first close brace ends the variable substitution.
3149 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3151 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3153 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3156 $as_echo_n "checking whether build environment is sane... " >&6; }
3157 # Just in case
3158 sleep 1
3159 echo timestamp > conftest.file
3160 # Reject unsafe characters in $srcdir or the absolute working directory
3161 # name. Accept space and tab only in the latter.
3162 am_lf='
3164 case `pwd` in
3165 *[\\\"\#\$\&\'\`$am_lf]*)
3166 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3167 esac
3168 case $srcdir in
3169 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3170 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3171 esac
3173 # Do `set' in a subshell so we don't clobber the current shell's
3174 # arguments. Must try -L first in case configure is actually a
3175 # symlink; some systems play weird games with the mod time of symlinks
3176 # (eg FreeBSD returns the mod time of the symlink's containing
3177 # directory).
3178 if (
3179 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3180 if test "$*" = "X"; then
3181 # -L didn't work.
3182 set X `ls -t "$srcdir/configure" conftest.file`
3184 rm -f conftest.file
3185 if test "$*" != "X $srcdir/configure conftest.file" \
3186 && test "$*" != "X conftest.file $srcdir/configure"; then
3188 # If neither matched, then we have a broken ls. This can happen
3189 # if, for instance, CONFIG_SHELL is bash and it inherits a
3190 # broken ls alias from the environment. This has actually
3191 # happened. Such a system could not be considered "sane".
3192 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3193 alias in your environment" "$LINENO" 5
3196 test "$2" = conftest.file
3198 then
3199 # Ok.
3201 else
3202 as_fn_error "newly created file is older than distributed files!
3203 Check your system clock" "$LINENO" 5
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3206 $as_echo "yes" >&6; }
3207 test "$program_prefix" != NONE &&
3208 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3209 # Use a double $ so make ignores it.
3210 test "$program_suffix" != NONE &&
3211 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3212 # Double any \ or $.
3213 # By default was `s,x,x', remove it if useless.
3214 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3215 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3217 # expand $ac_aux_dir to an absolute path
3218 am_aux_dir=`cd $ac_aux_dir && pwd`
3220 if test x"${MISSING+set}" != xset; then
3221 case $am_aux_dir in
3222 *\ * | *\ *)
3223 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3225 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3226 esac
3228 # Use eval to expand $SHELL
3229 if eval "$MISSING --run true"; then
3230 am_missing_run="$MISSING --run "
3231 else
3232 am_missing_run=
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3234 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3237 if test x"${install_sh}" != xset; then
3238 case $am_aux_dir in
3239 *\ * | *\ *)
3240 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3242 install_sh="\${SHELL} $am_aux_dir/install-sh"
3243 esac
3246 # Installed binaries are usually stripped using `strip' when the user
3247 # run `make install-strip'. However `strip' might not be the right
3248 # tool to use in cross-compilation environments, therefore Automake
3249 # will honor the `STRIP' environment variable to overrule this program.
3250 if test "$cross_compiling" != no; then
3251 if test -n "$ac_tool_prefix"; then
3252 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3253 set dummy ${ac_tool_prefix}strip; ac_word=$2
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3255 $as_echo_n "checking for $ac_word... " >&6; }
3256 if test "${ac_cv_prog_STRIP+set}" = set; then :
3257 $as_echo_n "(cached) " >&6
3258 else
3259 if test -n "$STRIP"; then
3260 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3261 else
3262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3263 for as_dir in $PATH
3265 IFS=$as_save_IFS
3266 test -z "$as_dir" && as_dir=.
3267 for ac_exec_ext in '' $ac_executable_extensions; do
3268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3269 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3271 break 2
3273 done
3274 done
3275 IFS=$as_save_IFS
3279 STRIP=$ac_cv_prog_STRIP
3280 if test -n "$STRIP"; then
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3282 $as_echo "$STRIP" >&6; }
3283 else
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3285 $as_echo "no" >&6; }
3290 if test -z "$ac_cv_prog_STRIP"; then
3291 ac_ct_STRIP=$STRIP
3292 # Extract the first word of "strip", so it can be a program name with args.
3293 set dummy strip; ac_word=$2
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3295 $as_echo_n "checking for $ac_word... " >&6; }
3296 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3297 $as_echo_n "(cached) " >&6
3298 else
3299 if test -n "$ac_ct_STRIP"; then
3300 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3301 else
3302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3303 for as_dir in $PATH
3305 IFS=$as_save_IFS
3306 test -z "$as_dir" && as_dir=.
3307 for ac_exec_ext in '' $ac_executable_extensions; do
3308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3309 ac_cv_prog_ac_ct_STRIP="strip"
3310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3311 break 2
3313 done
3314 done
3315 IFS=$as_save_IFS
3319 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3320 if test -n "$ac_ct_STRIP"; then
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3322 $as_echo "$ac_ct_STRIP" >&6; }
3323 else
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3325 $as_echo "no" >&6; }
3328 if test "x$ac_ct_STRIP" = x; then
3329 STRIP=":"
3330 else
3331 case $cross_compiling:$ac_tool_warned in
3332 yes:)
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3334 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3335 ac_tool_warned=yes ;;
3336 esac
3337 STRIP=$ac_ct_STRIP
3339 else
3340 STRIP="$ac_cv_prog_STRIP"
3344 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3347 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3348 if test -z "$MKDIR_P"; then
3349 if test "${ac_cv_path_mkdir+set}" = set; then :
3350 $as_echo_n "(cached) " >&6
3351 else
3352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3353 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3355 IFS=$as_save_IFS
3356 test -z "$as_dir" && as_dir=.
3357 for ac_prog in mkdir gmkdir; do
3358 for ac_exec_ext in '' $ac_executable_extensions; do
3359 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3360 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3361 'mkdir (GNU coreutils) '* | \
3362 'mkdir (coreutils) '* | \
3363 'mkdir (fileutils) '4.1*)
3364 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3365 break 3;;
3366 esac
3367 done
3368 done
3369 done
3370 IFS=$as_save_IFS
3374 if test "${ac_cv_path_mkdir+set}" = set; then
3375 MKDIR_P="$ac_cv_path_mkdir -p"
3376 else
3377 # As a last resort, use the slow shell script. Don't cache a
3378 # value for MKDIR_P within a source directory, because that will
3379 # break other packages using the cache if that directory is
3380 # removed, or if the value is a relative name.
3381 test -d ./--version && rmdir ./--version
3382 MKDIR_P="$ac_install_sh -d"
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3386 $as_echo "$MKDIR_P" >&6; }
3388 mkdir_p="$MKDIR_P"
3389 case $mkdir_p in
3390 [\\/$]* | ?:[\\/]*) ;;
3391 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3392 esac
3394 for ac_prog in gawk mawk nawk awk
3396 # Extract the first word of "$ac_prog", so it can be a program name with args.
3397 set dummy $ac_prog; ac_word=$2
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3399 $as_echo_n "checking for $ac_word... " >&6; }
3400 if test "${ac_cv_prog_AWK+set}" = set; then :
3401 $as_echo_n "(cached) " >&6
3402 else
3403 if test -n "$AWK"; then
3404 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3405 else
3406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3407 for as_dir in $PATH
3409 IFS=$as_save_IFS
3410 test -z "$as_dir" && as_dir=.
3411 for ac_exec_ext in '' $ac_executable_extensions; do
3412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3413 ac_cv_prog_AWK="$ac_prog"
3414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3415 break 2
3417 done
3418 done
3419 IFS=$as_save_IFS
3423 AWK=$ac_cv_prog_AWK
3424 if test -n "$AWK"; then
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3426 $as_echo "$AWK" >&6; }
3427 else
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3429 $as_echo "no" >&6; }
3433 test -n "$AWK" && break
3434 done
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3437 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3438 set x ${MAKE-make}
3439 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3440 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3441 $as_echo_n "(cached) " >&6
3442 else
3443 cat >conftest.make <<\_ACEOF
3444 SHELL = /bin/sh
3445 all:
3446 @echo '@@@%%%=$(MAKE)=@@@%%%'
3447 _ACEOF
3448 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3449 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3450 *@@@%%%=?*=@@@%%%*)
3451 eval ac_cv_prog_make_${ac_make}_set=yes;;
3453 eval ac_cv_prog_make_${ac_make}_set=no;;
3454 esac
3455 rm -f conftest.make
3457 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3459 $as_echo "yes" >&6; }
3460 SET_MAKE=
3461 else
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3463 $as_echo "no" >&6; }
3464 SET_MAKE="MAKE=${MAKE-make}"
3467 rm -rf .tst 2>/dev/null
3468 mkdir .tst 2>/dev/null
3469 if test -d .tst; then
3470 am__leading_dot=.
3471 else
3472 am__leading_dot=_
3474 rmdir .tst 2>/dev/null
3476 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3477 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3478 # is not polluted with repeated "-I."
3479 am__isrc=' -I$(srcdir)'
3480 # test to see if srcdir already configured
3481 if test -f $srcdir/config.status; then
3482 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3486 # test whether we have cygpath
3487 if test -z "$CYGPATH_W"; then
3488 if (cygpath --version) >/dev/null 2>/dev/null; then
3489 CYGPATH_W='cygpath -w'
3490 else
3491 CYGPATH_W=echo
3496 # Define the identity of the package.
3497 PACKAGE='libstdc++'
3498 VERSION='version-unused'
3501 # Some tools Automake needs.
3503 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3506 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3509 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3512 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3515 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3517 # We need awk for the "check" target. The system "awk" is bad on
3518 # some platforms.
3519 # Always define AMTAR for backward compatibility.
3521 AMTAR=${AMTAR-"${am_missing_run}tar"}
3523 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3532 # -fno-builtin must be present here so that a non-conflicting form of
3533 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3535 save_CXXFLAGS="$CXXFLAGS"
3536 CXXFLAGS="$CXXFLAGS -fno-builtin"
3537 ac_ext=c
3538 ac_cpp='$CPP $CPPFLAGS'
3539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3542 if test -n "$ac_tool_prefix"; then
3543 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3544 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3546 $as_echo_n "checking for $ac_word... " >&6; }
3547 if test "${ac_cv_prog_CC+set}" = set; then :
3548 $as_echo_n "(cached) " >&6
3549 else
3550 if test -n "$CC"; then
3551 ac_cv_prog_CC="$CC" # Let the user override the test.
3552 else
3553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3554 for as_dir in $PATH
3556 IFS=$as_save_IFS
3557 test -z "$as_dir" && as_dir=.
3558 for ac_exec_ext in '' $ac_executable_extensions; do
3559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3560 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3562 break 2
3564 done
3565 done
3566 IFS=$as_save_IFS
3570 CC=$ac_cv_prog_CC
3571 if test -n "$CC"; then
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3573 $as_echo "$CC" >&6; }
3574 else
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3576 $as_echo "no" >&6; }
3581 if test -z "$ac_cv_prog_CC"; then
3582 ac_ct_CC=$CC
3583 # Extract the first word of "gcc", so it can be a program name with args.
3584 set dummy gcc; ac_word=$2
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3586 $as_echo_n "checking for $ac_word... " >&6; }
3587 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3588 $as_echo_n "(cached) " >&6
3589 else
3590 if test -n "$ac_ct_CC"; then
3591 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3592 else
3593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3594 for as_dir in $PATH
3596 IFS=$as_save_IFS
3597 test -z "$as_dir" && as_dir=.
3598 for ac_exec_ext in '' $ac_executable_extensions; do
3599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3600 ac_cv_prog_ac_ct_CC="gcc"
3601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3602 break 2
3604 done
3605 done
3606 IFS=$as_save_IFS
3610 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3611 if test -n "$ac_ct_CC"; then
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3613 $as_echo "$ac_ct_CC" >&6; }
3614 else
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3616 $as_echo "no" >&6; }
3619 if test "x$ac_ct_CC" = x; then
3620 CC=""
3621 else
3622 case $cross_compiling:$ac_tool_warned in
3623 yes:)
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3625 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3626 ac_tool_warned=yes ;;
3627 esac
3628 CC=$ac_ct_CC
3630 else
3631 CC="$ac_cv_prog_CC"
3634 if test -z "$CC"; then
3635 if test -n "$ac_tool_prefix"; then
3636 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3637 set dummy ${ac_tool_prefix}cc; ac_word=$2
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3639 $as_echo_n "checking for $ac_word... " >&6; }
3640 if test "${ac_cv_prog_CC+set}" = set; then :
3641 $as_echo_n "(cached) " >&6
3642 else
3643 if test -n "$CC"; then
3644 ac_cv_prog_CC="$CC" # Let the user override the test.
3645 else
3646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3647 for as_dir in $PATH
3649 IFS=$as_save_IFS
3650 test -z "$as_dir" && as_dir=.
3651 for ac_exec_ext in '' $ac_executable_extensions; do
3652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3653 ac_cv_prog_CC="${ac_tool_prefix}cc"
3654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3655 break 2
3657 done
3658 done
3659 IFS=$as_save_IFS
3663 CC=$ac_cv_prog_CC
3664 if test -n "$CC"; then
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3666 $as_echo "$CC" >&6; }
3667 else
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3669 $as_echo "no" >&6; }
3675 if test -z "$CC"; then
3676 # Extract the first word of "cc", so it can be a program name with args.
3677 set dummy cc; ac_word=$2
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3679 $as_echo_n "checking for $ac_word... " >&6; }
3680 if test "${ac_cv_prog_CC+set}" = set; then :
3681 $as_echo_n "(cached) " >&6
3682 else
3683 if test -n "$CC"; then
3684 ac_cv_prog_CC="$CC" # Let the user override the test.
3685 else
3686 ac_prog_rejected=no
3687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3688 for as_dir in $PATH
3690 IFS=$as_save_IFS
3691 test -z "$as_dir" && as_dir=.
3692 for ac_exec_ext in '' $ac_executable_extensions; do
3693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3694 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3695 ac_prog_rejected=yes
3696 continue
3698 ac_cv_prog_CC="cc"
3699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3700 break 2
3702 done
3703 done
3704 IFS=$as_save_IFS
3706 if test $ac_prog_rejected = yes; then
3707 # We found a bogon in the path, so make sure we never use it.
3708 set dummy $ac_cv_prog_CC
3709 shift
3710 if test $# != 0; then
3711 # We chose a different compiler from the bogus one.
3712 # However, it has the same basename, so the bogon will be chosen
3713 # first if we set CC to just the basename; use the full file name.
3714 shift
3715 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3720 CC=$ac_cv_prog_CC
3721 if test -n "$CC"; then
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3723 $as_echo "$CC" >&6; }
3724 else
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3726 $as_echo "no" >&6; }
3731 if test -z "$CC"; then
3732 if test -n "$ac_tool_prefix"; then
3733 for ac_prog in cl.exe
3735 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3736 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3738 $as_echo_n "checking for $ac_word... " >&6; }
3739 if test "${ac_cv_prog_CC+set}" = set; then :
3740 $as_echo_n "(cached) " >&6
3741 else
3742 if test -n "$CC"; then
3743 ac_cv_prog_CC="$CC" # Let the user override the test.
3744 else
3745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3746 for as_dir in $PATH
3748 IFS=$as_save_IFS
3749 test -z "$as_dir" && as_dir=.
3750 for ac_exec_ext in '' $ac_executable_extensions; do
3751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3752 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3754 break 2
3756 done
3757 done
3758 IFS=$as_save_IFS
3762 CC=$ac_cv_prog_CC
3763 if test -n "$CC"; then
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3765 $as_echo "$CC" >&6; }
3766 else
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3768 $as_echo "no" >&6; }
3772 test -n "$CC" && break
3773 done
3775 if test -z "$CC"; then
3776 ac_ct_CC=$CC
3777 for ac_prog in cl.exe
3779 # Extract the first word of "$ac_prog", so it can be a program name with args.
3780 set dummy $ac_prog; ac_word=$2
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3782 $as_echo_n "checking for $ac_word... " >&6; }
3783 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3784 $as_echo_n "(cached) " >&6
3785 else
3786 if test -n "$ac_ct_CC"; then
3787 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3788 else
3789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3790 for as_dir in $PATH
3792 IFS=$as_save_IFS
3793 test -z "$as_dir" && as_dir=.
3794 for ac_exec_ext in '' $ac_executable_extensions; do
3795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3796 ac_cv_prog_ac_ct_CC="$ac_prog"
3797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3798 break 2
3800 done
3801 done
3802 IFS=$as_save_IFS
3806 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3807 if test -n "$ac_ct_CC"; then
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3809 $as_echo "$ac_ct_CC" >&6; }
3810 else
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3812 $as_echo "no" >&6; }
3816 test -n "$ac_ct_CC" && break
3817 done
3819 if test "x$ac_ct_CC" = x; then
3820 CC=""
3821 else
3822 case $cross_compiling:$ac_tool_warned in
3823 yes:)
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3825 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3826 ac_tool_warned=yes ;;
3827 esac
3828 CC=$ac_ct_CC
3835 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3836 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3837 as_fn_error "no acceptable C compiler found in \$PATH
3838 See \`config.log' for more details." "$LINENO" 5; }
3840 # Provide some information about the compiler.
3841 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3842 set X $ac_compile
3843 ac_compiler=$2
3844 for ac_option in --version -v -V -qversion; do
3845 { { ac_try="$ac_compiler $ac_option >&5"
3846 case "(($ac_try" in
3847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3848 *) ac_try_echo=$ac_try;;
3849 esac
3850 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3851 $as_echo "$ac_try_echo"; } >&5
3852 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3853 ac_status=$?
3854 if test -s conftest.err; then
3855 sed '10a\
3856 ... rest of stderr output deleted ...
3857 10q' conftest.err >conftest.er1
3858 cat conftest.er1 >&5
3859 rm -f conftest.er1 conftest.err
3861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3862 test $ac_status = 0; }
3863 done
3865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3866 /* end confdefs.h. */
3869 main ()
3873 return 0;
3875 _ACEOF
3876 # FIXME: Cleanup?
3877 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3878 (eval $ac_link) 2>&5
3879 ac_status=$?
3880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3881 test $ac_status = 0; }; then :
3882 gcc_no_link=no
3883 else
3884 gcc_no_link=yes
3886 if test x$gcc_no_link = xyes; then
3887 # Setting cross_compile will disable run tests; it will
3888 # also disable AC_CHECK_FILE but that's generally
3889 # correct if we can't link.
3890 cross_compiling=yes
3891 EXEEXT=
3892 else
3893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3894 /* end confdefs.h. */
3897 main ()
3901 return 0;
3903 _ACEOF
3904 ac_clean_files_save=$ac_clean_files
3905 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3906 # Try to create an executable without -o first, disregard a.out.
3907 # It will help us diagnose broken compilers, and finding out an intuition
3908 # of exeext.
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3910 $as_echo_n "checking for C compiler default output file name... " >&6; }
3911 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3913 # The possible output files:
3914 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3916 ac_rmfiles=
3917 for ac_file in $ac_files
3919 case $ac_file in
3920 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3921 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3922 esac
3923 done
3924 rm -f $ac_rmfiles
3926 if { { ac_try="$ac_link_default"
3927 case "(($ac_try" in
3928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3929 *) ac_try_echo=$ac_try;;
3930 esac
3931 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3932 $as_echo "$ac_try_echo"; } >&5
3933 (eval "$ac_link_default") 2>&5
3934 ac_status=$?
3935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3936 test $ac_status = 0; }; then :
3937 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3938 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3939 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3940 # so that the user can short-circuit this test for compilers unknown to
3941 # Autoconf.
3942 for ac_file in $ac_files ''
3944 test -f "$ac_file" || continue
3945 case $ac_file in
3946 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3948 [ab].out )
3949 # We found the default executable, but exeext='' is most
3950 # certainly right.
3951 break;;
3952 *.* )
3953 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3954 then :; else
3955 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3957 # We set ac_cv_exeext here because the later test for it is not
3958 # safe: cross compilers may not add the suffix if given an `-o'
3959 # argument, so we may need to know it at that point already.
3960 # Even if this section looks crufty: it has the advantage of
3961 # actually working.
3962 break;;
3964 break;;
3965 esac
3966 done
3967 test "$ac_cv_exeext" = no && ac_cv_exeext=
3969 else
3970 ac_file=''
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3973 $as_echo "$ac_file" >&6; }
3974 if test -z "$ac_file"; then :
3975 $as_echo "$as_me: failed program was:" >&5
3976 sed 's/^/| /' conftest.$ac_ext >&5
3978 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3979 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3980 { as_fn_set_status 77
3981 as_fn_error "C compiler cannot create executables
3982 See \`config.log' for more details." "$LINENO" 5; }; }
3984 ac_exeext=$ac_cv_exeext
3986 # Check that the compiler produces executables we can run. If not, either
3987 # the compiler is broken, or we cross compile.
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3989 $as_echo_n "checking whether the C compiler works... " >&6; }
3990 # If not cross compiling, check that we can run a simple program.
3991 if test "$cross_compiling" != yes; then
3992 if { ac_try='./$ac_file'
3993 { { case "(($ac_try" in
3994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3995 *) ac_try_echo=$ac_try;;
3996 esac
3997 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3998 $as_echo "$ac_try_echo"; } >&5
3999 (eval "$ac_try") 2>&5
4000 ac_status=$?
4001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4002 test $ac_status = 0; }; }; then
4003 cross_compiling=no
4004 else
4005 if test "$cross_compiling" = maybe; then
4006 cross_compiling=yes
4007 else
4008 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4009 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4010 as_fn_error "cannot run C compiled programs.
4011 If you meant to cross compile, use \`--host'.
4012 See \`config.log' for more details." "$LINENO" 5; }
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4017 $as_echo "yes" >&6; }
4019 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4020 ac_clean_files=$ac_clean_files_save
4021 # Check that the compiler produces executables we can run. If not, either
4022 # the compiler is broken, or we cross compile.
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4024 $as_echo_n "checking whether we are cross compiling... " >&6; }
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4026 $as_echo "$cross_compiling" >&6; }
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4029 $as_echo_n "checking for suffix of executables... " >&6; }
4030 if { { ac_try="$ac_link"
4031 case "(($ac_try" in
4032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4033 *) ac_try_echo=$ac_try;;
4034 esac
4035 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4036 $as_echo "$ac_try_echo"; } >&5
4037 (eval "$ac_link") 2>&5
4038 ac_status=$?
4039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4040 test $ac_status = 0; }; then :
4041 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4042 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4043 # work properly (i.e., refer to `conftest.exe'), while it won't with
4044 # `rm'.
4045 for ac_file in conftest.exe conftest conftest.*; do
4046 test -f "$ac_file" || continue
4047 case $ac_file in
4048 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4049 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4050 break;;
4051 * ) break;;
4052 esac
4053 done
4054 else
4055 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4056 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4057 as_fn_error "cannot compute suffix of executables: cannot compile and link
4058 See \`config.log' for more details." "$LINENO" 5; }
4060 rm -f conftest$ac_cv_exeext
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4062 $as_echo "$ac_cv_exeext" >&6; }
4064 rm -f conftest.$ac_ext
4065 EXEEXT=$ac_cv_exeext
4066 ac_exeext=$EXEEXT
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4069 $as_echo_n "checking for suffix of object files... " >&6; }
4070 if test "${ac_cv_objext+set}" = set; then :
4071 $as_echo_n "(cached) " >&6
4072 else
4073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4074 /* end confdefs.h. */
4077 main ()
4081 return 0;
4083 _ACEOF
4084 rm -f conftest.o conftest.obj
4085 if { { ac_try="$ac_compile"
4086 case "(($ac_try" in
4087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4088 *) ac_try_echo=$ac_try;;
4089 esac
4090 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4091 $as_echo "$ac_try_echo"; } >&5
4092 (eval "$ac_compile") 2>&5
4093 ac_status=$?
4094 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4095 test $ac_status = 0; }; then :
4096 for ac_file in conftest.o conftest.obj conftest.*; do
4097 test -f "$ac_file" || continue;
4098 case $ac_file in
4099 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4100 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4101 break;;
4102 esac
4103 done
4104 else
4105 $as_echo "$as_me: failed program was:" >&5
4106 sed 's/^/| /' conftest.$ac_ext >&5
4108 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4109 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4110 as_fn_error "cannot compute suffix of object files: cannot compile
4111 See \`config.log' for more details." "$LINENO" 5; }
4113 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4116 $as_echo "$ac_cv_objext" >&6; }
4117 OBJEXT=$ac_cv_objext
4118 ac_objext=$OBJEXT
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4120 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4121 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4122 $as_echo_n "(cached) " >&6
4123 else
4124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4125 /* end confdefs.h. */
4128 main ()
4130 #ifndef __GNUC__
4131 choke me
4132 #endif
4135 return 0;
4137 _ACEOF
4138 if ac_fn_c_try_compile "$LINENO"; then :
4139 ac_compiler_gnu=yes
4140 else
4141 ac_compiler_gnu=no
4143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4144 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4148 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4149 if test $ac_compiler_gnu = yes; then
4150 GCC=yes
4151 else
4152 GCC=
4154 ac_test_CFLAGS=${CFLAGS+set}
4155 ac_save_CFLAGS=$CFLAGS
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4157 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4158 if test "${ac_cv_prog_cc_g+set}" = set; then :
4159 $as_echo_n "(cached) " >&6
4160 else
4161 ac_save_c_werror_flag=$ac_c_werror_flag
4162 ac_c_werror_flag=yes
4163 ac_cv_prog_cc_g=no
4164 CFLAGS="-g"
4165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4166 /* end confdefs.h. */
4169 main ()
4173 return 0;
4175 _ACEOF
4176 if ac_fn_c_try_compile "$LINENO"; then :
4177 ac_cv_prog_cc_g=yes
4178 else
4179 CFLAGS=""
4180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4181 /* end confdefs.h. */
4184 main ()
4188 return 0;
4190 _ACEOF
4191 if ac_fn_c_try_compile "$LINENO"; then :
4193 else
4194 ac_c_werror_flag=$ac_save_c_werror_flag
4195 CFLAGS="-g"
4196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4197 /* end confdefs.h. */
4200 main ()
4204 return 0;
4206 _ACEOF
4207 if ac_fn_c_try_compile "$LINENO"; then :
4208 ac_cv_prog_cc_g=yes
4210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4215 ac_c_werror_flag=$ac_save_c_werror_flag
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4218 $as_echo "$ac_cv_prog_cc_g" >&6; }
4219 if test "$ac_test_CFLAGS" = set; then
4220 CFLAGS=$ac_save_CFLAGS
4221 elif test $ac_cv_prog_cc_g = yes; then
4222 if test "$GCC" = yes; then
4223 CFLAGS="-g -O2"
4224 else
4225 CFLAGS="-g"
4227 else
4228 if test "$GCC" = yes; then
4229 CFLAGS="-O2"
4230 else
4231 CFLAGS=
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4235 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4236 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4237 $as_echo_n "(cached) " >&6
4238 else
4239 ac_cv_prog_cc_c89=no
4240 ac_save_CC=$CC
4241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4242 /* end confdefs.h. */
4243 #include <stdarg.h>
4244 #include <stdio.h>
4245 #include <sys/types.h>
4246 #include <sys/stat.h>
4247 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4248 struct buf { int x; };
4249 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4250 static char *e (p, i)
4251 char **p;
4252 int i;
4254 return p[i];
4256 static char *f (char * (*g) (char **, int), char **p, ...)
4258 char *s;
4259 va_list v;
4260 va_start (v,p);
4261 s = g (p, va_arg (v,int));
4262 va_end (v);
4263 return s;
4266 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4267 function prototypes and stuff, but not '\xHH' hex character constants.
4268 These don't provoke an error unfortunately, instead are silently treated
4269 as 'x'. The following induces an error, until -std is added to get
4270 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4271 array size at least. It's necessary to write '\x00'==0 to get something
4272 that's true only with -std. */
4273 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4275 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4276 inside strings and character constants. */
4277 #define FOO(x) 'x'
4278 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4280 int test (int i, double x);
4281 struct s1 {int (*f) (int a);};
4282 struct s2 {int (*f) (double a);};
4283 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4284 int argc;
4285 char **argv;
4287 main ()
4289 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4291 return 0;
4293 _ACEOF
4294 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4295 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4297 CC="$ac_save_CC $ac_arg"
4298 if ac_fn_c_try_compile "$LINENO"; then :
4299 ac_cv_prog_cc_c89=$ac_arg
4301 rm -f core conftest.err conftest.$ac_objext
4302 test "x$ac_cv_prog_cc_c89" != "xno" && break
4303 done
4304 rm -f conftest.$ac_ext
4305 CC=$ac_save_CC
4308 # AC_CACHE_VAL
4309 case "x$ac_cv_prog_cc_c89" in
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4312 $as_echo "none needed" >&6; } ;;
4313 xno)
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4315 $as_echo "unsupported" >&6; } ;;
4317 CC="$CC $ac_cv_prog_cc_c89"
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4319 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4320 esac
4321 if test "x$ac_cv_prog_cc_c89" != xno; then :
4325 ac_ext=c
4326 ac_cpp='$CPP $CPPFLAGS'
4327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4331 ac_ext=cpp
4332 ac_cpp='$CXXCPP $CPPFLAGS'
4333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4336 if test -z "$CXX"; then
4337 if test -n "$CCC"; then
4338 CXX=$CCC
4339 else
4340 if test -n "$ac_tool_prefix"; then
4341 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4343 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4344 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4346 $as_echo_n "checking for $ac_word... " >&6; }
4347 if test "${ac_cv_prog_CXX+set}" = set; then :
4348 $as_echo_n "(cached) " >&6
4349 else
4350 if test -n "$CXX"; then
4351 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4352 else
4353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4354 for as_dir in $PATH
4356 IFS=$as_save_IFS
4357 test -z "$as_dir" && as_dir=.
4358 for ac_exec_ext in '' $ac_executable_extensions; do
4359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4360 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4362 break 2
4364 done
4365 done
4366 IFS=$as_save_IFS
4370 CXX=$ac_cv_prog_CXX
4371 if test -n "$CXX"; then
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4373 $as_echo "$CXX" >&6; }
4374 else
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4376 $as_echo "no" >&6; }
4380 test -n "$CXX" && break
4381 done
4383 if test -z "$CXX"; then
4384 ac_ct_CXX=$CXX
4385 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4387 # Extract the first word of "$ac_prog", so it can be a program name with args.
4388 set dummy $ac_prog; ac_word=$2
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4390 $as_echo_n "checking for $ac_word... " >&6; }
4391 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4392 $as_echo_n "(cached) " >&6
4393 else
4394 if test -n "$ac_ct_CXX"; then
4395 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4396 else
4397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4398 for as_dir in $PATH
4400 IFS=$as_save_IFS
4401 test -z "$as_dir" && as_dir=.
4402 for ac_exec_ext in '' $ac_executable_extensions; do
4403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4404 ac_cv_prog_ac_ct_CXX="$ac_prog"
4405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4406 break 2
4408 done
4409 done
4410 IFS=$as_save_IFS
4414 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4415 if test -n "$ac_ct_CXX"; then
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4417 $as_echo "$ac_ct_CXX" >&6; }
4418 else
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4420 $as_echo "no" >&6; }
4424 test -n "$ac_ct_CXX" && break
4425 done
4427 if test "x$ac_ct_CXX" = x; then
4428 CXX="g++"
4429 else
4430 case $cross_compiling:$ac_tool_warned in
4431 yes:)
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4433 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4434 ac_tool_warned=yes ;;
4435 esac
4436 CXX=$ac_ct_CXX
4442 # Provide some information about the compiler.
4443 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4444 set X $ac_compile
4445 ac_compiler=$2
4446 for ac_option in --version -v -V -qversion; do
4447 { { ac_try="$ac_compiler $ac_option >&5"
4448 case "(($ac_try" in
4449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4450 *) ac_try_echo=$ac_try;;
4451 esac
4452 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4453 $as_echo "$ac_try_echo"; } >&5
4454 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4455 ac_status=$?
4456 if test -s conftest.err; then
4457 sed '10a\
4458 ... rest of stderr output deleted ...
4459 10q' conftest.err >conftest.er1
4460 cat conftest.er1 >&5
4461 rm -f conftest.er1 conftest.err
4463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4464 test $ac_status = 0; }
4465 done
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4468 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4469 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4470 $as_echo_n "(cached) " >&6
4471 else
4472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4473 /* end confdefs.h. */
4476 main ()
4478 #ifndef __GNUC__
4479 choke me
4480 #endif
4483 return 0;
4485 _ACEOF
4486 if ac_fn_cxx_try_compile "$LINENO"; then :
4487 ac_compiler_gnu=yes
4488 else
4489 ac_compiler_gnu=no
4491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4492 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4496 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4497 if test $ac_compiler_gnu = yes; then
4498 GXX=yes
4499 else
4500 GXX=
4502 ac_test_CXXFLAGS=${CXXFLAGS+set}
4503 ac_save_CXXFLAGS=$CXXFLAGS
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4505 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4506 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4507 $as_echo_n "(cached) " >&6
4508 else
4509 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4510 ac_cxx_werror_flag=yes
4511 ac_cv_prog_cxx_g=no
4512 CXXFLAGS="-g"
4513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4514 /* end confdefs.h. */
4517 main ()
4521 return 0;
4523 _ACEOF
4524 if ac_fn_cxx_try_compile "$LINENO"; then :
4525 ac_cv_prog_cxx_g=yes
4526 else
4527 CXXFLAGS=""
4528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4529 /* end confdefs.h. */
4532 main ()
4536 return 0;
4538 _ACEOF
4539 if ac_fn_cxx_try_compile "$LINENO"; then :
4541 else
4542 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4543 CXXFLAGS="-g"
4544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4545 /* end confdefs.h. */
4548 main ()
4552 return 0;
4554 _ACEOF
4555 if ac_fn_cxx_try_compile "$LINENO"; then :
4556 ac_cv_prog_cxx_g=yes
4558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4563 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4566 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4567 if test "$ac_test_CXXFLAGS" = set; then
4568 CXXFLAGS=$ac_save_CXXFLAGS
4569 elif test $ac_cv_prog_cxx_g = yes; then
4570 if test "$GXX" = yes; then
4571 CXXFLAGS="-g -O2"
4572 else
4573 CXXFLAGS="-g"
4575 else
4576 if test "$GXX" = yes; then
4577 CXXFLAGS="-O2"
4578 else
4579 CXXFLAGS=
4582 ac_ext=c
4583 ac_cpp='$CPP $CPPFLAGS'
4584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4588 CXXFLAGS="$save_CXXFLAGS"
4590 # Runs configure.host, and assorted other critical bits. Sets
4591 # up critical shell variables.
4593 ac_ext=c
4594 ac_cpp='$CPP $CPPFLAGS'
4595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4599 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4600 # On Suns, sometimes $CPP names a directory.
4601 if test -n "$CPP" && test -d "$CPP"; then
4602 CPP=
4604 if test -z "$CPP"; then
4605 if test "${ac_cv_prog_CPP+set}" = set; then :
4606 $as_echo_n "(cached) " >&6
4607 else
4608 # Double quotes because CPP needs to be expanded
4609 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4611 ac_preproc_ok=false
4612 for ac_c_preproc_warn_flag in '' yes
4614 # Use a header file that comes with gcc, so configuring glibc
4615 # with a fresh cross-compiler works.
4616 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4617 # <limits.h> exists even on freestanding compilers.
4618 # On the NeXT, cc -E runs the code through the compiler's parser,
4619 # not just through cpp. "Syntax error" is here to catch this case.
4620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4621 /* end confdefs.h. */
4622 #ifdef __STDC__
4623 # include <limits.h>
4624 #else
4625 # include <assert.h>
4626 #endif
4627 Syntax error
4628 _ACEOF
4629 if ac_fn_c_try_cpp "$LINENO"; then :
4631 else
4632 # Broken: fails on valid input.
4633 continue
4635 rm -f conftest.err conftest.$ac_ext
4637 # OK, works on sane cases. Now check whether nonexistent headers
4638 # can be detected and how.
4639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4640 /* end confdefs.h. */
4641 #include <ac_nonexistent.h>
4642 _ACEOF
4643 if ac_fn_c_try_cpp "$LINENO"; then :
4644 # Broken: success on invalid input.
4645 continue
4646 else
4647 # Passes both tests.
4648 ac_preproc_ok=:
4649 break
4651 rm -f conftest.err conftest.$ac_ext
4653 done
4654 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4655 rm -f conftest.err conftest.$ac_ext
4656 if $ac_preproc_ok; then :
4657 break
4660 done
4661 ac_cv_prog_CPP=$CPP
4664 CPP=$ac_cv_prog_CPP
4665 else
4666 ac_cv_prog_CPP=$CPP
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4669 $as_echo "$CPP" >&6; }
4670 ac_preproc_ok=false
4671 for ac_c_preproc_warn_flag in '' yes
4673 # Use a header file that comes with gcc, so configuring glibc
4674 # with a fresh cross-compiler works.
4675 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4676 # <limits.h> exists even on freestanding compilers.
4677 # On the NeXT, cc -E runs the code through the compiler's parser,
4678 # not just through cpp. "Syntax error" is here to catch this case.
4679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4680 /* end confdefs.h. */
4681 #ifdef __STDC__
4682 # include <limits.h>
4683 #else
4684 # include <assert.h>
4685 #endif
4686 Syntax error
4687 _ACEOF
4688 if ac_fn_c_try_cpp "$LINENO"; then :
4690 else
4691 # Broken: fails on valid input.
4692 continue
4694 rm -f conftest.err conftest.$ac_ext
4696 # OK, works on sane cases. Now check whether nonexistent headers
4697 # can be detected and how.
4698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4699 /* end confdefs.h. */
4700 #include <ac_nonexistent.h>
4701 _ACEOF
4702 if ac_fn_c_try_cpp "$LINENO"; then :
4703 # Broken: success on invalid input.
4704 continue
4705 else
4706 # Passes both tests.
4707 ac_preproc_ok=:
4708 break
4710 rm -f conftest.err conftest.$ac_ext
4712 done
4713 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4714 rm -f conftest.err conftest.$ac_ext
4715 if $ac_preproc_ok; then :
4717 else
4718 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4719 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4720 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4721 See \`config.log' for more details." "$LINENO" 5; }
4724 ac_ext=c
4725 ac_cpp='$CPP $CPPFLAGS'
4726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4732 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4733 if test "${ac_cv_path_GREP+set}" = set; then :
4734 $as_echo_n "(cached) " >&6
4735 else
4736 if test -z "$GREP"; then
4737 ac_path_GREP_found=false
4738 # Loop through the user's path and test for each of PROGNAME-LIST
4739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4740 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4742 IFS=$as_save_IFS
4743 test -z "$as_dir" && as_dir=.
4744 for ac_prog in grep ggrep; do
4745 for ac_exec_ext in '' $ac_executable_extensions; do
4746 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4747 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4748 # Check for GNU ac_path_GREP and select it if it is found.
4749 # Check for GNU $ac_path_GREP
4750 case `"$ac_path_GREP" --version 2>&1` in
4751 *GNU*)
4752 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4754 ac_count=0
4755 $as_echo_n 0123456789 >"conftest.in"
4756 while :
4758 cat "conftest.in" "conftest.in" >"conftest.tmp"
4759 mv "conftest.tmp" "conftest.in"
4760 cp "conftest.in" "conftest.nl"
4761 $as_echo 'GREP' >> "conftest.nl"
4762 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4763 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4764 as_fn_arith $ac_count + 1 && ac_count=$as_val
4765 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4766 # Best one so far, save it but keep looking for a better one
4767 ac_cv_path_GREP="$ac_path_GREP"
4768 ac_path_GREP_max=$ac_count
4770 # 10*(2^10) chars as input seems more than enough
4771 test $ac_count -gt 10 && break
4772 done
4773 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4774 esac
4776 $ac_path_GREP_found && break 3
4777 done
4778 done
4779 done
4780 IFS=$as_save_IFS
4781 if test -z "$ac_cv_path_GREP"; then
4782 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4784 else
4785 ac_cv_path_GREP=$GREP
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4790 $as_echo "$ac_cv_path_GREP" >&6; }
4791 GREP="$ac_cv_path_GREP"
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4795 $as_echo_n "checking for egrep... " >&6; }
4796 if test "${ac_cv_path_EGREP+set}" = set; then :
4797 $as_echo_n "(cached) " >&6
4798 else
4799 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4800 then ac_cv_path_EGREP="$GREP -E"
4801 else
4802 if test -z "$EGREP"; then
4803 ac_path_EGREP_found=false
4804 # Loop through the user's path and test for each of PROGNAME-LIST
4805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4806 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4808 IFS=$as_save_IFS
4809 test -z "$as_dir" && as_dir=.
4810 for ac_prog in egrep; do
4811 for ac_exec_ext in '' $ac_executable_extensions; do
4812 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4813 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4814 # Check for GNU ac_path_EGREP and select it if it is found.
4815 # Check for GNU $ac_path_EGREP
4816 case `"$ac_path_EGREP" --version 2>&1` in
4817 *GNU*)
4818 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4820 ac_count=0
4821 $as_echo_n 0123456789 >"conftest.in"
4822 while :
4824 cat "conftest.in" "conftest.in" >"conftest.tmp"
4825 mv "conftest.tmp" "conftest.in"
4826 cp "conftest.in" "conftest.nl"
4827 $as_echo 'EGREP' >> "conftest.nl"
4828 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4829 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4830 as_fn_arith $ac_count + 1 && ac_count=$as_val
4831 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4832 # Best one so far, save it but keep looking for a better one
4833 ac_cv_path_EGREP="$ac_path_EGREP"
4834 ac_path_EGREP_max=$ac_count
4836 # 10*(2^10) chars as input seems more than enough
4837 test $ac_count -gt 10 && break
4838 done
4839 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4840 esac
4842 $ac_path_EGREP_found && break 3
4843 done
4844 done
4845 done
4846 IFS=$as_save_IFS
4847 if test -z "$ac_cv_path_EGREP"; then
4848 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4850 else
4851 ac_cv_path_EGREP=$EGREP
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4857 $as_echo "$ac_cv_path_EGREP" >&6; }
4858 EGREP="$ac_cv_path_EGREP"
4862 # Keep these sync'd with the list in Makefile.am. The first provides an
4863 # expandable list at autoconf time; the second provides an expandable list
4864 # (i.e., shell variable) at configure time.
4866 SUBDIRS='include libsupc++ python src doc po testsuite'
4868 # These need to be absolute paths, yet at the same time need to
4869 # canonicalize only relative paths, because then amd will not unmount
4870 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4871 glibcxx_builddir=`${PWDCMD-pwd}`
4872 case $srcdir in
4873 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4874 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4875 esac
4876 toplevel_srcdir=${glibcxx_srcdir}/..
4881 # We use these options to decide which functions to include. They are
4882 # set from the top level.
4884 # Check whether --with-target-subdir was given.
4885 if test "${with_target_subdir+set}" = set; then :
4886 withval=$with_target_subdir;
4891 # Check whether --with-cross-host was given.
4892 if test "${with_cross_host+set}" = set; then :
4893 withval=$with_cross_host;
4898 # Check whether --with-newlib was given.
4899 if test "${with_newlib+set}" = set; then :
4900 withval=$with_newlib;
4904 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4905 # available). Uncomment the next line to force a particular method.
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4907 $as_echo_n "checking whether ln -s works... " >&6; }
4908 LN_S=$as_ln_s
4909 if test "$LN_S" = "ln -s"; then
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4911 $as_echo "yes" >&6; }
4912 else
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4914 $as_echo "no, using $LN_S" >&6; }
4917 #LN_S='cp -p'
4919 if test -n "$ac_tool_prefix"; then
4920 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4921 set dummy ${ac_tool_prefix}as; ac_word=$2
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4923 $as_echo_n "checking for $ac_word... " >&6; }
4924 if test "${ac_cv_prog_AS+set}" = set; then :
4925 $as_echo_n "(cached) " >&6
4926 else
4927 if test -n "$AS"; then
4928 ac_cv_prog_AS="$AS" # Let the user override the test.
4929 else
4930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4931 for as_dir in $PATH
4933 IFS=$as_save_IFS
4934 test -z "$as_dir" && as_dir=.
4935 for ac_exec_ext in '' $ac_executable_extensions; do
4936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4937 ac_cv_prog_AS="${ac_tool_prefix}as"
4938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4939 break 2
4941 done
4942 done
4943 IFS=$as_save_IFS
4947 AS=$ac_cv_prog_AS
4948 if test -n "$AS"; then
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4950 $as_echo "$AS" >&6; }
4951 else
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4953 $as_echo "no" >&6; }
4958 if test -z "$ac_cv_prog_AS"; then
4959 ac_ct_AS=$AS
4960 # Extract the first word of "as", so it can be a program name with args.
4961 set dummy as; ac_word=$2
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4963 $as_echo_n "checking for $ac_word... " >&6; }
4964 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4965 $as_echo_n "(cached) " >&6
4966 else
4967 if test -n "$ac_ct_AS"; then
4968 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4969 else
4970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4971 for as_dir in $PATH
4973 IFS=$as_save_IFS
4974 test -z "$as_dir" && as_dir=.
4975 for ac_exec_ext in '' $ac_executable_extensions; do
4976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4977 ac_cv_prog_ac_ct_AS="as"
4978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4979 break 2
4981 done
4982 done
4983 IFS=$as_save_IFS
4987 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4988 if test -n "$ac_ct_AS"; then
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4990 $as_echo "$ac_ct_AS" >&6; }
4991 else
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4993 $as_echo "no" >&6; }
4996 if test "x$ac_ct_AS" = x; then
4997 AS=""
4998 else
4999 case $cross_compiling:$ac_tool_warned in
5000 yes:)
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5002 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5003 ac_tool_warned=yes ;;
5004 esac
5005 AS=$ac_ct_AS
5007 else
5008 AS="$ac_cv_prog_AS"
5011 if test -n "$ac_tool_prefix"; then
5012 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5013 set dummy ${ac_tool_prefix}ar; ac_word=$2
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5015 $as_echo_n "checking for $ac_word... " >&6; }
5016 if test "${ac_cv_prog_AR+set}" = set; then :
5017 $as_echo_n "(cached) " >&6
5018 else
5019 if test -n "$AR"; then
5020 ac_cv_prog_AR="$AR" # Let the user override the test.
5021 else
5022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5023 for as_dir in $PATH
5025 IFS=$as_save_IFS
5026 test -z "$as_dir" && as_dir=.
5027 for ac_exec_ext in '' $ac_executable_extensions; do
5028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5029 ac_cv_prog_AR="${ac_tool_prefix}ar"
5030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5031 break 2
5033 done
5034 done
5035 IFS=$as_save_IFS
5039 AR=$ac_cv_prog_AR
5040 if test -n "$AR"; then
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5042 $as_echo "$AR" >&6; }
5043 else
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5045 $as_echo "no" >&6; }
5050 if test -z "$ac_cv_prog_AR"; then
5051 ac_ct_AR=$AR
5052 # Extract the first word of "ar", so it can be a program name with args.
5053 set dummy ar; ac_word=$2
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5055 $as_echo_n "checking for $ac_word... " >&6; }
5056 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5057 $as_echo_n "(cached) " >&6
5058 else
5059 if test -n "$ac_ct_AR"; then
5060 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5061 else
5062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5063 for as_dir in $PATH
5065 IFS=$as_save_IFS
5066 test -z "$as_dir" && as_dir=.
5067 for ac_exec_ext in '' $ac_executable_extensions; do
5068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5069 ac_cv_prog_ac_ct_AR="ar"
5070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5071 break 2
5073 done
5074 done
5075 IFS=$as_save_IFS
5079 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5080 if test -n "$ac_ct_AR"; then
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5082 $as_echo "$ac_ct_AR" >&6; }
5083 else
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5085 $as_echo "no" >&6; }
5088 if test "x$ac_ct_AR" = x; then
5089 AR=""
5090 else
5091 case $cross_compiling:$ac_tool_warned in
5092 yes:)
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5094 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5095 ac_tool_warned=yes ;;
5096 esac
5097 AR=$ac_ct_AR
5099 else
5100 AR="$ac_cv_prog_AR"
5103 if test -n "$ac_tool_prefix"; then
5104 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5105 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5107 $as_echo_n "checking for $ac_word... " >&6; }
5108 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5109 $as_echo_n "(cached) " >&6
5110 else
5111 if test -n "$RANLIB"; then
5112 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5113 else
5114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5115 for as_dir in $PATH
5117 IFS=$as_save_IFS
5118 test -z "$as_dir" && as_dir=.
5119 for ac_exec_ext in '' $ac_executable_extensions; do
5120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5121 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5123 break 2
5125 done
5126 done
5127 IFS=$as_save_IFS
5131 RANLIB=$ac_cv_prog_RANLIB
5132 if test -n "$RANLIB"; then
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5134 $as_echo "$RANLIB" >&6; }
5135 else
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5137 $as_echo "no" >&6; }
5142 if test -z "$ac_cv_prog_RANLIB"; then
5143 ac_ct_RANLIB=$RANLIB
5144 # Extract the first word of "ranlib", so it can be a program name with args.
5145 set dummy ranlib; ac_word=$2
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5147 $as_echo_n "checking for $ac_word... " >&6; }
5148 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5149 $as_echo_n "(cached) " >&6
5150 else
5151 if test -n "$ac_ct_RANLIB"; then
5152 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5153 else
5154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5155 for as_dir in $PATH
5157 IFS=$as_save_IFS
5158 test -z "$as_dir" && as_dir=.
5159 for ac_exec_ext in '' $ac_executable_extensions; do
5160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5161 ac_cv_prog_ac_ct_RANLIB="ranlib"
5162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5163 break 2
5165 done
5166 done
5167 IFS=$as_save_IFS
5171 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5172 if test -n "$ac_ct_RANLIB"; then
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5174 $as_echo "$ac_ct_RANLIB" >&6; }
5175 else
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5177 $as_echo "no" >&6; }
5180 if test "x$ac_ct_RANLIB" = x; then
5181 RANLIB="ranlib-not-found-in-path-error"
5182 else
5183 case $cross_compiling:$ac_tool_warned in
5184 yes:)
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5186 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5187 ac_tool_warned=yes ;;
5188 esac
5189 RANLIB=$ac_ct_RANLIB
5191 else
5192 RANLIB="$ac_cv_prog_RANLIB"
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5198 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5199 # Check whether --enable-maintainer-mode was given.
5200 if test "${enable_maintainer_mode+set}" = set; then :
5201 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5202 else
5203 USE_MAINTAINER_MODE=no
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5207 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5208 if test $USE_MAINTAINER_MODE = yes; then
5209 MAINTAINER_MODE_TRUE=
5210 MAINTAINER_MODE_FALSE='#'
5211 else
5212 MAINTAINER_MODE_TRUE='#'
5213 MAINTAINER_MODE_FALSE=
5216 MAINT=$MAINTAINER_MODE_TRUE
5220 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5221 # which are themselves conditionally expanded.
5222 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5223 ## other macros from doing the same. This should be automated.) -pme
5225 # Check for C library flavor since Linux platforms use different configuration
5226 # directories depending on the C library in use.
5227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5228 /* end confdefs.h. */
5230 #include <stdio.h>
5231 #if __UCLIBC__
5232 _using_uclibc
5233 #endif
5235 _ACEOF
5236 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5237 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5238 uclibc=yes
5239 else
5240 uclibc=no
5242 rm -f conftest*
5245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5246 /* end confdefs.h. */
5248 #include <stdio.h>
5249 #if __BIONIC__
5250 _using_bionic
5251 #endif
5253 _ACEOF
5254 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5255 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5256 bionic=yes
5257 else
5258 bionic=no
5260 rm -f conftest*
5263 # Find platform-specific directories containing configuration info.
5264 # Also possibly modify flags used elsewhere, as needed by the platform.
5266 . $glibcxx_srcdir/configure.host
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5268 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5270 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5274 if test "x${with_newlib}" != "xyes"; then
5275 enable_dlopen=yes
5280 case `pwd` in
5281 *\ * | *\ *)
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5283 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5284 esac
5288 macro_version='2.2.7a'
5289 macro_revision='1.3134'
5303 ltmain="$ac_aux_dir/ltmain.sh"
5305 # Backslashify metacharacters that are still active within
5306 # double-quoted strings.
5307 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5309 # Same as above, but do not quote variable references.
5310 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5312 # Sed substitution to delay expansion of an escaped shell variable in a
5313 # double_quote_subst'ed string.
5314 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5316 # Sed substitution to delay expansion of an escaped single quote.
5317 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5319 # Sed substitution to avoid accidental globbing in evaled expressions
5320 no_glob_subst='s/\*/\\\*/g'
5322 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5323 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5324 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5327 $as_echo_n "checking how to print strings... " >&6; }
5328 # Test print first, because it will be a builtin if present.
5329 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5330 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5331 ECHO='print -r --'
5332 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5333 ECHO='printf %s\n'
5334 else
5335 # Use this function as a fallback that always works.
5336 func_fallback_echo ()
5338 eval 'cat <<_LTECHO_EOF
5340 _LTECHO_EOF'
5342 ECHO='func_fallback_echo'
5345 # func_echo_all arg...
5346 # Invoke $ECHO with all args, space-separated.
5347 func_echo_all ()
5349 $ECHO ""
5352 case "$ECHO" in
5353 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5354 $as_echo "printf" >&6; } ;;
5355 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5356 $as_echo "print -r" >&6; } ;;
5357 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5358 $as_echo "cat" >&6; } ;;
5359 esac
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5375 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5376 if test "${ac_cv_path_SED+set}" = set; then :
5377 $as_echo_n "(cached) " >&6
5378 else
5379 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5380 for ac_i in 1 2 3 4 5 6 7; do
5381 ac_script="$ac_script$as_nl$ac_script"
5382 done
5383 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5384 { ac_script=; unset ac_script;}
5385 if test -z "$SED"; then
5386 ac_path_SED_found=false
5387 # Loop through the user's path and test for each of PROGNAME-LIST
5388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5389 for as_dir in $PATH
5391 IFS=$as_save_IFS
5392 test -z "$as_dir" && as_dir=.
5393 for ac_prog in sed gsed; do
5394 for ac_exec_ext in '' $ac_executable_extensions; do
5395 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5396 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5397 # Check for GNU ac_path_SED and select it if it is found.
5398 # Check for GNU $ac_path_SED
5399 case `"$ac_path_SED" --version 2>&1` in
5400 *GNU*)
5401 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5403 ac_count=0
5404 $as_echo_n 0123456789 >"conftest.in"
5405 while :
5407 cat "conftest.in" "conftest.in" >"conftest.tmp"
5408 mv "conftest.tmp" "conftest.in"
5409 cp "conftest.in" "conftest.nl"
5410 $as_echo '' >> "conftest.nl"
5411 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5412 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5413 as_fn_arith $ac_count + 1 && ac_count=$as_val
5414 if test $ac_count -gt ${ac_path_SED_max-0}; then
5415 # Best one so far, save it but keep looking for a better one
5416 ac_cv_path_SED="$ac_path_SED"
5417 ac_path_SED_max=$ac_count
5419 # 10*(2^10) chars as input seems more than enough
5420 test $ac_count -gt 10 && break
5421 done
5422 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5423 esac
5425 $ac_path_SED_found && break 3
5426 done
5427 done
5428 done
5429 IFS=$as_save_IFS
5430 if test -z "$ac_cv_path_SED"; then
5431 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5433 else
5434 ac_cv_path_SED=$SED
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5439 $as_echo "$ac_cv_path_SED" >&6; }
5440 SED="$ac_cv_path_SED"
5441 rm -f conftest.sed
5443 test -z "$SED" && SED=sed
5444 Xsed="$SED -e 1s/^X//"
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5457 $as_echo_n "checking for fgrep... " >&6; }
5458 if test "${ac_cv_path_FGREP+set}" = set; then :
5459 $as_echo_n "(cached) " >&6
5460 else
5461 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5462 then ac_cv_path_FGREP="$GREP -F"
5463 else
5464 if test -z "$FGREP"; then
5465 ac_path_FGREP_found=false
5466 # Loop through the user's path and test for each of PROGNAME-LIST
5467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5468 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5470 IFS=$as_save_IFS
5471 test -z "$as_dir" && as_dir=.
5472 for ac_prog in fgrep; do
5473 for ac_exec_ext in '' $ac_executable_extensions; do
5474 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5475 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5476 # Check for GNU ac_path_FGREP and select it if it is found.
5477 # Check for GNU $ac_path_FGREP
5478 case `"$ac_path_FGREP" --version 2>&1` in
5479 *GNU*)
5480 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5482 ac_count=0
5483 $as_echo_n 0123456789 >"conftest.in"
5484 while :
5486 cat "conftest.in" "conftest.in" >"conftest.tmp"
5487 mv "conftest.tmp" "conftest.in"
5488 cp "conftest.in" "conftest.nl"
5489 $as_echo 'FGREP' >> "conftest.nl"
5490 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5491 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5492 as_fn_arith $ac_count + 1 && ac_count=$as_val
5493 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5494 # Best one so far, save it but keep looking for a better one
5495 ac_cv_path_FGREP="$ac_path_FGREP"
5496 ac_path_FGREP_max=$ac_count
5498 # 10*(2^10) chars as input seems more than enough
5499 test $ac_count -gt 10 && break
5500 done
5501 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5502 esac
5504 $ac_path_FGREP_found && break 3
5505 done
5506 done
5507 done
5508 IFS=$as_save_IFS
5509 if test -z "$ac_cv_path_FGREP"; then
5510 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5512 else
5513 ac_cv_path_FGREP=$FGREP
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5519 $as_echo "$ac_cv_path_FGREP" >&6; }
5520 FGREP="$ac_cv_path_FGREP"
5523 test -z "$GREP" && GREP=grep
5543 # Check whether --with-gnu-ld was given.
5544 if test "${with_gnu_ld+set}" = set; then :
5545 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5546 else
5547 with_gnu_ld=no
5550 ac_prog=ld
5551 if test "$GCC" = yes; then
5552 # Check if gcc -print-prog-name=ld gives a path.
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5554 $as_echo_n "checking for ld used by $CC... " >&6; }
5555 case $host in
5556 *-*-mingw*)
5557 # gcc leaves a trailing carriage return which upsets mingw
5558 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5560 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5561 esac
5562 case $ac_prog in
5563 # Accept absolute paths.
5564 [\\/]* | ?:[\\/]*)
5565 re_direlt='/[^/][^/]*/\.\./'
5566 # Canonicalize the pathname of ld
5567 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5568 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5569 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5570 done
5571 test -z "$LD" && LD="$ac_prog"
5574 # If it fails, then pretend we aren't using GCC.
5575 ac_prog=ld
5578 # If it is relative, then search for the first ld in PATH.
5579 with_gnu_ld=unknown
5581 esac
5582 elif test "$with_gnu_ld" = yes; then
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5584 $as_echo_n "checking for GNU ld... " >&6; }
5585 else
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5587 $as_echo_n "checking for non-GNU ld... " >&6; }
5589 if test "${lt_cv_path_LD+set}" = set; then :
5590 $as_echo_n "(cached) " >&6
5591 else
5592 if test -z "$LD"; then
5593 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5594 for ac_dir in $PATH; do
5595 IFS="$lt_save_ifs"
5596 test -z "$ac_dir" && ac_dir=.
5597 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5598 lt_cv_path_LD="$ac_dir/$ac_prog"
5599 # Check to see if the program is GNU ld. I'd rather use --version,
5600 # but apparently some variants of GNU ld only accept -v.
5601 # Break only if it was the GNU/non-GNU ld that we prefer.
5602 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5603 *GNU* | *'with BFD'*)
5604 test "$with_gnu_ld" != no && break
5607 test "$with_gnu_ld" != yes && break
5609 esac
5611 done
5612 IFS="$lt_save_ifs"
5613 else
5614 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5618 LD="$lt_cv_path_LD"
5619 if test -n "$LD"; then
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5621 $as_echo "$LD" >&6; }
5622 else
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5624 $as_echo "no" >&6; }
5626 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5628 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5629 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5630 $as_echo_n "(cached) " >&6
5631 else
5632 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5633 case `$LD -v 2>&1 </dev/null` in
5634 *GNU* | *'with BFD'*)
5635 lt_cv_prog_gnu_ld=yes
5638 lt_cv_prog_gnu_ld=no
5640 esac
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5643 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5644 with_gnu_ld=$lt_cv_prog_gnu_ld
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5655 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5656 if test "${lt_cv_path_NM+set}" = set; then :
5657 $as_echo_n "(cached) " >&6
5658 else
5659 if test -n "$NM"; then
5660 # Let the user override the test.
5661 lt_cv_path_NM="$NM"
5662 else
5663 lt_nm_to_check="${ac_tool_prefix}nm"
5664 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5665 lt_nm_to_check="$lt_nm_to_check nm"
5667 for lt_tmp_nm in $lt_nm_to_check; do
5668 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5669 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5670 IFS="$lt_save_ifs"
5671 test -z "$ac_dir" && ac_dir=.
5672 tmp_nm="$ac_dir/$lt_tmp_nm"
5673 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5674 # Check to see if the nm accepts a BSD-compat flag.
5675 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5676 # nm: unknown option "B" ignored
5677 # Tru64's nm complains that /dev/null is an invalid object file
5678 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5679 */dev/null* | *'Invalid file or object type'*)
5680 lt_cv_path_NM="$tmp_nm -B"
5681 break
5684 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5685 */dev/null*)
5686 lt_cv_path_NM="$tmp_nm -p"
5687 break
5690 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5691 continue # so that we can try to find one that supports BSD flags
5693 esac
5695 esac
5697 done
5698 IFS="$lt_save_ifs"
5699 done
5700 : ${lt_cv_path_NM=no}
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5704 $as_echo "$lt_cv_path_NM" >&6; }
5705 if test "$lt_cv_path_NM" != "no"; then
5706 NM="$lt_cv_path_NM"
5707 else
5708 # Didn't find any BSD compatible name lister, look for dumpbin.
5709 if test -n "$DUMPBIN"; then :
5710 # Let the user override the test.
5711 else
5712 if test -n "$ac_tool_prefix"; then
5713 for ac_prog in dumpbin "link -dump"
5715 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5716 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5718 $as_echo_n "checking for $ac_word... " >&6; }
5719 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5720 $as_echo_n "(cached) " >&6
5721 else
5722 if test -n "$DUMPBIN"; then
5723 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5724 else
5725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5726 for as_dir in $PATH
5728 IFS=$as_save_IFS
5729 test -z "$as_dir" && as_dir=.
5730 for ac_exec_ext in '' $ac_executable_extensions; do
5731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5732 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5734 break 2
5736 done
5737 done
5738 IFS=$as_save_IFS
5742 DUMPBIN=$ac_cv_prog_DUMPBIN
5743 if test -n "$DUMPBIN"; then
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5745 $as_echo "$DUMPBIN" >&6; }
5746 else
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5748 $as_echo "no" >&6; }
5752 test -n "$DUMPBIN" && break
5753 done
5755 if test -z "$DUMPBIN"; then
5756 ac_ct_DUMPBIN=$DUMPBIN
5757 for ac_prog in dumpbin "link -dump"
5759 # Extract the first word of "$ac_prog", so it can be a program name with args.
5760 set dummy $ac_prog; ac_word=$2
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5762 $as_echo_n "checking for $ac_word... " >&6; }
5763 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5764 $as_echo_n "(cached) " >&6
5765 else
5766 if test -n "$ac_ct_DUMPBIN"; then
5767 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5768 else
5769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5770 for as_dir in $PATH
5772 IFS=$as_save_IFS
5773 test -z "$as_dir" && as_dir=.
5774 for ac_exec_ext in '' $ac_executable_extensions; do
5775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5776 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5778 break 2
5780 done
5781 done
5782 IFS=$as_save_IFS
5786 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5787 if test -n "$ac_ct_DUMPBIN"; then
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5789 $as_echo "$ac_ct_DUMPBIN" >&6; }
5790 else
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5792 $as_echo "no" >&6; }
5796 test -n "$ac_ct_DUMPBIN" && break
5797 done
5799 if test "x$ac_ct_DUMPBIN" = x; then
5800 DUMPBIN=":"
5801 else
5802 case $cross_compiling:$ac_tool_warned in
5803 yes:)
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5805 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5806 ac_tool_warned=yes ;;
5807 esac
5808 DUMPBIN=$ac_ct_DUMPBIN
5812 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5813 *COFF*)
5814 DUMPBIN="$DUMPBIN -symbols"
5817 DUMPBIN=:
5819 esac
5822 if test "$DUMPBIN" != ":"; then
5823 NM="$DUMPBIN"
5826 test -z "$NM" && NM=nm
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5834 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5835 if test "${lt_cv_nm_interface+set}" = set; then :
5836 $as_echo_n "(cached) " >&6
5837 else
5838 lt_cv_nm_interface="BSD nm"
5839 echo "int some_variable = 0;" > conftest.$ac_ext
5840 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5841 (eval "$ac_compile" 2>conftest.err)
5842 cat conftest.err >&5
5843 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5844 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5845 cat conftest.err >&5
5846 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5847 cat conftest.out >&5
5848 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5849 lt_cv_nm_interface="MS dumpbin"
5851 rm -f conftest*
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5854 $as_echo "$lt_cv_nm_interface" >&6; }
5856 # find the maximum length of command line arguments
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5858 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5859 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5860 $as_echo_n "(cached) " >&6
5861 else
5863 teststring="ABCD"
5865 case $build_os in
5866 msdosdjgpp*)
5867 # On DJGPP, this test can blow up pretty badly due to problems in libc
5868 # (any single argument exceeding 2000 bytes causes a buffer overrun
5869 # during glob expansion). Even if it were fixed, the result of this
5870 # check would be larger than it should be.
5871 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5874 gnu*)
5875 # Under GNU Hurd, this test is not required because there is
5876 # no limit to the length of command line arguments.
5877 # Libtool will interpret -1 as no limit whatsoever
5878 lt_cv_sys_max_cmd_len=-1;
5881 cygwin* | mingw* | cegcc*)
5882 # On Win9x/ME, this test blows up -- it succeeds, but takes
5883 # about 5 minutes as the teststring grows exponentially.
5884 # Worse, since 9x/ME are not pre-emptively multitasking,
5885 # you end up with a "frozen" computer, even though with patience
5886 # the test eventually succeeds (with a max line length of 256k).
5887 # Instead, let's just punt: use the minimum linelength reported by
5888 # all of the supported platforms: 8192 (on NT/2K/XP).
5889 lt_cv_sys_max_cmd_len=8192;
5892 mint*)
5893 # On MiNT this can take a long time and run out of memory.
5894 lt_cv_sys_max_cmd_len=8192;
5897 amigaos*)
5898 # On AmigaOS with pdksh, this test takes hours, literally.
5899 # So we just punt and use a minimum line length of 8192.
5900 lt_cv_sys_max_cmd_len=8192;
5903 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5904 # This has been around since 386BSD, at least. Likely further.
5905 if test -x /sbin/sysctl; then
5906 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5907 elif test -x /usr/sbin/sysctl; then
5908 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5909 else
5910 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5912 # And add a safety zone
5913 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5914 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5917 interix*)
5918 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5919 lt_cv_sys_max_cmd_len=196608
5922 osf*)
5923 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5924 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5925 # nice to cause kernel panics so lets avoid the loop below.
5926 # First set a reasonable default.
5927 lt_cv_sys_max_cmd_len=16384
5929 if test -x /sbin/sysconfig; then
5930 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5931 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5932 esac
5935 sco3.2v5*)
5936 lt_cv_sys_max_cmd_len=102400
5938 sysv5* | sco5v6* | sysv4.2uw2*)
5939 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5940 if test -n "$kargmax"; then
5941 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5942 else
5943 lt_cv_sys_max_cmd_len=32768
5947 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5948 if test -n "$lt_cv_sys_max_cmd_len"; then
5949 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5950 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5951 else
5952 # Make teststring a little bigger before we do anything with it.
5953 # a 1K string should be a reasonable start.
5954 for i in 1 2 3 4 5 6 7 8 ; do
5955 teststring=$teststring$teststring
5956 done
5957 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5958 # If test is not a shell built-in, we'll probably end up computing a
5959 # maximum length that is only half of the actual maximum length, but
5960 # we can't tell.
5961 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5962 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5963 test $i != 17 # 1/2 MB should be enough
5965 i=`expr $i + 1`
5966 teststring=$teststring$teststring
5967 done
5968 # Only check the string length outside the loop.
5969 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5970 teststring=
5971 # Add a significant safety factor because C++ compilers can tack on
5972 # massive amounts of additional arguments before passing them to the
5973 # linker. It appears as though 1/2 is a usable value.
5974 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5977 esac
5981 if test -n $lt_cv_sys_max_cmd_len ; then
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5983 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5984 else
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5986 $as_echo "none" >&6; }
5988 max_cmd_len=$lt_cv_sys_max_cmd_len
5995 : ${CP="cp -f"}
5996 : ${MV="mv -f"}
5997 : ${RM="rm -f"}
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6000 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6001 # Try some XSI features
6002 xsi_shell=no
6003 ( _lt_dummy="a/b/c"
6004 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6005 = c,a/b,, \
6006 && eval 'test $(( 1 + 1 )) -eq 2 \
6007 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6008 && xsi_shell=yes
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6010 $as_echo "$xsi_shell" >&6; }
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6014 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6015 lt_shell_append=no
6016 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6017 >/dev/null 2>&1 \
6018 && lt_shell_append=yes
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6020 $as_echo "$lt_shell_append" >&6; }
6023 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6024 lt_unset=unset
6025 else
6026 lt_unset=false
6033 # test EBCDIC or ASCII
6034 case `echo X|tr X '\101'` in
6035 A) # ASCII based system
6036 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6037 lt_SP2NL='tr \040 \012'
6038 lt_NL2SP='tr \015\012 \040\040'
6040 *) # EBCDIC based system
6041 lt_SP2NL='tr \100 \n'
6042 lt_NL2SP='tr \r\n \100\100'
6044 esac
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6055 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6056 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6057 $as_echo_n "(cached) " >&6
6058 else
6059 lt_cv_ld_reload_flag='-r'
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6062 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6063 reload_flag=$lt_cv_ld_reload_flag
6064 case $reload_flag in
6065 "" | " "*) ;;
6066 *) reload_flag=" $reload_flag" ;;
6067 esac
6068 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6069 case $host_os in
6070 darwin*)
6071 if test "$GCC" = yes; then
6072 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6073 else
6074 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6077 esac
6087 if test -n "$ac_tool_prefix"; then
6088 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6089 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6091 $as_echo_n "checking for $ac_word... " >&6; }
6092 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6093 $as_echo_n "(cached) " >&6
6094 else
6095 if test -n "$OBJDUMP"; then
6096 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6097 else
6098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6099 for as_dir in $PATH
6101 IFS=$as_save_IFS
6102 test -z "$as_dir" && as_dir=.
6103 for ac_exec_ext in '' $ac_executable_extensions; do
6104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6105 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6107 break 2
6109 done
6110 done
6111 IFS=$as_save_IFS
6115 OBJDUMP=$ac_cv_prog_OBJDUMP
6116 if test -n "$OBJDUMP"; then
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6118 $as_echo "$OBJDUMP" >&6; }
6119 else
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6121 $as_echo "no" >&6; }
6126 if test -z "$ac_cv_prog_OBJDUMP"; then
6127 ac_ct_OBJDUMP=$OBJDUMP
6128 # Extract the first word of "objdump", so it can be a program name with args.
6129 set dummy objdump; ac_word=$2
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6131 $as_echo_n "checking for $ac_word... " >&6; }
6132 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6133 $as_echo_n "(cached) " >&6
6134 else
6135 if test -n "$ac_ct_OBJDUMP"; then
6136 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6137 else
6138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6139 for as_dir in $PATH
6141 IFS=$as_save_IFS
6142 test -z "$as_dir" && as_dir=.
6143 for ac_exec_ext in '' $ac_executable_extensions; do
6144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6145 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6147 break 2
6149 done
6150 done
6151 IFS=$as_save_IFS
6155 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6156 if test -n "$ac_ct_OBJDUMP"; then
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6158 $as_echo "$ac_ct_OBJDUMP" >&6; }
6159 else
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6161 $as_echo "no" >&6; }
6164 if test "x$ac_ct_OBJDUMP" = x; then
6165 OBJDUMP="false"
6166 else
6167 case $cross_compiling:$ac_tool_warned in
6168 yes:)
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6170 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6171 ac_tool_warned=yes ;;
6172 esac
6173 OBJDUMP=$ac_ct_OBJDUMP
6175 else
6176 OBJDUMP="$ac_cv_prog_OBJDUMP"
6179 test -z "$OBJDUMP" && OBJDUMP=objdump
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6190 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6191 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6192 $as_echo_n "(cached) " >&6
6193 else
6194 lt_cv_file_magic_cmd='$MAGIC_CMD'
6195 lt_cv_file_magic_test_file=
6196 lt_cv_deplibs_check_method='unknown'
6197 # Need to set the preceding variable on all platforms that support
6198 # interlibrary dependencies.
6199 # 'none' -- dependencies not supported.
6200 # `unknown' -- same as none, but documents that we really don't know.
6201 # 'pass_all' -- all dependencies passed with no checks.
6202 # 'test_compile' -- check by making test program.
6203 # 'file_magic [[regex]]' -- check by looking for files in library path
6204 # which responds to the $file_magic_cmd with a given extended regex.
6205 # If you have `file' or equivalent on your system and you're not sure
6206 # whether `pass_all' will *always* work, you probably want this one.
6208 case $host_os in
6209 aix[4-9]*)
6210 lt_cv_deplibs_check_method=pass_all
6213 beos*)
6214 lt_cv_deplibs_check_method=pass_all
6217 bsdi[45]*)
6218 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6219 lt_cv_file_magic_cmd='/usr/bin/file -L'
6220 lt_cv_file_magic_test_file=/shlib/libc.so
6223 cygwin*)
6224 # func_win32_libid is a shell function defined in ltmain.sh
6225 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6226 lt_cv_file_magic_cmd='func_win32_libid'
6229 mingw* | pw32*)
6230 # Base MSYS/MinGW do not provide the 'file' command needed by
6231 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6232 # unless we find 'file', for example because we are cross-compiling.
6233 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6234 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6235 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6236 lt_cv_file_magic_cmd='func_win32_libid'
6237 else
6238 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6239 lt_cv_file_magic_cmd='$OBJDUMP -f'
6243 cegcc*)
6244 # use the weaker test based on 'objdump'. See mingw*.
6245 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6246 lt_cv_file_magic_cmd='$OBJDUMP -f'
6249 darwin* | rhapsody*)
6250 lt_cv_deplibs_check_method=pass_all
6253 freebsd* | dragonfly*)
6254 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6255 case $host_cpu in
6256 i*86 )
6257 # Not sure whether the presence of OpenBSD here was a mistake.
6258 # Let's accept both of them until this is cleared up.
6259 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6260 lt_cv_file_magic_cmd=/usr/bin/file
6261 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6263 esac
6264 else
6265 lt_cv_deplibs_check_method=pass_all
6269 gnu*)
6270 lt_cv_deplibs_check_method=pass_all
6273 haiku*)
6274 lt_cv_deplibs_check_method=pass_all
6277 hpux10.20* | hpux11*)
6278 lt_cv_file_magic_cmd=/usr/bin/file
6279 case $host_cpu in
6280 ia64*)
6281 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6282 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6284 hppa*64*)
6285 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]'
6286 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6289 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6290 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6292 esac
6295 interix[3-9]*)
6296 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6297 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6300 irix5* | irix6* | nonstopux*)
6301 case $LD in
6302 *-32|*"-32 ") libmagic=32-bit;;
6303 *-n32|*"-n32 ") libmagic=N32;;
6304 *-64|*"-64 ") libmagic=64-bit;;
6305 *) libmagic=never-match;;
6306 esac
6307 lt_cv_deplibs_check_method=pass_all
6310 # This must be Linux ELF.
6311 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6312 lt_cv_deplibs_check_method=pass_all
6315 netbsd*)
6316 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6317 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6318 else
6319 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6323 newos6*)
6324 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6325 lt_cv_file_magic_cmd=/usr/bin/file
6326 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6329 *nto* | *qnx*)
6330 lt_cv_deplibs_check_method=pass_all
6333 openbsd*)
6334 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6335 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6336 else
6337 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6341 osf3* | osf4* | osf5*)
6342 lt_cv_deplibs_check_method=pass_all
6345 rdos*)
6346 lt_cv_deplibs_check_method=pass_all
6349 solaris*)
6350 lt_cv_deplibs_check_method=pass_all
6353 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6354 lt_cv_deplibs_check_method=pass_all
6357 sysv4 | sysv4.3*)
6358 case $host_vendor in
6359 motorola)
6360 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]'
6361 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6363 ncr)
6364 lt_cv_deplibs_check_method=pass_all
6366 sequent)
6367 lt_cv_file_magic_cmd='/bin/file'
6368 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6370 sni)
6371 lt_cv_file_magic_cmd='/bin/file'
6372 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6373 lt_cv_file_magic_test_file=/lib/libc.so
6375 siemens)
6376 lt_cv_deplibs_check_method=pass_all
6379 lt_cv_deplibs_check_method=pass_all
6381 esac
6384 tpf*)
6385 lt_cv_deplibs_check_method=pass_all
6387 esac
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6391 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6392 file_magic_cmd=$lt_cv_file_magic_cmd
6393 deplibs_check_method=$lt_cv_deplibs_check_method
6394 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6407 if test -n "$ac_tool_prefix"; then
6408 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6409 set dummy ${ac_tool_prefix}ar; ac_word=$2
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6411 $as_echo_n "checking for $ac_word... " >&6; }
6412 if test "${ac_cv_prog_AR+set}" = set; then :
6413 $as_echo_n "(cached) " >&6
6414 else
6415 if test -n "$AR"; then
6416 ac_cv_prog_AR="$AR" # Let the user override the test.
6417 else
6418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6419 for as_dir in $PATH
6421 IFS=$as_save_IFS
6422 test -z "$as_dir" && as_dir=.
6423 for ac_exec_ext in '' $ac_executable_extensions; do
6424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6425 ac_cv_prog_AR="${ac_tool_prefix}ar"
6426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6427 break 2
6429 done
6430 done
6431 IFS=$as_save_IFS
6435 AR=$ac_cv_prog_AR
6436 if test -n "$AR"; then
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6438 $as_echo "$AR" >&6; }
6439 else
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6441 $as_echo "no" >&6; }
6446 if test -z "$ac_cv_prog_AR"; then
6447 ac_ct_AR=$AR
6448 # Extract the first word of "ar", so it can be a program name with args.
6449 set dummy ar; ac_word=$2
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6451 $as_echo_n "checking for $ac_word... " >&6; }
6452 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6453 $as_echo_n "(cached) " >&6
6454 else
6455 if test -n "$ac_ct_AR"; then
6456 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6457 else
6458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6459 for as_dir in $PATH
6461 IFS=$as_save_IFS
6462 test -z "$as_dir" && as_dir=.
6463 for ac_exec_ext in '' $ac_executable_extensions; do
6464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6465 ac_cv_prog_ac_ct_AR="ar"
6466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6467 break 2
6469 done
6470 done
6471 IFS=$as_save_IFS
6475 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6476 if test -n "$ac_ct_AR"; then
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6478 $as_echo "$ac_ct_AR" >&6; }
6479 else
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6481 $as_echo "no" >&6; }
6484 if test "x$ac_ct_AR" = x; then
6485 AR="false"
6486 else
6487 case $cross_compiling:$ac_tool_warned in
6488 yes:)
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6490 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6491 ac_tool_warned=yes ;;
6492 esac
6493 AR=$ac_ct_AR
6495 else
6496 AR="$ac_cv_prog_AR"
6499 test -z "$AR" && AR=ar
6500 test -z "$AR_FLAGS" && AR_FLAGS=cru
6512 if test -n "$ac_tool_prefix"; then
6513 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6514 set dummy ${ac_tool_prefix}strip; ac_word=$2
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6516 $as_echo_n "checking for $ac_word... " >&6; }
6517 if test "${ac_cv_prog_STRIP+set}" = set; then :
6518 $as_echo_n "(cached) " >&6
6519 else
6520 if test -n "$STRIP"; then
6521 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6522 else
6523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6524 for as_dir in $PATH
6526 IFS=$as_save_IFS
6527 test -z "$as_dir" && as_dir=.
6528 for ac_exec_ext in '' $ac_executable_extensions; do
6529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6530 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6532 break 2
6534 done
6535 done
6536 IFS=$as_save_IFS
6540 STRIP=$ac_cv_prog_STRIP
6541 if test -n "$STRIP"; then
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6543 $as_echo "$STRIP" >&6; }
6544 else
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6546 $as_echo "no" >&6; }
6551 if test -z "$ac_cv_prog_STRIP"; then
6552 ac_ct_STRIP=$STRIP
6553 # Extract the first word of "strip", so it can be a program name with args.
6554 set dummy strip; ac_word=$2
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6556 $as_echo_n "checking for $ac_word... " >&6; }
6557 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6558 $as_echo_n "(cached) " >&6
6559 else
6560 if test -n "$ac_ct_STRIP"; then
6561 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6562 else
6563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6564 for as_dir in $PATH
6566 IFS=$as_save_IFS
6567 test -z "$as_dir" && as_dir=.
6568 for ac_exec_ext in '' $ac_executable_extensions; do
6569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6570 ac_cv_prog_ac_ct_STRIP="strip"
6571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6572 break 2
6574 done
6575 done
6576 IFS=$as_save_IFS
6580 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6581 if test -n "$ac_ct_STRIP"; then
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6583 $as_echo "$ac_ct_STRIP" >&6; }
6584 else
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6586 $as_echo "no" >&6; }
6589 if test "x$ac_ct_STRIP" = x; then
6590 STRIP=":"
6591 else
6592 case $cross_compiling:$ac_tool_warned in
6593 yes:)
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6596 ac_tool_warned=yes ;;
6597 esac
6598 STRIP=$ac_ct_STRIP
6600 else
6601 STRIP="$ac_cv_prog_STRIP"
6604 test -z "$STRIP" && STRIP=:
6611 if test -n "$ac_tool_prefix"; then
6612 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6613 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6615 $as_echo_n "checking for $ac_word... " >&6; }
6616 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6617 $as_echo_n "(cached) " >&6
6618 else
6619 if test -n "$RANLIB"; then
6620 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6621 else
6622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6623 for as_dir in $PATH
6625 IFS=$as_save_IFS
6626 test -z "$as_dir" && as_dir=.
6627 for ac_exec_ext in '' $ac_executable_extensions; do
6628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6629 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6631 break 2
6633 done
6634 done
6635 IFS=$as_save_IFS
6639 RANLIB=$ac_cv_prog_RANLIB
6640 if test -n "$RANLIB"; then
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6642 $as_echo "$RANLIB" >&6; }
6643 else
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6645 $as_echo "no" >&6; }
6650 if test -z "$ac_cv_prog_RANLIB"; then
6651 ac_ct_RANLIB=$RANLIB
6652 # Extract the first word of "ranlib", so it can be a program name with args.
6653 set dummy ranlib; ac_word=$2
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6655 $as_echo_n "checking for $ac_word... " >&6; }
6656 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6657 $as_echo_n "(cached) " >&6
6658 else
6659 if test -n "$ac_ct_RANLIB"; then
6660 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6661 else
6662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6663 for as_dir in $PATH
6665 IFS=$as_save_IFS
6666 test -z "$as_dir" && as_dir=.
6667 for ac_exec_ext in '' $ac_executable_extensions; do
6668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6669 ac_cv_prog_ac_ct_RANLIB="ranlib"
6670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6671 break 2
6673 done
6674 done
6675 IFS=$as_save_IFS
6679 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6680 if test -n "$ac_ct_RANLIB"; then
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6682 $as_echo "$ac_ct_RANLIB" >&6; }
6683 else
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6685 $as_echo "no" >&6; }
6688 if test "x$ac_ct_RANLIB" = x; then
6689 RANLIB=":"
6690 else
6691 case $cross_compiling:$ac_tool_warned in
6692 yes:)
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6694 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6695 ac_tool_warned=yes ;;
6696 esac
6697 RANLIB=$ac_ct_RANLIB
6699 else
6700 RANLIB="$ac_cv_prog_RANLIB"
6703 test -z "$RANLIB" && RANLIB=:
6710 # Determine commands to create old-style static archives.
6711 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6712 old_postinstall_cmds='chmod 644 $oldlib'
6713 old_postuninstall_cmds=
6715 if test -n "$RANLIB"; then
6716 case $host_os in
6717 openbsd*)
6718 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6721 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6723 esac
6724 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6727 case $host_os in
6728 darwin*)
6729 lock_old_archive_extraction=yes ;;
6731 lock_old_archive_extraction=no ;;
6732 esac
6772 # If no C compiler was specified, use CC.
6773 LTCC=${LTCC-"$CC"}
6775 # If no C compiler flags were specified, use CFLAGS.
6776 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6778 # Allow CC to be a program name with arguments.
6779 compiler=$CC
6782 # Check for command to grab the raw symbol name followed by C symbol from nm.
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6784 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6785 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6786 $as_echo_n "(cached) " >&6
6787 else
6789 # These are sane defaults that work on at least a few old systems.
6790 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6792 # Character class describing NM global symbol codes.
6793 symcode='[BCDEGRST]'
6795 # Regexp to match symbols that can be accessed directly from C.
6796 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6798 # Define system-specific variables.
6799 case $host_os in
6800 aix*)
6801 symcode='[BCDT]'
6803 cygwin* | mingw* | pw32* | cegcc*)
6804 symcode='[ABCDGISTW]'
6806 hpux*)
6807 if test "$host_cpu" = ia64; then
6808 symcode='[ABCDEGRST]'
6811 irix* | nonstopux*)
6812 symcode='[BCDEGRST]'
6814 osf*)
6815 symcode='[BCDEGQRST]'
6817 solaris*)
6818 symcode='[BDRT]'
6820 sco3.2v5*)
6821 symcode='[DT]'
6823 sysv4.2uw2*)
6824 symcode='[DT]'
6826 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6827 symcode='[ABDT]'
6829 sysv4)
6830 symcode='[DFNSTU]'
6832 esac
6834 # If we're using GNU nm, then use its standard symbol codes.
6835 case `$NM -V 2>&1` in
6836 *GNU* | *'with BFD'*)
6837 symcode='[ABCDGIRSTW]' ;;
6838 esac
6840 # Transform an extracted symbol line into a proper C declaration.
6841 # Some systems (esp. on ia64) link data and code symbols differently,
6842 # so use this general approach.
6843 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6845 # Transform an extracted symbol line into symbol name and symbol address
6846 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6847 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'"
6849 # Handle CRLF in mingw tool chain
6850 opt_cr=
6851 case $build_os in
6852 mingw*)
6853 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6855 esac
6857 # Try without a prefix underscore, then with it.
6858 for ac_symprfx in "" "_"; do
6860 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6861 symxfrm="\\1 $ac_symprfx\\2 \\2"
6863 # Write the raw and C identifiers.
6864 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6865 # Fake it for dumpbin and say T for any non-static function
6866 # and D for any global variable.
6867 # Also find C++ and __fastcall symbols from MSVC++,
6868 # which start with @ or ?.
6869 lt_cv_sys_global_symbol_pipe="$AWK '"\
6870 " {last_section=section; section=\$ 3};"\
6871 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6872 " \$ 0!~/External *\|/{next};"\
6873 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6874 " {if(hide[section]) next};"\
6875 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6876 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6877 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6878 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6879 " ' prfx=^$ac_symprfx"
6880 else
6881 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6884 # Check to see that the pipe works correctly.
6885 pipe_works=no
6887 rm -f conftest*
6888 cat > conftest.$ac_ext <<_LT_EOF
6889 #ifdef __cplusplus
6890 extern "C" {
6891 #endif
6892 char nm_test_var;
6893 void nm_test_func(void);
6894 void nm_test_func(void){}
6895 #ifdef __cplusplus
6897 #endif
6898 int main(){nm_test_var='a';nm_test_func();return(0);}
6899 _LT_EOF
6901 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6902 (eval $ac_compile) 2>&5
6903 ac_status=$?
6904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6905 test $ac_status = 0; }; then
6906 # Now try to grab the symbols.
6907 nlist=conftest.nm
6908 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6909 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6910 ac_status=$?
6911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6912 test $ac_status = 0; } && test -s "$nlist"; then
6913 # Try sorting and uniquifying the output.
6914 if sort "$nlist" | uniq > "$nlist"T; then
6915 mv -f "$nlist"T "$nlist"
6916 else
6917 rm -f "$nlist"T
6920 # Make sure that we snagged all the symbols we need.
6921 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6922 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6923 cat <<_LT_EOF > conftest.$ac_ext
6924 #ifdef __cplusplus
6925 extern "C" {
6926 #endif
6928 _LT_EOF
6929 # Now generate the symbol file.
6930 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6932 cat <<_LT_EOF >> conftest.$ac_ext
6934 /* The mapping between symbol names and symbols. */
6935 const struct {
6936 const char *name;
6937 void *address;
6939 lt__PROGRAM__LTX_preloaded_symbols[] =
6941 { "@PROGRAM@", (void *) 0 },
6942 _LT_EOF
6943 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6944 cat <<\_LT_EOF >> conftest.$ac_ext
6945 {0, (void *) 0}
6948 /* This works around a problem in FreeBSD linker */
6949 #ifdef FREEBSD_WORKAROUND
6950 static const void *lt_preloaded_setup() {
6951 return lt__PROGRAM__LTX_preloaded_symbols;
6953 #endif
6955 #ifdef __cplusplus
6957 #endif
6958 _LT_EOF
6959 # Now try linking the two files.
6960 mv conftest.$ac_objext conftstm.$ac_objext
6961 lt_save_LIBS="$LIBS"
6962 lt_save_CFLAGS="$CFLAGS"
6963 LIBS="conftstm.$ac_objext"
6964 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6965 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6966 (eval $ac_link) 2>&5
6967 ac_status=$?
6968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6969 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6970 pipe_works=yes
6972 LIBS="$lt_save_LIBS"
6973 CFLAGS="$lt_save_CFLAGS"
6974 else
6975 echo "cannot find nm_test_func in $nlist" >&5
6977 else
6978 echo "cannot find nm_test_var in $nlist" >&5
6980 else
6981 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6983 else
6984 echo "$progname: failed program was:" >&5
6985 cat conftest.$ac_ext >&5
6987 rm -rf conftest* conftst*
6989 # Do not use the global_symbol_pipe unless it works.
6990 if test "$pipe_works" = yes; then
6991 break
6992 else
6993 lt_cv_sys_global_symbol_pipe=
6995 done
6999 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7000 lt_cv_sys_global_symbol_to_cdecl=
7002 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7004 $as_echo "failed" >&6; }
7005 else
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7007 $as_echo "ok" >&6; }
7031 # Check whether --enable-libtool-lock was given.
7032 if test "${enable_libtool_lock+set}" = set; then :
7033 enableval=$enable_libtool_lock;
7036 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7038 # Some flags need to be propagated to the compiler or linker for good
7039 # libtool support.
7040 case $host in
7041 ia64-*-hpux*)
7042 # Find out which ABI we are using.
7043 echo 'int i;' > conftest.$ac_ext
7044 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7045 (eval $ac_compile) 2>&5
7046 ac_status=$?
7047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7048 test $ac_status = 0; }; then
7049 case `/usr/bin/file conftest.$ac_objext` in
7050 *ELF-32*)
7051 HPUX_IA64_MODE="32"
7053 *ELF-64*)
7054 HPUX_IA64_MODE="64"
7056 esac
7058 rm -rf conftest*
7060 *-*-irix6*)
7061 # Find out which ABI we are using.
7062 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7063 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7064 (eval $ac_compile) 2>&5
7065 ac_status=$?
7066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7067 test $ac_status = 0; }; then
7068 if test "$lt_cv_prog_gnu_ld" = yes; then
7069 case `/usr/bin/file conftest.$ac_objext` in
7070 *32-bit*)
7071 LD="${LD-ld} -melf32bsmip"
7073 *N32*)
7074 LD="${LD-ld} -melf32bmipn32"
7076 *64-bit*)
7077 LD="${LD-ld} -melf64bmip"
7079 esac
7080 else
7081 case `/usr/bin/file conftest.$ac_objext` in
7082 *32-bit*)
7083 LD="${LD-ld} -32"
7085 *N32*)
7086 LD="${LD-ld} -n32"
7088 *64-bit*)
7089 LD="${LD-ld} -64"
7091 esac
7094 rm -rf conftest*
7097 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7098 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7099 # Find out which ABI we are using.
7100 echo 'int i;' > conftest.$ac_ext
7101 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7102 (eval $ac_compile) 2>&5
7103 ac_status=$?
7104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7105 test $ac_status = 0; }; then
7106 case `/usr/bin/file conftest.o` in
7107 *32-bit*)
7108 case $host in
7109 x86_64-*kfreebsd*-gnu)
7110 LD="${LD-ld} -m elf_i386_fbsd"
7112 x86_64-*linux*)
7113 LD="${LD-ld} -m elf_i386"
7115 ppc64-*linux*|powerpc64-*linux*)
7116 LD="${LD-ld} -m elf32ppclinux"
7118 s390x-*linux*)
7119 LD="${LD-ld} -m elf_s390"
7121 sparc64-*linux*)
7122 LD="${LD-ld} -m elf32_sparc"
7124 esac
7126 *64-bit*)
7127 case $host in
7128 x86_64-*kfreebsd*-gnu)
7129 LD="${LD-ld} -m elf_x86_64_fbsd"
7131 x86_64-*linux*)
7132 LD="${LD-ld} -m elf_x86_64"
7134 ppc*-*linux*|powerpc*-*linux*)
7135 LD="${LD-ld} -m elf64ppc"
7137 s390*-*linux*|s390*-*tpf*)
7138 LD="${LD-ld} -m elf64_s390"
7140 sparc*-*linux*)
7141 LD="${LD-ld} -m elf64_sparc"
7143 esac
7145 esac
7147 rm -rf conftest*
7150 *-*-sco3.2v5*)
7151 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7152 SAVE_CFLAGS="$CFLAGS"
7153 CFLAGS="$CFLAGS -belf"
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7155 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7156 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7157 $as_echo_n "(cached) " >&6
7158 else
7159 ac_ext=c
7160 ac_cpp='$CPP $CPPFLAGS'
7161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7165 if test x$gcc_no_link = xyes; then
7166 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7169 /* end confdefs.h. */
7172 main ()
7176 return 0;
7178 _ACEOF
7179 if ac_fn_c_try_link "$LINENO"; then :
7180 lt_cv_cc_needs_belf=yes
7181 else
7182 lt_cv_cc_needs_belf=no
7184 rm -f core conftest.err conftest.$ac_objext \
7185 conftest$ac_exeext conftest.$ac_ext
7186 ac_ext=c
7187 ac_cpp='$CPP $CPPFLAGS'
7188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7194 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7195 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7196 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7197 CFLAGS="$SAVE_CFLAGS"
7200 sparc*-*solaris*)
7201 # Find out which ABI we are using.
7202 echo 'int i;' > conftest.$ac_ext
7203 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7204 (eval $ac_compile) 2>&5
7205 ac_status=$?
7206 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7207 test $ac_status = 0; }; then
7208 case `/usr/bin/file conftest.o` in
7209 *64-bit*)
7210 case $lt_cv_prog_gnu_ld in
7211 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7213 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7214 LD="${LD-ld} -64"
7217 esac
7219 esac
7221 rm -rf conftest*
7223 esac
7225 need_locks="$enable_libtool_lock"
7228 case $host_os in
7229 rhapsody* | darwin*)
7230 if test -n "$ac_tool_prefix"; then
7231 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7232 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7234 $as_echo_n "checking for $ac_word... " >&6; }
7235 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7236 $as_echo_n "(cached) " >&6
7237 else
7238 if test -n "$DSYMUTIL"; then
7239 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7240 else
7241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7242 for as_dir in $PATH
7244 IFS=$as_save_IFS
7245 test -z "$as_dir" && as_dir=.
7246 for ac_exec_ext in '' $ac_executable_extensions; do
7247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7248 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7250 break 2
7252 done
7253 done
7254 IFS=$as_save_IFS
7258 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7259 if test -n "$DSYMUTIL"; then
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7261 $as_echo "$DSYMUTIL" >&6; }
7262 else
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7264 $as_echo "no" >&6; }
7269 if test -z "$ac_cv_prog_DSYMUTIL"; then
7270 ac_ct_DSYMUTIL=$DSYMUTIL
7271 # Extract the first word of "dsymutil", so it can be a program name with args.
7272 set dummy dsymutil; ac_word=$2
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7274 $as_echo_n "checking for $ac_word... " >&6; }
7275 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7276 $as_echo_n "(cached) " >&6
7277 else
7278 if test -n "$ac_ct_DSYMUTIL"; then
7279 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7280 else
7281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7282 for as_dir in $PATH
7284 IFS=$as_save_IFS
7285 test -z "$as_dir" && as_dir=.
7286 for ac_exec_ext in '' $ac_executable_extensions; do
7287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7288 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7290 break 2
7292 done
7293 done
7294 IFS=$as_save_IFS
7298 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7299 if test -n "$ac_ct_DSYMUTIL"; then
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7301 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7302 else
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7304 $as_echo "no" >&6; }
7307 if test "x$ac_ct_DSYMUTIL" = x; then
7308 DSYMUTIL=":"
7309 else
7310 case $cross_compiling:$ac_tool_warned in
7311 yes:)
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7313 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7314 ac_tool_warned=yes ;;
7315 esac
7316 DSYMUTIL=$ac_ct_DSYMUTIL
7318 else
7319 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7322 if test -n "$ac_tool_prefix"; then
7323 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7324 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7326 $as_echo_n "checking for $ac_word... " >&6; }
7327 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7328 $as_echo_n "(cached) " >&6
7329 else
7330 if test -n "$NMEDIT"; then
7331 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7332 else
7333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7334 for as_dir in $PATH
7336 IFS=$as_save_IFS
7337 test -z "$as_dir" && as_dir=.
7338 for ac_exec_ext in '' $ac_executable_extensions; do
7339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7340 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7342 break 2
7344 done
7345 done
7346 IFS=$as_save_IFS
7350 NMEDIT=$ac_cv_prog_NMEDIT
7351 if test -n "$NMEDIT"; then
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7353 $as_echo "$NMEDIT" >&6; }
7354 else
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7356 $as_echo "no" >&6; }
7361 if test -z "$ac_cv_prog_NMEDIT"; then
7362 ac_ct_NMEDIT=$NMEDIT
7363 # Extract the first word of "nmedit", so it can be a program name with args.
7364 set dummy nmedit; ac_word=$2
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7366 $as_echo_n "checking for $ac_word... " >&6; }
7367 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7368 $as_echo_n "(cached) " >&6
7369 else
7370 if test -n "$ac_ct_NMEDIT"; then
7371 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7372 else
7373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7374 for as_dir in $PATH
7376 IFS=$as_save_IFS
7377 test -z "$as_dir" && as_dir=.
7378 for ac_exec_ext in '' $ac_executable_extensions; do
7379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7380 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7382 break 2
7384 done
7385 done
7386 IFS=$as_save_IFS
7390 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7391 if test -n "$ac_ct_NMEDIT"; then
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7393 $as_echo "$ac_ct_NMEDIT" >&6; }
7394 else
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7396 $as_echo "no" >&6; }
7399 if test "x$ac_ct_NMEDIT" = x; then
7400 NMEDIT=":"
7401 else
7402 case $cross_compiling:$ac_tool_warned in
7403 yes:)
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7405 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7406 ac_tool_warned=yes ;;
7407 esac
7408 NMEDIT=$ac_ct_NMEDIT
7410 else
7411 NMEDIT="$ac_cv_prog_NMEDIT"
7414 if test -n "$ac_tool_prefix"; then
7415 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7416 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7418 $as_echo_n "checking for $ac_word... " >&6; }
7419 if test "${ac_cv_prog_LIPO+set}" = set; then :
7420 $as_echo_n "(cached) " >&6
7421 else
7422 if test -n "$LIPO"; then
7423 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7424 else
7425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7426 for as_dir in $PATH
7428 IFS=$as_save_IFS
7429 test -z "$as_dir" && as_dir=.
7430 for ac_exec_ext in '' $ac_executable_extensions; do
7431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7432 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7434 break 2
7436 done
7437 done
7438 IFS=$as_save_IFS
7442 LIPO=$ac_cv_prog_LIPO
7443 if test -n "$LIPO"; then
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7445 $as_echo "$LIPO" >&6; }
7446 else
7447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7448 $as_echo "no" >&6; }
7453 if test -z "$ac_cv_prog_LIPO"; then
7454 ac_ct_LIPO=$LIPO
7455 # Extract the first word of "lipo", so it can be a program name with args.
7456 set dummy lipo; ac_word=$2
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7458 $as_echo_n "checking for $ac_word... " >&6; }
7459 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7460 $as_echo_n "(cached) " >&6
7461 else
7462 if test -n "$ac_ct_LIPO"; then
7463 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7464 else
7465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7466 for as_dir in $PATH
7468 IFS=$as_save_IFS
7469 test -z "$as_dir" && as_dir=.
7470 for ac_exec_ext in '' $ac_executable_extensions; do
7471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7472 ac_cv_prog_ac_ct_LIPO="lipo"
7473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7474 break 2
7476 done
7477 done
7478 IFS=$as_save_IFS
7482 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7483 if test -n "$ac_ct_LIPO"; then
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7485 $as_echo "$ac_ct_LIPO" >&6; }
7486 else
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7488 $as_echo "no" >&6; }
7491 if test "x$ac_ct_LIPO" = x; then
7492 LIPO=":"
7493 else
7494 case $cross_compiling:$ac_tool_warned in
7495 yes:)
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7497 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7498 ac_tool_warned=yes ;;
7499 esac
7500 LIPO=$ac_ct_LIPO
7502 else
7503 LIPO="$ac_cv_prog_LIPO"
7506 if test -n "$ac_tool_prefix"; then
7507 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7508 set dummy ${ac_tool_prefix}otool; ac_word=$2
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7510 $as_echo_n "checking for $ac_word... " >&6; }
7511 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7512 $as_echo_n "(cached) " >&6
7513 else
7514 if test -n "$OTOOL"; then
7515 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7516 else
7517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7518 for as_dir in $PATH
7520 IFS=$as_save_IFS
7521 test -z "$as_dir" && as_dir=.
7522 for ac_exec_ext in '' $ac_executable_extensions; do
7523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7524 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7526 break 2
7528 done
7529 done
7530 IFS=$as_save_IFS
7534 OTOOL=$ac_cv_prog_OTOOL
7535 if test -n "$OTOOL"; then
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7537 $as_echo "$OTOOL" >&6; }
7538 else
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7540 $as_echo "no" >&6; }
7545 if test -z "$ac_cv_prog_OTOOL"; then
7546 ac_ct_OTOOL=$OTOOL
7547 # Extract the first word of "otool", so it can be a program name with args.
7548 set dummy otool; ac_word=$2
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7550 $as_echo_n "checking for $ac_word... " >&6; }
7551 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7552 $as_echo_n "(cached) " >&6
7553 else
7554 if test -n "$ac_ct_OTOOL"; then
7555 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7556 else
7557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7558 for as_dir in $PATH
7560 IFS=$as_save_IFS
7561 test -z "$as_dir" && as_dir=.
7562 for ac_exec_ext in '' $ac_executable_extensions; do
7563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7564 ac_cv_prog_ac_ct_OTOOL="otool"
7565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7566 break 2
7568 done
7569 done
7570 IFS=$as_save_IFS
7574 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7575 if test -n "$ac_ct_OTOOL"; then
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7577 $as_echo "$ac_ct_OTOOL" >&6; }
7578 else
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7580 $as_echo "no" >&6; }
7583 if test "x$ac_ct_OTOOL" = x; then
7584 OTOOL=":"
7585 else
7586 case $cross_compiling:$ac_tool_warned in
7587 yes:)
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7589 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7590 ac_tool_warned=yes ;;
7591 esac
7592 OTOOL=$ac_ct_OTOOL
7594 else
7595 OTOOL="$ac_cv_prog_OTOOL"
7598 if test -n "$ac_tool_prefix"; then
7599 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7600 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7602 $as_echo_n "checking for $ac_word... " >&6; }
7603 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7604 $as_echo_n "(cached) " >&6
7605 else
7606 if test -n "$OTOOL64"; then
7607 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7608 else
7609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7610 for as_dir in $PATH
7612 IFS=$as_save_IFS
7613 test -z "$as_dir" && as_dir=.
7614 for ac_exec_ext in '' $ac_executable_extensions; do
7615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7616 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7618 break 2
7620 done
7621 done
7622 IFS=$as_save_IFS
7626 OTOOL64=$ac_cv_prog_OTOOL64
7627 if test -n "$OTOOL64"; then
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7629 $as_echo "$OTOOL64" >&6; }
7630 else
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7632 $as_echo "no" >&6; }
7637 if test -z "$ac_cv_prog_OTOOL64"; then
7638 ac_ct_OTOOL64=$OTOOL64
7639 # Extract the first word of "otool64", so it can be a program name with args.
7640 set dummy otool64; ac_word=$2
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7642 $as_echo_n "checking for $ac_word... " >&6; }
7643 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7644 $as_echo_n "(cached) " >&6
7645 else
7646 if test -n "$ac_ct_OTOOL64"; then
7647 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7648 else
7649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7650 for as_dir in $PATH
7652 IFS=$as_save_IFS
7653 test -z "$as_dir" && as_dir=.
7654 for ac_exec_ext in '' $ac_executable_extensions; do
7655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7656 ac_cv_prog_ac_ct_OTOOL64="otool64"
7657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7658 break 2
7660 done
7661 done
7662 IFS=$as_save_IFS
7666 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7667 if test -n "$ac_ct_OTOOL64"; then
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7669 $as_echo "$ac_ct_OTOOL64" >&6; }
7670 else
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7672 $as_echo "no" >&6; }
7675 if test "x$ac_ct_OTOOL64" = x; then
7676 OTOOL64=":"
7677 else
7678 case $cross_compiling:$ac_tool_warned in
7679 yes:)
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7681 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7682 ac_tool_warned=yes ;;
7683 esac
7684 OTOOL64=$ac_ct_OTOOL64
7686 else
7687 OTOOL64="$ac_cv_prog_OTOOL64"
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7717 $as_echo_n "checking for -single_module linker flag... " >&6; }
7718 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7719 $as_echo_n "(cached) " >&6
7720 else
7721 lt_cv_apple_cc_single_mod=no
7722 if test -z "${LT_MULTI_MODULE}"; then
7723 # By default we will add the -single_module flag. You can override
7724 # by either setting the environment variable LT_MULTI_MODULE
7725 # non-empty at configure time, or by adding -multi_module to the
7726 # link flags.
7727 rm -rf libconftest.dylib*
7728 echo "int foo(void){return 1;}" > conftest.c
7729 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7730 -dynamiclib -Wl,-single_module conftest.c" >&5
7731 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7732 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7733 _lt_result=$?
7734 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7735 lt_cv_apple_cc_single_mod=yes
7736 else
7737 cat conftest.err >&5
7739 rm -rf libconftest.dylib*
7740 rm -f conftest.*
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7744 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7746 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7747 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7748 $as_echo_n "(cached) " >&6
7749 else
7750 lt_cv_ld_exported_symbols_list=no
7751 save_LDFLAGS=$LDFLAGS
7752 echo "_main" > conftest.sym
7753 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7754 if test x$gcc_no_link = xyes; then
7755 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7758 /* end confdefs.h. */
7761 main ()
7765 return 0;
7767 _ACEOF
7768 if ac_fn_c_try_link "$LINENO"; then :
7769 lt_cv_ld_exported_symbols_list=yes
7770 else
7771 lt_cv_ld_exported_symbols_list=no
7773 rm -f core conftest.err conftest.$ac_objext \
7774 conftest$ac_exeext conftest.$ac_ext
7775 LDFLAGS="$save_LDFLAGS"
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7779 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7781 $as_echo_n "checking for -force_load linker flag... " >&6; }
7782 if test "${lt_cv_ld_force_load+set}" = set; then :
7783 $as_echo_n "(cached) " >&6
7784 else
7785 lt_cv_ld_force_load=no
7786 cat > conftest.c << _LT_EOF
7787 int forced_loaded() { return 2;}
7788 _LT_EOF
7789 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7790 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7791 echo "$AR cru libconftest.a conftest.o" >&5
7792 $AR cru libconftest.a conftest.o 2>&5
7793 cat > conftest.c << _LT_EOF
7794 int main() { return 0;}
7795 _LT_EOF
7796 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7797 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7798 _lt_result=$?
7799 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7800 lt_cv_ld_force_load=yes
7801 else
7802 cat conftest.err >&5
7804 rm -f conftest.err libconftest.a conftest conftest.c
7805 rm -rf conftest.dSYM
7808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7809 $as_echo "$lt_cv_ld_force_load" >&6; }
7810 case $host_os in
7811 rhapsody* | darwin1.[012])
7812 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7813 darwin1.*)
7814 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7815 darwin*) # darwin 5.x on
7816 # if running on 10.5 or later, the deployment target defaults
7817 # to the OS version, if on x86, and 10.4, the deployment
7818 # target defaults to 10.4. Don't you love it?
7819 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7820 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7821 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7822 10.[012]*)
7823 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7824 10.*)
7825 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7826 esac
7828 esac
7829 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7830 _lt_dar_single_mod='$single_module'
7832 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7833 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7834 else
7835 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7837 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7838 _lt_dsymutil='~$DSYMUTIL $lib || :'
7839 else
7840 _lt_dsymutil=
7843 esac
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7846 $as_echo_n "checking for ANSI C header files... " >&6; }
7847 if test "${ac_cv_header_stdc+set}" = set; then :
7848 $as_echo_n "(cached) " >&6
7849 else
7850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7851 /* end confdefs.h. */
7852 #include <stdlib.h>
7853 #include <stdarg.h>
7854 #include <string.h>
7855 #include <float.h>
7858 main ()
7862 return 0;
7864 _ACEOF
7865 if ac_fn_c_try_compile "$LINENO"; then :
7866 ac_cv_header_stdc=yes
7867 else
7868 ac_cv_header_stdc=no
7870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7872 if test $ac_cv_header_stdc = yes; then
7873 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7875 /* end confdefs.h. */
7876 #include <string.h>
7878 _ACEOF
7879 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7880 $EGREP "memchr" >/dev/null 2>&1; then :
7882 else
7883 ac_cv_header_stdc=no
7885 rm -f conftest*
7889 if test $ac_cv_header_stdc = yes; then
7890 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7892 /* end confdefs.h. */
7893 #include <stdlib.h>
7895 _ACEOF
7896 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7897 $EGREP "free" >/dev/null 2>&1; then :
7899 else
7900 ac_cv_header_stdc=no
7902 rm -f conftest*
7906 if test $ac_cv_header_stdc = yes; then
7907 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7908 if test "$cross_compiling" = yes; then :
7910 else
7911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7912 /* end confdefs.h. */
7913 #include <ctype.h>
7914 #include <stdlib.h>
7915 #if ((' ' & 0x0FF) == 0x020)
7916 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7917 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7918 #else
7919 # define ISLOWER(c) \
7920 (('a' <= (c) && (c) <= 'i') \
7921 || ('j' <= (c) && (c) <= 'r') \
7922 || ('s' <= (c) && (c) <= 'z'))
7923 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7924 #endif
7926 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7928 main ()
7930 int i;
7931 for (i = 0; i < 256; i++)
7932 if (XOR (islower (i), ISLOWER (i))
7933 || toupper (i) != TOUPPER (i))
7934 return 2;
7935 return 0;
7937 _ACEOF
7938 if ac_fn_c_try_run "$LINENO"; then :
7940 else
7941 ac_cv_header_stdc=no
7943 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7944 conftest.$ac_objext conftest.beam conftest.$ac_ext
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7950 $as_echo "$ac_cv_header_stdc" >&6; }
7951 if test $ac_cv_header_stdc = yes; then
7953 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7957 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7958 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7959 inttypes.h stdint.h unistd.h
7960 do :
7961 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7962 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7964 eval as_val=\$$as_ac_Header
7965 if test "x$as_val" = x""yes; then :
7966 cat >>confdefs.h <<_ACEOF
7967 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7968 _ACEOF
7972 done
7975 for ac_header in dlfcn.h
7976 do :
7977 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7979 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7980 cat >>confdefs.h <<_ACEOF
7981 #define HAVE_DLFCN_H 1
7982 _ACEOF
7986 done
7993 # Set options
7998 enable_win32_dll=no
8001 # Check whether --enable-shared was given.
8002 if test "${enable_shared+set}" = set; then :
8003 enableval=$enable_shared; p=${PACKAGE-default}
8004 case $enableval in
8005 yes) enable_shared=yes ;;
8006 no) enable_shared=no ;;
8008 enable_shared=no
8009 # Look at the argument we got. We use all the common list separators.
8010 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8011 for pkg in $enableval; do
8012 IFS="$lt_save_ifs"
8013 if test "X$pkg" = "X$p"; then
8014 enable_shared=yes
8016 done
8017 IFS="$lt_save_ifs"
8019 esac
8020 else
8021 enable_shared=yes
8032 # Check whether --enable-static was given.
8033 if test "${enable_static+set}" = set; then :
8034 enableval=$enable_static; p=${PACKAGE-default}
8035 case $enableval in
8036 yes) enable_static=yes ;;
8037 no) enable_static=no ;;
8039 enable_static=no
8040 # Look at the argument we got. We use all the common list separators.
8041 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8042 for pkg in $enableval; do
8043 IFS="$lt_save_ifs"
8044 if test "X$pkg" = "X$p"; then
8045 enable_static=yes
8047 done
8048 IFS="$lt_save_ifs"
8050 esac
8051 else
8052 enable_static=yes
8064 # Check whether --with-pic was given.
8065 if test "${with_pic+set}" = set; then :
8066 withval=$with_pic; p=${PACKAGE-default}
8067 case "$withval" in
8068 yes|no) pic_mode="$withval" ;;
8070 pic_mode=default
8071 # Look at the argument we got. We use all the common list separators.
8072 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8073 for pkg in $withval; do
8074 IFS="$lt_save_ifs"
8075 if test "X$pkg" = "X$p"; then
8076 pic_mode=yes
8078 done
8079 IFS="$lt_save_ifs"
8081 esac
8082 else
8083 pic_mode=default
8087 test -z "$pic_mode" && pic_mode=default
8095 # Check whether --enable-fast-install was given.
8096 if test "${enable_fast_install+set}" = set; then :
8097 enableval=$enable_fast_install; p=${PACKAGE-default}
8098 case $enableval in
8099 yes) enable_fast_install=yes ;;
8100 no) enable_fast_install=no ;;
8102 enable_fast_install=no
8103 # Look at the argument we got. We use all the common list separators.
8104 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8105 for pkg in $enableval; do
8106 IFS="$lt_save_ifs"
8107 if test "X$pkg" = "X$p"; then
8108 enable_fast_install=yes
8110 done
8111 IFS="$lt_save_ifs"
8113 esac
8114 else
8115 enable_fast_install=yes
8128 # This can be used to rebuild libtool when needed
8129 LIBTOOL_DEPS="$ltmain"
8131 # Always use our own libtool.
8132 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8159 test -z "$LN_S" && LN_S="ln -s"
8174 if test -n "${ZSH_VERSION+set}" ; then
8175 setopt NO_GLOB_SUBST
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8179 $as_echo_n "checking for objdir... " >&6; }
8180 if test "${lt_cv_objdir+set}" = set; then :
8181 $as_echo_n "(cached) " >&6
8182 else
8183 rm -f .libs 2>/dev/null
8184 mkdir .libs 2>/dev/null
8185 if test -d .libs; then
8186 lt_cv_objdir=.libs
8187 else
8188 # MS-DOS does not allow filenames that begin with a dot.
8189 lt_cv_objdir=_libs
8191 rmdir .libs 2>/dev/null
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8194 $as_echo "$lt_cv_objdir" >&6; }
8195 objdir=$lt_cv_objdir
8201 cat >>confdefs.h <<_ACEOF
8202 #define LT_OBJDIR "$lt_cv_objdir/"
8203 _ACEOF
8208 case $host_os in
8209 aix3*)
8210 # AIX sometimes has problems with the GCC collect2 program. For some
8211 # reason, if we set the COLLECT_NAMES environment variable, the problems
8212 # vanish in a puff of smoke.
8213 if test "X${COLLECT_NAMES+set}" != Xset; then
8214 COLLECT_NAMES=
8215 export COLLECT_NAMES
8218 esac
8220 # Global variables:
8221 ofile=libtool
8222 can_build_shared=yes
8224 # All known linkers require a `.a' archive for static linking (except MSVC,
8225 # which needs '.lib').
8226 libext=a
8228 with_gnu_ld="$lt_cv_prog_gnu_ld"
8230 old_CC="$CC"
8231 old_CFLAGS="$CFLAGS"
8233 # Set sane defaults for various variables
8234 test -z "$CC" && CC=cc
8235 test -z "$LTCC" && LTCC=$CC
8236 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8237 test -z "$LD" && LD=ld
8238 test -z "$ac_objext" && ac_objext=o
8240 for cc_temp in $compiler""; do
8241 case $cc_temp in
8242 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8243 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8244 \-*) ;;
8245 *) break;;
8246 esac
8247 done
8248 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8251 # Only perform the check for file, if the check method requires it
8252 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8253 case $deplibs_check_method in
8254 file_magic*)
8255 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8257 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8258 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8259 $as_echo_n "(cached) " >&6
8260 else
8261 case $MAGIC_CMD in
8262 [\\/*] | ?:[\\/]*)
8263 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8266 lt_save_MAGIC_CMD="$MAGIC_CMD"
8267 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8268 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8269 for ac_dir in $ac_dummy; do
8270 IFS="$lt_save_ifs"
8271 test -z "$ac_dir" && ac_dir=.
8272 if test -f $ac_dir/${ac_tool_prefix}file; then
8273 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8274 if test -n "$file_magic_test_file"; then
8275 case $deplibs_check_method in
8276 "file_magic "*)
8277 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8278 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8279 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8280 $EGREP "$file_magic_regex" > /dev/null; then
8282 else
8283 cat <<_LT_EOF 1>&2
8285 *** Warning: the command libtool uses to detect shared libraries,
8286 *** $file_magic_cmd, produces output that libtool cannot recognize.
8287 *** The result is that libtool may fail to recognize shared libraries
8288 *** as such. This will affect the creation of libtool libraries that
8289 *** depend on shared libraries, but programs linked with such libtool
8290 *** libraries will work regardless of this problem. Nevertheless, you
8291 *** may want to report the problem to your system manager and/or to
8292 *** bug-libtool@gnu.org
8294 _LT_EOF
8295 fi ;;
8296 esac
8298 break
8300 done
8301 IFS="$lt_save_ifs"
8302 MAGIC_CMD="$lt_save_MAGIC_CMD"
8304 esac
8307 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8308 if test -n "$MAGIC_CMD"; then
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8310 $as_echo "$MAGIC_CMD" >&6; }
8311 else
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8313 $as_echo "no" >&6; }
8320 if test -z "$lt_cv_path_MAGIC_CMD"; then
8321 if test -n "$ac_tool_prefix"; then
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8323 $as_echo_n "checking for file... " >&6; }
8324 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8325 $as_echo_n "(cached) " >&6
8326 else
8327 case $MAGIC_CMD in
8328 [\\/*] | ?:[\\/]*)
8329 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8332 lt_save_MAGIC_CMD="$MAGIC_CMD"
8333 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8334 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8335 for ac_dir in $ac_dummy; do
8336 IFS="$lt_save_ifs"
8337 test -z "$ac_dir" && ac_dir=.
8338 if test -f $ac_dir/file; then
8339 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8340 if test -n "$file_magic_test_file"; then
8341 case $deplibs_check_method in
8342 "file_magic "*)
8343 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8344 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8345 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8346 $EGREP "$file_magic_regex" > /dev/null; then
8348 else
8349 cat <<_LT_EOF 1>&2
8351 *** Warning: the command libtool uses to detect shared libraries,
8352 *** $file_magic_cmd, produces output that libtool cannot recognize.
8353 *** The result is that libtool may fail to recognize shared libraries
8354 *** as such. This will affect the creation of libtool libraries that
8355 *** depend on shared libraries, but programs linked with such libtool
8356 *** libraries will work regardless of this problem. Nevertheless, you
8357 *** may want to report the problem to your system manager and/or to
8358 *** bug-libtool@gnu.org
8360 _LT_EOF
8361 fi ;;
8362 esac
8364 break
8366 done
8367 IFS="$lt_save_ifs"
8368 MAGIC_CMD="$lt_save_MAGIC_CMD"
8370 esac
8373 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8374 if test -n "$MAGIC_CMD"; then
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8376 $as_echo "$MAGIC_CMD" >&6; }
8377 else
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8379 $as_echo "no" >&6; }
8383 else
8384 MAGIC_CMD=:
8390 esac
8392 # Use C for the default configuration in the libtool script
8394 lt_save_CC="$CC"
8395 ac_ext=c
8396 ac_cpp='$CPP $CPPFLAGS'
8397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8402 # Source file extension for C test sources.
8403 ac_ext=c
8405 # Object file extension for compiled C test sources.
8406 objext=o
8407 objext=$objext
8409 # Code to be used in simple compile tests
8410 lt_simple_compile_test_code="int some_variable = 0;"
8412 # Code to be used in simple link tests
8413 lt_simple_link_test_code='int main(){return(0);}'
8421 # If no C compiler was specified, use CC.
8422 LTCC=${LTCC-"$CC"}
8424 # If no C compiler flags were specified, use CFLAGS.
8425 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8427 # Allow CC to be a program name with arguments.
8428 compiler=$CC
8430 # Save the default compiler, since it gets overwritten when the other
8431 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8432 compiler_DEFAULT=$CC
8434 # save warnings/boilerplate of simple test code
8435 ac_outfile=conftest.$ac_objext
8436 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8437 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8438 _lt_compiler_boilerplate=`cat conftest.err`
8439 $RM conftest*
8441 ac_outfile=conftest.$ac_objext
8442 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8443 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8444 _lt_linker_boilerplate=`cat conftest.err`
8445 $RM -r conftest*
8448 ## CAVEAT EMPTOR:
8449 ## There is no encapsulation within the following macros, do not change
8450 ## the running order or otherwise move them around unless you know exactly
8451 ## what you are doing...
8452 if test -n "$compiler"; then
8454 lt_prog_compiler_no_builtin_flag=
8456 if test "$GCC" = yes; then
8457 case $cc_basename in
8458 nvcc*)
8459 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8461 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8462 esac
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8465 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8466 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8467 $as_echo_n "(cached) " >&6
8468 else
8469 lt_cv_prog_compiler_rtti_exceptions=no
8470 ac_outfile=conftest.$ac_objext
8471 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8472 lt_compiler_flag="-fno-rtti -fno-exceptions"
8473 # Insert the option either (1) after the last *FLAGS variable, or
8474 # (2) before a word containing "conftest.", or (3) at the end.
8475 # Note that $ac_compile itself does not contain backslashes and begins
8476 # with a dollar sign (not a hyphen), so the echo should work correctly.
8477 # The option is referenced via a variable to avoid confusing sed.
8478 lt_compile=`echo "$ac_compile" | $SED \
8479 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8480 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8481 -e 's:$: $lt_compiler_flag:'`
8482 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8483 (eval "$lt_compile" 2>conftest.err)
8484 ac_status=$?
8485 cat conftest.err >&5
8486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8487 if (exit $ac_status) && test -s "$ac_outfile"; then
8488 # The compiler can only warn and ignore the option if not recognized
8489 # So say no if there are warnings other than the usual output.
8490 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8491 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8492 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8493 lt_cv_prog_compiler_rtti_exceptions=yes
8496 $RM conftest*
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8500 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8502 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8503 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8504 else
8515 lt_prog_compiler_wl=
8516 lt_prog_compiler_pic=
8517 lt_prog_compiler_static=
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8520 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8522 if test "$GCC" = yes; then
8523 lt_prog_compiler_wl='-Wl,'
8524 lt_prog_compiler_static='-static'
8526 case $host_os in
8527 aix*)
8528 # All AIX code is PIC.
8529 if test "$host_cpu" = ia64; then
8530 # AIX 5 now supports IA64 processor
8531 lt_prog_compiler_static='-Bstatic'
8535 amigaos*)
8536 case $host_cpu in
8537 powerpc)
8538 # see comment about AmigaOS4 .so support
8539 lt_prog_compiler_pic='-fPIC'
8541 m68k)
8542 # FIXME: we need at least 68020 code to build shared libraries, but
8543 # adding the `-m68020' flag to GCC prevents building anything better,
8544 # like `-m68040'.
8545 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8547 esac
8550 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8551 # PIC is the default for these OSes.
8554 mingw* | cygwin* | pw32* | os2* | cegcc*)
8555 # This hack is so that the source file can tell whether it is being
8556 # built for inclusion in a dll (and should export symbols for example).
8557 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8558 # (--disable-auto-import) libraries
8559 lt_prog_compiler_pic='-DDLL_EXPORT'
8562 darwin* | rhapsody*)
8563 # PIC is the default on this platform
8564 # Common symbols not allowed in MH_DYLIB files
8565 lt_prog_compiler_pic='-fno-common'
8568 haiku*)
8569 # PIC is the default for Haiku.
8570 # The "-static" flag exists, but is broken.
8571 lt_prog_compiler_static=
8574 hpux*)
8575 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8576 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8577 # sets the default TLS model and affects inlining.
8578 case $host_cpu in
8579 hppa*64*)
8580 # +Z the default
8583 lt_prog_compiler_pic='-fPIC'
8585 esac
8588 interix[3-9]*)
8589 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8590 # Instead, we relocate shared libraries at runtime.
8593 msdosdjgpp*)
8594 # Just because we use GCC doesn't mean we suddenly get shared libraries
8595 # on systems that don't support them.
8596 lt_prog_compiler_can_build_shared=no
8597 enable_shared=no
8600 *nto* | *qnx*)
8601 # QNX uses GNU C++, but need to define -shared option too, otherwise
8602 # it will coredump.
8603 lt_prog_compiler_pic='-fPIC -shared'
8606 sysv4*MP*)
8607 if test -d /usr/nec; then
8608 lt_prog_compiler_pic=-Kconform_pic
8613 lt_prog_compiler_pic='-fPIC'
8615 esac
8617 case $cc_basename in
8618 nvcc*) # Cuda Compiler Driver 2.2
8619 lt_prog_compiler_wl='-Xlinker '
8620 lt_prog_compiler_pic='-Xcompiler -fPIC'
8622 esac
8623 else
8624 # PORTME Check for flag to pass linker flags through the system compiler.
8625 case $host_os in
8626 aix*)
8627 lt_prog_compiler_wl='-Wl,'
8628 if test "$host_cpu" = ia64; then
8629 # AIX 5 now supports IA64 processor
8630 lt_prog_compiler_static='-Bstatic'
8631 else
8632 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8636 mingw* | cygwin* | pw32* | os2* | cegcc*)
8637 # This hack is so that the source file can tell whether it is being
8638 # built for inclusion in a dll (and should export symbols for example).
8639 lt_prog_compiler_pic='-DDLL_EXPORT'
8642 hpux9* | hpux10* | hpux11*)
8643 lt_prog_compiler_wl='-Wl,'
8644 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8645 # not for PA HP-UX.
8646 case $host_cpu in
8647 hppa*64*|ia64*)
8648 # +Z the default
8651 lt_prog_compiler_pic='+Z'
8653 esac
8654 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8655 lt_prog_compiler_static='${wl}-a ${wl}archive'
8658 irix5* | irix6* | nonstopux*)
8659 lt_prog_compiler_wl='-Wl,'
8660 # PIC (with -KPIC) is the default.
8661 lt_prog_compiler_static='-non_shared'
8664 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8665 case $cc_basename in
8666 # old Intel for x86_64 which still supported -KPIC.
8667 ecc*)
8668 lt_prog_compiler_wl='-Wl,'
8669 lt_prog_compiler_pic='-KPIC'
8670 lt_prog_compiler_static='-static'
8672 # icc used to be incompatible with GCC.
8673 # ICC 10 doesn't accept -KPIC any more.
8674 icc* | ifort*)
8675 lt_prog_compiler_wl='-Wl,'
8676 lt_prog_compiler_pic='-fPIC'
8677 lt_prog_compiler_static='-static'
8679 # Lahey Fortran 8.1.
8680 lf95*)
8681 lt_prog_compiler_wl='-Wl,'
8682 lt_prog_compiler_pic='--shared'
8683 lt_prog_compiler_static='--static'
8685 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8686 # Portland Group compilers (*not* the Pentium gcc compiler,
8687 # which looks to be a dead project)
8688 lt_prog_compiler_wl='-Wl,'
8689 lt_prog_compiler_pic='-fpic'
8690 lt_prog_compiler_static='-Bstatic'
8692 ccc*)
8693 lt_prog_compiler_wl='-Wl,'
8694 # All Alpha code is PIC.
8695 lt_prog_compiler_static='-non_shared'
8697 xl* | bgxl* | bgf* | mpixl*)
8698 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8699 lt_prog_compiler_wl='-Wl,'
8700 lt_prog_compiler_pic='-qpic'
8701 lt_prog_compiler_static='-qstaticlink'
8704 case `$CC -V 2>&1 | sed 5q` in
8705 *Sun\ F* | *Sun*Fortran*)
8706 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8707 lt_prog_compiler_pic='-KPIC'
8708 lt_prog_compiler_static='-Bstatic'
8709 lt_prog_compiler_wl=''
8711 *Sun\ C*)
8712 # Sun C 5.9
8713 lt_prog_compiler_pic='-KPIC'
8714 lt_prog_compiler_static='-Bstatic'
8715 lt_prog_compiler_wl='-Wl,'
8717 esac
8719 esac
8722 newsos6)
8723 lt_prog_compiler_pic='-KPIC'
8724 lt_prog_compiler_static='-Bstatic'
8727 *nto* | *qnx*)
8728 # QNX uses GNU C++, but need to define -shared option too, otherwise
8729 # it will coredump.
8730 lt_prog_compiler_pic='-fPIC -shared'
8733 osf3* | osf4* | osf5*)
8734 lt_prog_compiler_wl='-Wl,'
8735 # All OSF/1 code is PIC.
8736 lt_prog_compiler_static='-non_shared'
8739 rdos*)
8740 lt_prog_compiler_static='-non_shared'
8743 solaris*)
8744 lt_prog_compiler_pic='-KPIC'
8745 lt_prog_compiler_static='-Bstatic'
8746 case $cc_basename in
8747 f77* | f90* | f95*)
8748 lt_prog_compiler_wl='-Qoption ld ';;
8750 lt_prog_compiler_wl='-Wl,';;
8751 esac
8754 sunos4*)
8755 lt_prog_compiler_wl='-Qoption ld '
8756 lt_prog_compiler_pic='-PIC'
8757 lt_prog_compiler_static='-Bstatic'
8760 sysv4 | sysv4.2uw2* | sysv4.3*)
8761 lt_prog_compiler_wl='-Wl,'
8762 lt_prog_compiler_pic='-KPIC'
8763 lt_prog_compiler_static='-Bstatic'
8766 sysv4*MP*)
8767 if test -d /usr/nec ;then
8768 lt_prog_compiler_pic='-Kconform_pic'
8769 lt_prog_compiler_static='-Bstatic'
8773 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8774 lt_prog_compiler_wl='-Wl,'
8775 lt_prog_compiler_pic='-KPIC'
8776 lt_prog_compiler_static='-Bstatic'
8779 unicos*)
8780 lt_prog_compiler_wl='-Wl,'
8781 lt_prog_compiler_can_build_shared=no
8784 uts4*)
8785 lt_prog_compiler_pic='-pic'
8786 lt_prog_compiler_static='-Bstatic'
8790 lt_prog_compiler_can_build_shared=no
8792 esac
8795 case $host_os in
8796 # For platforms which do not support PIC, -DPIC is meaningless:
8797 *djgpp*)
8798 lt_prog_compiler_pic=
8801 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8803 esac
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8805 $as_echo "$lt_prog_compiler_pic" >&6; }
8813 # Check to make sure the PIC flag actually works.
8815 if test -n "$lt_prog_compiler_pic"; then
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8817 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8818 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8819 $as_echo_n "(cached) " >&6
8820 else
8821 lt_cv_prog_compiler_pic_works=no
8822 ac_outfile=conftest.$ac_objext
8823 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8824 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8825 # Insert the option either (1) after the last *FLAGS variable, or
8826 # (2) before a word containing "conftest.", or (3) at the end.
8827 # Note that $ac_compile itself does not contain backslashes and begins
8828 # with a dollar sign (not a hyphen), so the echo should work correctly.
8829 # The option is referenced via a variable to avoid confusing sed.
8830 lt_compile=`echo "$ac_compile" | $SED \
8831 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8832 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8833 -e 's:$: $lt_compiler_flag:'`
8834 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8835 (eval "$lt_compile" 2>conftest.err)
8836 ac_status=$?
8837 cat conftest.err >&5
8838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8839 if (exit $ac_status) && test -s "$ac_outfile"; then
8840 # The compiler can only warn and ignore the option if not recognized
8841 # So say no if there are warnings other than the usual output.
8842 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8843 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8844 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8845 lt_cv_prog_compiler_pic_works=yes
8848 $RM conftest*
8851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8852 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8854 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8855 case $lt_prog_compiler_pic in
8856 "" | " "*) ;;
8857 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8858 esac
8859 else
8860 lt_prog_compiler_pic=
8861 lt_prog_compiler_can_build_shared=no
8872 # Check to make sure the static flag actually works.
8874 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8876 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8877 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8878 $as_echo_n "(cached) " >&6
8879 else
8880 lt_cv_prog_compiler_static_works=no
8881 save_LDFLAGS="$LDFLAGS"
8882 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8883 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8884 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8885 # The linker can only warn and ignore the option if not recognized
8886 # So say no if there are warnings
8887 if test -s conftest.err; then
8888 # Append any errors to the config.log.
8889 cat conftest.err 1>&5
8890 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8891 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8892 if diff conftest.exp conftest.er2 >/dev/null; then
8893 lt_cv_prog_compiler_static_works=yes
8895 else
8896 lt_cv_prog_compiler_static_works=yes
8899 $RM -r conftest*
8900 LDFLAGS="$save_LDFLAGS"
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8904 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8906 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8908 else
8909 lt_prog_compiler_static=
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8919 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8920 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8921 $as_echo_n "(cached) " >&6
8922 else
8923 lt_cv_prog_compiler_c_o=no
8924 $RM -r conftest 2>/dev/null
8925 mkdir conftest
8926 cd conftest
8927 mkdir out
8928 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8930 lt_compiler_flag="-o out/conftest2.$ac_objext"
8931 # Insert the option either (1) after the last *FLAGS variable, or
8932 # (2) before a word containing "conftest.", or (3) at the end.
8933 # Note that $ac_compile itself does not contain backslashes and begins
8934 # with a dollar sign (not a hyphen), so the echo should work correctly.
8935 lt_compile=`echo "$ac_compile" | $SED \
8936 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8937 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8938 -e 's:$: $lt_compiler_flag:'`
8939 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8940 (eval "$lt_compile" 2>out/conftest.err)
8941 ac_status=$?
8942 cat out/conftest.err >&5
8943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8944 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8945 then
8946 # The compiler can only warn and ignore the option if not recognized
8947 # So say no if there are warnings
8948 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8949 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8950 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8951 lt_cv_prog_compiler_c_o=yes
8954 chmod u+w . 2>&5
8955 $RM conftest*
8956 # SGI C++ compiler will create directory out/ii_files/ for
8957 # template instantiation
8958 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8959 $RM out/* && rmdir out
8960 cd ..
8961 $RM -r conftest
8962 $RM conftest*
8965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8966 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8974 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8975 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8976 $as_echo_n "(cached) " >&6
8977 else
8978 lt_cv_prog_compiler_c_o=no
8979 $RM -r conftest 2>/dev/null
8980 mkdir conftest
8981 cd conftest
8982 mkdir out
8983 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8985 lt_compiler_flag="-o out/conftest2.$ac_objext"
8986 # Insert the option either (1) after the last *FLAGS variable, or
8987 # (2) before a word containing "conftest.", or (3) at the end.
8988 # Note that $ac_compile itself does not contain backslashes and begins
8989 # with a dollar sign (not a hyphen), so the echo should work correctly.
8990 lt_compile=`echo "$ac_compile" | $SED \
8991 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8992 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8993 -e 's:$: $lt_compiler_flag:'`
8994 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8995 (eval "$lt_compile" 2>out/conftest.err)
8996 ac_status=$?
8997 cat out/conftest.err >&5
8998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8999 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9000 then
9001 # The compiler can only warn and ignore the option if not recognized
9002 # So say no if there are warnings
9003 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9004 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9005 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9006 lt_cv_prog_compiler_c_o=yes
9009 chmod u+w . 2>&5
9010 $RM conftest*
9011 # SGI C++ compiler will create directory out/ii_files/ for
9012 # template instantiation
9013 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9014 $RM out/* && rmdir out
9015 cd ..
9016 $RM -r conftest
9017 $RM conftest*
9020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9021 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9026 hard_links="nottested"
9027 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9028 # do not overwrite the value of need_locks provided by the user
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9030 $as_echo_n "checking if we can lock with hard links... " >&6; }
9031 hard_links=yes
9032 $RM conftest*
9033 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9034 touch conftest.a
9035 ln conftest.a conftest.b 2>&5 || hard_links=no
9036 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9038 $as_echo "$hard_links" >&6; }
9039 if test "$hard_links" = no; then
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9041 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9042 need_locks=warn
9044 else
9045 need_locks=no
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9054 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9056 runpath_var=
9057 allow_undefined_flag=
9058 always_export_symbols=no
9059 archive_cmds=
9060 archive_expsym_cmds=
9061 compiler_needs_object=no
9062 enable_shared_with_static_runtimes=no
9063 export_dynamic_flag_spec=
9064 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9065 hardcode_automatic=no
9066 hardcode_direct=no
9067 hardcode_direct_absolute=no
9068 hardcode_libdir_flag_spec=
9069 hardcode_libdir_flag_spec_ld=
9070 hardcode_libdir_separator=
9071 hardcode_minus_L=no
9072 hardcode_shlibpath_var=unsupported
9073 inherit_rpath=no
9074 link_all_deplibs=unknown
9075 module_cmds=
9076 module_expsym_cmds=
9077 old_archive_from_new_cmds=
9078 old_archive_from_expsyms_cmds=
9079 thread_safe_flag_spec=
9080 whole_archive_flag_spec=
9081 # include_expsyms should be a list of space-separated symbols to be *always*
9082 # included in the symbol list
9083 include_expsyms=
9084 # exclude_expsyms can be an extended regexp of symbols to exclude
9085 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9086 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9087 # as well as any symbol that contains `d'.
9088 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9089 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9090 # platforms (ab)use it in PIC code, but their linkers get confused if
9091 # the symbol is explicitly referenced. Since portable code cannot
9092 # rely on this symbol name, it's probably fine to never include it in
9093 # preloaded symbol tables.
9094 # Exclude shared library initialization/finalization symbols.
9095 extract_expsyms_cmds=
9097 case $host_os in
9098 cygwin* | mingw* | pw32* | cegcc*)
9099 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9100 # When not using gcc, we currently assume that we are using
9101 # Microsoft Visual C++.
9102 if test "$GCC" != yes; then
9103 with_gnu_ld=no
9106 interix*)
9107 # we just hope/assume this is gcc and not c89 (= MSVC++)
9108 with_gnu_ld=yes
9110 openbsd*)
9111 with_gnu_ld=no
9113 esac
9115 ld_shlibs=yes
9117 # On some targets, GNU ld is compatible enough with the native linker
9118 # that we're better off using the native interface for both.
9119 lt_use_gnu_ld_interface=no
9120 if test "$with_gnu_ld" = yes; then
9121 case $host_os in
9122 aix*)
9123 # The AIX port of GNU ld has always aspired to compatibility
9124 # with the native linker. However, as the warning in the GNU ld
9125 # block says, versions before 2.19.5* couldn't really create working
9126 # shared libraries, regardless of the interface used.
9127 case `$LD -v 2>&1` in
9128 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9129 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9130 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9132 lt_use_gnu_ld_interface=yes
9134 esac
9137 lt_use_gnu_ld_interface=yes
9139 esac
9142 if test "$lt_use_gnu_ld_interface" = yes; then
9143 # If archive_cmds runs LD, not CC, wlarc should be empty
9144 wlarc='${wl}'
9146 # Set some defaults for GNU ld with shared library support. These
9147 # are reset later if shared libraries are not supported. Putting them
9148 # here allows them to be overridden if necessary.
9149 runpath_var=LD_RUN_PATH
9150 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9151 export_dynamic_flag_spec='${wl}--export-dynamic'
9152 # ancient GNU ld didn't support --whole-archive et. al.
9153 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9154 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9155 else
9156 whole_archive_flag_spec=
9158 supports_anon_versioning=no
9159 case `$LD -v 2>&1` in
9160 *GNU\ gold*) supports_anon_versioning=yes ;;
9161 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9162 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9163 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9164 *\ 2.11.*) ;; # other 2.11 versions
9165 *) supports_anon_versioning=yes ;;
9166 esac
9168 # See if GNU ld supports shared libraries.
9169 case $host_os in
9170 aix[3-9]*)
9171 # On AIX/PPC, the GNU linker is very broken
9172 if test "$host_cpu" != ia64; then
9173 ld_shlibs=no
9174 cat <<_LT_EOF 1>&2
9176 *** Warning: the GNU linker, at least up to release 2.19, is reported
9177 *** to be unable to reliably create shared libraries on AIX.
9178 *** Therefore, libtool is disabling shared libraries support. If you
9179 *** really care for shared libraries, you may want to install binutils
9180 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9181 *** You will then need to restart the configuration process.
9183 _LT_EOF
9187 amigaos*)
9188 case $host_cpu in
9189 powerpc)
9190 # see comment about AmigaOS4 .so support
9191 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9192 archive_expsym_cmds=''
9194 m68k)
9195 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)'
9196 hardcode_libdir_flag_spec='-L$libdir'
9197 hardcode_minus_L=yes
9199 esac
9202 beos*)
9203 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9204 allow_undefined_flag=unsupported
9205 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9206 # support --undefined. This deserves some investigation. FIXME
9207 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9208 else
9209 ld_shlibs=no
9213 cygwin* | mingw* | pw32* | cegcc*)
9214 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9215 # as there is no search path for DLLs.
9216 hardcode_libdir_flag_spec='-L$libdir'
9217 export_dynamic_flag_spec='${wl}--export-all-symbols'
9218 allow_undefined_flag=unsupported
9219 always_export_symbols=no
9220 enable_shared_with_static_runtimes=yes
9221 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9223 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9224 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9225 # If the export-symbols file already is a .def file (1st line
9226 # is EXPORTS), use it as is; otherwise, prepend...
9227 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9228 cp $export_symbols $output_objdir/$soname.def;
9229 else
9230 echo EXPORTS > $output_objdir/$soname.def;
9231 cat $export_symbols >> $output_objdir/$soname.def;
9233 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9234 else
9235 ld_shlibs=no
9239 haiku*)
9240 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9241 link_all_deplibs=yes
9244 interix[3-9]*)
9245 hardcode_direct=no
9246 hardcode_shlibpath_var=no
9247 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9248 export_dynamic_flag_spec='${wl}-E'
9249 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9250 # Instead, shared libraries are loaded at an image base (0x10000000 by
9251 # default) and relocated if they conflict, which is a slow very memory
9252 # consuming and fragmenting process. To avoid this, we pick a random,
9253 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9254 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9255 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9256 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'
9259 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9260 tmp_diet=no
9261 if test "$host_os" = linux-dietlibc; then
9262 case $cc_basename in
9263 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9264 esac
9266 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9267 && test "$tmp_diet" = no
9268 then
9269 tmp_addflag=
9270 tmp_sharedflag='-shared'
9271 case $cc_basename,$host_cpu in
9272 pgcc*) # Portland Group C compiler
9273 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'
9274 tmp_addflag=' $pic_flag'
9276 pgf77* | pgf90* | pgf95* | pgfortran*)
9277 # Portland Group f77 and f90 compilers
9278 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'
9279 tmp_addflag=' $pic_flag -Mnomain' ;;
9280 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9281 tmp_addflag=' -i_dynamic' ;;
9282 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9283 tmp_addflag=' -i_dynamic -nofor_main' ;;
9284 ifc* | ifort*) # Intel Fortran compiler
9285 tmp_addflag=' -nofor_main' ;;
9286 lf95*) # Lahey Fortran 8.1
9287 whole_archive_flag_spec=
9288 tmp_sharedflag='--shared' ;;
9289 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9290 tmp_sharedflag='-qmkshrobj'
9291 tmp_addflag= ;;
9292 nvcc*) # Cuda Compiler Driver 2.2
9293 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'
9294 compiler_needs_object=yes
9296 esac
9297 case `$CC -V 2>&1 | sed 5q` in
9298 *Sun\ C*) # Sun C 5.9
9299 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'
9300 compiler_needs_object=yes
9301 tmp_sharedflag='-G' ;;
9302 *Sun\ F*) # Sun Fortran 8.3
9303 tmp_sharedflag='-G' ;;
9304 esac
9305 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9307 if test "x$supports_anon_versioning" = xyes; then
9308 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9309 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9310 echo "local: *; };" >> $output_objdir/$libname.ver~
9311 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9314 case $cc_basename in
9315 xlf* | bgf* | bgxlf* | mpixlf*)
9316 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9317 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9318 hardcode_libdir_flag_spec=
9319 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9320 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9321 if test "x$supports_anon_versioning" = xyes; then
9322 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9323 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9324 echo "local: *; };" >> $output_objdir/$libname.ver~
9325 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9328 esac
9329 else
9330 ld_shlibs=no
9334 netbsd*)
9335 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9336 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9337 wlarc=
9338 else
9339 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9340 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9344 solaris*)
9345 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9346 ld_shlibs=no
9347 cat <<_LT_EOF 1>&2
9349 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9350 *** create shared libraries on Solaris systems. Therefore, libtool
9351 *** is disabling shared libraries support. We urge you to upgrade GNU
9352 *** binutils to release 2.9.1 or newer. Another option is to modify
9353 *** your PATH or compiler configuration so that the native linker is
9354 *** used, and then restart.
9356 _LT_EOF
9357 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9358 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9359 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9360 else
9361 ld_shlibs=no
9365 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9366 case `$LD -v 2>&1` in
9367 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9368 ld_shlibs=no
9369 cat <<_LT_EOF 1>&2
9371 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9372 *** reliably create shared libraries on SCO systems. Therefore, libtool
9373 *** is disabling shared libraries support. We urge you to upgrade GNU
9374 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9375 *** your PATH or compiler configuration so that the native linker is
9376 *** used, and then restart.
9378 _LT_EOF
9381 # For security reasons, it is highly recommended that you always
9382 # use absolute paths for naming shared libraries, and exclude the
9383 # DT_RUNPATH tag from executables and libraries. But doing so
9384 # requires that you compile everything twice, which is a pain.
9385 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9386 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9387 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9388 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9389 else
9390 ld_shlibs=no
9393 esac
9396 sunos4*)
9397 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9398 wlarc=
9399 hardcode_direct=yes
9400 hardcode_shlibpath_var=no
9404 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9405 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9406 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9407 else
9408 ld_shlibs=no
9411 esac
9413 if test "$ld_shlibs" = no; then
9414 runpath_var=
9415 hardcode_libdir_flag_spec=
9416 export_dynamic_flag_spec=
9417 whole_archive_flag_spec=
9419 else
9420 # PORTME fill in a description of your system's linker (not GNU ld)
9421 case $host_os in
9422 aix3*)
9423 allow_undefined_flag=unsupported
9424 always_export_symbols=yes
9425 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'
9426 # Note: this linker hardcodes the directories in LIBPATH if there
9427 # are no directories specified by -L.
9428 hardcode_minus_L=yes
9429 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9430 # Neither direct hardcoding nor static linking is supported with a
9431 # broken collect2.
9432 hardcode_direct=unsupported
9436 aix[4-9]*)
9437 if test "$host_cpu" = ia64; then
9438 # On IA64, the linker does run time linking by default, so we don't
9439 # have to do anything special.
9440 aix_use_runtimelinking=no
9441 exp_sym_flag='-Bexport'
9442 no_entry_flag=""
9443 else
9444 # If we're using GNU nm, then we don't want the "-C" option.
9445 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9446 # Also, AIX nm treats weak defined symbols like other global
9447 # defined symbols, whereas GNU nm marks them as "W".
9448 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9449 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'
9450 else
9451 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'
9453 aix_use_runtimelinking=no
9455 # Test if we are trying to use run time linking or normal
9456 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9457 # need to do runtime linking.
9458 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9459 for ld_flag in $LDFLAGS; do
9460 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9461 aix_use_runtimelinking=yes
9462 break
9464 done
9466 esac
9468 exp_sym_flag='-bexport'
9469 no_entry_flag='-bnoentry'
9472 # When large executables or shared objects are built, AIX ld can
9473 # have problems creating the table of contents. If linking a library
9474 # or program results in "error TOC overflow" add -mminimal-toc to
9475 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9476 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9478 archive_cmds=''
9479 hardcode_direct=yes
9480 hardcode_direct_absolute=yes
9481 hardcode_libdir_separator=':'
9482 link_all_deplibs=yes
9483 file_list_spec='${wl}-f,'
9485 if test "$GCC" = yes; then
9486 case $host_os in aix4.[012]|aix4.[012].*)
9487 # We only want to do this on AIX 4.2 and lower, the check
9488 # below for broken collect2 doesn't work under 4.3+
9489 collect2name=`${CC} -print-prog-name=collect2`
9490 if test -f "$collect2name" &&
9491 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9492 then
9493 # We have reworked collect2
9495 else
9496 # We have old collect2
9497 hardcode_direct=unsupported
9498 # It fails to find uninstalled libraries when the uninstalled
9499 # path is not listed in the libpath. Setting hardcode_minus_L
9500 # to unsupported forces relinking
9501 hardcode_minus_L=yes
9502 hardcode_libdir_flag_spec='-L$libdir'
9503 hardcode_libdir_separator=
9506 esac
9507 shared_flag='-shared'
9508 if test "$aix_use_runtimelinking" = yes; then
9509 shared_flag="$shared_flag "'${wl}-G'
9511 else
9512 # not using gcc
9513 if test "$host_cpu" = ia64; then
9514 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9515 # chokes on -Wl,-G. The following line is correct:
9516 shared_flag='-G'
9517 else
9518 if test "$aix_use_runtimelinking" = yes; then
9519 shared_flag='${wl}-G'
9520 else
9521 shared_flag='${wl}-bM:SRE'
9526 export_dynamic_flag_spec='${wl}-bexpall'
9527 # It seems that -bexpall does not export symbols beginning with
9528 # underscore (_), so it is better to generate a list of symbols to export.
9529 always_export_symbols=yes
9530 if test "$aix_use_runtimelinking" = yes; then
9531 # Warning - without using the other runtime loading flags (-brtl),
9532 # -berok will link without error, but may produce a broken library.
9533 allow_undefined_flag='-berok'
9534 # Determine the default libpath from the value encoded in an
9535 # empty executable.
9536 if test x$gcc_no_link = xyes; then
9537 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9540 /* end confdefs.h. */
9543 main ()
9547 return 0;
9549 _ACEOF
9550 if ac_fn_c_try_link "$LINENO"; then :
9552 lt_aix_libpath_sed='
9553 /Import File Strings/,/^$/ {
9554 /^0/ {
9555 s/^0 *\(.*\)$/\1/
9559 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9560 # Check for a 64-bit object if we didn't find anything.
9561 if test -z "$aix_libpath"; then
9562 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9565 rm -f core conftest.err conftest.$ac_objext \
9566 conftest$ac_exeext conftest.$ac_ext
9567 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9569 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9570 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"
9571 else
9572 if test "$host_cpu" = ia64; then
9573 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9574 allow_undefined_flag="-z nodefs"
9575 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"
9576 else
9577 # Determine the default libpath from the value encoded in an
9578 # empty executable.
9579 if test x$gcc_no_link = xyes; then
9580 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9583 /* end confdefs.h. */
9586 main ()
9590 return 0;
9592 _ACEOF
9593 if ac_fn_c_try_link "$LINENO"; then :
9595 lt_aix_libpath_sed='
9596 /Import File Strings/,/^$/ {
9597 /^0/ {
9598 s/^0 *\(.*\)$/\1/
9602 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9603 # Check for a 64-bit object if we didn't find anything.
9604 if test -z "$aix_libpath"; then
9605 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9608 rm -f core conftest.err conftest.$ac_objext \
9609 conftest$ac_exeext conftest.$ac_ext
9610 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9612 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9613 # Warning - without using the other run time loading flags,
9614 # -berok will link without error, but may produce a broken library.
9615 no_undefined_flag=' ${wl}-bernotok'
9616 allow_undefined_flag=' ${wl}-berok'
9617 if test "$with_gnu_ld" = yes; then
9618 # We only use this code for GNU lds that support --whole-archive.
9619 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9620 else
9621 # Exported symbols can be pulled into shared objects from archives
9622 whole_archive_flag_spec='$convenience'
9624 archive_cmds_need_lc=yes
9625 # This is similar to how AIX traditionally builds its shared libraries.
9626 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'
9631 amigaos*)
9632 case $host_cpu in
9633 powerpc)
9634 # see comment about AmigaOS4 .so support
9635 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9636 archive_expsym_cmds=''
9638 m68k)
9639 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)'
9640 hardcode_libdir_flag_spec='-L$libdir'
9641 hardcode_minus_L=yes
9643 esac
9646 bsdi[45]*)
9647 export_dynamic_flag_spec=-rdynamic
9650 cygwin* | mingw* | pw32* | cegcc*)
9651 # When not using gcc, we currently assume that we are using
9652 # Microsoft Visual C++.
9653 # hardcode_libdir_flag_spec is actually meaningless, as there is
9654 # no search path for DLLs.
9655 hardcode_libdir_flag_spec=' '
9656 allow_undefined_flag=unsupported
9657 # Tell ltmain to make .lib files, not .a files.
9658 libext=lib
9659 # Tell ltmain to make .dll files, not .so files.
9660 shrext_cmds=".dll"
9661 # FIXME: Setting linknames here is a bad hack.
9662 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9663 # The linker will automatically build a .lib file if we build a DLL.
9664 old_archive_from_new_cmds='true'
9665 # FIXME: Should let the user specify the lib program.
9666 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9667 fix_srcfile_path='`cygpath -w "$srcfile"`'
9668 enable_shared_with_static_runtimes=yes
9671 darwin* | rhapsody*)
9674 archive_cmds_need_lc=no
9675 hardcode_direct=no
9676 hardcode_automatic=yes
9677 hardcode_shlibpath_var=unsupported
9678 if test "$lt_cv_ld_force_load" = "yes"; then
9679 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\"`'
9680 else
9681 whole_archive_flag_spec=''
9683 link_all_deplibs=yes
9684 allow_undefined_flag="$_lt_dar_allow_undefined"
9685 case $cc_basename in
9686 ifort*) _lt_dar_can_shared=yes ;;
9687 *) _lt_dar_can_shared=$GCC ;;
9688 esac
9689 if test "$_lt_dar_can_shared" = "yes"; then
9690 output_verbose_link_cmd=func_echo_all
9691 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9692 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9693 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}"
9694 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}"
9696 else
9697 ld_shlibs=no
9702 dgux*)
9703 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9704 hardcode_libdir_flag_spec='-L$libdir'
9705 hardcode_shlibpath_var=no
9708 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9709 # support. Future versions do this automatically, but an explicit c++rt0.o
9710 # does not break anything, and helps significantly (at the cost of a little
9711 # extra space).
9712 freebsd2.2*)
9713 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9714 hardcode_libdir_flag_spec='-R$libdir'
9715 hardcode_direct=yes
9716 hardcode_shlibpath_var=no
9719 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9720 freebsd2*)
9721 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9722 hardcode_direct=yes
9723 hardcode_minus_L=yes
9724 hardcode_shlibpath_var=no
9727 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9728 freebsd* | dragonfly*)
9729 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9730 hardcode_libdir_flag_spec='-R$libdir'
9731 hardcode_direct=yes
9732 hardcode_shlibpath_var=no
9735 hpux9*)
9736 if test "$GCC" = yes; then
9737 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'
9738 else
9739 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'
9741 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9742 hardcode_libdir_separator=:
9743 hardcode_direct=yes
9745 # hardcode_minus_L: Not really in the search PATH,
9746 # but as the default location of the library.
9747 hardcode_minus_L=yes
9748 export_dynamic_flag_spec='${wl}-E'
9751 hpux10*)
9752 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9753 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9754 else
9755 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9757 if test "$with_gnu_ld" = no; then
9758 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9759 hardcode_libdir_flag_spec_ld='+b $libdir'
9760 hardcode_libdir_separator=:
9761 hardcode_direct=yes
9762 hardcode_direct_absolute=yes
9763 export_dynamic_flag_spec='${wl}-E'
9764 # hardcode_minus_L: Not really in the search PATH,
9765 # but as the default location of the library.
9766 hardcode_minus_L=yes
9770 hpux11*)
9771 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9772 case $host_cpu in
9773 hppa*64*)
9774 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9776 ia64*)
9777 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9780 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9782 esac
9783 else
9784 case $host_cpu in
9785 hppa*64*)
9786 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9788 ia64*)
9789 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9793 # Older versions of the 11.00 compiler do not understand -b yet
9794 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9796 $as_echo_n "checking if $CC understands -b... " >&6; }
9797 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9798 $as_echo_n "(cached) " >&6
9799 else
9800 lt_cv_prog_compiler__b=no
9801 save_LDFLAGS="$LDFLAGS"
9802 LDFLAGS="$LDFLAGS -b"
9803 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9804 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9805 # The linker can only warn and ignore the option if not recognized
9806 # So say no if there are warnings
9807 if test -s conftest.err; then
9808 # Append any errors to the config.log.
9809 cat conftest.err 1>&5
9810 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9811 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9812 if diff conftest.exp conftest.er2 >/dev/null; then
9813 lt_cv_prog_compiler__b=yes
9815 else
9816 lt_cv_prog_compiler__b=yes
9819 $RM -r conftest*
9820 LDFLAGS="$save_LDFLAGS"
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9824 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9826 if test x"$lt_cv_prog_compiler__b" = xyes; then
9827 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9828 else
9829 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9833 esac
9835 if test "$with_gnu_ld" = no; then
9836 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9837 hardcode_libdir_separator=:
9839 case $host_cpu in
9840 hppa*64*|ia64*)
9841 hardcode_direct=no
9842 hardcode_shlibpath_var=no
9845 hardcode_direct=yes
9846 hardcode_direct_absolute=yes
9847 export_dynamic_flag_spec='${wl}-E'
9849 # hardcode_minus_L: Not really in the search PATH,
9850 # but as the default location of the library.
9851 hardcode_minus_L=yes
9853 esac
9857 irix5* | irix6* | nonstopux*)
9858 if test "$GCC" = yes; then
9859 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'
9860 # Try to use the -exported_symbol ld option, if it does not
9861 # work, assume that -exports_file does not work either and
9862 # implicitly export all symbols.
9863 save_LDFLAGS="$LDFLAGS"
9864 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9865 if test x$gcc_no_link = xyes; then
9866 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9869 /* end confdefs.h. */
9870 int foo(void) {}
9871 _ACEOF
9872 if ac_fn_c_try_link "$LINENO"; then :
9873 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'
9876 rm -f core conftest.err conftest.$ac_objext \
9877 conftest$ac_exeext conftest.$ac_ext
9878 LDFLAGS="$save_LDFLAGS"
9879 else
9880 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'
9881 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'
9883 archive_cmds_need_lc='no'
9884 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9885 hardcode_libdir_separator=:
9886 inherit_rpath=yes
9887 link_all_deplibs=yes
9890 netbsd*)
9891 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9892 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9893 else
9894 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9896 hardcode_libdir_flag_spec='-R$libdir'
9897 hardcode_direct=yes
9898 hardcode_shlibpath_var=no
9901 newsos6)
9902 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9903 hardcode_direct=yes
9904 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9905 hardcode_libdir_separator=:
9906 hardcode_shlibpath_var=no
9909 *nto* | *qnx*)
9912 openbsd*)
9913 if test -f /usr/libexec/ld.so; then
9914 hardcode_direct=yes
9915 hardcode_shlibpath_var=no
9916 hardcode_direct_absolute=yes
9917 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9918 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9919 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9920 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9921 export_dynamic_flag_spec='${wl}-E'
9922 else
9923 case $host_os in
9924 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9925 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9926 hardcode_libdir_flag_spec='-R$libdir'
9929 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9930 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9932 esac
9934 else
9935 ld_shlibs=no
9939 os2*)
9940 hardcode_libdir_flag_spec='-L$libdir'
9941 hardcode_minus_L=yes
9942 allow_undefined_flag=unsupported
9943 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'
9944 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9947 osf3*)
9948 if test "$GCC" = yes; then
9949 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9950 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'
9951 else
9952 allow_undefined_flag=' -expect_unresolved \*'
9953 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'
9955 archive_cmds_need_lc='no'
9956 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9957 hardcode_libdir_separator=:
9960 osf4* | osf5*) # as osf3* with the addition of -msym flag
9961 if test "$GCC" = yes; then
9962 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9963 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'
9964 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9965 else
9966 allow_undefined_flag=' -expect_unresolved \*'
9967 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'
9968 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~
9969 $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'
9971 # Both c and cxx compiler support -rpath directly
9972 hardcode_libdir_flag_spec='-rpath $libdir'
9974 archive_cmds_need_lc='no'
9975 hardcode_libdir_separator=:
9978 solaris*)
9979 no_undefined_flag=' -z defs'
9980 if test "$GCC" = yes; then
9981 wlarc='${wl}'
9982 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9983 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9984 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9985 else
9986 case `$CC -V 2>&1` in
9987 *"Compilers 5.0"*)
9988 wlarc=''
9989 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9990 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9991 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9994 wlarc='${wl}'
9995 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9996 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9997 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9999 esac
10001 hardcode_libdir_flag_spec='-R$libdir'
10002 hardcode_shlibpath_var=no
10003 case $host_os in
10004 solaris2.[0-5] | solaris2.[0-5].*) ;;
10006 # The compiler driver will combine and reorder linker options,
10007 # but understands `-z linker_flag'. GCC discards it without `$wl',
10008 # but is careful enough not to reorder.
10009 # Supported since Solaris 2.6 (maybe 2.5.1?)
10010 if test "$GCC" = yes; then
10011 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10012 else
10013 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10016 esac
10017 link_all_deplibs=yes
10020 sunos4*)
10021 if test "x$host_vendor" = xsequent; then
10022 # Use $CC to link under sequent, because it throws in some extra .o
10023 # files that make .init and .fini sections work.
10024 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10025 else
10026 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10028 hardcode_libdir_flag_spec='-L$libdir'
10029 hardcode_direct=yes
10030 hardcode_minus_L=yes
10031 hardcode_shlibpath_var=no
10034 sysv4)
10035 case $host_vendor in
10036 sni)
10037 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10038 hardcode_direct=yes # is this really true???
10040 siemens)
10041 ## LD is ld it makes a PLAMLIB
10042 ## CC just makes a GrossModule.
10043 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10044 reload_cmds='$CC -r -o $output$reload_objs'
10045 hardcode_direct=no
10047 motorola)
10048 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10049 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10051 esac
10052 runpath_var='LD_RUN_PATH'
10053 hardcode_shlibpath_var=no
10056 sysv4.3*)
10057 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10058 hardcode_shlibpath_var=no
10059 export_dynamic_flag_spec='-Bexport'
10062 sysv4*MP*)
10063 if test -d /usr/nec; then
10064 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10065 hardcode_shlibpath_var=no
10066 runpath_var=LD_RUN_PATH
10067 hardcode_runpath_var=yes
10068 ld_shlibs=yes
10072 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10073 no_undefined_flag='${wl}-z,text'
10074 archive_cmds_need_lc=no
10075 hardcode_shlibpath_var=no
10076 runpath_var='LD_RUN_PATH'
10078 if test "$GCC" = yes; then
10079 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10080 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10081 else
10082 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10083 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10087 sysv5* | sco3.2v5* | sco5v6*)
10088 # Note: We can NOT use -z defs as we might desire, because we do not
10089 # link with -lc, and that would cause any symbols used from libc to
10090 # always be unresolved, which means just about no library would
10091 # ever link correctly. If we're not using GNU ld we use -z text
10092 # though, which does catch some bad symbols but isn't as heavy-handed
10093 # as -z defs.
10094 no_undefined_flag='${wl}-z,text'
10095 allow_undefined_flag='${wl}-z,nodefs'
10096 archive_cmds_need_lc=no
10097 hardcode_shlibpath_var=no
10098 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10099 hardcode_libdir_separator=':'
10100 link_all_deplibs=yes
10101 export_dynamic_flag_spec='${wl}-Bexport'
10102 runpath_var='LD_RUN_PATH'
10104 if test "$GCC" = yes; then
10105 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10106 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10107 else
10108 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10109 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10113 uts4*)
10114 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10115 hardcode_libdir_flag_spec='-L$libdir'
10116 hardcode_shlibpath_var=no
10120 ld_shlibs=no
10122 esac
10124 if test x$host_vendor = xsni; then
10125 case $host in
10126 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10127 export_dynamic_flag_spec='${wl}-Blargedynsym'
10129 esac
10133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10134 $as_echo "$ld_shlibs" >&6; }
10135 test "$ld_shlibs" = no && can_build_shared=no
10137 with_gnu_ld=$with_gnu_ld
10154 # Do we need to explicitly link libc?
10156 case "x$archive_cmds_need_lc" in
10157 x|xyes)
10158 # Assume -lc should be added
10159 archive_cmds_need_lc=yes
10161 if test "$enable_shared" = yes && test "$GCC" = yes; then
10162 case $archive_cmds in
10163 *'~'*)
10164 # FIXME: we may have to deal with multi-command sequences.
10166 '$CC '*)
10167 # Test whether the compiler implicitly links with -lc since on some
10168 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10169 # to ld, don't add -lc before -lgcc.
10170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10171 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10172 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10173 $as_echo_n "(cached) " >&6
10174 else
10175 $RM conftest*
10176 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10178 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10179 (eval $ac_compile) 2>&5
10180 ac_status=$?
10181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10182 test $ac_status = 0; } 2>conftest.err; then
10183 soname=conftest
10184 lib=conftest
10185 libobjs=conftest.$ac_objext
10186 deplibs=
10187 wl=$lt_prog_compiler_wl
10188 pic_flag=$lt_prog_compiler_pic
10189 compiler_flags=-v
10190 linker_flags=-v
10191 verstring=
10192 output_objdir=.
10193 libname=conftest
10194 lt_save_allow_undefined_flag=$allow_undefined_flag
10195 allow_undefined_flag=
10196 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10197 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10198 ac_status=$?
10199 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10200 test $ac_status = 0; }
10201 then
10202 lt_cv_archive_cmds_need_lc=no
10203 else
10204 lt_cv_archive_cmds_need_lc=yes
10206 allow_undefined_flag=$lt_save_allow_undefined_flag
10207 else
10208 cat conftest.err 1>&5
10210 $RM conftest*
10213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10214 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10215 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10217 esac
10220 esac
10378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10379 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10381 if test "$GCC" = yes; then
10382 case $host_os in
10383 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10384 *) lt_awk_arg="/^libraries:/" ;;
10385 esac
10386 case $host_os in
10387 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10388 *) lt_sed_strip_eq="s,=/,/,g" ;;
10389 esac
10390 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10391 case $lt_search_path_spec in
10392 *\;*)
10393 # if the path contains ";" then we assume it to be the separator
10394 # otherwise default to the standard path separator (i.e. ":") - it is
10395 # assumed that no part of a normal pathname contains ";" but that should
10396 # okay in the real world where ";" in dirpaths is itself problematic.
10397 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10400 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10402 esac
10403 # Ok, now we have the path, separated by spaces, we can step through it
10404 # and add multilib dir if necessary.
10405 lt_tmp_lt_search_path_spec=
10406 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10407 for lt_sys_path in $lt_search_path_spec; do
10408 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10409 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10410 else
10411 test -d "$lt_sys_path" && \
10412 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10414 done
10415 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10416 BEGIN {RS=" "; FS="/|\n";} {
10417 lt_foo="";
10418 lt_count=0;
10419 for (lt_i = NF; lt_i > 0; lt_i--) {
10420 if ($lt_i != "" && $lt_i != ".") {
10421 if ($lt_i == "..") {
10422 lt_count++;
10423 } else {
10424 if (lt_count == 0) {
10425 lt_foo="/" $lt_i lt_foo;
10426 } else {
10427 lt_count--;
10432 if (lt_foo != "") { lt_freq[lt_foo]++; }
10433 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10435 # AWK program above erroneously prepends '/' to C:/dos/paths
10436 # for these hosts.
10437 case $host_os in
10438 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10439 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10440 esac
10441 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10442 else
10443 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10445 library_names_spec=
10446 libname_spec='lib$name'
10447 soname_spec=
10448 shrext_cmds=".so"
10449 postinstall_cmds=
10450 postuninstall_cmds=
10451 finish_cmds=
10452 finish_eval=
10453 shlibpath_var=
10454 shlibpath_overrides_runpath=unknown
10455 version_type=none
10456 dynamic_linker="$host_os ld.so"
10457 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10458 need_lib_prefix=unknown
10459 hardcode_into_libs=no
10461 # when you set need_version to no, make sure it does not cause -set_version
10462 # flags to be left without arguments
10463 need_version=unknown
10465 case $host_os in
10466 aix3*)
10467 version_type=linux
10468 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10469 shlibpath_var=LIBPATH
10471 # AIX 3 has no versioning support, so we append a major version to the name.
10472 soname_spec='${libname}${release}${shared_ext}$major'
10475 aix[4-9]*)
10476 version_type=linux
10477 need_lib_prefix=no
10478 need_version=no
10479 hardcode_into_libs=yes
10480 if test "$host_cpu" = ia64; then
10481 # AIX 5 supports IA64
10482 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10483 shlibpath_var=LD_LIBRARY_PATH
10484 else
10485 # With GCC up to 2.95.x, collect2 would create an import file
10486 # for dependence libraries. The import file would start with
10487 # the line `#! .'. This would cause the generated library to
10488 # depend on `.', always an invalid library. This was fixed in
10489 # development snapshots of GCC prior to 3.0.
10490 case $host_os in
10491 aix4 | aix4.[01] | aix4.[01].*)
10492 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10493 echo ' yes '
10494 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10496 else
10497 can_build_shared=no
10500 esac
10501 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10502 # soname into executable. Probably we can add versioning support to
10503 # collect2, so additional links can be useful in future.
10504 if test "$aix_use_runtimelinking" = yes; then
10505 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10506 # instead of lib<name>.a to let people know that these are not
10507 # typical AIX shared libraries.
10508 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10509 else
10510 # We preserve .a as extension for shared libraries through AIX4.2
10511 # and later when we are not doing run time linking.
10512 library_names_spec='${libname}${release}.a $libname.a'
10513 soname_spec='${libname}${release}${shared_ext}$major'
10515 shlibpath_var=LIBPATH
10519 amigaos*)
10520 case $host_cpu in
10521 powerpc)
10522 # Since July 2007 AmigaOS4 officially supports .so libraries.
10523 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10524 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10526 m68k)
10527 library_names_spec='$libname.ixlibrary $libname.a'
10528 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10529 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'
10531 esac
10534 beos*)
10535 library_names_spec='${libname}${shared_ext}'
10536 dynamic_linker="$host_os ld.so"
10537 shlibpath_var=LIBRARY_PATH
10540 bsdi[45]*)
10541 version_type=linux
10542 need_version=no
10543 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10544 soname_spec='${libname}${release}${shared_ext}$major'
10545 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10546 shlibpath_var=LD_LIBRARY_PATH
10547 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10548 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10549 # the default ld.so.conf also contains /usr/contrib/lib and
10550 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10551 # libtool to hard-code these into programs
10554 cygwin* | mingw* | pw32* | cegcc*)
10555 version_type=windows
10556 shrext_cmds=".dll"
10557 need_version=no
10558 need_lib_prefix=no
10560 case $GCC,$host_os in
10561 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10562 library_names_spec='$libname.dll.a'
10563 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10564 postinstall_cmds='base_file=`basename \${file}`~
10565 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10566 dldir=$destdir/`dirname \$dlpath`~
10567 test -d \$dldir || mkdir -p \$dldir~
10568 $install_prog $dir/$dlname \$dldir/$dlname~
10569 chmod a+x \$dldir/$dlname~
10570 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10571 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10573 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10574 dlpath=$dir/\$dldll~
10575 $RM \$dlpath'
10576 shlibpath_overrides_runpath=yes
10578 case $host_os in
10579 cygwin*)
10580 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10581 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10583 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10585 mingw* | cegcc*)
10586 # MinGW DLLs use traditional 'lib' prefix
10587 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10589 pw32*)
10590 # pw32 DLLs use 'pw' prefix rather than 'lib'
10591 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10593 esac
10597 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10599 esac
10600 dynamic_linker='Win32 ld.exe'
10601 # FIXME: first we should search . and the directory the executable is in
10602 shlibpath_var=PATH
10605 darwin* | rhapsody*)
10606 dynamic_linker="$host_os dyld"
10607 version_type=darwin
10608 need_lib_prefix=no
10609 need_version=no
10610 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10611 soname_spec='${libname}${release}${major}$shared_ext'
10612 shlibpath_overrides_runpath=yes
10613 shlibpath_var=DYLD_LIBRARY_PATH
10614 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10616 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10617 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10620 dgux*)
10621 version_type=linux
10622 need_lib_prefix=no
10623 need_version=no
10624 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10625 soname_spec='${libname}${release}${shared_ext}$major'
10626 shlibpath_var=LD_LIBRARY_PATH
10629 freebsd* | dragonfly*)
10630 # DragonFly does not have aout. When/if they implement a new
10631 # versioning mechanism, adjust this.
10632 if test -x /usr/bin/objformat; then
10633 objformat=`/usr/bin/objformat`
10634 else
10635 case $host_os in
10636 freebsd[123]*) objformat=aout ;;
10637 *) objformat=elf ;;
10638 esac
10640 version_type=freebsd-$objformat
10641 case $version_type in
10642 freebsd-elf*)
10643 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10644 need_version=no
10645 need_lib_prefix=no
10647 freebsd-*)
10648 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10649 need_version=yes
10651 esac
10652 shlibpath_var=LD_LIBRARY_PATH
10653 case $host_os in
10654 freebsd2*)
10655 shlibpath_overrides_runpath=yes
10657 freebsd3.[01]* | freebsdelf3.[01]*)
10658 shlibpath_overrides_runpath=yes
10659 hardcode_into_libs=yes
10661 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10662 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10663 shlibpath_overrides_runpath=no
10664 hardcode_into_libs=yes
10666 *) # from 4.6 on, and DragonFly
10667 shlibpath_overrides_runpath=yes
10668 hardcode_into_libs=yes
10670 esac
10673 gnu*)
10674 version_type=linux
10675 need_lib_prefix=no
10676 need_version=no
10677 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10678 soname_spec='${libname}${release}${shared_ext}$major'
10679 shlibpath_var=LD_LIBRARY_PATH
10680 hardcode_into_libs=yes
10683 haiku*)
10684 version_type=linux
10685 need_lib_prefix=no
10686 need_version=no
10687 dynamic_linker="$host_os runtime_loader"
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 shlibpath_var=LIBRARY_PATH
10691 shlibpath_overrides_runpath=yes
10692 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10693 hardcode_into_libs=yes
10696 hpux9* | hpux10* | hpux11*)
10697 # Give a soname corresponding to the major version so that dld.sl refuses to
10698 # link against other versions.
10699 version_type=sunos
10700 need_lib_prefix=no
10701 need_version=no
10702 case $host_cpu in
10703 ia64*)
10704 shrext_cmds='.so'
10705 hardcode_into_libs=yes
10706 dynamic_linker="$host_os dld.so"
10707 shlibpath_var=LD_LIBRARY_PATH
10708 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10709 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10710 soname_spec='${libname}${release}${shared_ext}$major'
10711 if test "X$HPUX_IA64_MODE" = X32; then
10712 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10713 else
10714 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10716 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10718 hppa*64*)
10719 shrext_cmds='.sl'
10720 hardcode_into_libs=yes
10721 dynamic_linker="$host_os dld.sl"
10722 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10723 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10724 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10725 soname_spec='${libname}${release}${shared_ext}$major'
10726 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10727 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10730 shrext_cmds='.sl'
10731 dynamic_linker="$host_os dld.sl"
10732 shlibpath_var=SHLIB_PATH
10733 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10735 soname_spec='${libname}${release}${shared_ext}$major'
10737 esac
10738 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10739 postinstall_cmds='chmod 555 $lib'
10740 # or fails outright, so override atomically:
10741 install_override_mode=555
10744 interix[3-9]*)
10745 version_type=linux
10746 need_lib_prefix=no
10747 need_version=no
10748 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10749 soname_spec='${libname}${release}${shared_ext}$major'
10750 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10751 shlibpath_var=LD_LIBRARY_PATH
10752 shlibpath_overrides_runpath=no
10753 hardcode_into_libs=yes
10756 irix5* | irix6* | nonstopux*)
10757 case $host_os in
10758 nonstopux*) version_type=nonstopux ;;
10760 if test "$lt_cv_prog_gnu_ld" = yes; then
10761 version_type=linux
10762 else
10763 version_type=irix
10764 fi ;;
10765 esac
10766 need_lib_prefix=no
10767 need_version=no
10768 soname_spec='${libname}${release}${shared_ext}$major'
10769 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10770 case $host_os in
10771 irix5* | nonstopux*)
10772 libsuff= shlibsuff=
10775 case $LD in # libtool.m4 will add one of these switches to LD
10776 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10777 libsuff= shlibsuff= libmagic=32-bit;;
10778 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10779 libsuff=32 shlibsuff=N32 libmagic=N32;;
10780 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10781 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10782 *) libsuff= shlibsuff= libmagic=never-match;;
10783 esac
10785 esac
10786 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10787 shlibpath_overrides_runpath=no
10788 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10789 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10790 hardcode_into_libs=yes
10793 # No shared lib support for Linux oldld, aout, or coff.
10794 linux*oldld* | linux*aout* | linux*coff*)
10795 dynamic_linker=no
10798 # This must be Linux ELF.
10799 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10800 version_type=linux
10801 need_lib_prefix=no
10802 need_version=no
10803 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10804 soname_spec='${libname}${release}${shared_ext}$major'
10805 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10806 shlibpath_var=LD_LIBRARY_PATH
10807 shlibpath_overrides_runpath=no
10809 # Some binutils ld are patched to set DT_RUNPATH
10810 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10811 $as_echo_n "(cached) " >&6
10812 else
10813 lt_cv_shlibpath_overrides_runpath=no
10814 save_LDFLAGS=$LDFLAGS
10815 save_libdir=$libdir
10816 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10817 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10818 if test x$gcc_no_link = xyes; then
10819 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10822 /* end confdefs.h. */
10825 main ()
10829 return 0;
10831 _ACEOF
10832 if ac_fn_c_try_link "$LINENO"; then :
10833 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10834 lt_cv_shlibpath_overrides_runpath=yes
10837 rm -f core conftest.err conftest.$ac_objext \
10838 conftest$ac_exeext conftest.$ac_ext
10839 LDFLAGS=$save_LDFLAGS
10840 libdir=$save_libdir
10844 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10846 # This implies no fast_install, which is unacceptable.
10847 # Some rework will be needed to allow for fast_install
10848 # before this can be enabled.
10849 hardcode_into_libs=yes
10851 # Append ld.so.conf contents to the search path
10852 if test -f /etc/ld.so.conf; then
10853 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' ' '`
10854 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10857 # We used to test for /lib/ld.so.1 and disable shared libraries on
10858 # powerpc, because MkLinux only supported shared libraries with the
10859 # GNU dynamic linker. Since this was broken with cross compilers,
10860 # most powerpc-linux boxes support dynamic linking these days and
10861 # people can always --disable-shared, the test was removed, and we
10862 # assume the GNU/Linux dynamic linker is in use.
10863 dynamic_linker='GNU/Linux ld.so'
10866 netbsd*)
10867 version_type=sunos
10868 need_lib_prefix=no
10869 need_version=no
10870 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10871 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10872 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10873 dynamic_linker='NetBSD (a.out) ld.so'
10874 else
10875 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10876 soname_spec='${libname}${release}${shared_ext}$major'
10877 dynamic_linker='NetBSD ld.elf_so'
10879 shlibpath_var=LD_LIBRARY_PATH
10880 shlibpath_overrides_runpath=yes
10881 hardcode_into_libs=yes
10884 newsos6)
10885 version_type=linux
10886 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10887 shlibpath_var=LD_LIBRARY_PATH
10888 shlibpath_overrides_runpath=yes
10891 *nto* | *qnx*)
10892 version_type=qnx
10893 need_lib_prefix=no
10894 need_version=no
10895 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10896 soname_spec='${libname}${release}${shared_ext}$major'
10897 shlibpath_var=LD_LIBRARY_PATH
10898 shlibpath_overrides_runpath=no
10899 hardcode_into_libs=yes
10900 dynamic_linker='ldqnx.so'
10903 openbsd*)
10904 version_type=sunos
10905 sys_lib_dlsearch_path_spec="/usr/lib"
10906 need_lib_prefix=no
10907 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10908 case $host_os in
10909 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10910 *) need_version=no ;;
10911 esac
10912 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10913 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10914 shlibpath_var=LD_LIBRARY_PATH
10915 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10916 case $host_os in
10917 openbsd2.[89] | openbsd2.[89].*)
10918 shlibpath_overrides_runpath=no
10921 shlibpath_overrides_runpath=yes
10923 esac
10924 else
10925 shlibpath_overrides_runpath=yes
10929 os2*)
10930 libname_spec='$name'
10931 shrext_cmds=".dll"
10932 need_lib_prefix=no
10933 library_names_spec='$libname${shared_ext} $libname.a'
10934 dynamic_linker='OS/2 ld.exe'
10935 shlibpath_var=LIBPATH
10938 osf3* | osf4* | osf5*)
10939 version_type=osf
10940 need_lib_prefix=no
10941 need_version=no
10942 soname_spec='${libname}${release}${shared_ext}$major'
10943 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10944 shlibpath_var=LD_LIBRARY_PATH
10945 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10946 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10949 rdos*)
10950 dynamic_linker=no
10953 solaris*)
10954 version_type=linux
10955 need_lib_prefix=no
10956 need_version=no
10957 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10958 soname_spec='${libname}${release}${shared_ext}$major'
10959 shlibpath_var=LD_LIBRARY_PATH
10960 shlibpath_overrides_runpath=yes
10961 hardcode_into_libs=yes
10962 # ldd complains unless libraries are executable
10963 postinstall_cmds='chmod +x $lib'
10966 sunos4*)
10967 version_type=sunos
10968 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10969 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10970 shlibpath_var=LD_LIBRARY_PATH
10971 shlibpath_overrides_runpath=yes
10972 if test "$with_gnu_ld" = yes; then
10973 need_lib_prefix=no
10975 need_version=yes
10978 sysv4 | sysv4.3*)
10979 version_type=linux
10980 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10981 soname_spec='${libname}${release}${shared_ext}$major'
10982 shlibpath_var=LD_LIBRARY_PATH
10983 case $host_vendor in
10984 sni)
10985 shlibpath_overrides_runpath=no
10986 need_lib_prefix=no
10987 runpath_var=LD_RUN_PATH
10989 siemens)
10990 need_lib_prefix=no
10992 motorola)
10993 need_lib_prefix=no
10994 need_version=no
10995 shlibpath_overrides_runpath=no
10996 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10998 esac
11001 sysv4*MP*)
11002 if test -d /usr/nec ;then
11003 version_type=linux
11004 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11005 soname_spec='$libname${shared_ext}.$major'
11006 shlibpath_var=LD_LIBRARY_PATH
11010 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11011 version_type=freebsd-elf
11012 need_lib_prefix=no
11013 need_version=no
11014 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11015 soname_spec='${libname}${release}${shared_ext}$major'
11016 shlibpath_var=LD_LIBRARY_PATH
11017 shlibpath_overrides_runpath=yes
11018 hardcode_into_libs=yes
11019 if test "$with_gnu_ld" = yes; then
11020 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11021 else
11022 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11023 case $host_os in
11024 sco3.2v5*)
11025 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11027 esac
11029 sys_lib_dlsearch_path_spec='/usr/lib'
11032 tpf*)
11033 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11034 version_type=linux
11035 need_lib_prefix=no
11036 need_version=no
11037 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11038 shlibpath_var=LD_LIBRARY_PATH
11039 shlibpath_overrides_runpath=no
11040 hardcode_into_libs=yes
11043 uts4*)
11044 version_type=linux
11045 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11046 soname_spec='${libname}${release}${shared_ext}$major'
11047 shlibpath_var=LD_LIBRARY_PATH
11051 dynamic_linker=no
11053 esac
11054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11055 $as_echo "$dynamic_linker" >&6; }
11056 test "$dynamic_linker" = no && can_build_shared=no
11058 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11059 if test "$GCC" = yes; then
11060 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11063 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11064 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11066 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11067 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11162 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11163 hardcode_action=
11164 if test -n "$hardcode_libdir_flag_spec" ||
11165 test -n "$runpath_var" ||
11166 test "X$hardcode_automatic" = "Xyes" ; then
11168 # We can hardcode non-existent directories.
11169 if test "$hardcode_direct" != no &&
11170 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11171 # have to relink, otherwise we might link with an installed library
11172 # when we should be linking with a yet-to-be-installed one
11173 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11174 test "$hardcode_minus_L" != no; then
11175 # Linking always hardcodes the temporary library directory.
11176 hardcode_action=relink
11177 else
11178 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11179 hardcode_action=immediate
11181 else
11182 # We cannot hardcode anything, or else we can only hardcode existing
11183 # directories.
11184 hardcode_action=unsupported
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11187 $as_echo "$hardcode_action" >&6; }
11189 if test "$hardcode_action" = relink ||
11190 test "$inherit_rpath" = yes; then
11191 # Fast installation is not supported
11192 enable_fast_install=no
11193 elif test "$shlibpath_overrides_runpath" = yes ||
11194 test "$enable_shared" = no; then
11195 # Fast installation is not necessary
11196 enable_fast_install=needless
11204 if test "x$enable_dlopen" != xyes; then
11205 enable_dlopen=unknown
11206 enable_dlopen_self=unknown
11207 enable_dlopen_self_static=unknown
11208 else
11209 lt_cv_dlopen=no
11210 lt_cv_dlopen_libs=
11212 case $host_os in
11213 beos*)
11214 lt_cv_dlopen="load_add_on"
11215 lt_cv_dlopen_libs=
11216 lt_cv_dlopen_self=yes
11219 mingw* | pw32* | cegcc*)
11220 lt_cv_dlopen="LoadLibrary"
11221 lt_cv_dlopen_libs=
11224 cygwin*)
11225 lt_cv_dlopen="dlopen"
11226 lt_cv_dlopen_libs=
11229 darwin*)
11230 # if libdl is installed we need to link against it
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11232 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11233 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11234 $as_echo_n "(cached) " >&6
11235 else
11236 ac_check_lib_save_LIBS=$LIBS
11237 LIBS="-ldl $LIBS"
11238 if test x$gcc_no_link = xyes; then
11239 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11242 /* end confdefs.h. */
11244 /* Override any GCC internal prototype to avoid an error.
11245 Use char because int might match the return type of a GCC
11246 builtin and then its argument prototype would still apply. */
11247 #ifdef __cplusplus
11248 extern "C"
11249 #endif
11250 char dlopen ();
11252 main ()
11254 return dlopen ();
11256 return 0;
11258 _ACEOF
11259 if ac_fn_c_try_link "$LINENO"; then :
11260 ac_cv_lib_dl_dlopen=yes
11261 else
11262 ac_cv_lib_dl_dlopen=no
11264 rm -f core conftest.err conftest.$ac_objext \
11265 conftest$ac_exeext conftest.$ac_ext
11266 LIBS=$ac_check_lib_save_LIBS
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11269 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11270 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11271 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11272 else
11274 lt_cv_dlopen="dyld"
11275 lt_cv_dlopen_libs=
11276 lt_cv_dlopen_self=yes
11283 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11284 if test "x$ac_cv_func_shl_load" = x""yes; then :
11285 lt_cv_dlopen="shl_load"
11286 else
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11288 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11289 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11290 $as_echo_n "(cached) " >&6
11291 else
11292 ac_check_lib_save_LIBS=$LIBS
11293 LIBS="-ldld $LIBS"
11294 if test x$gcc_no_link = xyes; then
11295 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11298 /* end confdefs.h. */
11300 /* Override any GCC internal prototype to avoid an error.
11301 Use char because int might match the return type of a GCC
11302 builtin and then its argument prototype would still apply. */
11303 #ifdef __cplusplus
11304 extern "C"
11305 #endif
11306 char shl_load ();
11308 main ()
11310 return shl_load ();
11312 return 0;
11314 _ACEOF
11315 if ac_fn_c_try_link "$LINENO"; then :
11316 ac_cv_lib_dld_shl_load=yes
11317 else
11318 ac_cv_lib_dld_shl_load=no
11320 rm -f core conftest.err conftest.$ac_objext \
11321 conftest$ac_exeext conftest.$ac_ext
11322 LIBS=$ac_check_lib_save_LIBS
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11325 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11326 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11327 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11328 else
11329 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11330 if test "x$ac_cv_func_dlopen" = x""yes; then :
11331 lt_cv_dlopen="dlopen"
11332 else
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11334 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11335 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11336 $as_echo_n "(cached) " >&6
11337 else
11338 ac_check_lib_save_LIBS=$LIBS
11339 LIBS="-ldl $LIBS"
11340 if test x$gcc_no_link = xyes; then
11341 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11344 /* end confdefs.h. */
11346 /* Override any GCC internal prototype to avoid an error.
11347 Use char because int might match the return type of a GCC
11348 builtin and then its argument prototype would still apply. */
11349 #ifdef __cplusplus
11350 extern "C"
11351 #endif
11352 char dlopen ();
11354 main ()
11356 return dlopen ();
11358 return 0;
11360 _ACEOF
11361 if ac_fn_c_try_link "$LINENO"; then :
11362 ac_cv_lib_dl_dlopen=yes
11363 else
11364 ac_cv_lib_dl_dlopen=no
11366 rm -f core conftest.err conftest.$ac_objext \
11367 conftest$ac_exeext conftest.$ac_ext
11368 LIBS=$ac_check_lib_save_LIBS
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11371 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11372 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11373 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11374 else
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11376 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11377 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11378 $as_echo_n "(cached) " >&6
11379 else
11380 ac_check_lib_save_LIBS=$LIBS
11381 LIBS="-lsvld $LIBS"
11382 if test x$gcc_no_link = xyes; then
11383 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11386 /* end confdefs.h. */
11388 /* Override any GCC internal prototype to avoid an error.
11389 Use char because int might match the return type of a GCC
11390 builtin and then its argument prototype would still apply. */
11391 #ifdef __cplusplus
11392 extern "C"
11393 #endif
11394 char dlopen ();
11396 main ()
11398 return dlopen ();
11400 return 0;
11402 _ACEOF
11403 if ac_fn_c_try_link "$LINENO"; then :
11404 ac_cv_lib_svld_dlopen=yes
11405 else
11406 ac_cv_lib_svld_dlopen=no
11408 rm -f core conftest.err conftest.$ac_objext \
11409 conftest$ac_exeext conftest.$ac_ext
11410 LIBS=$ac_check_lib_save_LIBS
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11413 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11414 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11415 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11416 else
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11418 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11419 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11420 $as_echo_n "(cached) " >&6
11421 else
11422 ac_check_lib_save_LIBS=$LIBS
11423 LIBS="-ldld $LIBS"
11424 if test x$gcc_no_link = xyes; then
11425 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11428 /* end confdefs.h. */
11430 /* Override any GCC internal prototype to avoid an error.
11431 Use char because int might match the return type of a GCC
11432 builtin and then its argument prototype would still apply. */
11433 #ifdef __cplusplus
11434 extern "C"
11435 #endif
11436 char dld_link ();
11438 main ()
11440 return dld_link ();
11442 return 0;
11444 _ACEOF
11445 if ac_fn_c_try_link "$LINENO"; then :
11446 ac_cv_lib_dld_dld_link=yes
11447 else
11448 ac_cv_lib_dld_dld_link=no
11450 rm -f core conftest.err conftest.$ac_objext \
11451 conftest$ac_exeext conftest.$ac_ext
11452 LIBS=$ac_check_lib_save_LIBS
11454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11455 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11456 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11457 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11476 esac
11478 if test "x$lt_cv_dlopen" != xno; then
11479 enable_dlopen=yes
11480 else
11481 enable_dlopen=no
11484 case $lt_cv_dlopen in
11485 dlopen)
11486 save_CPPFLAGS="$CPPFLAGS"
11487 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11489 save_LDFLAGS="$LDFLAGS"
11490 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11492 save_LIBS="$LIBS"
11493 LIBS="$lt_cv_dlopen_libs $LIBS"
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11496 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11497 if test "${lt_cv_dlopen_self+set}" = set; then :
11498 $as_echo_n "(cached) " >&6
11499 else
11500 if test "$cross_compiling" = yes; then :
11501 lt_cv_dlopen_self=cross
11502 else
11503 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11504 lt_status=$lt_dlunknown
11505 cat > conftest.$ac_ext <<_LT_EOF
11506 #line 11506 "configure"
11507 #include "confdefs.h"
11509 #if HAVE_DLFCN_H
11510 #include <dlfcn.h>
11511 #endif
11513 #include <stdio.h>
11515 #ifdef RTLD_GLOBAL
11516 # define LT_DLGLOBAL RTLD_GLOBAL
11517 #else
11518 # ifdef DL_GLOBAL
11519 # define LT_DLGLOBAL DL_GLOBAL
11520 # else
11521 # define LT_DLGLOBAL 0
11522 # endif
11523 #endif
11525 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11526 find out it does not work in some platform. */
11527 #ifndef LT_DLLAZY_OR_NOW
11528 # ifdef RTLD_LAZY
11529 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11530 # else
11531 # ifdef DL_LAZY
11532 # define LT_DLLAZY_OR_NOW DL_LAZY
11533 # else
11534 # ifdef RTLD_NOW
11535 # define LT_DLLAZY_OR_NOW RTLD_NOW
11536 # else
11537 # ifdef DL_NOW
11538 # define LT_DLLAZY_OR_NOW DL_NOW
11539 # else
11540 # define LT_DLLAZY_OR_NOW 0
11541 # endif
11542 # endif
11543 # endif
11544 # endif
11545 #endif
11547 /* When -fvisbility=hidden is used, assume the code has been annotated
11548 correspondingly for the symbols needed. */
11549 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11550 void fnord () __attribute__((visibility("default")));
11551 #endif
11553 void fnord () { int i=42; }
11554 int main ()
11556 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11557 int status = $lt_dlunknown;
11559 if (self)
11561 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11562 else
11564 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11565 else puts (dlerror ());
11567 /* dlclose (self); */
11569 else
11570 puts (dlerror ());
11572 return status;
11574 _LT_EOF
11575 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11576 (eval $ac_link) 2>&5
11577 ac_status=$?
11578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11579 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11580 (./conftest; exit; ) >&5 2>/dev/null
11581 lt_status=$?
11582 case x$lt_status in
11583 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11584 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11585 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11586 esac
11587 else :
11588 # compilation failed
11589 lt_cv_dlopen_self=no
11592 rm -fr conftest*
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11597 $as_echo "$lt_cv_dlopen_self" >&6; }
11599 if test "x$lt_cv_dlopen_self" = xyes; then
11600 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11602 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11603 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11604 $as_echo_n "(cached) " >&6
11605 else
11606 if test "$cross_compiling" = yes; then :
11607 lt_cv_dlopen_self_static=cross
11608 else
11609 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11610 lt_status=$lt_dlunknown
11611 cat > conftest.$ac_ext <<_LT_EOF
11612 #line 11612 "configure"
11613 #include "confdefs.h"
11615 #if HAVE_DLFCN_H
11616 #include <dlfcn.h>
11617 #endif
11619 #include <stdio.h>
11621 #ifdef RTLD_GLOBAL
11622 # define LT_DLGLOBAL RTLD_GLOBAL
11623 #else
11624 # ifdef DL_GLOBAL
11625 # define LT_DLGLOBAL DL_GLOBAL
11626 # else
11627 # define LT_DLGLOBAL 0
11628 # endif
11629 #endif
11631 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11632 find out it does not work in some platform. */
11633 #ifndef LT_DLLAZY_OR_NOW
11634 # ifdef RTLD_LAZY
11635 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11636 # else
11637 # ifdef DL_LAZY
11638 # define LT_DLLAZY_OR_NOW DL_LAZY
11639 # else
11640 # ifdef RTLD_NOW
11641 # define LT_DLLAZY_OR_NOW RTLD_NOW
11642 # else
11643 # ifdef DL_NOW
11644 # define LT_DLLAZY_OR_NOW DL_NOW
11645 # else
11646 # define LT_DLLAZY_OR_NOW 0
11647 # endif
11648 # endif
11649 # endif
11650 # endif
11651 #endif
11653 /* When -fvisbility=hidden is used, assume the code has been annotated
11654 correspondingly for the symbols needed. */
11655 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11656 void fnord () __attribute__((visibility("default")));
11657 #endif
11659 void fnord () { int i=42; }
11660 int main ()
11662 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11663 int status = $lt_dlunknown;
11665 if (self)
11667 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11668 else
11670 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11671 else puts (dlerror ());
11673 /* dlclose (self); */
11675 else
11676 puts (dlerror ());
11678 return status;
11680 _LT_EOF
11681 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11682 (eval $ac_link) 2>&5
11683 ac_status=$?
11684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11685 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11686 (./conftest; exit; ) >&5 2>/dev/null
11687 lt_status=$?
11688 case x$lt_status in
11689 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11690 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11691 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11692 esac
11693 else :
11694 # compilation failed
11695 lt_cv_dlopen_self_static=no
11698 rm -fr conftest*
11702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11703 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11706 CPPFLAGS="$save_CPPFLAGS"
11707 LDFLAGS="$save_LDFLAGS"
11708 LIBS="$save_LIBS"
11710 esac
11712 case $lt_cv_dlopen_self in
11713 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11714 *) enable_dlopen_self=unknown ;;
11715 esac
11717 case $lt_cv_dlopen_self_static in
11718 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11719 *) enable_dlopen_self_static=unknown ;;
11720 esac
11739 striplib=
11740 old_striplib=
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11742 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11743 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11744 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11745 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11747 $as_echo "yes" >&6; }
11748 else
11749 # FIXME - insert some real tests, host_os isn't really good enough
11750 case $host_os in
11751 darwin*)
11752 if test -n "$STRIP" ; then
11753 striplib="$STRIP -x"
11754 old_striplib="$STRIP -S"
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11756 $as_echo "yes" >&6; }
11757 else
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11759 $as_echo "no" >&6; }
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11764 $as_echo "no" >&6; }
11766 esac
11780 # Report which library types will actually be built
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11782 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11784 $as_echo "$can_build_shared" >&6; }
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11787 $as_echo_n "checking whether to build shared libraries... " >&6; }
11788 test "$can_build_shared" = "no" && enable_shared=no
11790 # On AIX, shared libraries and static libraries use the same namespace, and
11791 # are all built from PIC.
11792 case $host_os in
11793 aix3*)
11794 test "$enable_shared" = yes && enable_static=no
11795 if test -n "$RANLIB"; then
11796 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11797 postinstall_cmds='$RANLIB $lib'
11801 aix[4-9]*)
11802 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11803 test "$enable_shared" = yes && enable_static=no
11806 esac
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11808 $as_echo "$enable_shared" >&6; }
11810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11811 $as_echo_n "checking whether to build static libraries... " >&6; }
11812 # Make sure either enable_shared or enable_static is yes.
11813 test "$enable_shared" = yes || enable_static=yes
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11815 $as_echo "$enable_static" >&6; }
11821 ac_ext=c
11822 ac_cpp='$CPP $CPPFLAGS'
11823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11827 CC="$lt_save_CC"
11829 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11830 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11831 (test "X$CXX" != "Xg++"))) ; then
11832 ac_ext=cpp
11833 ac_cpp='$CXXCPP $CPPFLAGS'
11834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11838 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11839 if test -z "$CXXCPP"; then
11840 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11841 $as_echo_n "(cached) " >&6
11842 else
11843 # Double quotes because CXXCPP needs to be expanded
11844 for CXXCPP in "$CXX -E" "/lib/cpp"
11846 ac_preproc_ok=false
11847 for ac_cxx_preproc_warn_flag in '' yes
11849 # Use a header file that comes with gcc, so configuring glibc
11850 # with a fresh cross-compiler works.
11851 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11852 # <limits.h> exists even on freestanding compilers.
11853 # On the NeXT, cc -E runs the code through the compiler's parser,
11854 # not just through cpp. "Syntax error" is here to catch this case.
11855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11856 /* end confdefs.h. */
11857 #ifdef __STDC__
11858 # include <limits.h>
11859 #else
11860 # include <assert.h>
11861 #endif
11862 Syntax error
11863 _ACEOF
11864 if ac_fn_cxx_try_cpp "$LINENO"; then :
11866 else
11867 # Broken: fails on valid input.
11868 continue
11870 rm -f conftest.err conftest.$ac_ext
11872 # OK, works on sane cases. Now check whether nonexistent headers
11873 # can be detected and how.
11874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11875 /* end confdefs.h. */
11876 #include <ac_nonexistent.h>
11877 _ACEOF
11878 if ac_fn_cxx_try_cpp "$LINENO"; then :
11879 # Broken: success on invalid input.
11880 continue
11881 else
11882 # Passes both tests.
11883 ac_preproc_ok=:
11884 break
11886 rm -f conftest.err conftest.$ac_ext
11888 done
11889 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11890 rm -f conftest.err conftest.$ac_ext
11891 if $ac_preproc_ok; then :
11892 break
11895 done
11896 ac_cv_prog_CXXCPP=$CXXCPP
11899 CXXCPP=$ac_cv_prog_CXXCPP
11900 else
11901 ac_cv_prog_CXXCPP=$CXXCPP
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11904 $as_echo "$CXXCPP" >&6; }
11905 ac_preproc_ok=false
11906 for ac_cxx_preproc_warn_flag in '' yes
11908 # Use a header file that comes with gcc, so configuring glibc
11909 # with a fresh cross-compiler works.
11910 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11911 # <limits.h> exists even on freestanding compilers.
11912 # On the NeXT, cc -E runs the code through the compiler's parser,
11913 # not just through cpp. "Syntax error" is here to catch this case.
11914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11915 /* end confdefs.h. */
11916 #ifdef __STDC__
11917 # include <limits.h>
11918 #else
11919 # include <assert.h>
11920 #endif
11921 Syntax error
11922 _ACEOF
11923 if ac_fn_cxx_try_cpp "$LINENO"; then :
11925 else
11926 # Broken: fails on valid input.
11927 continue
11929 rm -f conftest.err conftest.$ac_ext
11931 # OK, works on sane cases. Now check whether nonexistent headers
11932 # can be detected and how.
11933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11934 /* end confdefs.h. */
11935 #include <ac_nonexistent.h>
11936 _ACEOF
11937 if ac_fn_cxx_try_cpp "$LINENO"; then :
11938 # Broken: success on invalid input.
11939 continue
11940 else
11941 # Passes both tests.
11942 ac_preproc_ok=:
11943 break
11945 rm -f conftest.err conftest.$ac_ext
11947 done
11948 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11949 rm -f conftest.err conftest.$ac_ext
11950 if $ac_preproc_ok; then :
11952 else
11953 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11954 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11955 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11956 See \`config.log' for more details." "$LINENO" 5; }
11959 ac_ext=c
11960 ac_cpp='$CPP $CPPFLAGS'
11961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11965 else
11966 _lt_caught_CXX_error=yes
11969 ac_ext=cpp
11970 ac_cpp='$CXXCPP $CPPFLAGS'
11971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11975 archive_cmds_need_lc_CXX=no
11976 allow_undefined_flag_CXX=
11977 always_export_symbols_CXX=no
11978 archive_expsym_cmds_CXX=
11979 compiler_needs_object_CXX=no
11980 export_dynamic_flag_spec_CXX=
11981 hardcode_direct_CXX=no
11982 hardcode_direct_absolute_CXX=no
11983 hardcode_libdir_flag_spec_CXX=
11984 hardcode_libdir_flag_spec_ld_CXX=
11985 hardcode_libdir_separator_CXX=
11986 hardcode_minus_L_CXX=no
11987 hardcode_shlibpath_var_CXX=unsupported
11988 hardcode_automatic_CXX=no
11989 inherit_rpath_CXX=no
11990 module_cmds_CXX=
11991 module_expsym_cmds_CXX=
11992 link_all_deplibs_CXX=unknown
11993 old_archive_cmds_CXX=$old_archive_cmds
11994 reload_flag_CXX=$reload_flag
11995 reload_cmds_CXX=$reload_cmds
11996 no_undefined_flag_CXX=
11997 whole_archive_flag_spec_CXX=
11998 enable_shared_with_static_runtimes_CXX=no
12000 # Source file extension for C++ test sources.
12001 ac_ext=cpp
12003 # Object file extension for compiled C++ test sources.
12004 objext=o
12005 objext_CXX=$objext
12007 # No sense in running all these tests if we already determined that
12008 # the CXX compiler isn't working. Some variables (like enable_shared)
12009 # are currently assumed to apply to all compilers on this platform,
12010 # and will be corrupted by setting them based on a non-working compiler.
12011 if test "$_lt_caught_CXX_error" != yes; then
12012 # Code to be used in simple compile tests
12013 lt_simple_compile_test_code="int some_variable = 0;"
12015 # Code to be used in simple link tests
12016 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12018 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12025 # If no C compiler was specified, use CC.
12026 LTCC=${LTCC-"$CC"}
12028 # If no C compiler flags were specified, use CFLAGS.
12029 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12031 # Allow CC to be a program name with arguments.
12032 compiler=$CC
12035 # save warnings/boilerplate of simple test code
12036 ac_outfile=conftest.$ac_objext
12037 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12038 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12039 _lt_compiler_boilerplate=`cat conftest.err`
12040 $RM conftest*
12042 ac_outfile=conftest.$ac_objext
12043 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12044 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12045 _lt_linker_boilerplate=`cat conftest.err`
12046 $RM -r conftest*
12049 # Allow CC to be a program name with arguments.
12050 lt_save_CC=$CC
12051 lt_save_LD=$LD
12052 lt_save_GCC=$GCC
12053 GCC=$GXX
12054 lt_save_with_gnu_ld=$with_gnu_ld
12055 lt_save_path_LD=$lt_cv_path_LD
12056 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12057 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12058 else
12059 $as_unset lt_cv_prog_gnu_ld
12061 if test -n "${lt_cv_path_LDCXX+set}"; then
12062 lt_cv_path_LD=$lt_cv_path_LDCXX
12063 else
12064 $as_unset lt_cv_path_LD
12066 test -z "${LDCXX+set}" || LD=$LDCXX
12067 CC=${CXX-"c++"}
12068 compiler=$CC
12069 compiler_CXX=$CC
12070 for cc_temp in $compiler""; do
12071 case $cc_temp in
12072 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12073 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12074 \-*) ;;
12075 *) break;;
12076 esac
12077 done
12078 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12081 if test -n "$compiler"; then
12082 # We don't want -fno-exception when compiling C++ code, so set the
12083 # no_builtin_flag separately
12084 if test "$GXX" = yes; then
12085 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12086 else
12087 lt_prog_compiler_no_builtin_flag_CXX=
12090 if test "$GXX" = yes; then
12091 # Set up default GNU C++ configuration
12095 # Check whether --with-gnu-ld was given.
12096 if test "${with_gnu_ld+set}" = set; then :
12097 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12098 else
12099 with_gnu_ld=no
12102 ac_prog=ld
12103 if test "$GCC" = yes; then
12104 # Check if gcc -print-prog-name=ld gives a path.
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12106 $as_echo_n "checking for ld used by $CC... " >&6; }
12107 case $host in
12108 *-*-mingw*)
12109 # gcc leaves a trailing carriage return which upsets mingw
12110 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12112 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12113 esac
12114 case $ac_prog in
12115 # Accept absolute paths.
12116 [\\/]* | ?:[\\/]*)
12117 re_direlt='/[^/][^/]*/\.\./'
12118 # Canonicalize the pathname of ld
12119 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12120 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12121 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12122 done
12123 test -z "$LD" && LD="$ac_prog"
12126 # If it fails, then pretend we aren't using GCC.
12127 ac_prog=ld
12130 # If it is relative, then search for the first ld in PATH.
12131 with_gnu_ld=unknown
12133 esac
12134 elif test "$with_gnu_ld" = yes; then
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12136 $as_echo_n "checking for GNU ld... " >&6; }
12137 else
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12139 $as_echo_n "checking for non-GNU ld... " >&6; }
12141 if test "${lt_cv_path_LD+set}" = set; then :
12142 $as_echo_n "(cached) " >&6
12143 else
12144 if test -z "$LD"; then
12145 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12146 for ac_dir in $PATH; do
12147 IFS="$lt_save_ifs"
12148 test -z "$ac_dir" && ac_dir=.
12149 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12150 lt_cv_path_LD="$ac_dir/$ac_prog"
12151 # Check to see if the program is GNU ld. I'd rather use --version,
12152 # but apparently some variants of GNU ld only accept -v.
12153 # Break only if it was the GNU/non-GNU ld that we prefer.
12154 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12155 *GNU* | *'with BFD'*)
12156 test "$with_gnu_ld" != no && break
12159 test "$with_gnu_ld" != yes && break
12161 esac
12163 done
12164 IFS="$lt_save_ifs"
12165 else
12166 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12170 LD="$lt_cv_path_LD"
12171 if test -n "$LD"; then
12172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12173 $as_echo "$LD" >&6; }
12174 else
12175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12176 $as_echo "no" >&6; }
12178 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12180 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12181 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12182 $as_echo_n "(cached) " >&6
12183 else
12184 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12185 case `$LD -v 2>&1 </dev/null` in
12186 *GNU* | *'with BFD'*)
12187 lt_cv_prog_gnu_ld=yes
12190 lt_cv_prog_gnu_ld=no
12192 esac
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12195 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12196 with_gnu_ld=$lt_cv_prog_gnu_ld
12204 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12205 # archiving commands below assume that GNU ld is being used.
12206 if test "$with_gnu_ld" = yes; then
12207 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12208 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'
12210 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12211 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12213 # If archive_cmds runs LD, not CC, wlarc should be empty
12214 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12215 # investigate it a little bit more. (MM)
12216 wlarc='${wl}'
12218 # ancient GNU ld didn't support --whole-archive et. al.
12219 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12220 $GREP 'no-whole-archive' > /dev/null; then
12221 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12222 else
12223 whole_archive_flag_spec_CXX=
12225 else
12226 with_gnu_ld=no
12227 wlarc=
12229 # A generic and very simple default shared library creation
12230 # command for GNU C++ for the case where it uses the native
12231 # linker, instead of GNU ld. If possible, this setting should
12232 # overridden to take advantage of the native linker features on
12233 # the platform it is being used on.
12234 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12237 # Commands to make compiler produce verbose output that lists
12238 # what "hidden" libraries, object files and flags are used when
12239 # linking a shared library.
12240 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12242 else
12243 GXX=no
12244 with_gnu_ld=no
12245 wlarc=
12248 # PORTME: fill in a description of your system's C++ link characteristics
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12250 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12251 ld_shlibs_CXX=yes
12252 case $host_os in
12253 aix3*)
12254 # FIXME: insert proper C++ library support
12255 ld_shlibs_CXX=no
12257 aix[4-9]*)
12258 if test "$host_cpu" = ia64; then
12259 # On IA64, the linker does run time linking by default, so we don't
12260 # have to do anything special.
12261 aix_use_runtimelinking=no
12262 exp_sym_flag='-Bexport'
12263 no_entry_flag=""
12264 else
12265 aix_use_runtimelinking=no
12267 # Test if we are trying to use run time linking or normal
12268 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12269 # need to do runtime linking.
12270 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12271 for ld_flag in $LDFLAGS; do
12272 case $ld_flag in
12273 *-brtl*)
12274 aix_use_runtimelinking=yes
12275 break
12277 esac
12278 done
12280 esac
12282 exp_sym_flag='-bexport'
12283 no_entry_flag='-bnoentry'
12286 # When large executables or shared objects are built, AIX ld can
12287 # have problems creating the table of contents. If linking a library
12288 # or program results in "error TOC overflow" add -mminimal-toc to
12289 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12290 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12292 archive_cmds_CXX=''
12293 hardcode_direct_CXX=yes
12294 hardcode_direct_absolute_CXX=yes
12295 hardcode_libdir_separator_CXX=':'
12296 link_all_deplibs_CXX=yes
12297 file_list_spec_CXX='${wl}-f,'
12299 if test "$GXX" = yes; then
12300 case $host_os in aix4.[012]|aix4.[012].*)
12301 # We only want to do this on AIX 4.2 and lower, the check
12302 # below for broken collect2 doesn't work under 4.3+
12303 collect2name=`${CC} -print-prog-name=collect2`
12304 if test -f "$collect2name" &&
12305 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12306 then
12307 # We have reworked collect2
12309 else
12310 # We have old collect2
12311 hardcode_direct_CXX=unsupported
12312 # It fails to find uninstalled libraries when the uninstalled
12313 # path is not listed in the libpath. Setting hardcode_minus_L
12314 # to unsupported forces relinking
12315 hardcode_minus_L_CXX=yes
12316 hardcode_libdir_flag_spec_CXX='-L$libdir'
12317 hardcode_libdir_separator_CXX=
12319 esac
12320 shared_flag='-shared'
12321 if test "$aix_use_runtimelinking" = yes; then
12322 shared_flag="$shared_flag "'${wl}-G'
12324 else
12325 # not using gcc
12326 if test "$host_cpu" = ia64; then
12327 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12328 # chokes on -Wl,-G. The following line is correct:
12329 shared_flag='-G'
12330 else
12331 if test "$aix_use_runtimelinking" = yes; then
12332 shared_flag='${wl}-G'
12333 else
12334 shared_flag='${wl}-bM:SRE'
12339 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12340 # It seems that -bexpall does not export symbols beginning with
12341 # underscore (_), so it is better to generate a list of symbols to
12342 # export.
12343 always_export_symbols_CXX=yes
12344 if test "$aix_use_runtimelinking" = yes; then
12345 # Warning - without using the other runtime loading flags (-brtl),
12346 # -berok will link without error, but may produce a broken library.
12347 allow_undefined_flag_CXX='-berok'
12348 # Determine the default libpath from the value encoded in an empty
12349 # executable.
12350 if test x$gcc_no_link = xyes; then
12351 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12354 /* end confdefs.h. */
12357 main ()
12361 return 0;
12363 _ACEOF
12364 if ac_fn_cxx_try_link "$LINENO"; then :
12366 lt_aix_libpath_sed='
12367 /Import File Strings/,/^$/ {
12368 /^0/ {
12369 s/^0 *\(.*\)$/\1/
12373 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12374 # Check for a 64-bit object if we didn't find anything.
12375 if test -z "$aix_libpath"; then
12376 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12379 rm -f core conftest.err conftest.$ac_objext \
12380 conftest$ac_exeext conftest.$ac_ext
12381 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12383 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12385 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"
12386 else
12387 if test "$host_cpu" = ia64; then
12388 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12389 allow_undefined_flag_CXX="-z nodefs"
12390 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"
12391 else
12392 # Determine the default libpath from the value encoded in an
12393 # empty executable.
12394 if test x$gcc_no_link = xyes; then
12395 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12398 /* end confdefs.h. */
12401 main ()
12405 return 0;
12407 _ACEOF
12408 if ac_fn_cxx_try_link "$LINENO"; then :
12410 lt_aix_libpath_sed='
12411 /Import File Strings/,/^$/ {
12412 /^0/ {
12413 s/^0 *\(.*\)$/\1/
12417 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12418 # Check for a 64-bit object if we didn't find anything.
12419 if test -z "$aix_libpath"; then
12420 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12423 rm -f core conftest.err conftest.$ac_objext \
12424 conftest$ac_exeext conftest.$ac_ext
12425 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12427 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12428 # Warning - without using the other run time loading flags,
12429 # -berok will link without error, but may produce a broken library.
12430 no_undefined_flag_CXX=' ${wl}-bernotok'
12431 allow_undefined_flag_CXX=' ${wl}-berok'
12432 if test "$with_gnu_ld" = yes; then
12433 # We only use this code for GNU lds that support --whole-archive.
12434 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12435 else
12436 # Exported symbols can be pulled into shared objects from archives
12437 whole_archive_flag_spec_CXX='$convenience'
12439 archive_cmds_need_lc_CXX=yes
12440 # This is similar to how AIX traditionally builds its shared
12441 # libraries.
12442 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'
12447 beos*)
12448 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12449 allow_undefined_flag_CXX=unsupported
12450 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12451 # support --undefined. This deserves some investigation. FIXME
12452 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12453 else
12454 ld_shlibs_CXX=no
12458 chorus*)
12459 case $cc_basename in
12461 # FIXME: insert proper C++ library support
12462 ld_shlibs_CXX=no
12464 esac
12467 cygwin* | mingw* | pw32* | cegcc*)
12468 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12469 # as there is no search path for DLLs.
12470 hardcode_libdir_flag_spec_CXX='-L$libdir'
12471 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12472 allow_undefined_flag_CXX=unsupported
12473 always_export_symbols_CXX=no
12474 enable_shared_with_static_runtimes_CXX=yes
12476 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12477 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'
12478 # If the export-symbols file already is a .def file (1st line
12479 # is EXPORTS), use it as is; otherwise, prepend...
12480 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12481 cp $export_symbols $output_objdir/$soname.def;
12482 else
12483 echo EXPORTS > $output_objdir/$soname.def;
12484 cat $export_symbols >> $output_objdir/$soname.def;
12486 $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'
12487 else
12488 ld_shlibs_CXX=no
12491 darwin* | rhapsody*)
12494 archive_cmds_need_lc_CXX=no
12495 hardcode_direct_CXX=no
12496 hardcode_automatic_CXX=yes
12497 hardcode_shlibpath_var_CXX=unsupported
12498 if test "$lt_cv_ld_force_load" = "yes"; then
12499 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\"`'
12500 else
12501 whole_archive_flag_spec_CXX=''
12503 link_all_deplibs_CXX=yes
12504 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12505 case $cc_basename in
12506 ifort*) _lt_dar_can_shared=yes ;;
12507 *) _lt_dar_can_shared=$GCC ;;
12508 esac
12509 if test "$_lt_dar_can_shared" = "yes"; then
12510 output_verbose_link_cmd=func_echo_all
12511 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}"
12512 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12513 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}"
12514 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}"
12515 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12516 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}"
12517 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}"
12520 else
12521 ld_shlibs_CXX=no
12526 dgux*)
12527 case $cc_basename in
12528 ec++*)
12529 # FIXME: insert proper C++ library support
12530 ld_shlibs_CXX=no
12532 ghcx*)
12533 # Green Hills C++ Compiler
12534 # FIXME: insert proper C++ library support
12535 ld_shlibs_CXX=no
12538 # FIXME: insert proper C++ library support
12539 ld_shlibs_CXX=no
12541 esac
12544 freebsd[12]*)
12545 # C++ shared libraries reported to be fairly broken before
12546 # switch to ELF
12547 ld_shlibs_CXX=no
12550 freebsd-elf*)
12551 archive_cmds_need_lc_CXX=no
12554 freebsd* | dragonfly*)
12555 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12556 # conventions
12557 ld_shlibs_CXX=yes
12560 gnu*)
12563 haiku*)
12564 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12565 link_all_deplibs_CXX=yes
12568 hpux9*)
12569 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12570 hardcode_libdir_separator_CXX=:
12571 export_dynamic_flag_spec_CXX='${wl}-E'
12572 hardcode_direct_CXX=yes
12573 hardcode_minus_L_CXX=yes # Not in the search PATH,
12574 # but as the default
12575 # location of the library.
12577 case $cc_basename in
12578 CC*)
12579 # FIXME: insert proper C++ library support
12580 ld_shlibs_CXX=no
12582 aCC*)
12583 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'
12584 # Commands to make compiler produce verbose output that lists
12585 # what "hidden" libraries, object files and flags are used when
12586 # linking a shared library.
12588 # There doesn't appear to be a way to prevent this compiler from
12589 # explicitly linking system object files so we need to strip them
12590 # from the output so that they don't get included in the library
12591 # dependencies.
12592 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"'
12595 if test "$GXX" = yes; then
12596 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'
12597 else
12598 # FIXME: insert proper C++ library support
12599 ld_shlibs_CXX=no
12602 esac
12605 hpux10*|hpux11*)
12606 if test $with_gnu_ld = no; then
12607 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12608 hardcode_libdir_separator_CXX=:
12610 case $host_cpu in
12611 hppa*64*|ia64*)
12614 export_dynamic_flag_spec_CXX='${wl}-E'
12616 esac
12618 case $host_cpu in
12619 hppa*64*|ia64*)
12620 hardcode_direct_CXX=no
12621 hardcode_shlibpath_var_CXX=no
12624 hardcode_direct_CXX=yes
12625 hardcode_direct_absolute_CXX=yes
12626 hardcode_minus_L_CXX=yes # Not in the search PATH,
12627 # but as the default
12628 # location of the library.
12630 esac
12632 case $cc_basename in
12633 CC*)
12634 # FIXME: insert proper C++ library support
12635 ld_shlibs_CXX=no
12637 aCC*)
12638 case $host_cpu in
12639 hppa*64*)
12640 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12642 ia64*)
12643 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12646 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12648 esac
12649 # Commands to make compiler produce verbose output that lists
12650 # what "hidden" libraries, object files and flags are used when
12651 # linking a shared library.
12653 # There doesn't appear to be a way to prevent this compiler from
12654 # explicitly linking system object files so we need to strip them
12655 # from the output so that they don't get included in the library
12656 # dependencies.
12657 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"'
12660 if test "$GXX" = yes; then
12661 if test $with_gnu_ld = no; then
12662 case $host_cpu in
12663 hppa*64*)
12664 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12666 ia64*)
12667 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12670 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'
12672 esac
12674 else
12675 # FIXME: insert proper C++ library support
12676 ld_shlibs_CXX=no
12679 esac
12682 interix[3-9]*)
12683 hardcode_direct_CXX=no
12684 hardcode_shlibpath_var_CXX=no
12685 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12686 export_dynamic_flag_spec_CXX='${wl}-E'
12687 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12688 # Instead, shared libraries are loaded at an image base (0x10000000 by
12689 # default) and relocated if they conflict, which is a slow very memory
12690 # consuming and fragmenting process. To avoid this, we pick a random,
12691 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12692 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12693 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'
12694 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'
12696 irix5* | irix6*)
12697 case $cc_basename in
12698 CC*)
12699 # SGI C++
12700 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'
12702 # Archives containing C++ object files must be created using
12703 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12704 # necessary to make sure instantiated templates are included
12705 # in the archive.
12706 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12709 if test "$GXX" = yes; then
12710 if test "$with_gnu_ld" = no; then
12711 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'
12712 else
12713 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'
12716 link_all_deplibs_CXX=yes
12718 esac
12719 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12720 hardcode_libdir_separator_CXX=:
12721 inherit_rpath_CXX=yes
12724 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12725 case $cc_basename in
12726 KCC*)
12727 # Kuck and Associates, Inc. (KAI) C++ Compiler
12729 # KCC will only create a shared library if the output file
12730 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12731 # to its proper name (with version) after linking.
12732 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'
12733 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'
12734 # Commands to make compiler produce verbose output that lists
12735 # what "hidden" libraries, object files and flags are used when
12736 # linking a shared library.
12738 # There doesn't appear to be a way to prevent this compiler from
12739 # explicitly linking system object files so we need to strip them
12740 # from the output so that they don't get included in the library
12741 # dependencies.
12742 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"'
12744 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12745 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12747 # Archives containing C++ object files must be created using
12748 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12749 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12751 icpc* | ecpc* )
12752 # Intel C++
12753 with_gnu_ld=yes
12754 # version 8.0 and above of icpc choke on multiply defined symbols
12755 # if we add $predep_objects and $postdep_objects, however 7.1 and
12756 # earlier do not add the objects themselves.
12757 case `$CC -V 2>&1` in
12758 *"Version 7."*)
12759 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12760 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'
12762 *) # Version 8.0 or newer
12763 tmp_idyn=
12764 case $host_cpu in
12765 ia64*) tmp_idyn=' -i_dynamic';;
12766 esac
12767 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12768 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'
12770 esac
12771 archive_cmds_need_lc_CXX=no
12772 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12773 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12774 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12776 pgCC* | pgcpp*)
12777 # Portland Group C++ compiler
12778 case `$CC -V` in
12779 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12780 prelink_cmds_CXX='tpldir=Template.dir~
12781 rm -rf $tpldir~
12782 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12783 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12784 old_archive_cmds_CXX='tpldir=Template.dir~
12785 rm -rf $tpldir~
12786 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12787 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12788 $RANLIB $oldlib'
12789 archive_cmds_CXX='tpldir=Template.dir~
12790 rm -rf $tpldir~
12791 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12792 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12793 archive_expsym_cmds_CXX='tpldir=Template.dir~
12794 rm -rf $tpldir~
12795 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12796 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12798 *) # Version 6 and above use weak symbols
12799 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12800 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'
12802 esac
12804 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12805 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12806 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'
12808 cxx*)
12809 # Compaq C++
12810 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12811 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'
12813 runpath_var=LD_RUN_PATH
12814 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12815 hardcode_libdir_separator_CXX=:
12817 # Commands to make compiler produce verbose output that lists
12818 # what "hidden" libraries, object files and flags are used when
12819 # linking a shared library.
12821 # There doesn't appear to be a way to prevent this compiler from
12822 # explicitly linking system object files so we need to strip them
12823 # from the output so that they don't get included in the library
12824 # dependencies.
12825 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'
12827 xl* | mpixl* | bgxl*)
12828 # IBM XL 8.0 on PPC, with GNU ld
12829 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12830 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12831 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12832 if test "x$supports_anon_versioning" = xyes; then
12833 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12834 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12835 echo "local: *; };" >> $output_objdir/$libname.ver~
12836 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12840 case `$CC -V 2>&1 | sed 5q` in
12841 *Sun\ C*)
12842 # Sun C++ 5.9
12843 no_undefined_flag_CXX=' -zdefs'
12844 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12845 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'
12846 hardcode_libdir_flag_spec_CXX='-R$libdir'
12847 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'
12848 compiler_needs_object_CXX=yes
12850 # Not sure whether something based on
12851 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12852 # would be better.
12853 output_verbose_link_cmd='func_echo_all'
12855 # Archives containing C++ object files must be created using
12856 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12857 # necessary to make sure instantiated templates are included
12858 # in the archive.
12859 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12861 esac
12863 esac
12866 lynxos*)
12867 # FIXME: insert proper C++ library support
12868 ld_shlibs_CXX=no
12871 m88k*)
12872 # FIXME: insert proper C++ library support
12873 ld_shlibs_CXX=no
12876 mvs*)
12877 case $cc_basename in
12878 cxx*)
12879 # FIXME: insert proper C++ library support
12880 ld_shlibs_CXX=no
12883 # FIXME: insert proper C++ library support
12884 ld_shlibs_CXX=no
12886 esac
12889 netbsd*)
12890 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12891 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12892 wlarc=
12893 hardcode_libdir_flag_spec_CXX='-R$libdir'
12894 hardcode_direct_CXX=yes
12895 hardcode_shlibpath_var_CXX=no
12897 # Workaround some broken pre-1.5 toolchains
12898 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12901 *nto* | *qnx*)
12902 ld_shlibs_CXX=yes
12905 openbsd2*)
12906 # C++ shared libraries are fairly broken
12907 ld_shlibs_CXX=no
12910 openbsd*)
12911 if test -f /usr/libexec/ld.so; then
12912 hardcode_direct_CXX=yes
12913 hardcode_shlibpath_var_CXX=no
12914 hardcode_direct_absolute_CXX=yes
12915 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12916 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12917 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12918 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12919 export_dynamic_flag_spec_CXX='${wl}-E'
12920 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12922 output_verbose_link_cmd=func_echo_all
12923 else
12924 ld_shlibs_CXX=no
12928 osf3* | osf4* | osf5*)
12929 case $cc_basename in
12930 KCC*)
12931 # Kuck and Associates, Inc. (KAI) C++ Compiler
12933 # KCC will only create a shared library if the output file
12934 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12935 # to its proper name (with version) after linking.
12936 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'
12938 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12939 hardcode_libdir_separator_CXX=:
12941 # Archives containing C++ object files must be created using
12942 # the KAI C++ compiler.
12943 case $host in
12944 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12945 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12946 esac
12948 RCC*)
12949 # Rational C++ 2.4.1
12950 # FIXME: insert proper C++ library support
12951 ld_shlibs_CXX=no
12953 cxx*)
12954 case $host in
12955 osf3*)
12956 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12957 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'
12958 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12961 allow_undefined_flag_CXX=' -expect_unresolved \*'
12962 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'
12963 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12964 echo "-hidden">> $lib.exp~
12965 $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~
12966 $RM $lib.exp'
12967 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12969 esac
12971 hardcode_libdir_separator_CXX=:
12973 # Commands to make compiler produce verbose output that lists
12974 # what "hidden" libraries, object files and flags are used when
12975 # linking a shared library.
12977 # There doesn't appear to be a way to prevent this compiler from
12978 # explicitly linking system object files so we need to strip them
12979 # from the output so that they don't get included in the library
12980 # dependencies.
12981 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"'
12984 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12985 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12986 case $host in
12987 osf3*)
12988 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'
12991 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'
12993 esac
12995 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12996 hardcode_libdir_separator_CXX=:
12998 # Commands to make compiler produce verbose output that lists
12999 # what "hidden" libraries, object files and flags are used when
13000 # linking a shared library.
13001 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13003 else
13004 # FIXME: insert proper C++ library support
13005 ld_shlibs_CXX=no
13008 esac
13011 psos*)
13012 # FIXME: insert proper C++ library support
13013 ld_shlibs_CXX=no
13016 sunos4*)
13017 case $cc_basename in
13018 CC*)
13019 # Sun C++ 4.x
13020 # FIXME: insert proper C++ library support
13021 ld_shlibs_CXX=no
13023 lcc*)
13024 # Lucid
13025 # FIXME: insert proper C++ library support
13026 ld_shlibs_CXX=no
13029 # FIXME: insert proper C++ library support
13030 ld_shlibs_CXX=no
13032 esac
13035 solaris*)
13036 case $cc_basename in
13037 CC*)
13038 # Sun C++ 4.2, 5.x and Centerline C++
13039 archive_cmds_need_lc_CXX=yes
13040 no_undefined_flag_CXX=' -zdefs'
13041 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13042 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13043 $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'
13045 hardcode_libdir_flag_spec_CXX='-R$libdir'
13046 hardcode_shlibpath_var_CXX=no
13047 case $host_os in
13048 solaris2.[0-5] | solaris2.[0-5].*) ;;
13050 # The compiler driver will combine and reorder linker options,
13051 # but understands `-z linker_flag'.
13052 # Supported since Solaris 2.6 (maybe 2.5.1?)
13053 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13055 esac
13056 link_all_deplibs_CXX=yes
13058 output_verbose_link_cmd='func_echo_all'
13060 # Archives containing C++ object files must be created using
13061 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13062 # necessary to make sure instantiated templates are included
13063 # in the archive.
13064 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13066 gcx*)
13067 # Green Hills C++ Compiler
13068 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13070 # The C++ compiler must be used to create the archive.
13071 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13074 # GNU C++ compiler with Solaris linker
13075 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13076 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13077 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13078 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13079 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13080 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13082 # Commands to make compiler produce verbose output that lists
13083 # what "hidden" libraries, object files and flags are used when
13084 # linking a shared library.
13085 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13086 else
13087 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13088 # platform.
13089 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13090 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13091 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13093 # Commands to make compiler produce verbose output that lists
13094 # what "hidden" libraries, object files and flags are used when
13095 # linking a shared library.
13096 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13099 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13100 case $host_os in
13101 solaris2.[0-5] | solaris2.[0-5].*) ;;
13103 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13105 esac
13108 esac
13111 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13112 no_undefined_flag_CXX='${wl}-z,text'
13113 archive_cmds_need_lc_CXX=no
13114 hardcode_shlibpath_var_CXX=no
13115 runpath_var='LD_RUN_PATH'
13117 case $cc_basename in
13118 CC*)
13119 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13120 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13123 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13124 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13126 esac
13129 sysv5* | sco3.2v5* | sco5v6*)
13130 # Note: We can NOT use -z defs as we might desire, because we do not
13131 # link with -lc, and that would cause any symbols used from libc to
13132 # always be unresolved, which means just about no library would
13133 # ever link correctly. If we're not using GNU ld we use -z text
13134 # though, which does catch some bad symbols but isn't as heavy-handed
13135 # as -z defs.
13136 no_undefined_flag_CXX='${wl}-z,text'
13137 allow_undefined_flag_CXX='${wl}-z,nodefs'
13138 archive_cmds_need_lc_CXX=no
13139 hardcode_shlibpath_var_CXX=no
13140 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13141 hardcode_libdir_separator_CXX=':'
13142 link_all_deplibs_CXX=yes
13143 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13144 runpath_var='LD_RUN_PATH'
13146 case $cc_basename in
13147 CC*)
13148 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13149 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13150 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13151 '"$old_archive_cmds_CXX"
13152 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13153 '"$reload_cmds_CXX"
13156 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13157 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13159 esac
13162 tandem*)
13163 case $cc_basename in
13164 NCC*)
13165 # NonStop-UX NCC 3.20
13166 # FIXME: insert proper C++ library support
13167 ld_shlibs_CXX=no
13170 # FIXME: insert proper C++ library support
13171 ld_shlibs_CXX=no
13173 esac
13176 vxworks*)
13177 # FIXME: insert proper C++ library support
13178 ld_shlibs_CXX=no
13182 # FIXME: insert proper C++ library support
13183 ld_shlibs_CXX=no
13185 esac
13187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13188 $as_echo "$ld_shlibs_CXX" >&6; }
13189 test "$ld_shlibs_CXX" = no && can_build_shared=no
13191 GCC_CXX="$GXX"
13192 LD_CXX="$LD"
13194 ## CAVEAT EMPTOR:
13195 ## There is no encapsulation within the following macros, do not change
13196 ## the running order or otherwise move them around unless you know exactly
13197 ## what you are doing...
13198 # Dependencies to place before and after the object being linked:
13199 predep_objects_CXX=
13200 postdep_objects_CXX=
13201 predeps_CXX=
13202 postdeps_CXX=
13203 compiler_lib_search_path_CXX=
13205 cat > conftest.$ac_ext <<_LT_EOF
13206 class Foo
13208 public:
13209 Foo (void) { a = 0; }
13210 private:
13211 int a;
13213 _LT_EOF
13215 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13216 (eval $ac_compile) 2>&5
13217 ac_status=$?
13218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13219 test $ac_status = 0; }; then
13220 # Parse the compiler output and extract the necessary
13221 # objects, libraries and library flags.
13223 # Sentinel used to keep track of whether or not we are before
13224 # the conftest object file.
13225 pre_test_object_deps_done=no
13227 for p in `eval "$output_verbose_link_cmd"`; do
13228 case $p in
13230 -L* | -R* | -l*)
13231 # Some compilers place space between "-{L,R}" and the path.
13232 # Remove the space.
13233 if test $p = "-L" ||
13234 test $p = "-R"; then
13235 prev=$p
13236 continue
13237 else
13238 prev=
13241 if test "$pre_test_object_deps_done" = no; then
13242 case $p in
13243 -L* | -R*)
13244 # Internal compiler library paths should come after those
13245 # provided the user. The postdeps already come after the
13246 # user supplied libs so there is no need to process them.
13247 if test -z "$compiler_lib_search_path_CXX"; then
13248 compiler_lib_search_path_CXX="${prev}${p}"
13249 else
13250 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13253 # The "-l" case would never come before the object being
13254 # linked, so don't bother handling this case.
13255 esac
13256 else
13257 if test -z "$postdeps_CXX"; then
13258 postdeps_CXX="${prev}${p}"
13259 else
13260 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13265 *.$objext)
13266 # This assumes that the test object file only shows up
13267 # once in the compiler output.
13268 if test "$p" = "conftest.$objext"; then
13269 pre_test_object_deps_done=yes
13270 continue
13273 if test "$pre_test_object_deps_done" = no; then
13274 if test -z "$predep_objects_CXX"; then
13275 predep_objects_CXX="$p"
13276 else
13277 predep_objects_CXX="$predep_objects_CXX $p"
13279 else
13280 if test -z "$postdep_objects_CXX"; then
13281 postdep_objects_CXX="$p"
13282 else
13283 postdep_objects_CXX="$postdep_objects_CXX $p"
13288 *) ;; # Ignore the rest.
13290 esac
13291 done
13293 # Clean up.
13294 rm -f a.out a.exe
13295 else
13296 echo "libtool.m4: error: problem compiling CXX test program"
13299 $RM -f confest.$objext
13301 # PORTME: override above test on systems where it is broken
13302 case $host_os in
13303 interix[3-9]*)
13304 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13305 # hack all around it, let's just trust "g++" to DTRT.
13306 predep_objects_CXX=
13307 postdep_objects_CXX=
13308 postdeps_CXX=
13311 linux*)
13312 case `$CC -V 2>&1 | sed 5q` in
13313 *Sun\ C*)
13314 # Sun C++ 5.9
13316 # The more standards-conforming stlport4 library is
13317 # incompatible with the Cstd library. Avoid specifying
13318 # it if it's in CXXFLAGS. Ignore libCrun as
13319 # -library=stlport4 depends on it.
13320 case " $CXX $CXXFLAGS " in
13321 *" -library=stlport4 "*)
13322 solaris_use_stlport4=yes
13324 esac
13326 if test "$solaris_use_stlport4" != yes; then
13327 postdeps_CXX='-library=Cstd -library=Crun'
13330 esac
13333 solaris*)
13334 case $cc_basename in
13335 CC*)
13336 # The more standards-conforming stlport4 library is
13337 # incompatible with the Cstd library. Avoid specifying
13338 # it if it's in CXXFLAGS. Ignore libCrun as
13339 # -library=stlport4 depends on it.
13340 case " $CXX $CXXFLAGS " in
13341 *" -library=stlport4 "*)
13342 solaris_use_stlport4=yes
13344 esac
13346 # Adding this requires a known-good setup of shared libraries for
13347 # Sun compiler versions before 5.6, else PIC objects from an old
13348 # archive will be linked into the output, leading to subtle bugs.
13349 if test "$solaris_use_stlport4" != yes; then
13350 postdeps_CXX='-library=Cstd -library=Crun'
13353 esac
13355 esac
13358 case " $postdeps_CXX " in
13359 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13360 esac
13361 compiler_lib_search_dirs_CXX=
13362 if test -n "${compiler_lib_search_path_CXX}"; then
13363 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13396 lt_prog_compiler_wl_CXX=
13397 lt_prog_compiler_pic_CXX=
13398 lt_prog_compiler_static_CXX=
13400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13401 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13403 # C++ specific cases for pic, static, wl, etc.
13404 if test "$GXX" = yes; then
13405 lt_prog_compiler_wl_CXX='-Wl,'
13406 lt_prog_compiler_static_CXX='-static'
13408 case $host_os in
13409 aix*)
13410 # All AIX code is PIC.
13411 if test "$host_cpu" = ia64; then
13412 # AIX 5 now supports IA64 processor
13413 lt_prog_compiler_static_CXX='-Bstatic'
13417 amigaos*)
13418 case $host_cpu in
13419 powerpc)
13420 # see comment about AmigaOS4 .so support
13421 lt_prog_compiler_pic_CXX='-fPIC'
13423 m68k)
13424 # FIXME: we need at least 68020 code to build shared libraries, but
13425 # adding the `-m68020' flag to GCC prevents building anything better,
13426 # like `-m68040'.
13427 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13429 esac
13432 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13433 # PIC is the default for these OSes.
13435 mingw* | cygwin* | os2* | pw32* | cegcc*)
13436 # This hack is so that the source file can tell whether it is being
13437 # built for inclusion in a dll (and should export symbols for example).
13438 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13439 # (--disable-auto-import) libraries
13440 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13442 darwin* | rhapsody*)
13443 # PIC is the default on this platform
13444 # Common symbols not allowed in MH_DYLIB files
13445 lt_prog_compiler_pic_CXX='-fno-common'
13447 *djgpp*)
13448 # DJGPP does not support shared libraries at all
13449 lt_prog_compiler_pic_CXX=
13451 haiku*)
13452 # PIC is the default for Haiku.
13453 # The "-static" flag exists, but is broken.
13454 lt_prog_compiler_static_CXX=
13456 interix[3-9]*)
13457 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13458 # Instead, we relocate shared libraries at runtime.
13460 sysv4*MP*)
13461 if test -d /usr/nec; then
13462 lt_prog_compiler_pic_CXX=-Kconform_pic
13465 hpux*)
13466 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13467 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13468 # sets the default TLS model and affects inlining.
13469 case $host_cpu in
13470 hppa*64*)
13473 lt_prog_compiler_pic_CXX='-fPIC'
13475 esac
13477 *qnx* | *nto*)
13478 # QNX uses GNU C++, but need to define -shared option too, otherwise
13479 # it will coredump.
13480 lt_prog_compiler_pic_CXX='-fPIC -shared'
13483 lt_prog_compiler_pic_CXX='-fPIC'
13485 esac
13486 else
13487 case $host_os in
13488 aix[4-9]*)
13489 # All AIX code is PIC.
13490 if test "$host_cpu" = ia64; then
13491 # AIX 5 now supports IA64 processor
13492 lt_prog_compiler_static_CXX='-Bstatic'
13493 else
13494 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13497 chorus*)
13498 case $cc_basename in
13499 cxch68*)
13500 # Green Hills C++ Compiler
13501 # _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"
13503 esac
13505 dgux*)
13506 case $cc_basename in
13507 ec++*)
13508 lt_prog_compiler_pic_CXX='-KPIC'
13510 ghcx*)
13511 # Green Hills C++ Compiler
13512 lt_prog_compiler_pic_CXX='-pic'
13516 esac
13518 freebsd* | dragonfly*)
13519 # FreeBSD uses GNU C++
13521 hpux9* | hpux10* | hpux11*)
13522 case $cc_basename in
13523 CC*)
13524 lt_prog_compiler_wl_CXX='-Wl,'
13525 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13526 if test "$host_cpu" != ia64; then
13527 lt_prog_compiler_pic_CXX='+Z'
13530 aCC*)
13531 lt_prog_compiler_wl_CXX='-Wl,'
13532 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13533 case $host_cpu in
13534 hppa*64*|ia64*)
13535 # +Z the default
13538 lt_prog_compiler_pic_CXX='+Z'
13540 esac
13544 esac
13546 interix*)
13547 # This is c89, which is MS Visual C++ (no shared libs)
13548 # Anyone wants to do a port?
13550 irix5* | irix6* | nonstopux*)
13551 case $cc_basename in
13552 CC*)
13553 lt_prog_compiler_wl_CXX='-Wl,'
13554 lt_prog_compiler_static_CXX='-non_shared'
13555 # CC pic flag -KPIC is the default.
13559 esac
13561 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13562 case $cc_basename in
13563 KCC*)
13564 # KAI C++ Compiler
13565 lt_prog_compiler_wl_CXX='--backend -Wl,'
13566 lt_prog_compiler_pic_CXX='-fPIC'
13568 ecpc* )
13569 # old Intel C++ for x86_64 which still supported -KPIC.
13570 lt_prog_compiler_wl_CXX='-Wl,'
13571 lt_prog_compiler_pic_CXX='-KPIC'
13572 lt_prog_compiler_static_CXX='-static'
13574 icpc* )
13575 # Intel C++, used to be incompatible with GCC.
13576 # ICC 10 doesn't accept -KPIC any more.
13577 lt_prog_compiler_wl_CXX='-Wl,'
13578 lt_prog_compiler_pic_CXX='-fPIC'
13579 lt_prog_compiler_static_CXX='-static'
13581 pgCC* | pgcpp*)
13582 # Portland Group C++ compiler
13583 lt_prog_compiler_wl_CXX='-Wl,'
13584 lt_prog_compiler_pic_CXX='-fpic'
13585 lt_prog_compiler_static_CXX='-Bstatic'
13587 cxx*)
13588 # Compaq C++
13589 # Make sure the PIC flag is empty. It appears that all Alpha
13590 # Linux and Compaq Tru64 Unix objects are PIC.
13591 lt_prog_compiler_pic_CXX=
13592 lt_prog_compiler_static_CXX='-non_shared'
13594 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13595 # IBM XL 8.0, 9.0 on PPC and BlueGene
13596 lt_prog_compiler_wl_CXX='-Wl,'
13597 lt_prog_compiler_pic_CXX='-qpic'
13598 lt_prog_compiler_static_CXX='-qstaticlink'
13601 case `$CC -V 2>&1 | sed 5q` in
13602 *Sun\ C*)
13603 # Sun C++ 5.9
13604 lt_prog_compiler_pic_CXX='-KPIC'
13605 lt_prog_compiler_static_CXX='-Bstatic'
13606 lt_prog_compiler_wl_CXX='-Qoption ld '
13608 esac
13610 esac
13612 lynxos*)
13614 m88k*)
13616 mvs*)
13617 case $cc_basename in
13618 cxx*)
13619 lt_prog_compiler_pic_CXX='-W c,exportall'
13623 esac
13625 netbsd*)
13627 *qnx* | *nto*)
13628 # QNX uses GNU C++, but need to define -shared option too, otherwise
13629 # it will coredump.
13630 lt_prog_compiler_pic_CXX='-fPIC -shared'
13632 osf3* | osf4* | osf5*)
13633 case $cc_basename in
13634 KCC*)
13635 lt_prog_compiler_wl_CXX='--backend -Wl,'
13637 RCC*)
13638 # Rational C++ 2.4.1
13639 lt_prog_compiler_pic_CXX='-pic'
13641 cxx*)
13642 # Digital/Compaq C++
13643 lt_prog_compiler_wl_CXX='-Wl,'
13644 # Make sure the PIC flag is empty. It appears that all Alpha
13645 # Linux and Compaq Tru64 Unix objects are PIC.
13646 lt_prog_compiler_pic_CXX=
13647 lt_prog_compiler_static_CXX='-non_shared'
13651 esac
13653 psos*)
13655 solaris*)
13656 case $cc_basename in
13657 CC*)
13658 # Sun C++ 4.2, 5.x and Centerline C++
13659 lt_prog_compiler_pic_CXX='-KPIC'
13660 lt_prog_compiler_static_CXX='-Bstatic'
13661 lt_prog_compiler_wl_CXX='-Qoption ld '
13663 gcx*)
13664 # Green Hills C++ Compiler
13665 lt_prog_compiler_pic_CXX='-PIC'
13669 esac
13671 sunos4*)
13672 case $cc_basename in
13673 CC*)
13674 # Sun C++ 4.x
13675 lt_prog_compiler_pic_CXX='-pic'
13676 lt_prog_compiler_static_CXX='-Bstatic'
13678 lcc*)
13679 # Lucid
13680 lt_prog_compiler_pic_CXX='-pic'
13684 esac
13686 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13687 case $cc_basename in
13688 CC*)
13689 lt_prog_compiler_wl_CXX='-Wl,'
13690 lt_prog_compiler_pic_CXX='-KPIC'
13691 lt_prog_compiler_static_CXX='-Bstatic'
13693 esac
13695 tandem*)
13696 case $cc_basename in
13697 NCC*)
13698 # NonStop-UX NCC 3.20
13699 lt_prog_compiler_pic_CXX='-KPIC'
13703 esac
13705 vxworks*)
13708 lt_prog_compiler_can_build_shared_CXX=no
13710 esac
13713 case $host_os in
13714 # For platforms which do not support PIC, -DPIC is meaningless:
13715 *djgpp*)
13716 lt_prog_compiler_pic_CXX=
13719 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13721 esac
13722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13723 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13728 # Check to make sure the PIC flag actually works.
13730 if test -n "$lt_prog_compiler_pic_CXX"; then
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13732 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13733 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13734 $as_echo_n "(cached) " >&6
13735 else
13736 lt_cv_prog_compiler_pic_works_CXX=no
13737 ac_outfile=conftest.$ac_objext
13738 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13739 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13740 # Insert the option either (1) after the last *FLAGS variable, or
13741 # (2) before a word containing "conftest.", or (3) at the end.
13742 # Note that $ac_compile itself does not contain backslashes and begins
13743 # with a dollar sign (not a hyphen), so the echo should work correctly.
13744 # The option is referenced via a variable to avoid confusing sed.
13745 lt_compile=`echo "$ac_compile" | $SED \
13746 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13747 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13748 -e 's:$: $lt_compiler_flag:'`
13749 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13750 (eval "$lt_compile" 2>conftest.err)
13751 ac_status=$?
13752 cat conftest.err >&5
13753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13754 if (exit $ac_status) && test -s "$ac_outfile"; then
13755 # The compiler can only warn and ignore the option if not recognized
13756 # So say no if there are warnings other than the usual output.
13757 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13758 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13759 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13760 lt_cv_prog_compiler_pic_works_CXX=yes
13763 $RM conftest*
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13767 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13769 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13770 case $lt_prog_compiler_pic_CXX in
13771 "" | " "*) ;;
13772 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13773 esac
13774 else
13775 lt_prog_compiler_pic_CXX=
13776 lt_prog_compiler_can_build_shared_CXX=no
13784 # Check to make sure the static flag actually works.
13786 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13788 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13789 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13790 $as_echo_n "(cached) " >&6
13791 else
13792 lt_cv_prog_compiler_static_works_CXX=no
13793 save_LDFLAGS="$LDFLAGS"
13794 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13795 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13796 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13797 # The linker can only warn and ignore the option if not recognized
13798 # So say no if there are warnings
13799 if test -s conftest.err; then
13800 # Append any errors to the config.log.
13801 cat conftest.err 1>&5
13802 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13803 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13804 if diff conftest.exp conftest.er2 >/dev/null; then
13805 lt_cv_prog_compiler_static_works_CXX=yes
13807 else
13808 lt_cv_prog_compiler_static_works_CXX=yes
13811 $RM -r conftest*
13812 LDFLAGS="$save_LDFLAGS"
13815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13816 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13818 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13820 else
13821 lt_prog_compiler_static_CXX=
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13828 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13829 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13830 $as_echo_n "(cached) " >&6
13831 else
13832 lt_cv_prog_compiler_c_o_CXX=no
13833 $RM -r conftest 2>/dev/null
13834 mkdir conftest
13835 cd conftest
13836 mkdir out
13837 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13839 lt_compiler_flag="-o out/conftest2.$ac_objext"
13840 # Insert the option either (1) after the last *FLAGS variable, or
13841 # (2) before a word containing "conftest.", or (3) at the end.
13842 # Note that $ac_compile itself does not contain backslashes and begins
13843 # with a dollar sign (not a hyphen), so the echo should work correctly.
13844 lt_compile=`echo "$ac_compile" | $SED \
13845 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13846 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13847 -e 's:$: $lt_compiler_flag:'`
13848 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13849 (eval "$lt_compile" 2>out/conftest.err)
13850 ac_status=$?
13851 cat out/conftest.err >&5
13852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13853 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13854 then
13855 # The compiler can only warn and ignore the option if not recognized
13856 # So say no if there are warnings
13857 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13858 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13859 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13860 lt_cv_prog_compiler_c_o_CXX=yes
13863 chmod u+w . 2>&5
13864 $RM conftest*
13865 # SGI C++ compiler will create directory out/ii_files/ for
13866 # template instantiation
13867 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13868 $RM out/* && rmdir out
13869 cd ..
13870 $RM -r conftest
13871 $RM conftest*
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13875 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13880 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13881 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13882 $as_echo_n "(cached) " >&6
13883 else
13884 lt_cv_prog_compiler_c_o_CXX=no
13885 $RM -r conftest 2>/dev/null
13886 mkdir conftest
13887 cd conftest
13888 mkdir out
13889 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13891 lt_compiler_flag="-o out/conftest2.$ac_objext"
13892 # Insert the option either (1) after the last *FLAGS variable, or
13893 # (2) before a word containing "conftest.", or (3) at the end.
13894 # Note that $ac_compile itself does not contain backslashes and begins
13895 # with a dollar sign (not a hyphen), so the echo should work correctly.
13896 lt_compile=`echo "$ac_compile" | $SED \
13897 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13898 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13899 -e 's:$: $lt_compiler_flag:'`
13900 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13901 (eval "$lt_compile" 2>out/conftest.err)
13902 ac_status=$?
13903 cat out/conftest.err >&5
13904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13905 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13906 then
13907 # The compiler can only warn and ignore the option if not recognized
13908 # So say no if there are warnings
13909 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13910 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13911 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13912 lt_cv_prog_compiler_c_o_CXX=yes
13915 chmod u+w . 2>&5
13916 $RM conftest*
13917 # SGI C++ compiler will create directory out/ii_files/ for
13918 # template instantiation
13919 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13920 $RM out/* && rmdir out
13921 cd ..
13922 $RM -r conftest
13923 $RM conftest*
13926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13927 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13932 hard_links="nottested"
13933 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13934 # do not overwrite the value of need_locks provided by the user
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13936 $as_echo_n "checking if we can lock with hard links... " >&6; }
13937 hard_links=yes
13938 $RM conftest*
13939 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13940 touch conftest.a
13941 ln conftest.a conftest.b 2>&5 || hard_links=no
13942 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13944 $as_echo "$hard_links" >&6; }
13945 if test "$hard_links" = no; then
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13947 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13948 need_locks=warn
13950 else
13951 need_locks=no
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13957 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13959 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13960 case $host_os in
13961 aix[4-9]*)
13962 # If we're using GNU nm, then we don't want the "-C" option.
13963 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13964 # Also, AIX nm treats weak defined symbols like other global defined
13965 # symbols, whereas GNU nm marks them as "W".
13966 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13967 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'
13968 else
13969 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'
13972 pw32*)
13973 export_symbols_cmds_CXX="$ltdll_cmds"
13975 cygwin* | mingw* | cegcc*)
13976 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'
13979 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13981 esac
13982 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13985 $as_echo "$ld_shlibs_CXX" >&6; }
13986 test "$ld_shlibs_CXX" = no && can_build_shared=no
13988 with_gnu_ld_CXX=$with_gnu_ld
13996 # Do we need to explicitly link libc?
13998 case "x$archive_cmds_need_lc_CXX" in
13999 x|xyes)
14000 # Assume -lc should be added
14001 archive_cmds_need_lc_CXX=yes
14003 if test "$enable_shared" = yes && test "$GCC" = yes; then
14004 case $archive_cmds_CXX in
14005 *'~'*)
14006 # FIXME: we may have to deal with multi-command sequences.
14008 '$CC '*)
14009 # Test whether the compiler implicitly links with -lc since on some
14010 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14011 # to ld, don't add -lc before -lgcc.
14012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14013 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14014 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14015 $as_echo_n "(cached) " >&6
14016 else
14017 $RM conftest*
14018 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14020 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14021 (eval $ac_compile) 2>&5
14022 ac_status=$?
14023 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14024 test $ac_status = 0; } 2>conftest.err; then
14025 soname=conftest
14026 lib=conftest
14027 libobjs=conftest.$ac_objext
14028 deplibs=
14029 wl=$lt_prog_compiler_wl_CXX
14030 pic_flag=$lt_prog_compiler_pic_CXX
14031 compiler_flags=-v
14032 linker_flags=-v
14033 verstring=
14034 output_objdir=.
14035 libname=conftest
14036 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14037 allow_undefined_flag_CXX=
14038 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14039 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14040 ac_status=$?
14041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14042 test $ac_status = 0; }
14043 then
14044 lt_cv_archive_cmds_need_lc_CXX=no
14045 else
14046 lt_cv_archive_cmds_need_lc_CXX=yes
14048 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14049 else
14050 cat conftest.err 1>&5
14052 $RM conftest*
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14056 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14057 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14059 esac
14062 esac
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14128 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14130 library_names_spec=
14131 libname_spec='lib$name'
14132 soname_spec=
14133 shrext_cmds=".so"
14134 postinstall_cmds=
14135 postuninstall_cmds=
14136 finish_cmds=
14137 finish_eval=
14138 shlibpath_var=
14139 shlibpath_overrides_runpath=unknown
14140 version_type=none
14141 dynamic_linker="$host_os ld.so"
14142 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14143 need_lib_prefix=unknown
14144 hardcode_into_libs=no
14146 # when you set need_version to no, make sure it does not cause -set_version
14147 # flags to be left without arguments
14148 need_version=unknown
14150 case $host_os in
14151 aix3*)
14152 version_type=linux
14153 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14154 shlibpath_var=LIBPATH
14156 # AIX 3 has no versioning support, so we append a major version to the name.
14157 soname_spec='${libname}${release}${shared_ext}$major'
14160 aix[4-9]*)
14161 version_type=linux
14162 need_lib_prefix=no
14163 need_version=no
14164 hardcode_into_libs=yes
14165 if test "$host_cpu" = ia64; then
14166 # AIX 5 supports IA64
14167 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14168 shlibpath_var=LD_LIBRARY_PATH
14169 else
14170 # With GCC up to 2.95.x, collect2 would create an import file
14171 # for dependence libraries. The import file would start with
14172 # the line `#! .'. This would cause the generated library to
14173 # depend on `.', always an invalid library. This was fixed in
14174 # development snapshots of GCC prior to 3.0.
14175 case $host_os in
14176 aix4 | aix4.[01] | aix4.[01].*)
14177 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14178 echo ' yes '
14179 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14181 else
14182 can_build_shared=no
14185 esac
14186 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14187 # soname into executable. Probably we can add versioning support to
14188 # collect2, so additional links can be useful in future.
14189 if test "$aix_use_runtimelinking" = yes; then
14190 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14191 # instead of lib<name>.a to let people know that these are not
14192 # typical AIX shared libraries.
14193 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14194 else
14195 # We preserve .a as extension for shared libraries through AIX4.2
14196 # and later when we are not doing run time linking.
14197 library_names_spec='${libname}${release}.a $libname.a'
14198 soname_spec='${libname}${release}${shared_ext}$major'
14200 shlibpath_var=LIBPATH
14204 amigaos*)
14205 case $host_cpu in
14206 powerpc)
14207 # Since July 2007 AmigaOS4 officially supports .so libraries.
14208 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14209 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14211 m68k)
14212 library_names_spec='$libname.ixlibrary $libname.a'
14213 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14214 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'
14216 esac
14219 beos*)
14220 library_names_spec='${libname}${shared_ext}'
14221 dynamic_linker="$host_os ld.so"
14222 shlibpath_var=LIBRARY_PATH
14225 bsdi[45]*)
14226 version_type=linux
14227 need_version=no
14228 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14229 soname_spec='${libname}${release}${shared_ext}$major'
14230 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14231 shlibpath_var=LD_LIBRARY_PATH
14232 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14233 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14234 # the default ld.so.conf also contains /usr/contrib/lib and
14235 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14236 # libtool to hard-code these into programs
14239 cygwin* | mingw* | pw32* | cegcc*)
14240 version_type=windows
14241 shrext_cmds=".dll"
14242 need_version=no
14243 need_lib_prefix=no
14245 case $GCC,$host_os in
14246 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14247 library_names_spec='$libname.dll.a'
14248 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14249 postinstall_cmds='base_file=`basename \${file}`~
14250 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14251 dldir=$destdir/`dirname \$dlpath`~
14252 test -d \$dldir || mkdir -p \$dldir~
14253 $install_prog $dir/$dlname \$dldir/$dlname~
14254 chmod a+x \$dldir/$dlname~
14255 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14256 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14258 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14259 dlpath=$dir/\$dldll~
14260 $RM \$dlpath'
14261 shlibpath_overrides_runpath=yes
14263 case $host_os in
14264 cygwin*)
14265 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14266 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14269 mingw* | cegcc*)
14270 # MinGW DLLs use traditional 'lib' prefix
14271 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14273 pw32*)
14274 # pw32 DLLs use 'pw' prefix rather than 'lib'
14275 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14277 esac
14281 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14283 esac
14284 dynamic_linker='Win32 ld.exe'
14285 # FIXME: first we should search . and the directory the executable is in
14286 shlibpath_var=PATH
14289 darwin* | rhapsody*)
14290 dynamic_linker="$host_os dyld"
14291 version_type=darwin
14292 need_lib_prefix=no
14293 need_version=no
14294 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14295 soname_spec='${libname}${release}${major}$shared_ext'
14296 shlibpath_overrides_runpath=yes
14297 shlibpath_var=DYLD_LIBRARY_PATH
14298 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14300 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14303 dgux*)
14304 version_type=linux
14305 need_lib_prefix=no
14306 need_version=no
14307 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14308 soname_spec='${libname}${release}${shared_ext}$major'
14309 shlibpath_var=LD_LIBRARY_PATH
14312 freebsd* | dragonfly*)
14313 # DragonFly does not have aout. When/if they implement a new
14314 # versioning mechanism, adjust this.
14315 if test -x /usr/bin/objformat; then
14316 objformat=`/usr/bin/objformat`
14317 else
14318 case $host_os in
14319 freebsd[123]*) objformat=aout ;;
14320 *) objformat=elf ;;
14321 esac
14323 version_type=freebsd-$objformat
14324 case $version_type in
14325 freebsd-elf*)
14326 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14327 need_version=no
14328 need_lib_prefix=no
14330 freebsd-*)
14331 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14332 need_version=yes
14334 esac
14335 shlibpath_var=LD_LIBRARY_PATH
14336 case $host_os in
14337 freebsd2*)
14338 shlibpath_overrides_runpath=yes
14340 freebsd3.[01]* | freebsdelf3.[01]*)
14341 shlibpath_overrides_runpath=yes
14342 hardcode_into_libs=yes
14344 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14345 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14346 shlibpath_overrides_runpath=no
14347 hardcode_into_libs=yes
14349 *) # from 4.6 on, and DragonFly
14350 shlibpath_overrides_runpath=yes
14351 hardcode_into_libs=yes
14353 esac
14356 gnu*)
14357 version_type=linux
14358 need_lib_prefix=no
14359 need_version=no
14360 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14361 soname_spec='${libname}${release}${shared_ext}$major'
14362 shlibpath_var=LD_LIBRARY_PATH
14363 hardcode_into_libs=yes
14366 haiku*)
14367 version_type=linux
14368 need_lib_prefix=no
14369 need_version=no
14370 dynamic_linker="$host_os runtime_loader"
14371 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14372 soname_spec='${libname}${release}${shared_ext}$major'
14373 shlibpath_var=LIBRARY_PATH
14374 shlibpath_overrides_runpath=yes
14375 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14376 hardcode_into_libs=yes
14379 hpux9* | hpux10* | hpux11*)
14380 # Give a soname corresponding to the major version so that dld.sl refuses to
14381 # link against other versions.
14382 version_type=sunos
14383 need_lib_prefix=no
14384 need_version=no
14385 case $host_cpu in
14386 ia64*)
14387 shrext_cmds='.so'
14388 hardcode_into_libs=yes
14389 dynamic_linker="$host_os dld.so"
14390 shlibpath_var=LD_LIBRARY_PATH
14391 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14392 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14393 soname_spec='${libname}${release}${shared_ext}$major'
14394 if test "X$HPUX_IA64_MODE" = X32; then
14395 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14396 else
14397 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14399 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14401 hppa*64*)
14402 shrext_cmds='.sl'
14403 hardcode_into_libs=yes
14404 dynamic_linker="$host_os dld.sl"
14405 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14406 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14407 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14408 soname_spec='${libname}${release}${shared_ext}$major'
14409 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14410 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14413 shrext_cmds='.sl'
14414 dynamic_linker="$host_os dld.sl"
14415 shlibpath_var=SHLIB_PATH
14416 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14417 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14418 soname_spec='${libname}${release}${shared_ext}$major'
14420 esac
14421 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14422 postinstall_cmds='chmod 555 $lib'
14423 # or fails outright, so override atomically:
14424 install_override_mode=555
14427 interix[3-9]*)
14428 version_type=linux
14429 need_lib_prefix=no
14430 need_version=no
14431 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14432 soname_spec='${libname}${release}${shared_ext}$major'
14433 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14434 shlibpath_var=LD_LIBRARY_PATH
14435 shlibpath_overrides_runpath=no
14436 hardcode_into_libs=yes
14439 irix5* | irix6* | nonstopux*)
14440 case $host_os in
14441 nonstopux*) version_type=nonstopux ;;
14443 if test "$lt_cv_prog_gnu_ld" = yes; then
14444 version_type=linux
14445 else
14446 version_type=irix
14447 fi ;;
14448 esac
14449 need_lib_prefix=no
14450 need_version=no
14451 soname_spec='${libname}${release}${shared_ext}$major'
14452 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14453 case $host_os in
14454 irix5* | nonstopux*)
14455 libsuff= shlibsuff=
14458 case $LD in # libtool.m4 will add one of these switches to LD
14459 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14460 libsuff= shlibsuff= libmagic=32-bit;;
14461 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14462 libsuff=32 shlibsuff=N32 libmagic=N32;;
14463 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14464 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14465 *) libsuff= shlibsuff= libmagic=never-match;;
14466 esac
14468 esac
14469 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14470 shlibpath_overrides_runpath=no
14471 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14472 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14473 hardcode_into_libs=yes
14476 # No shared lib support for Linux oldld, aout, or coff.
14477 linux*oldld* | linux*aout* | linux*coff*)
14478 dynamic_linker=no
14481 # This must be Linux ELF.
14482 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14483 version_type=linux
14484 need_lib_prefix=no
14485 need_version=no
14486 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14487 soname_spec='${libname}${release}${shared_ext}$major'
14488 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14489 shlibpath_var=LD_LIBRARY_PATH
14490 shlibpath_overrides_runpath=no
14492 # Some binutils ld are patched to set DT_RUNPATH
14493 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14494 $as_echo_n "(cached) " >&6
14495 else
14496 lt_cv_shlibpath_overrides_runpath=no
14497 save_LDFLAGS=$LDFLAGS
14498 save_libdir=$libdir
14499 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14500 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14501 if test x$gcc_no_link = xyes; then
14502 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14505 /* end confdefs.h. */
14508 main ()
14512 return 0;
14514 _ACEOF
14515 if ac_fn_cxx_try_link "$LINENO"; then :
14516 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14517 lt_cv_shlibpath_overrides_runpath=yes
14520 rm -f core conftest.err conftest.$ac_objext \
14521 conftest$ac_exeext conftest.$ac_ext
14522 LDFLAGS=$save_LDFLAGS
14523 libdir=$save_libdir
14527 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14529 # This implies no fast_install, which is unacceptable.
14530 # Some rework will be needed to allow for fast_install
14531 # before this can be enabled.
14532 hardcode_into_libs=yes
14534 # Append ld.so.conf contents to the search path
14535 if test -f /etc/ld.so.conf; then
14536 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' ' '`
14537 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14540 # We used to test for /lib/ld.so.1 and disable shared libraries on
14541 # powerpc, because MkLinux only supported shared libraries with the
14542 # GNU dynamic linker. Since this was broken with cross compilers,
14543 # most powerpc-linux boxes support dynamic linking these days and
14544 # people can always --disable-shared, the test was removed, and we
14545 # assume the GNU/Linux dynamic linker is in use.
14546 dynamic_linker='GNU/Linux ld.so'
14549 netbsd*)
14550 version_type=sunos
14551 need_lib_prefix=no
14552 need_version=no
14553 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14554 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14555 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14556 dynamic_linker='NetBSD (a.out) ld.so'
14557 else
14558 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14559 soname_spec='${libname}${release}${shared_ext}$major'
14560 dynamic_linker='NetBSD ld.elf_so'
14562 shlibpath_var=LD_LIBRARY_PATH
14563 shlibpath_overrides_runpath=yes
14564 hardcode_into_libs=yes
14567 newsos6)
14568 version_type=linux
14569 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14570 shlibpath_var=LD_LIBRARY_PATH
14571 shlibpath_overrides_runpath=yes
14574 *nto* | *qnx*)
14575 version_type=qnx
14576 need_lib_prefix=no
14577 need_version=no
14578 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14579 soname_spec='${libname}${release}${shared_ext}$major'
14580 shlibpath_var=LD_LIBRARY_PATH
14581 shlibpath_overrides_runpath=no
14582 hardcode_into_libs=yes
14583 dynamic_linker='ldqnx.so'
14586 openbsd*)
14587 version_type=sunos
14588 sys_lib_dlsearch_path_spec="/usr/lib"
14589 need_lib_prefix=no
14590 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14591 case $host_os in
14592 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14593 *) need_version=no ;;
14594 esac
14595 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14596 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14597 shlibpath_var=LD_LIBRARY_PATH
14598 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14599 case $host_os in
14600 openbsd2.[89] | openbsd2.[89].*)
14601 shlibpath_overrides_runpath=no
14604 shlibpath_overrides_runpath=yes
14606 esac
14607 else
14608 shlibpath_overrides_runpath=yes
14612 os2*)
14613 libname_spec='$name'
14614 shrext_cmds=".dll"
14615 need_lib_prefix=no
14616 library_names_spec='$libname${shared_ext} $libname.a'
14617 dynamic_linker='OS/2 ld.exe'
14618 shlibpath_var=LIBPATH
14621 osf3* | osf4* | osf5*)
14622 version_type=osf
14623 need_lib_prefix=no
14624 need_version=no
14625 soname_spec='${libname}${release}${shared_ext}$major'
14626 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14627 shlibpath_var=LD_LIBRARY_PATH
14628 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14629 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14632 rdos*)
14633 dynamic_linker=no
14636 solaris*)
14637 version_type=linux
14638 need_lib_prefix=no
14639 need_version=no
14640 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14641 soname_spec='${libname}${release}${shared_ext}$major'
14642 shlibpath_var=LD_LIBRARY_PATH
14643 shlibpath_overrides_runpath=yes
14644 hardcode_into_libs=yes
14645 # ldd complains unless libraries are executable
14646 postinstall_cmds='chmod +x $lib'
14649 sunos4*)
14650 version_type=sunos
14651 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14652 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14653 shlibpath_var=LD_LIBRARY_PATH
14654 shlibpath_overrides_runpath=yes
14655 if test "$with_gnu_ld" = yes; then
14656 need_lib_prefix=no
14658 need_version=yes
14661 sysv4 | sysv4.3*)
14662 version_type=linux
14663 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14664 soname_spec='${libname}${release}${shared_ext}$major'
14665 shlibpath_var=LD_LIBRARY_PATH
14666 case $host_vendor in
14667 sni)
14668 shlibpath_overrides_runpath=no
14669 need_lib_prefix=no
14670 runpath_var=LD_RUN_PATH
14672 siemens)
14673 need_lib_prefix=no
14675 motorola)
14676 need_lib_prefix=no
14677 need_version=no
14678 shlibpath_overrides_runpath=no
14679 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14681 esac
14684 sysv4*MP*)
14685 if test -d /usr/nec ;then
14686 version_type=linux
14687 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14688 soname_spec='$libname${shared_ext}.$major'
14689 shlibpath_var=LD_LIBRARY_PATH
14693 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14694 version_type=freebsd-elf
14695 need_lib_prefix=no
14696 need_version=no
14697 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14698 soname_spec='${libname}${release}${shared_ext}$major'
14699 shlibpath_var=LD_LIBRARY_PATH
14700 shlibpath_overrides_runpath=yes
14701 hardcode_into_libs=yes
14702 if test "$with_gnu_ld" = yes; then
14703 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14704 else
14705 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14706 case $host_os in
14707 sco3.2v5*)
14708 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14710 esac
14712 sys_lib_dlsearch_path_spec='/usr/lib'
14715 tpf*)
14716 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14717 version_type=linux
14718 need_lib_prefix=no
14719 need_version=no
14720 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14721 shlibpath_var=LD_LIBRARY_PATH
14722 shlibpath_overrides_runpath=no
14723 hardcode_into_libs=yes
14726 uts4*)
14727 version_type=linux
14728 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14729 soname_spec='${libname}${release}${shared_ext}$major'
14730 shlibpath_var=LD_LIBRARY_PATH
14734 dynamic_linker=no
14736 esac
14737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14738 $as_echo "$dynamic_linker" >&6; }
14739 test "$dynamic_linker" = no && can_build_shared=no
14741 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14742 if test "$GCC" = yes; then
14743 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14746 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14747 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14749 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14750 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14791 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14792 hardcode_action_CXX=
14793 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14794 test -n "$runpath_var_CXX" ||
14795 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14797 # We can hardcode non-existent directories.
14798 if test "$hardcode_direct_CXX" != no &&
14799 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14800 # have to relink, otherwise we might link with an installed library
14801 # when we should be linking with a yet-to-be-installed one
14802 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14803 test "$hardcode_minus_L_CXX" != no; then
14804 # Linking always hardcodes the temporary library directory.
14805 hardcode_action_CXX=relink
14806 else
14807 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14808 hardcode_action_CXX=immediate
14810 else
14811 # We cannot hardcode anything, or else we can only hardcode existing
14812 # directories.
14813 hardcode_action_CXX=unsupported
14815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14816 $as_echo "$hardcode_action_CXX" >&6; }
14818 if test "$hardcode_action_CXX" = relink ||
14819 test "$inherit_rpath_CXX" = yes; then
14820 # Fast installation is not supported
14821 enable_fast_install=no
14822 elif test "$shlibpath_overrides_runpath" = yes ||
14823 test "$enable_shared" = no; then
14824 # Fast installation is not necessary
14825 enable_fast_install=needless
14834 fi # test -n "$compiler"
14836 CC=$lt_save_CC
14837 LDCXX=$LD
14838 LD=$lt_save_LD
14839 GCC=$lt_save_GCC
14840 with_gnu_ld=$lt_save_with_gnu_ld
14841 lt_cv_path_LDCXX=$lt_cv_path_LD
14842 lt_cv_path_LD=$lt_save_path_LD
14843 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14844 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14845 fi # test "$_lt_caught_CXX_error" != yes
14847 ac_ext=c
14848 ac_cpp='$CPP $CPPFLAGS'
14849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14865 ac_config_commands="$ac_config_commands libtool"
14870 # Only expand once:
14876 case $host in
14877 *-cygwin* | *-mingw*)
14878 # 'host' will be top-level target in the case of a target lib,
14879 # we must compare to with_cross_host to decide if this is a native
14880 # or cross-compiler and select where to install dlls appropriately.
14881 if test -n "$with_cross_host" &&
14882 test x"$with_cross_host" != x"no"; then
14883 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14884 else
14885 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14889 lt_host_flags=
14891 esac
14898 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14899 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14901 # Possibly disable most of the library.
14902 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14903 ## than just ignoring the results. Faster /and/ more correct, win win.
14905 # Check whether --enable-hosted-libstdcxx was given.
14906 if test "${enable_hosted_libstdcxx+set}" = set; then :
14907 enableval=$enable_hosted_libstdcxx;
14908 else
14909 case "$host" in
14910 arm*-*-symbianelf*)
14911 enable_hosted_libstdcxx=no
14914 enable_hosted_libstdcxx=yes
14916 esac
14919 if test "$enable_hosted_libstdcxx" = no; then
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14921 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14922 is_hosted=no
14923 hosted_define=0
14924 enable_abi_check=no
14925 enable_libstdcxx_pch=no
14926 else
14927 is_hosted=yes
14928 hosted_define=1
14932 cat >>confdefs.h <<_ACEOF
14933 #define _GLIBCXX_HOSTED $hosted_define
14934 _ACEOF
14938 # Enable compiler support that doesn't require linking.
14940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14941 $as_echo_n "checking for exception model to use... " >&6; }
14943 ac_ext=cpp
14944 ac_cpp='$CXXCPP $CPPFLAGS'
14945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14949 # Check whether --enable-sjlj-exceptions was given.
14950 if test "${enable_sjlj_exceptions+set}" = set; then :
14951 enableval=$enable_sjlj_exceptions;
14952 case "$enableval" in
14953 yes|no|auto) ;;
14954 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
14955 esac
14957 else
14958 enable_sjlj_exceptions=auto
14963 if test $enable_sjlj_exceptions = auto; then
14964 # Botheration. Now we've got to detect the exception model. Link tests
14965 # against libgcc.a are problematic since we've not been given proper -L
14966 # bits for single-tree newlib and libgloss.
14968 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
14969 cat > conftest.$ac_ext << EOF
14970 #line 14970 "configure"
14971 struct S { ~S(); };
14972 void bar();
14973 void foo()
14975 S s;
14976 bar();
14979 old_CXXFLAGS="$CXXFLAGS"
14980 CXXFLAGS=-S
14981 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14982 (eval $ac_compile) 2>&5
14983 ac_status=$?
14984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14985 test $ac_status = 0; }; then
14986 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14987 enable_sjlj_exceptions=yes
14988 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14989 enable_sjlj_exceptions=no
14990 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14991 enable_sjlj_exceptions=no
14994 CXXFLAGS="$old_CXXFLAGS"
14995 rm -f conftest*
14998 # This is a tad weird, for hysterical raisins. We have to map
14999 # enable/disable to two different models.
15000 case $enable_sjlj_exceptions in
15001 yes)
15003 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15005 ac_exception_model_name=sjlj
15008 ac_exception_model_name="call frame"
15011 as_fn_error "unable to detect exception model" "$LINENO" 5
15013 esac
15014 ac_ext=c
15015 ac_cpp='$CPP $CPPFLAGS'
15016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15021 $as_echo "$ac_exception_model_name" >&6; }
15024 # Check whether --enable-libstdcxx-pch was given.
15025 if test "${enable_libstdcxx_pch+set}" = set; then :
15026 enableval=$enable_libstdcxx_pch;
15027 case "$enableval" in
15028 yes|no) ;;
15029 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15030 esac
15032 else
15033 enable_libstdcxx_pch=$is_hosted
15037 if test $enable_libstdcxx_pch = yes; then
15038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15039 $as_echo_n "checking for compiler with PCH support... " >&6; }
15040 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15041 $as_echo_n "(cached) " >&6
15042 else
15043 ac_save_CXXFLAGS="$CXXFLAGS"
15044 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15046 ac_ext=cpp
15047 ac_cpp='$CXXCPP $CPPFLAGS'
15048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15052 echo '#include <math.h>' > conftest.h
15053 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15054 -o conftest.h.gch 1>&5 2>&1 &&
15055 echo '#error "pch failed"' > conftest.h &&
15056 echo '#include "conftest.h"' > conftest.cc &&
15057 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15058 then
15059 glibcxx_cv_prog_CXX_pch=yes
15060 else
15061 glibcxx_cv_prog_CXX_pch=no
15063 rm -f conftest*
15064 CXXFLAGS=$ac_save_CXXFLAGS
15065 ac_ext=c
15066 ac_cpp='$CPP $CPPFLAGS'
15067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15074 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15075 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15079 $as_echo_n "checking for enabled PCH... " >&6; }
15080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15081 $as_echo "$enable_libstdcxx_pch" >&6; }
15084 if test $enable_libstdcxx_pch = yes; then
15085 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15086 else
15087 glibcxx_PCHFLAGS=""
15092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15093 $as_echo_n "checking for thread model used by GCC... " >&6; }
15094 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15096 $as_echo "$target_thread_file" >&6; }
15098 if test $target_thread_file != single; then
15100 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
15104 glibcxx_thread_h=gthr-$target_thread_file.h
15106 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
15107 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
15108 enable_thread=yes
15109 else
15110 enable_thread=no
15117 ac_ext=cpp
15118 ac_cpp='$CXXCPP $CPPFLAGS'
15119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15123 old_CXXFLAGS="$CXXFLAGS"
15125 # Do link tests if possible, instead asm tests, limited to some platforms
15126 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15127 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15128 atomic_builtins_link_tests=no
15129 if test x$gcc_no_link != xyes; then
15130 # Can do link tests. Limit to some tested platforms
15131 case "$host" in
15132 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15133 atomic_builtins_link_tests=yes
15135 esac
15138 if test x$atomic_builtins_link_tests = xyes; then
15140 # Do link tests.
15142 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15145 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15146 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15147 $as_echo_n "(cached) " >&6
15148 else
15150 if test x$gcc_no_link = xyes; then
15151 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15154 /* end confdefs.h. */
15157 main ()
15159 typedef bool atomic_type;
15160 atomic_type c1;
15161 atomic_type c2;
15162 const atomic_type c3(0);
15163 __sync_fetch_and_add(&c1, c2);
15164 __sync_val_compare_and_swap(&c1, c3, c2);
15165 __sync_lock_test_and_set(&c1, c3);
15166 __sync_lock_release(&c1);
15167 __sync_synchronize();
15169 return 0;
15171 _ACEOF
15172 if ac_fn_cxx_try_link "$LINENO"; then :
15173 glibcxx_cv_atomic_bool=yes
15174 else
15175 glibcxx_cv_atomic_bool=no
15177 rm -f core conftest.err conftest.$ac_objext \
15178 conftest$ac_exeext conftest.$ac_ext
15182 if test $glibcxx_cv_atomic_bool = yes; then
15184 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15188 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15191 $as_echo_n "checking for atomic builtins for short... " >&6; }
15192 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15193 $as_echo_n "(cached) " >&6
15194 else
15196 if test x$gcc_no_link = xyes; then
15197 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15200 /* end confdefs.h. */
15203 main ()
15205 typedef short atomic_type;
15206 atomic_type c1;
15207 atomic_type c2;
15208 const atomic_type c3(0);
15209 __sync_fetch_and_add(&c1, c2);
15210 __sync_val_compare_and_swap(&c1, c3, c2);
15211 __sync_lock_test_and_set(&c1, c3);
15212 __sync_lock_release(&c1);
15213 __sync_synchronize();
15215 return 0;
15217 _ACEOF
15218 if ac_fn_cxx_try_link "$LINENO"; then :
15219 glibcxx_cv_atomic_short=yes
15220 else
15221 glibcxx_cv_atomic_short=no
15223 rm -f core conftest.err conftest.$ac_objext \
15224 conftest$ac_exeext conftest.$ac_ext
15228 if test $glibcxx_cv_atomic_short = yes; then
15230 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15234 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15237 $as_echo_n "checking for atomic builtins for int... " >&6; }
15238 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15239 $as_echo_n "(cached) " >&6
15240 else
15242 if test x$gcc_no_link = xyes; then
15243 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15246 /* end confdefs.h. */
15249 main ()
15251 typedef int atomic_type;
15252 atomic_type c1;
15253 atomic_type c2;
15254 const atomic_type c3(0);
15255 __sync_fetch_and_add(&c1, c2);
15256 __sync_val_compare_and_swap(&c1, c3, c2);
15257 __sync_lock_test_and_set(&c1, c3);
15258 __sync_lock_release(&c1);
15259 __sync_synchronize();
15261 return 0;
15263 _ACEOF
15264 if ac_fn_cxx_try_link "$LINENO"; then :
15265 glibcxx_cv_atomic_int=yes
15266 else
15267 glibcxx_cv_atomic_int=no
15269 rm -f core conftest.err conftest.$ac_objext \
15270 conftest$ac_exeext conftest.$ac_ext
15274 if test $glibcxx_cv_atomic_int = yes; then
15276 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15280 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15283 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15284 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15285 $as_echo_n "(cached) " >&6
15286 else
15288 if test x$gcc_no_link = xyes; then
15289 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15292 /* end confdefs.h. */
15295 main ()
15297 typedef long long atomic_type;
15298 atomic_type c1;
15299 atomic_type c2;
15300 const atomic_type c3(0);
15301 __sync_fetch_and_add(&c1, c2);
15302 __sync_val_compare_and_swap(&c1, c3, c2);
15303 __sync_lock_test_and_set(&c1, c3);
15304 __sync_lock_release(&c1);
15305 __sync_synchronize();
15307 return 0;
15309 _ACEOF
15310 if ac_fn_cxx_try_link "$LINENO"; then :
15311 glibcxx_cv_atomic_long_long=yes
15312 else
15313 glibcxx_cv_atomic_long_long=no
15315 rm -f core conftest.err conftest.$ac_objext \
15316 conftest$ac_exeext conftest.$ac_ext
15320 if test $glibcxx_cv_atomic_long_long = yes; then
15322 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15326 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15328 else
15330 # Do asm tests.
15332 # Compile unoptimized.
15333 CXXFLAGS='-O0 -S'
15335 # Fake what AC_TRY_COMPILE does.
15337 cat > conftest.$ac_ext << EOF
15338 #line 15338 "configure"
15339 int main()
15341 typedef bool atomic_type;
15342 atomic_type c1;
15343 atomic_type c2;
15344 const atomic_type c3(0);
15345 __sync_fetch_and_add(&c1, c2);
15346 __sync_val_compare_and_swap(&c1, c3, c2);
15347 __sync_lock_test_and_set(&c1, c3);
15348 __sync_lock_release(&c1);
15349 __sync_synchronize();
15350 return 0;
15354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15355 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15356 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15357 (eval $ac_compile) 2>&5
15358 ac_status=$?
15359 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15360 test $ac_status = 0; }; then
15361 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15362 glibcxx_cv_atomic_bool=no
15363 else
15365 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15367 glibcxx_cv_atomic_bool=yes
15370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15371 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15372 rm -f conftest*
15374 cat > conftest.$ac_ext << EOF
15375 #line 15375 "configure"
15376 int main()
15378 typedef short atomic_type;
15379 atomic_type c1;
15380 atomic_type c2;
15381 const atomic_type c3(0);
15382 __sync_fetch_and_add(&c1, c2);
15383 __sync_val_compare_and_swap(&c1, c3, c2);
15384 __sync_lock_test_and_set(&c1, c3);
15385 __sync_lock_release(&c1);
15386 __sync_synchronize();
15387 return 0;
15391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15392 $as_echo_n "checking for atomic builtins for short... " >&6; }
15393 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15394 (eval $ac_compile) 2>&5
15395 ac_status=$?
15396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15397 test $ac_status = 0; }; then
15398 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15399 glibcxx_cv_atomic_short=no
15400 else
15402 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15404 glibcxx_cv_atomic_short=yes
15407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15408 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15409 rm -f conftest*
15411 cat > conftest.$ac_ext << EOF
15412 #line 15412 "configure"
15413 int main()
15415 // NB: _Atomic_word not necessarily int.
15416 typedef int atomic_type;
15417 atomic_type c1;
15418 atomic_type c2;
15419 const atomic_type c3(0);
15420 __sync_fetch_and_add(&c1, c2);
15421 __sync_val_compare_and_swap(&c1, c3, c2);
15422 __sync_lock_test_and_set(&c1, c3);
15423 __sync_lock_release(&c1);
15424 __sync_synchronize();
15425 return 0;
15429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15430 $as_echo_n "checking for atomic builtins for int... " >&6; }
15431 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15432 (eval $ac_compile) 2>&5
15433 ac_status=$?
15434 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15435 test $ac_status = 0; }; then
15436 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15437 glibcxx_cv_atomic_int=no
15438 else
15440 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15442 glibcxx_cv_atomic_int=yes
15445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15446 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15447 rm -f conftest*
15449 cat > conftest.$ac_ext << EOF
15450 #line 15450 "configure"
15451 int main()
15453 typedef long long atomic_type;
15454 atomic_type c1;
15455 atomic_type c2;
15456 const atomic_type c3(0);
15457 __sync_fetch_and_add(&c1, c2);
15458 __sync_val_compare_and_swap(&c1, c3, c2);
15459 __sync_lock_test_and_set(&c1, c3);
15460 __sync_lock_release(&c1);
15461 __sync_synchronize();
15462 return 0;
15466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15467 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15468 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15469 (eval $ac_compile) 2>&5
15470 ac_status=$?
15471 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15472 test $ac_status = 0; }; then
15473 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15474 glibcxx_cv_atomic_long_long=no
15475 else
15477 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15479 glibcxx_cv_atomic_long_long=yes
15482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15483 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15484 rm -f conftest*
15488 CXXFLAGS="$old_CXXFLAGS"
15489 ac_ext=c
15490 ac_cpp='$CPP $CPPFLAGS'
15491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15496 # Set atomicity_dir to builtins if either of above tests pass.
15497 if test $glibcxx_cv_atomic_int = yes || test $glibcxx_cv_atomic_bool = yes ; then
15498 atomicity_dir=cpu/generic/atomicity_builtins
15501 # If still generic, set to mutex.
15502 if test $atomicity_dir = "cpu/generic" ; then
15503 atomicity_dir=cpu/generic/atomicity_mutex
15504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15505 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15506 if test "x$target_thread_file" = xsingle; then
15507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15508 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15510 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15511 else
15512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15513 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15515 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15522 # Fake what AC_TRY_COMPILE does, without linking as this is
15523 # unnecessary for this test.
15525 cat > conftest.$ac_ext << EOF
15526 #line 15526 "configure"
15527 int main()
15529 _Decimal32 d1;
15530 _Decimal64 d2;
15531 _Decimal128 d3;
15532 return 0;
15536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15537 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15538 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15539 (eval $ac_compile) 2>&5
15540 ac_status=$?
15541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15542 test $ac_status = 0; }; then
15544 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15546 enable_dfp=yes
15547 else
15548 enable_dfp=no
15550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15551 $as_echo "$enable_dfp" >&6; }
15552 rm -f conftest*
15555 # Checks for compiler support that doesn't require linking.
15557 # All these tests are for C++; save the language and the compiler flags.
15558 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15559 # found in GLIBCXX_CONFIGURE.
15561 ac_ext=cpp
15562 ac_cpp='$CXXCPP $CPPFLAGS'
15563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15567 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15568 ac_save_CXXFLAGS="$CXXFLAGS"
15570 # Check for maintainer-mode bits.
15571 if test x"$USE_MAINTAINER_MODE" = xno; then
15572 WERROR=''
15573 else
15574 WERROR='-Werror'
15577 # Check for -ffunction-sections -fdata-sections
15578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15579 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15580 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15582 /* end confdefs.h. */
15583 int foo; void bar() { };
15585 main ()
15589 return 0;
15591 _ACEOF
15592 if ac_fn_cxx_try_compile "$LINENO"; then :
15593 ac_fdsections=yes
15594 else
15595 ac_fdsections=no
15597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15598 if test "$ac_test_CXXFLAGS" = set; then
15599 CXXFLAGS="$ac_save_CXXFLAGS"
15600 else
15601 # this is the suspicious part
15602 CXXFLAGS=''
15604 if test x"$ac_fdsections" = x"yes"; then
15605 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15608 $as_echo "$ac_fdsections" >&6; }
15610 ac_ext=c
15611 ac_cpp='$CPP $CPPFLAGS'
15612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15620 # Enable all the variable C++ runtime options that don't require linking.
15622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15623 $as_echo_n "checking for underlying I/O to use... " >&6; }
15624 # Check whether --enable-cstdio was given.
15625 if test "${enable_cstdio+set}" = set; then :
15626 enableval=$enable_cstdio;
15627 case "$enableval" in
15628 stdio) ;;
15629 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15630 esac
15632 else
15633 enable_cstdio=stdio
15638 # Now that libio has been removed, you can have any color you want as long
15639 # as it's black. This is one big no-op until other packages are added, but
15640 # showing the framework never hurts.
15641 case ${enable_cstdio} in
15642 stdio)
15643 CSTDIO_H=config/io/c_io_stdio.h
15644 BASIC_FILE_H=config/io/basic_file_stdio.h
15645 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15647 $as_echo "stdio" >&6; }
15649 esac
15656 # Check whether --enable-clocale was given.
15657 if test "${enable_clocale+set}" = set; then :
15658 enableval=$enable_clocale;
15659 case "$enableval" in
15660 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
15661 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15662 esac
15664 else
15665 enable_clocale=auto
15670 # Deal with gettext issues. Default to not using it (=no) until we detect
15671 # support for it later. Let the user turn it off via --e/d, but let that
15672 # default to on for easier handling.
15673 USE_NLS=no
15674 # Check whether --enable-nls was given.
15675 if test "${enable_nls+set}" = set; then :
15676 enableval=$enable_nls;
15677 else
15678 enable_nls=yes
15682 # Either a known packaage, or "auto"
15683 if test $enable_clocale = no || test $enable_clocale = yes; then
15684 enable_clocale=auto
15686 enable_clocale_flag=$enable_clocale
15688 # Probe for locale model to use if none specified.
15689 # Default to "generic".
15690 if test $enable_clocale_flag = auto; then
15691 case ${target_os} in
15692 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15693 enable_clocale_flag=gnu
15695 darwin* | freebsd*)
15696 enable_clocale_flag=darwin
15699 enable_clocale_flag=generic
15701 esac
15704 # Sanity check model, and test for special functionality.
15705 if test $enable_clocale_flag = gnu; then
15706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15707 /* end confdefs.h. */
15709 #include <features.h>
15710 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15711 _GLIBCXX_ok
15712 #endif
15714 _ACEOF
15715 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15716 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15717 enable_clocale_flag=gnu
15718 else
15719 enable_clocale_flag=generic
15721 rm -f conftest*
15724 # Set it to scream when it hurts.
15725 ac_save_CFLAGS="$CFLAGS"
15726 CFLAGS="-Wimplicit-function-declaration -Werror"
15728 # Use strxfrm_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 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15739 return 0;
15741 _ACEOF
15742 if ac_fn_c_try_compile "$LINENO"; then :
15744 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15749 # Use strerror_l if available.
15750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15751 /* end confdefs.h. */
15752 #define _GNU_SOURCE 1
15753 #include <string.h>
15754 #include <locale.h>
15756 main ()
15758 __locale_t loc; strerror_l(5, loc);
15760 return 0;
15762 _ACEOF
15763 if ac_fn_c_try_compile "$LINENO"; then :
15765 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15770 CFLAGS="$ac_save_CFLAGS"
15773 # Perhaps use strerror_r if available, and strerror_l isn't.
15774 ac_save_CFLAGS="$CFLAGS"
15775 CFLAGS="-Wimplicit-function-declaration -Werror"
15776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15777 /* end confdefs.h. */
15778 #define _GNU_SOURCE 1
15779 #include <string.h>
15780 #include <locale.h>
15782 main ()
15784 char s[128]; strerror_r(5, s, 128);
15786 return 0;
15788 _ACEOF
15789 if ac_fn_c_try_compile "$LINENO"; then :
15791 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15795 CFLAGS="$ac_save_CFLAGS"
15797 # Set configure bits for specified locale package
15798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15799 $as_echo_n "checking for C locale to use... " >&6; }
15800 case ${enable_clocale_flag} in
15801 generic)
15802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15803 $as_echo "generic" >&6; }
15805 CLOCALE_H=config/locale/generic/c_locale.h
15806 CLOCALE_CC=config/locale/generic/c_locale.cc
15807 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15808 CCOLLATE_CC=config/locale/generic/collate_members.cc
15809 CCTYPE_CC=config/locale/generic/ctype_members.cc
15810 CMESSAGES_H=config/locale/generic/messages_members.h
15811 CMESSAGES_CC=config/locale/generic/messages_members.cc
15812 CMONEY_CC=config/locale/generic/monetary_members.cc
15813 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15814 CTIME_H=config/locale/generic/time_members.h
15815 CTIME_CC=config/locale/generic/time_members.cc
15816 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15818 darwin)
15819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15820 $as_echo "darwin or freebsd" >&6; }
15822 CLOCALE_H=config/locale/generic/c_locale.h
15823 CLOCALE_CC=config/locale/generic/c_locale.cc
15824 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15825 CCOLLATE_CC=config/locale/generic/collate_members.cc
15826 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15827 CMESSAGES_H=config/locale/generic/messages_members.h
15828 CMESSAGES_CC=config/locale/generic/messages_members.cc
15829 CMONEY_CC=config/locale/generic/monetary_members.cc
15830 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15831 CTIME_H=config/locale/generic/time_members.h
15832 CTIME_CC=config/locale/generic/time_members.cc
15833 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15836 gnu)
15837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15838 $as_echo "gnu" >&6; }
15840 # Declare intention to use gettext, and add support for specific
15841 # languages.
15842 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15843 ALL_LINGUAS="de fr"
15845 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15846 # Extract the first word of "msgfmt", so it can be a program name with args.
15847 set dummy msgfmt; ac_word=$2
15848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15849 $as_echo_n "checking for $ac_word... " >&6; }
15850 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15851 $as_echo_n "(cached) " >&6
15852 else
15853 if test -n "$check_msgfmt"; then
15854 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15855 else
15856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15857 for as_dir in $PATH
15859 IFS=$as_save_IFS
15860 test -z "$as_dir" && as_dir=.
15861 for ac_exec_ext in '' $ac_executable_extensions; do
15862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15863 ac_cv_prog_check_msgfmt="yes"
15864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15865 break 2
15867 done
15868 done
15869 IFS=$as_save_IFS
15871 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15874 check_msgfmt=$ac_cv_prog_check_msgfmt
15875 if test -n "$check_msgfmt"; then
15876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15877 $as_echo "$check_msgfmt" >&6; }
15878 else
15879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15880 $as_echo "no" >&6; }
15884 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15885 USE_NLS=yes
15887 # Export the build objects.
15888 for ling in $ALL_LINGUAS; do \
15889 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15890 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15891 done
15895 CLOCALE_H=config/locale/gnu/c_locale.h
15896 CLOCALE_CC=config/locale/gnu/c_locale.cc
15897 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15898 CCOLLATE_CC=config/locale/gnu/collate_members.cc
15899 CCTYPE_CC=config/locale/gnu/ctype_members.cc
15900 CMESSAGES_H=config/locale/gnu/messages_members.h
15901 CMESSAGES_CC=config/locale/gnu/messages_members.cc
15902 CMONEY_CC=config/locale/gnu/monetary_members.cc
15903 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15904 CTIME_H=config/locale/gnu/time_members.h
15905 CTIME_CC=config/locale/gnu/time_members.cc
15906 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15908 ieee_1003.1-2001)
15909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15910 $as_echo "IEEE 1003.1" >&6; }
15912 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15913 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15914 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15915 CCOLLATE_CC=config/locale/generic/collate_members.cc
15916 CCTYPE_CC=config/locale/generic/ctype_members.cc
15917 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15918 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15919 CMONEY_CC=config/locale/generic/monetary_members.cc
15920 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15921 CTIME_H=config/locale/generic/time_members.h
15922 CTIME_CC=config/locale/generic/time_members.cc
15923 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15925 esac
15927 # This is where the testsuite looks for locale catalogs, using the
15928 # -DLOCALEDIR define during testsuite compilation.
15929 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15932 # A standalone libintl (e.g., GNU libintl) may be in use.
15933 if test $USE_NLS = yes; then
15934 for ac_header in libintl.h
15935 do :
15936 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15937 if test "x$ac_cv_header_libintl_h" = x""yes; then :
15938 cat >>confdefs.h <<_ACEOF
15939 #define HAVE_LIBINTL_H 1
15940 _ACEOF
15942 else
15943 USE_NLS=no
15946 done
15948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
15949 $as_echo_n "checking for library containing gettext... " >&6; }
15950 if test "${ac_cv_search_gettext+set}" = set; then :
15951 $as_echo_n "(cached) " >&6
15952 else
15953 ac_func_search_save_LIBS=$LIBS
15954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15955 /* end confdefs.h. */
15957 /* Override any GCC internal prototype to avoid an error.
15958 Use char because int might match the return type of a GCC
15959 builtin and then its argument prototype would still apply. */
15960 #ifdef __cplusplus
15961 extern "C"
15962 #endif
15963 char gettext ();
15965 main ()
15967 return gettext ();
15969 return 0;
15971 _ACEOF
15972 for ac_lib in '' intl; do
15973 if test -z "$ac_lib"; then
15974 ac_res="none required"
15975 else
15976 ac_res=-l$ac_lib
15977 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15979 if test x$gcc_no_link = xyes; then
15980 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15982 if ac_fn_c_try_link "$LINENO"; then :
15983 ac_cv_search_gettext=$ac_res
15985 rm -f core conftest.err conftest.$ac_objext \
15986 conftest$ac_exeext
15987 if test "${ac_cv_search_gettext+set}" = set; then :
15988 break
15990 done
15991 if test "${ac_cv_search_gettext+set}" = set; then :
15993 else
15994 ac_cv_search_gettext=no
15996 rm conftest.$ac_ext
15997 LIBS=$ac_func_search_save_LIBS
15999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16000 $as_echo "$ac_cv_search_gettext" >&6; }
16001 ac_res=$ac_cv_search_gettext
16002 if test "$ac_res" != no; then :
16003 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16005 else
16006 USE_NLS=no
16010 if test $USE_NLS = yes; then
16012 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16032 $as_echo_n "checking for std::allocator base class... " >&6; }
16033 # Check whether --enable-libstdcxx-allocator was given.
16034 if test "${enable_libstdcxx_allocator+set}" = set; then :
16035 enableval=$enable_libstdcxx_allocator;
16036 case "$enableval" in
16037 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16038 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16039 esac
16041 else
16042 enable_libstdcxx_allocator=auto
16047 # If they didn't use this option switch, or if they specified --enable
16048 # with no specific model, we'll have to look for one. If they
16049 # specified --disable (???), do likewise.
16050 if test $enable_libstdcxx_allocator = no ||
16051 test $enable_libstdcxx_allocator = yes;
16052 then
16053 enable_libstdcxx_allocator=auto
16056 # Either a known package, or "auto". Auto implies the default choice
16057 # for a particular platform.
16058 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16060 # Probe for host-specific support if no specific model is specified.
16061 # Default to "new".
16062 if test $enable_libstdcxx_allocator_flag = auto; then
16063 case ${target_os} in
16064 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16065 enable_libstdcxx_allocator_flag=new
16068 enable_libstdcxx_allocator_flag=new
16070 esac
16072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16073 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16076 # Set configure bits for specified locale package
16077 case ${enable_libstdcxx_allocator_flag} in
16078 bitmap)
16079 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16080 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16082 malloc)
16083 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16084 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16087 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16088 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16090 new)
16091 ALLOCATOR_H=config/allocator/new_allocator_base.h
16092 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16094 pool)
16095 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16096 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16098 esac
16104 # Check whether --enable-cheaders was given.
16105 if test "${enable_cheaders+set}" = set; then :
16106 enableval=$enable_cheaders;
16107 case "$enableval" in
16108 c|c_std|c_global) ;;
16109 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16110 esac
16112 else
16113 enable_cheaders=$c_model
16117 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16118 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16120 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16122 # Allow overrides to configure.host here.
16123 if test $enable_cheaders = c_global; then
16124 c_compatibility=yes
16133 # Check whether --enable-long-long was given.
16134 if test "${enable_long_long+set}" = set; then :
16135 enableval=$enable_long_long;
16136 case "$enableval" in
16137 yes|no) ;;
16138 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16139 esac
16141 else
16142 enable_long_long=yes
16146 if test $enable_long_long = yes; then
16148 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16152 $as_echo_n "checking for enabled long long specializations... " >&6; }
16153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16154 $as_echo "$enable_long_long" >&6; }
16157 # Check whether --enable-wchar_t was given.
16158 if test "${enable_wchar_t+set}" = set; then :
16159 enableval=$enable_wchar_t;
16160 case "$enableval" in
16161 yes|no) ;;
16162 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16163 esac
16165 else
16166 enable_wchar_t=yes
16171 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16172 for ac_header in wchar.h
16173 do :
16174 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16175 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16176 cat >>confdefs.h <<_ACEOF
16177 #define HAVE_WCHAR_H 1
16178 _ACEOF
16179 ac_has_wchar_h=yes
16180 else
16181 ac_has_wchar_h=no
16184 done
16186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16187 $as_echo_n "checking for mbstate_t... " >&6; }
16188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16189 /* end confdefs.h. */
16190 #include <wchar.h>
16192 main ()
16194 mbstate_t teststate;
16196 return 0;
16198 _ACEOF
16199 if ac_fn_c_try_compile "$LINENO"; then :
16200 have_mbstate_t=yes
16201 else
16202 have_mbstate_t=no
16204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16206 $as_echo "$have_mbstate_t" >&6; }
16207 if test x"$have_mbstate_t" = xyes; then
16209 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16213 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16214 # ac_has_wchar_h.
16215 for ac_header in wctype.h
16216 do :
16217 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16218 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16219 cat >>confdefs.h <<_ACEOF
16220 #define HAVE_WCTYPE_H 1
16221 _ACEOF
16222 ac_has_wctype_h=yes
16223 else
16224 ac_has_wctype_h=no
16227 done
16230 if test x"$enable_wchar_t" = x"yes"; then
16233 ac_ext=cpp
16234 ac_cpp='$CXXCPP $CPPFLAGS'
16235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16240 if test x"$ac_has_wchar_h" = xyes &&
16241 test x"$ac_has_wctype_h" = xyes; then
16242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16243 /* end confdefs.h. */
16244 #include <wchar.h>
16245 #include <stddef.h>
16246 wint_t i;
16247 long l = WEOF;
16248 long j = WCHAR_MIN;
16249 long k = WCHAR_MAX;
16250 namespace test
16252 using ::btowc;
16253 using ::fgetwc;
16254 using ::fgetws;
16255 using ::fputwc;
16256 using ::fputws;
16257 using ::fwide;
16258 using ::fwprintf;
16259 using ::fwscanf;
16260 using ::getwc;
16261 using ::getwchar;
16262 using ::mbrlen;
16263 using ::mbrtowc;
16264 using ::mbsinit;
16265 using ::mbsrtowcs;
16266 using ::putwc;
16267 using ::putwchar;
16268 using ::swprintf;
16269 using ::swscanf;
16270 using ::ungetwc;
16271 using ::vfwprintf;
16272 using ::vswprintf;
16273 using ::vwprintf;
16274 using ::wcrtomb;
16275 using ::wcscat;
16276 using ::wcschr;
16277 using ::wcscmp;
16278 using ::wcscoll;
16279 using ::wcscpy;
16280 using ::wcscspn;
16281 using ::wcsftime;
16282 using ::wcslen;
16283 using ::wcsncat;
16284 using ::wcsncmp;
16285 using ::wcsncpy;
16286 using ::wcspbrk;
16287 using ::wcsrchr;
16288 using ::wcsrtombs;
16289 using ::wcsspn;
16290 using ::wcsstr;
16291 using ::wcstod;
16292 using ::wcstok;
16293 using ::wcstol;
16294 using ::wcstoul;
16295 using ::wcsxfrm;
16296 using ::wctob;
16297 using ::wmemchr;
16298 using ::wmemcmp;
16299 using ::wmemcpy;
16300 using ::wmemmove;
16301 using ::wmemset;
16302 using ::wprintf;
16303 using ::wscanf;
16307 main ()
16311 return 0;
16313 _ACEOF
16314 if ac_fn_cxx_try_compile "$LINENO"; then :
16316 else
16317 enable_wchar_t=no
16319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16320 else
16321 enable_wchar_t=no
16324 ac_ext=c
16325 ac_cpp='$CPP $CPPFLAGS'
16326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16332 if test x"$enable_wchar_t" = x"yes"; then
16334 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16339 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16341 $as_echo "$enable_wchar_t" >&6; }
16345 # Check whether --enable-c99 was given.
16346 if test "${enable_c99+set}" = set; then :
16347 enableval=$enable_c99;
16348 case "$enableval" in
16349 yes|no) ;;
16350 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16351 esac
16353 else
16354 enable_c99=yes
16359 if test x"$enable_c99" = x"yes"; then
16362 ac_ext=cpp
16363 ac_cpp='$CXXCPP $CPPFLAGS'
16364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16369 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16370 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16371 # spuriously enabled.
16372 # Long term, -std=c++0x could be even better, could manage to explicitely
16373 # request C99 facilities to the underlying C headers.
16374 ac_save_CXXFLAGS="$CXXFLAGS"
16375 CXXFLAGS="$CXXFLAGS -std=c++98"
16376 ac_save_LIBS="$LIBS"
16377 ac_save_gcc_no_link="$gcc_no_link"
16379 if test x$gcc_no_link != xyes; then
16380 # Use -fno-exceptions to that the C driver can link these tests without
16381 # hitting undefined references to personality routines.
16382 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16384 $as_echo_n "checking for sin in -lm... " >&6; }
16385 if test "${ac_cv_lib_m_sin+set}" = set; then :
16386 $as_echo_n "(cached) " >&6
16387 else
16388 ac_check_lib_save_LIBS=$LIBS
16389 LIBS="-lm $LIBS"
16390 if test x$gcc_no_link = xyes; then
16391 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16394 /* end confdefs.h. */
16396 /* Override any GCC internal prototype to avoid an error.
16397 Use char because int might match the return type of a GCC
16398 builtin and then its argument prototype would still apply. */
16399 #ifdef __cplusplus
16400 extern "C"
16401 #endif
16402 char sin ();
16404 main ()
16406 return sin ();
16408 return 0;
16410 _ACEOF
16411 if ac_fn_cxx_try_link "$LINENO"; then :
16412 ac_cv_lib_m_sin=yes
16413 else
16414 ac_cv_lib_m_sin=no
16416 rm -f core conftest.err conftest.$ac_objext \
16417 conftest$ac_exeext conftest.$ac_ext
16418 LIBS=$ac_check_lib_save_LIBS
16420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16421 $as_echo "$ac_cv_lib_m_sin" >&6; }
16422 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16424 LIBS="$LIBS -lm"
16426 else
16428 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16429 gcc_no_link=yes
16435 # Check for the existence of <math.h> functions used if C99 is enabled.
16436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16437 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16438 if test "${glibcxx_cv_c99_math+set}" = set; then :
16439 $as_echo_n "(cached) " >&6
16440 else
16442 if test x$gcc_no_link = xyes; then
16443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16444 /* end confdefs.h. */
16445 #include <math.h>
16446 volatile double d1, d2;
16447 volatile int i;
16449 main ()
16451 i = fpclassify(d1);
16452 i = isfinite(d1);
16453 i = isinf(d1);
16454 i = isnan(d1);
16455 i = isnormal(d1);
16456 i = signbit(d1);
16457 i = isgreater(d1, d2);
16458 i = isgreaterequal(d1, d2);
16459 i = isless(d1, d2);
16460 i = islessequal(d1, d2);
16461 i = islessgreater(d1, d2);
16462 i = islessgreater(d1, d2);
16463 i = isunordered(d1, d2);
16466 return 0;
16468 _ACEOF
16469 if ac_fn_cxx_try_compile "$LINENO"; then :
16470 glibcxx_cv_c99_math=yes
16471 else
16472 glibcxx_cv_c99_math=no
16474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16475 else
16476 if test x$gcc_no_link = xyes; then
16477 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16480 /* end confdefs.h. */
16481 #include <math.h>
16482 volatile double d1, d2;
16483 volatile int i;
16485 main ()
16487 i = fpclassify(d1);
16488 i = isfinite(d1);
16489 i = isinf(d1);
16490 i = isnan(d1);
16491 i = isnormal(d1);
16492 i = signbit(d1);
16493 i = isgreater(d1, d2);
16494 i = isgreaterequal(d1, d2);
16495 i = isless(d1, d2);
16496 i = islessequal(d1, d2);
16497 i = islessgreater(d1, d2);
16498 i = islessgreater(d1, d2);
16499 i = isunordered(d1, d2);
16502 return 0;
16504 _ACEOF
16505 if ac_fn_cxx_try_link "$LINENO"; then :
16506 glibcxx_cv_c99_math=yes
16507 else
16508 glibcxx_cv_c99_math=no
16510 rm -f core conftest.err conftest.$ac_objext \
16511 conftest$ac_exeext conftest.$ac_ext
16516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16517 $as_echo "$glibcxx_cv_c99_math" >&6; }
16518 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16520 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16524 # Check for the existence of <complex.h> complex math functions.
16525 # This is necessary even though libstdc++ uses the builtin versions
16526 # of these functions, because if the builtin cannot be used, a reference
16527 # to the library function is emitted.
16528 for ac_header in tgmath.h
16529 do :
16530 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16531 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16532 cat >>confdefs.h <<_ACEOF
16533 #define HAVE_TGMATH_H 1
16534 _ACEOF
16535 ac_has_tgmath_h=yes
16536 else
16537 ac_has_tgmath_h=no
16540 done
16542 for ac_header in complex.h
16543 do :
16544 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16545 if test "x$ac_cv_header_complex_h" = x""yes; then :
16546 cat >>confdefs.h <<_ACEOF
16547 #define HAVE_COMPLEX_H 1
16548 _ACEOF
16549 ac_has_complex_h=yes
16550 else
16551 ac_has_complex_h=no
16554 done
16556 glibcxx_cv_c99_complex=no;
16557 if test x"$ac_has_complex_h" = x"yes"; then
16558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16559 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16560 if test x$gcc_no_link = xyes; then
16561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16562 /* end confdefs.h. */
16563 #include <complex.h>
16564 typedef __complex__ float float_type;
16565 typedef __complex__ double double_type;
16566 typedef __complex__ long double ld_type;
16567 volatile float_type tmpf;
16568 volatile double_type tmpd;
16569 volatile ld_type tmpld;
16570 volatile float f;
16571 volatile double d;
16572 volatile long double ld;
16574 main ()
16576 f = cabsf(tmpf);
16577 f = cargf(tmpf);
16578 tmpf = ccosf(tmpf);
16579 tmpf = ccoshf(tmpf);
16580 tmpf = cexpf(tmpf);
16581 tmpf = clogf(tmpf);
16582 tmpf = csinf(tmpf);
16583 tmpf = csinhf(tmpf);
16584 tmpf = csqrtf(tmpf);
16585 tmpf = ctanf(tmpf);
16586 tmpf = ctanhf(tmpf);
16587 tmpf = cpowf(tmpf, tmpf);
16588 tmpf = cprojf(tmpf);
16589 d = cabs(tmpd);
16590 d = carg(tmpd);
16591 tmpd = ccos(tmpd);
16592 tmpd = ccosh(tmpd);
16593 tmpd = cexp(tmpd);
16594 tmpd = clog(tmpd);
16595 tmpd = csin(tmpd);
16596 tmpd = csinh(tmpd);
16597 tmpd = csqrt(tmpd);
16598 tmpd = ctan(tmpd);
16599 tmpd = ctanh(tmpd);
16600 tmpd = cpow(tmpd, tmpd);
16601 tmpd = cproj(tmpd);
16602 ld = cabsl(tmpld);
16603 ld = cargl(tmpld);
16604 tmpld = ccosl(tmpld);
16605 tmpld = ccoshl(tmpld);
16606 tmpld = cexpl(tmpld);
16607 tmpld = clogl(tmpld);
16608 tmpld = csinl(tmpld);
16609 tmpld = csinhl(tmpld);
16610 tmpld = csqrtl(tmpld);
16611 tmpld = ctanl(tmpld);
16612 tmpld = ctanhl(tmpld);
16613 tmpld = cpowl(tmpld, tmpld);
16614 tmpld = cprojl(tmpld);
16617 return 0;
16619 _ACEOF
16620 if ac_fn_cxx_try_compile "$LINENO"; then :
16621 glibcxx_cv_c99_complex=yes
16622 else
16623 glibcxx_cv_c99_complex=no
16625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16626 else
16627 if test x$gcc_no_link = xyes; then
16628 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16631 /* end confdefs.h. */
16632 #include <complex.h>
16633 typedef __complex__ float float_type;
16634 typedef __complex__ double double_type;
16635 typedef __complex__ long double ld_type;
16636 volatile float_type tmpf;
16637 volatile double_type tmpd;
16638 volatile ld_type tmpld;
16639 volatile float f;
16640 volatile double d;
16641 volatile long double ld;
16643 main ()
16645 f = cabsf(tmpf);
16646 f = cargf(tmpf);
16647 tmpf = ccosf(tmpf);
16648 tmpf = ccoshf(tmpf);
16649 tmpf = cexpf(tmpf);
16650 tmpf = clogf(tmpf);
16651 tmpf = csinf(tmpf);
16652 tmpf = csinhf(tmpf);
16653 tmpf = csqrtf(tmpf);
16654 tmpf = ctanf(tmpf);
16655 tmpf = ctanhf(tmpf);
16656 tmpf = cpowf(tmpf, tmpf);
16657 tmpf = cprojf(tmpf);
16658 d = cabs(tmpd);
16659 d = carg(tmpd);
16660 tmpd = ccos(tmpd);
16661 tmpd = ccosh(tmpd);
16662 tmpd = cexp(tmpd);
16663 tmpd = clog(tmpd);
16664 tmpd = csin(tmpd);
16665 tmpd = csinh(tmpd);
16666 tmpd = csqrt(tmpd);
16667 tmpd = ctan(tmpd);
16668 tmpd = ctanh(tmpd);
16669 tmpd = cpow(tmpd, tmpd);
16670 tmpd = cproj(tmpd);
16671 ld = cabsl(tmpld);
16672 ld = cargl(tmpld);
16673 tmpld = ccosl(tmpld);
16674 tmpld = ccoshl(tmpld);
16675 tmpld = cexpl(tmpld);
16676 tmpld = clogl(tmpld);
16677 tmpld = csinl(tmpld);
16678 tmpld = csinhl(tmpld);
16679 tmpld = csqrtl(tmpld);
16680 tmpld = ctanl(tmpld);
16681 tmpld = ctanhl(tmpld);
16682 tmpld = cpowl(tmpld, tmpld);
16683 tmpld = cprojl(tmpld);
16686 return 0;
16688 _ACEOF
16689 if ac_fn_cxx_try_link "$LINENO"; then :
16690 glibcxx_cv_c99_complex=yes
16691 else
16692 glibcxx_cv_c99_complex=no
16694 rm -f core conftest.err conftest.$ac_objext \
16695 conftest$ac_exeext conftest.$ac_ext
16698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16699 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16700 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16702 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16706 # Check for the existence in <stdio.h> of vscanf, et. al.
16707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16708 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16709 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16710 $as_echo_n "(cached) " >&6
16711 else
16713 if test x$gcc_no_link = xyes; then
16714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16715 /* end confdefs.h. */
16716 #include <stdio.h>
16717 #include <stdarg.h>
16718 void foo(char* fmt, ...)
16720 va_list args; va_start(args, fmt);
16721 vfscanf(stderr, "%i", args);
16722 vscanf("%i", args);
16723 vsnprintf(fmt, 0, "%i", args);
16724 vsscanf(fmt, "%i", args);
16727 main ()
16729 snprintf("12", 0, "%i");
16731 return 0;
16733 _ACEOF
16734 if ac_fn_cxx_try_compile "$LINENO"; then :
16735 glibcxx_cv_c99_stdio=yes
16736 else
16737 glibcxx_cv_c99_stdio=no
16739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16740 else
16741 if test x$gcc_no_link = xyes; then
16742 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16745 /* end confdefs.h. */
16746 #include <stdio.h>
16747 #include <stdarg.h>
16748 void foo(char* fmt, ...)
16750 va_list args; va_start(args, fmt);
16751 vfscanf(stderr, "%i", args);
16752 vscanf("%i", args);
16753 vsnprintf(fmt, 0, "%i", args);
16754 vsscanf(fmt, "%i", args);
16757 main ()
16759 snprintf("12", 0, "%i");
16761 return 0;
16763 _ACEOF
16764 if ac_fn_cxx_try_link "$LINENO"; then :
16765 glibcxx_cv_c99_stdio=yes
16766 else
16767 glibcxx_cv_c99_stdio=no
16769 rm -f core conftest.err conftest.$ac_objext \
16770 conftest$ac_exeext conftest.$ac_ext
16775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16776 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16778 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16780 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16781 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16782 $as_echo_n "(cached) " >&6
16783 else
16785 if test x$gcc_no_link = xyes; then
16786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16787 /* end confdefs.h. */
16788 #include <stdlib.h>
16789 volatile float f;
16790 volatile long double ld;
16791 volatile unsigned long long ll;
16792 lldiv_t mydivt;
16794 main ()
16796 char* tmp;
16797 f = strtof("gnu", &tmp);
16798 ld = strtold("gnu", &tmp);
16799 ll = strtoll("gnu", &tmp, 10);
16800 ll = strtoull("gnu", &tmp, 10);
16801 ll = llabs(10);
16802 mydivt = lldiv(10,1);
16803 ll = mydivt.quot;
16804 ll = mydivt.rem;
16805 ll = atoll("10");
16806 _Exit(0);
16809 return 0;
16811 _ACEOF
16812 if ac_fn_cxx_try_compile "$LINENO"; then :
16813 glibcxx_cv_c99_stdlib=yes
16814 else
16815 glibcxx_cv_c99_stdlib=no
16817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16818 else
16819 if test x$gcc_no_link = xyes; then
16820 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16823 /* end confdefs.h. */
16824 #include <stdlib.h>
16825 volatile float f;
16826 volatile long double ld;
16827 volatile unsigned long long ll;
16828 lldiv_t mydivt;
16830 main ()
16832 char* tmp;
16833 f = strtof("gnu", &tmp);
16834 ld = strtold("gnu", &tmp);
16835 ll = strtoll("gnu", &tmp, 10);
16836 ll = strtoull("gnu", &tmp, 10);
16837 ll = llabs(10);
16838 mydivt = lldiv(10,1);
16839 ll = mydivt.quot;
16840 ll = mydivt.rem;
16841 ll = atoll("10");
16842 _Exit(0);
16845 return 0;
16847 _ACEOF
16848 if ac_fn_cxx_try_link "$LINENO"; then :
16849 glibcxx_cv_c99_stdlib=yes
16850 else
16851 glibcxx_cv_c99_stdlib=no
16853 rm -f core conftest.err conftest.$ac_objext \
16854 conftest$ac_exeext conftest.$ac_ext
16859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16860 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16862 # Check for the existence in <wchar.h> of wcstold, etc.
16863 glibcxx_cv_c99_wchar=no;
16864 if test x"$ac_has_wchar_h" = xyes &&
16865 test x"$ac_has_wctype_h" = xyes; then
16866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16867 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16869 /* end confdefs.h. */
16870 #include <wchar.h>
16871 namespace test
16873 using ::wcstold;
16874 using ::wcstoll;
16875 using ::wcstoull;
16879 main ()
16883 return 0;
16885 _ACEOF
16886 if ac_fn_cxx_try_compile "$LINENO"; then :
16887 glibcxx_cv_c99_wchar=yes
16888 else
16889 glibcxx_cv_c99_wchar=no
16891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16893 # Checks for wide character functions that may not be present.
16894 # Injection of these is wrapped with guard macros.
16895 # NB: only put functions here, instead of immediately above, if
16896 # absolutely necessary.
16897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16898 /* end confdefs.h. */
16899 #include <wchar.h>
16900 namespace test { using ::vfwscanf; }
16902 main ()
16906 return 0;
16908 _ACEOF
16909 if ac_fn_cxx_try_compile "$LINENO"; then :
16911 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
16914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16917 /* end confdefs.h. */
16918 #include <wchar.h>
16919 namespace test { using ::vswscanf; }
16921 main ()
16925 return 0;
16927 _ACEOF
16928 if ac_fn_cxx_try_compile "$LINENO"; then :
16930 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
16933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16936 /* end confdefs.h. */
16937 #include <wchar.h>
16938 namespace test { using ::vwscanf; }
16940 main ()
16944 return 0;
16946 _ACEOF
16947 if ac_fn_cxx_try_compile "$LINENO"; then :
16949 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
16952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16955 /* end confdefs.h. */
16956 #include <wchar.h>
16957 namespace test { using ::wcstof; }
16959 main ()
16963 return 0;
16965 _ACEOF
16966 if ac_fn_cxx_try_compile "$LINENO"; then :
16968 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
16971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16974 /* end confdefs.h. */
16975 #include <wctype.h>
16977 main ()
16979 wint_t t; int i = iswblank(t);
16981 return 0;
16983 _ACEOF
16984 if ac_fn_cxx_try_compile "$LINENO"; then :
16986 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
16989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
16992 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
16995 # Option parsed, now set things appropriately.
16996 if test x"$glibcxx_cv_c99_math" = x"no" ||
16997 test x"$glibcxx_cv_c99_complex" = x"no" ||
16998 test x"$glibcxx_cv_c99_stdio" = x"no" ||
16999 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17000 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17001 enable_c99=no;
17002 else
17004 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17008 gcc_no_link="$ac_save_gcc_no_link"
17009 LIBS="$ac_save_LIBS"
17010 CXXFLAGS="$ac_save_CXXFLAGS"
17011 ac_ext=c
17012 ac_cpp='$CPP $CPPFLAGS'
17013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17020 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17022 $as_echo "$enable_c99" >&6; }
17025 # Check whether --enable-concept-checks was given.
17026 if test "${enable_concept_checks+set}" = set; then :
17027 enableval=$enable_concept_checks;
17028 case "$enableval" in
17029 yes|no) ;;
17030 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17031 esac
17033 else
17034 enable_concept_checks=no
17038 if test $enable_concept_checks = yes; then
17040 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17045 # Check whether --enable-libstdcxx-debug-flags was given.
17046 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17047 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17048 xno | x) enable_libstdcxx_debug_flags= ;;
17049 x-*) ;;
17050 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17051 esac
17052 else
17053 enable_libstdcxx_debug_flags="-g3 -O0"
17058 # Option parsed, now set things appropriately
17059 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17062 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17063 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17067 $as_echo_n "checking for additional debug build... " >&6; }
17068 # Check whether --enable-libstdcxx-debug was given.
17069 if test "${enable_libstdcxx_debug+set}" = set; then :
17070 enableval=$enable_libstdcxx_debug;
17071 case "$enableval" in
17072 yes|no) ;;
17073 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17074 esac
17076 else
17077 enable_libstdcxx_debug=no
17081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17082 $as_echo "$enable_libstdcxx_debug" >&6; }
17087 enable_parallel=no;
17089 # See if configured libgomp/omp.h exists. (libgomp may be in
17090 # noconfigdirs but not explicitly disabled.)
17091 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17092 enable_parallel=yes;
17093 else
17094 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17095 $as_echo "$as_me: target-libgomp not built" >&6;}
17098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17099 $as_echo_n "checking for parallel mode support... " >&6; }
17100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17101 $as_echo "$enable_parallel" >&6; }
17104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17105 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17106 # Check whether --enable-cxx-flags was given.
17107 if test "${enable_cxx_flags+set}" = set; then :
17108 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17109 xno | x) enable_cxx_flags= ;;
17110 x-*) ;;
17111 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17112 esac
17113 else
17114 enable_cxx_flags=
17119 # Run through flags (either default or command-line) and set anything
17120 # extra (e.g., #defines) that must accompany particular g++ options.
17121 if test -n "$enable_cxx_flags"; then
17122 for f in $enable_cxx_flags; do
17123 case "$f" in
17124 -fhonor-std) ;;
17125 -*) ;;
17126 *) # and we're trying to pass /what/ exactly?
17127 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17128 esac
17129 done
17132 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17134 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17138 # Check whether --enable-fully-dynamic-string was given.
17139 if test "${enable_fully_dynamic_string+set}" = set; then :
17140 enableval=$enable_fully_dynamic_string;
17141 case "$enableval" in
17142 yes|no) ;;
17143 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17144 esac
17146 else
17147 enable_fully_dynamic_string=no
17151 if test $enable_fully_dynamic_string = yes; then
17153 $as_echo "#define _GLIBCXX_FULLY_DYNAMIC_STRING 1" >>confdefs.h
17159 # Check whether --enable-extern-template was given.
17160 if test "${enable_extern_template+set}" = set; then :
17161 enableval=$enable_extern_template;
17162 case "$enableval" in
17163 yes|no) ;;
17164 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17165 esac
17167 else
17168 enable_extern_template=yes
17173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17174 $as_echo_n "checking for extern template support... " >&6; }
17175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17176 $as_echo "$enable_extern_template" >&6; }
17181 # Checks for operating systems support that doesn't require linking.
17184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17185 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17186 if test "${glibcxx_cv_system_error1+set}" = set; then :
17187 $as_echo_n "(cached) " >&6
17188 else
17190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17191 /* end confdefs.h. */
17192 #include <errno.h>
17194 main ()
17196 int i = EOWNERDEAD;
17198 return 0;
17200 _ACEOF
17201 if ac_fn_c_try_compile "$LINENO"; then :
17202 glibcxx_cv_system_error1=yes
17203 else
17204 glibcxx_cv_system_error1=no
17206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17211 $as_echo "$glibcxx_cv_system_error1" >&6; }
17212 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17214 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17218 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17219 if test "${glibcxx_cv_system_error2+set}" = set; then :
17220 $as_echo_n "(cached) " >&6
17221 else
17223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17224 /* end confdefs.h. */
17225 #include <errno.h>
17227 main ()
17229 int i = ENOTRECOVERABLE;
17231 return 0;
17233 _ACEOF
17234 if ac_fn_c_try_compile "$LINENO"; then :
17235 glibcxx_cv_system_error2=yes
17236 else
17237 glibcxx_cv_system_error2=no
17239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17244 $as_echo "$glibcxx_cv_system_error2" >&6; }
17245 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17247 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17251 $as_echo_n "checking for ENOLINK... " >&6; }
17252 if test "${glibcxx_cv_system_error3+set}" = set; then :
17253 $as_echo_n "(cached) " >&6
17254 else
17256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17257 /* end confdefs.h. */
17258 #include <errno.h>
17260 main ()
17262 int i = ENOLINK;
17264 return 0;
17266 _ACEOF
17267 if ac_fn_c_try_compile "$LINENO"; then :
17268 glibcxx_cv_system_error3=yes
17269 else
17270 glibcxx_cv_system_error3=no
17272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17277 $as_echo "$glibcxx_cv_system_error3" >&6; }
17278 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17280 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17284 $as_echo_n "checking for EPROTO... " >&6; }
17285 if test "${glibcxx_cv_system_error4+set}" = set; then :
17286 $as_echo_n "(cached) " >&6
17287 else
17289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17290 /* end confdefs.h. */
17291 #include <errno.h>
17293 main ()
17295 int i = EPROTO;
17297 return 0;
17299 _ACEOF
17300 if ac_fn_c_try_compile "$LINENO"; then :
17301 glibcxx_cv_system_error4=yes
17302 else
17303 glibcxx_cv_system_error4=no
17305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17310 $as_echo "$glibcxx_cv_system_error4" >&6; }
17311 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17313 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17317 $as_echo_n "checking for ENODATA... " >&6; }
17318 if test "${glibcxx_cv_system_error5+set}" = set; then :
17319 $as_echo_n "(cached) " >&6
17320 else
17322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17323 /* end confdefs.h. */
17324 #include <errno.h>
17326 main ()
17328 int i = ENODATA;
17330 return 0;
17332 _ACEOF
17333 if ac_fn_c_try_compile "$LINENO"; then :
17334 glibcxx_cv_system_error5=yes
17335 else
17336 glibcxx_cv_system_error5=no
17338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17343 $as_echo "$glibcxx_cv_system_error5" >&6; }
17344 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17346 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17350 $as_echo_n "checking for ENOSR... " >&6; }
17351 if test "${glibcxx_cv_system_error6+set}" = set; then :
17352 $as_echo_n "(cached) " >&6
17353 else
17355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17356 /* end confdefs.h. */
17357 #include <errno.h>
17359 main ()
17361 int i = ENOSR;
17363 return 0;
17365 _ACEOF
17366 if ac_fn_c_try_compile "$LINENO"; then :
17367 glibcxx_cv_system_error6=yes
17368 else
17369 glibcxx_cv_system_error6=no
17371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17376 $as_echo "$glibcxx_cv_system_error6" >&6; }
17377 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17379 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17383 $as_echo_n "checking for ENOSTR... " >&6; }
17384 if test "${glibcxx_cv_system_error7+set}" = set; then :
17385 $as_echo_n "(cached) " >&6
17386 else
17388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17389 /* end confdefs.h. */
17390 #include <errno.h>
17392 main ()
17394 int i = ENOSTR;
17396 return 0;
17398 _ACEOF
17399 if ac_fn_c_try_compile "$LINENO"; then :
17400 glibcxx_cv_system_error7=yes
17401 else
17402 glibcxx_cv_system_error7=no
17404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17409 $as_echo "$glibcxx_cv_system_error7" >&6; }
17410 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17412 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17416 $as_echo_n "checking for ETIME... " >&6; }
17417 if test "${glibcxx_cv_system_error8+set}" = set; then :
17418 $as_echo_n "(cached) " >&6
17419 else
17421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17422 /* end confdefs.h. */
17423 #include <errno.h>
17425 main ()
17427 int i = ETIME;
17429 return 0;
17431 _ACEOF
17432 if ac_fn_c_try_compile "$LINENO"; then :
17433 glibcxx_cv_system_error8=yes
17434 else
17435 glibcxx_cv_system_error8=no
17437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17442 $as_echo "$glibcxx_cv_system_error8" >&6; }
17443 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17445 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17449 $as_echo_n "checking for EBADMSG... " >&6; }
17450 if test "${glibcxx_cv_system_error9+set}" = set; then :
17451 $as_echo_n "(cached) " >&6
17452 else
17454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17455 /* end confdefs.h. */
17456 #include <errno.h>
17458 main ()
17460 int i = EBADMSG;
17462 return 0;
17464 _ACEOF
17465 if ac_fn_c_try_compile "$LINENO"; then :
17466 glibcxx_cv_system_error9=yes
17467 else
17468 glibcxx_cv_system_error9=no
17470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17475 $as_echo "$glibcxx_cv_system_error9" >&6; }
17476 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17478 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17482 $as_echo_n "checking for ECANCELED... " >&6; }
17483 if test "${glibcxx_cv_system_error10+set}" = set; then :
17484 $as_echo_n "(cached) " >&6
17485 else
17487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17488 /* end confdefs.h. */
17489 #include <errno.h>
17491 main ()
17493 int i = ECANCELED;
17495 return 0;
17497 _ACEOF
17498 if ac_fn_c_try_compile "$LINENO"; then :
17499 glibcxx_cv_system_error10=yes
17500 else
17501 glibcxx_cv_system_error10=no
17503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17508 $as_echo "$glibcxx_cv_system_error10" >&6; }
17509 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17511 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17515 $as_echo_n "checking for EOVERFLOW... " >&6; }
17516 if test "${glibcxx_cv_system_error11+set}" = set; then :
17517 $as_echo_n "(cached) " >&6
17518 else
17520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17521 /* end confdefs.h. */
17522 #include <errno.h>
17524 main ()
17526 int i = EOVERFLOW;
17528 return 0;
17530 _ACEOF
17531 if ac_fn_c_try_compile "$LINENO"; then :
17532 glibcxx_cv_system_error11=yes
17533 else
17534 glibcxx_cv_system_error11=no
17536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17541 $as_echo "$glibcxx_cv_system_error11" >&6; }
17542 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17544 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17548 $as_echo_n "checking for ENOTSUP... " >&6; }
17549 if test "${glibcxx_cv_system_error12+set}" = set; then :
17550 $as_echo_n "(cached) " >&6
17551 else
17553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17554 /* end confdefs.h. */
17555 #include <errno.h>
17557 main ()
17559 int i = ENOTSUP;
17561 return 0;
17563 _ACEOF
17564 if ac_fn_c_try_compile "$LINENO"; then :
17565 glibcxx_cv_system_error12=yes
17566 else
17567 glibcxx_cv_system_error12=no
17569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17574 $as_echo "$glibcxx_cv_system_error12" >&6; }
17575 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17577 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17581 $as_echo_n "checking for EIDRM... " >&6; }
17582 if test "${glibcxx_cv_system_error13+set}" = set; then :
17583 $as_echo_n "(cached) " >&6
17584 else
17586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17587 /* end confdefs.h. */
17588 #include <errno.h>
17590 main ()
17592 int i = EIDRM;
17594 return 0;
17596 _ACEOF
17597 if ac_fn_c_try_compile "$LINENO"; then :
17598 glibcxx_cv_system_error13=yes
17599 else
17600 glibcxx_cv_system_error13=no
17602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17607 $as_echo "$glibcxx_cv_system_error13" >&6; }
17608 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17610 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17614 $as_echo_n "checking for ETXTBSY... " >&6; }
17615 if test "${glibcxx_cv_system_error14+set}" = set; then :
17616 $as_echo_n "(cached) " >&6
17617 else
17619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17620 /* end confdefs.h. */
17621 #include <errno.h>
17623 main ()
17625 int i = ETXTBSY;
17627 return 0;
17629 _ACEOF
17630 if ac_fn_c_try_compile "$LINENO"; then :
17631 glibcxx_cv_system_error14=yes
17632 else
17633 glibcxx_cv_system_error14=no
17635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17640 $as_echo "$glibcxx_cv_system_error14" >&6; }
17641 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17643 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17649 # For the streamoff typedef.
17653 ac_ext=cpp
17654 ac_cpp='$CXXCPP $CPPFLAGS'
17655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
17661 $as_echo_n "checking for int64_t... " >&6; }
17662 if test "${glibcxx_cv_INT64_T+set}" = set; then :
17663 $as_echo_n "(cached) " >&6
17664 else
17666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17667 /* end confdefs.h. */
17668 #include <stdint.h>
17670 main ()
17672 int64_t var;
17674 return 0;
17676 _ACEOF
17677 if ac_fn_cxx_try_compile "$LINENO"; then :
17678 glibcxx_cv_INT64_T=yes
17679 else
17680 glibcxx_cv_INT64_T=no
17682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17687 if test $glibcxx_cv_INT64_T = yes; then
17689 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
17691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
17692 $as_echo "$glibcxx_cv_INT64_T" >&6; }
17694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
17695 $as_echo_n "checking for int64_t as long... " >&6; }
17696 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
17697 $as_echo_n "(cached) " >&6
17698 else
17700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17701 /* end confdefs.h. */
17702 #include <stdint.h>
17703 template<typename, typename> struct same { enum { value = -1 }; };
17704 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17705 int array[same<int64_t, long>::value];
17707 main ()
17711 return 0;
17713 _ACEOF
17714 if ac_fn_cxx_try_compile "$LINENO"; then :
17715 glibcxx_cv_int64_t_long=yes
17716 else
17717 glibcxx_cv_int64_t_long=no
17719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17724 if test $glibcxx_cv_int64_t_long = yes; then
17726 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
17728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
17729 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
17732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
17733 $as_echo_n "checking for int64_t as long long... " >&6; }
17734 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
17735 $as_echo_n "(cached) " >&6
17736 else
17738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17739 /* end confdefs.h. */
17740 #include <stdint.h>
17741 template<typename, typename> struct same { enum { value = -1 }; };
17742 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17743 int array[same<int64_t, long long>::value];
17745 main ()
17749 return 0;
17751 _ACEOF
17752 if ac_fn_cxx_try_compile "$LINENO"; then :
17753 glibcxx_cv_int64_t_long_long=yes
17754 else
17755 glibcxx_cv_int64_t_long_long=no
17757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17762 if test $glibcxx_cv_int64_t_long_long = yes; then
17764 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
17766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
17767 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
17771 ac_ext=c
17772 ac_cpp='$CPP $CPPFLAGS'
17773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17779 # For LFS support.
17782 ac_ext=cpp
17783 ac_cpp='$CXXCPP $CPPFLAGS'
17784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17788 ac_save_CXXFLAGS="$CXXFLAGS"
17789 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
17791 $as_echo_n "checking for LFS support... " >&6; }
17792 if test "${glibcxx_cv_LFS+set}" = set; then :
17793 $as_echo_n "(cached) " >&6
17794 else
17796 if test x$gcc_no_link = xyes; then
17797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17798 /* end confdefs.h. */
17799 #include <unistd.h>
17800 #include <stdio.h>
17801 #include <sys/stat.h>
17804 main ()
17806 FILE* fp;
17807 fopen64("t", "w");
17808 fseeko64(fp, 0, SEEK_CUR);
17809 ftello64(fp);
17810 lseek64(1, 0, SEEK_CUR);
17811 struct stat64 buf;
17812 fstat64(1, &buf);
17814 return 0;
17816 _ACEOF
17817 if ac_fn_cxx_try_compile "$LINENO"; then :
17818 glibcxx_cv_LFS=yes
17819 else
17820 glibcxx_cv_LFS=no
17822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17823 else
17824 if test x$gcc_no_link = xyes; then
17825 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17828 /* end confdefs.h. */
17829 #include <unistd.h>
17830 #include <stdio.h>
17831 #include <sys/stat.h>
17834 main ()
17836 FILE* fp;
17837 fopen64("t", "w");
17838 fseeko64(fp, 0, SEEK_CUR);
17839 ftello64(fp);
17840 lseek64(1, 0, SEEK_CUR);
17841 struct stat64 buf;
17842 fstat64(1, &buf);
17844 return 0;
17846 _ACEOF
17847 if ac_fn_cxx_try_link "$LINENO"; then :
17848 glibcxx_cv_LFS=yes
17849 else
17850 glibcxx_cv_LFS=no
17852 rm -f core conftest.err conftest.$ac_objext \
17853 conftest$ac_exeext conftest.$ac_ext
17858 if test $glibcxx_cv_LFS = yes; then
17860 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
17863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
17864 $as_echo "$glibcxx_cv_LFS" >&6; }
17865 CXXFLAGS="$ac_save_CXXFLAGS"
17866 ac_ext=c
17867 ac_cpp='$CPP $CPPFLAGS'
17868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17874 # For showmanyc_helper().
17875 for ac_header in sys/ioctl.h sys/filio.h
17876 do :
17877 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17878 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17879 eval as_val=\$$as_ac_Header
17880 if test "x$as_val" = x""yes; then :
17881 cat >>confdefs.h <<_ACEOF
17882 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17883 _ACEOF
17887 done
17892 ac_ext=cpp
17893 ac_cpp='$CXXCPP $CPPFLAGS'
17894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17898 ac_save_CXXFLAGS="$CXXFLAGS"
17899 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
17902 $as_echo_n "checking for poll... " >&6; }
17903 if test "${glibcxx_cv_POLL+set}" = set; then :
17904 $as_echo_n "(cached) " >&6
17905 else
17907 if test x$gcc_no_link = xyes; then
17908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17909 /* end confdefs.h. */
17910 #include <poll.h>
17912 main ()
17914 struct pollfd pfd[1];
17915 pfd[0].events = POLLIN;
17916 poll(pfd, 1, 0);
17918 return 0;
17920 _ACEOF
17921 if ac_fn_cxx_try_compile "$LINENO"; then :
17922 glibcxx_cv_POLL=yes
17923 else
17924 glibcxx_cv_POLL=no
17926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17927 else
17928 if test x$gcc_no_link = xyes; then
17929 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17932 /* end confdefs.h. */
17933 #include <poll.h>
17935 main ()
17937 struct pollfd pfd[1];
17938 pfd[0].events = POLLIN;
17939 poll(pfd, 1, 0);
17941 return 0;
17943 _ACEOF
17944 if ac_fn_cxx_try_link "$LINENO"; then :
17945 glibcxx_cv_POLL=yes
17946 else
17947 glibcxx_cv_POLL=no
17949 rm -f core conftest.err conftest.$ac_objext \
17950 conftest$ac_exeext conftest.$ac_ext
17955 if test $glibcxx_cv_POLL = yes; then
17957 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
17961 $as_echo "$glibcxx_cv_POLL" >&6; }
17963 CXXFLAGS="$ac_save_CXXFLAGS"
17964 ac_ext=c
17965 ac_cpp='$CPP $CPPFLAGS'
17966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17974 ac_ext=cpp
17975 ac_cpp='$CXXCPP $CPPFLAGS'
17976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17980 ac_save_CXXFLAGS="$CXXFLAGS"
17981 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
17984 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
17985 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
17986 $as_echo_n "(cached) " >&6
17987 else
17989 if test x$gcc_no_link = xyes; then
17990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17991 /* end confdefs.h. */
17992 #include <sys/stat.h>
17994 main ()
17996 struct stat buffer;
17997 fstat(0, &buffer);
17998 S_ISREG(buffer.st_mode);
18000 return 0;
18002 _ACEOF
18003 if ac_fn_cxx_try_compile "$LINENO"; then :
18004 glibcxx_cv_S_ISREG=yes
18005 else
18006 glibcxx_cv_S_ISREG=no
18008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18009 else
18010 if test x$gcc_no_link = xyes; then
18011 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18014 /* end confdefs.h. */
18015 #include <sys/stat.h>
18017 main ()
18019 struct stat buffer;
18020 fstat(0, &buffer);
18021 S_ISREG(buffer.st_mode);
18023 return 0;
18025 _ACEOF
18026 if ac_fn_cxx_try_link "$LINENO"; then :
18027 glibcxx_cv_S_ISREG=yes
18028 else
18029 glibcxx_cv_S_ISREG=no
18031 rm -f core conftest.err conftest.$ac_objext \
18032 conftest$ac_exeext conftest.$ac_ext
18037 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18038 $as_echo_n "(cached) " >&6
18039 else
18041 if test x$gcc_no_link = xyes; then
18042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18043 /* end confdefs.h. */
18044 #include <sys/stat.h>
18046 main ()
18048 struct stat buffer;
18049 fstat(0, &buffer);
18050 S_IFREG & buffer.st_mode;
18052 return 0;
18054 _ACEOF
18055 if ac_fn_cxx_try_compile "$LINENO"; then :
18056 glibcxx_cv_S_IFREG=yes
18057 else
18058 glibcxx_cv_S_IFREG=no
18060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18061 else
18062 if test x$gcc_no_link = xyes; then
18063 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18066 /* end confdefs.h. */
18067 #include <sys/stat.h>
18069 main ()
18071 struct stat buffer;
18072 fstat(0, &buffer);
18073 S_IFREG & buffer.st_mode;
18075 return 0;
18077 _ACEOF
18078 if ac_fn_cxx_try_link "$LINENO"; then :
18079 glibcxx_cv_S_IFREG=yes
18080 else
18081 glibcxx_cv_S_IFREG=no
18083 rm -f core conftest.err conftest.$ac_objext \
18084 conftest$ac_exeext conftest.$ac_ext
18089 res=no
18090 if test $glibcxx_cv_S_ISREG = yes; then
18092 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18094 res=S_ISREG
18095 elif test $glibcxx_cv_S_IFREG = yes; then
18097 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18099 res=S_IFREG
18101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18102 $as_echo "$res" >&6; }
18104 CXXFLAGS="$ac_save_CXXFLAGS"
18105 ac_ext=c
18106 ac_cpp='$CPP $CPPFLAGS'
18107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18113 # For xsputn_2().
18114 for ac_header in sys/uio.h
18115 do :
18116 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18117 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18118 cat >>confdefs.h <<_ACEOF
18119 #define HAVE_SYS_UIO_H 1
18120 _ACEOF
18124 done
18129 ac_ext=cpp
18130 ac_cpp='$CXXCPP $CPPFLAGS'
18131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18135 ac_save_CXXFLAGS="$CXXFLAGS"
18136 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18139 $as_echo_n "checking for writev... " >&6; }
18140 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18141 $as_echo_n "(cached) " >&6
18142 else
18144 if test x$gcc_no_link = xyes; then
18145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18146 /* end confdefs.h. */
18147 #include <sys/uio.h>
18149 main ()
18151 struct iovec iov[2];
18152 writev(0, iov, 0);
18154 return 0;
18156 _ACEOF
18157 if ac_fn_cxx_try_compile "$LINENO"; then :
18158 glibcxx_cv_WRITEV=yes
18159 else
18160 glibcxx_cv_WRITEV=no
18162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18163 else
18164 if test x$gcc_no_link = xyes; then
18165 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18168 /* end confdefs.h. */
18169 #include <sys/uio.h>
18171 main ()
18173 struct iovec iov[2];
18174 writev(0, iov, 0);
18176 return 0;
18178 _ACEOF
18179 if ac_fn_cxx_try_link "$LINENO"; then :
18180 glibcxx_cv_WRITEV=yes
18181 else
18182 glibcxx_cv_WRITEV=no
18184 rm -f core conftest.err conftest.$ac_objext \
18185 conftest$ac_exeext conftest.$ac_ext
18190 if test $glibcxx_cv_WRITEV = yes; then
18192 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18196 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18198 CXXFLAGS="$ac_save_CXXFLAGS"
18199 ac_ext=c
18200 ac_cpp='$CPP $CPPFLAGS'
18201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18207 # For C99 support to TR1.
18211 ac_ext=cpp
18212 ac_cpp='$CXXCPP $CPPFLAGS'
18213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18218 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18219 # undefined and fake C99 facilities may be spuriously enabled.
18220 ac_save_CXXFLAGS="$CXXFLAGS"
18221 CXXFLAGS="$CXXFLAGS -std=c++98"
18223 # Check for the existence of <complex.h> complex math functions used
18224 # by tr1/complex.
18225 for ac_header in complex.h
18226 do :
18227 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18228 if test "x$ac_cv_header_complex_h" = x""yes; then :
18229 cat >>confdefs.h <<_ACEOF
18230 #define HAVE_COMPLEX_H 1
18231 _ACEOF
18232 ac_has_complex_h=yes
18233 else
18234 ac_has_complex_h=no
18237 done
18239 ac_c99_complex_tr1=no;
18240 if test x"$ac_has_complex_h" = x"yes"; then
18241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18242 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18244 /* end confdefs.h. */
18245 #include <complex.h>
18247 main ()
18249 typedef __complex__ float float_type; float_type tmpf;
18250 cacosf(tmpf);
18251 casinf(tmpf);
18252 catanf(tmpf);
18253 cacoshf(tmpf);
18254 casinhf(tmpf);
18255 catanhf(tmpf);
18256 typedef __complex__ double double_type; double_type tmpd;
18257 cacos(tmpd);
18258 casin(tmpd);
18259 catan(tmpd);
18260 cacosh(tmpd);
18261 casinh(tmpd);
18262 catanh(tmpd);
18263 typedef __complex__ long double ld_type; ld_type tmpld;
18264 cacosl(tmpld);
18265 casinl(tmpld);
18266 catanl(tmpld);
18267 cacoshl(tmpld);
18268 casinhl(tmpld);
18269 catanhl(tmpld);
18272 return 0;
18274 _ACEOF
18275 if ac_fn_cxx_try_compile "$LINENO"; then :
18276 ac_c99_complex_tr1=yes
18277 else
18278 ac_c99_complex_tr1=no
18280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18283 $as_echo "$ac_c99_complex_tr1" >&6; }
18284 if test x"$ac_c99_complex_tr1" = x"yes"; then
18286 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18290 # Check for the existence of <ctype.h> functions.
18291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18292 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18293 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18294 $as_echo_n "(cached) " >&6
18295 else
18297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18298 /* end confdefs.h. */
18299 #include <ctype.h>
18301 main ()
18303 int ch;
18304 int ret;
18305 ret = isblank(ch);
18308 return 0;
18310 _ACEOF
18311 if ac_fn_cxx_try_compile "$LINENO"; then :
18312 glibcxx_cv_c99_ctype_tr1=yes
18313 else
18314 glibcxx_cv_c99_ctype_tr1=no
18316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18321 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18322 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18324 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18328 # Check for the existence of <fenv.h> functions.
18329 for ac_header in fenv.h
18330 do :
18331 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18332 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18333 cat >>confdefs.h <<_ACEOF
18334 #define HAVE_FENV_H 1
18335 _ACEOF
18336 ac_has_fenv_h=yes
18337 else
18338 ac_has_fenv_h=no
18341 done
18343 ac_c99_fenv_tr1=no;
18344 if test x"$ac_has_fenv_h" = x"yes"; then
18345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18346 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18348 /* end confdefs.h. */
18349 #include <fenv.h>
18351 main ()
18353 int except, mode;
18354 fexcept_t* pflag;
18355 fenv_t* penv;
18356 int ret;
18357 ret = feclearexcept(except);
18358 ret = fegetexceptflag(pflag, except);
18359 ret = feraiseexcept(except);
18360 ret = fesetexceptflag(pflag, except);
18361 ret = fetestexcept(except);
18362 ret = fegetround();
18363 ret = fesetround(mode);
18364 ret = fegetenv(penv);
18365 ret = feholdexcept(penv);
18366 ret = fesetenv(penv);
18367 ret = feupdateenv(penv);
18370 return 0;
18372 _ACEOF
18373 if ac_fn_cxx_try_compile "$LINENO"; then :
18374 ac_c99_fenv_tr1=yes
18375 else
18376 ac_c99_fenv_tr1=no
18378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18381 $as_echo "$ac_c99_fenv_tr1" >&6; }
18382 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18384 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18388 # Check for the existence of <stdint.h> types.
18389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18390 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18391 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18392 $as_echo_n "(cached) " >&6
18393 else
18395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18396 /* end confdefs.h. */
18397 #define __STDC_LIMIT_MACROS
18398 #define __STDC_CONSTANT_MACROS
18399 #include <stdint.h>
18401 main ()
18403 typedef int8_t my_int8_t;
18404 my_int8_t i8 = INT8_MIN;
18405 i8 = INT8_MAX;
18406 typedef int16_t my_int16_t;
18407 my_int16_t i16 = INT16_MIN;
18408 i16 = INT16_MAX;
18409 typedef int32_t my_int32_t;
18410 my_int32_t i32 = INT32_MIN;
18411 i32 = INT32_MAX;
18412 typedef int64_t my_int64_t;
18413 my_int64_t i64 = INT64_MIN;
18414 i64 = INT64_MAX;
18415 typedef int_fast8_t my_int_fast8_t;
18416 my_int_fast8_t if8 = INT_FAST8_MIN;
18417 if8 = INT_FAST8_MAX;
18418 typedef int_fast16_t my_int_fast16_t;
18419 my_int_fast16_t if16 = INT_FAST16_MIN;
18420 if16 = INT_FAST16_MAX;
18421 typedef int_fast32_t my_int_fast32_t;
18422 my_int_fast32_t if32 = INT_FAST32_MIN;
18423 if32 = INT_FAST32_MAX;
18424 typedef int_fast64_t my_int_fast64_t;
18425 my_int_fast64_t if64 = INT_FAST64_MIN;
18426 if64 = INT_FAST64_MAX;
18427 typedef int_least8_t my_int_least8_t;
18428 my_int_least8_t il8 = INT_LEAST8_MIN;
18429 il8 = INT_LEAST8_MAX;
18430 typedef int_least16_t my_int_least16_t;
18431 my_int_least16_t il16 = INT_LEAST16_MIN;
18432 il16 = INT_LEAST16_MAX;
18433 typedef int_least32_t my_int_least32_t;
18434 my_int_least32_t il32 = INT_LEAST32_MIN;
18435 il32 = INT_LEAST32_MAX;
18436 typedef int_least64_t my_int_least64_t;
18437 my_int_least64_t il64 = INT_LEAST64_MIN;
18438 il64 = INT_LEAST64_MAX;
18439 typedef intmax_t my_intmax_t;
18440 my_intmax_t im = INTMAX_MAX;
18441 im = INTMAX_MIN;
18442 typedef intptr_t my_intptr_t;
18443 my_intptr_t ip = INTPTR_MAX;
18444 ip = INTPTR_MIN;
18445 typedef uint8_t my_uint8_t;
18446 my_uint8_t ui8 = UINT8_MAX;
18447 ui8 = UINT8_MAX;
18448 typedef uint16_t my_uint16_t;
18449 my_uint16_t ui16 = UINT16_MAX;
18450 ui16 = UINT16_MAX;
18451 typedef uint32_t my_uint32_t;
18452 my_uint32_t ui32 = UINT32_MAX;
18453 ui32 = UINT32_MAX;
18454 typedef uint64_t my_uint64_t;
18455 my_uint64_t ui64 = UINT64_MAX;
18456 ui64 = UINT64_MAX;
18457 typedef uint_fast8_t my_uint_fast8_t;
18458 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18459 uif8 = UINT_FAST8_MAX;
18460 typedef uint_fast16_t my_uint_fast16_t;
18461 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18462 uif16 = UINT_FAST16_MAX;
18463 typedef uint_fast32_t my_uint_fast32_t;
18464 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18465 uif32 = UINT_FAST32_MAX;
18466 typedef uint_fast64_t my_uint_fast64_t;
18467 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18468 uif64 = UINT_FAST64_MAX;
18469 typedef uint_least8_t my_uint_least8_t;
18470 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18471 uil8 = UINT_LEAST8_MAX;
18472 typedef uint_least16_t my_uint_least16_t;
18473 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18474 uil16 = UINT_LEAST16_MAX;
18475 typedef uint_least32_t my_uint_least32_t;
18476 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18477 uil32 = UINT_LEAST32_MAX;
18478 typedef uint_least64_t my_uint_least64_t;
18479 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18480 uil64 = UINT_LEAST64_MAX;
18481 typedef uintmax_t my_uintmax_t;
18482 my_uintmax_t uim = UINTMAX_MAX;
18483 uim = UINTMAX_MAX;
18484 typedef uintptr_t my_uintptr_t;
18485 my_uintptr_t uip = UINTPTR_MAX;
18486 uip = UINTPTR_MAX;
18489 return 0;
18491 _ACEOF
18492 if ac_fn_cxx_try_compile "$LINENO"; then :
18493 glibcxx_cv_c99_stdint_tr1=yes
18494 else
18495 glibcxx_cv_c99_stdint_tr1=no
18497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18502 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18503 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18505 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18509 # Check for the existence of <math.h> functions.
18510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18511 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18512 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18513 $as_echo_n "(cached) " >&6
18514 else
18516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18517 /* end confdefs.h. */
18518 #include <math.h>
18520 main ()
18522 typedef double_t my_double_t;
18523 typedef float_t my_float_t;
18524 acosh(0.0);
18525 acoshf(0.0f);
18526 acoshl(0.0l);
18527 asinh(0.0);
18528 asinhf(0.0f);
18529 asinhl(0.0l);
18530 atanh(0.0);
18531 atanhf(0.0f);
18532 atanhl(0.0l);
18533 cbrt(0.0);
18534 cbrtf(0.0f);
18535 cbrtl(0.0l);
18536 copysign(0.0, 0.0);
18537 copysignf(0.0f, 0.0f);
18538 copysignl(0.0l, 0.0l);
18539 erf(0.0);
18540 erff(0.0f);
18541 erfl(0.0l);
18542 erfc(0.0);
18543 erfcf(0.0f);
18544 erfcl(0.0l);
18545 exp2(0.0);
18546 exp2f(0.0f);
18547 exp2l(0.0l);
18548 expm1(0.0);
18549 expm1f(0.0f);
18550 expm1l(0.0l);
18551 fdim(0.0, 0.0);
18552 fdimf(0.0f, 0.0f);
18553 fdiml(0.0l, 0.0l);
18554 fma(0.0, 0.0, 0.0);
18555 fmaf(0.0f, 0.0f, 0.0f);
18556 fmal(0.0l, 0.0l, 0.0l);
18557 fmax(0.0, 0.0);
18558 fmaxf(0.0f, 0.0f);
18559 fmaxl(0.0l, 0.0l);
18560 fmin(0.0, 0.0);
18561 fminf(0.0f, 0.0f);
18562 fminl(0.0l, 0.0l);
18563 hypot(0.0, 0.0);
18564 hypotf(0.0f, 0.0f);
18565 hypotl(0.0l, 0.0l);
18566 ilogb(0.0);
18567 ilogbf(0.0f);
18568 ilogbl(0.0l);
18569 lgamma(0.0);
18570 lgammaf(0.0f);
18571 lgammal(0.0l);
18572 llrint(0.0);
18573 llrintf(0.0f);
18574 llrintl(0.0l);
18575 llround(0.0);
18576 llroundf(0.0f);
18577 llroundl(0.0l);
18578 log1p(0.0);
18579 log1pf(0.0f);
18580 log1pl(0.0l);
18581 log2(0.0);
18582 log2f(0.0f);
18583 log2l(0.0l);
18584 logb(0.0);
18585 logbf(0.0f);
18586 logbl(0.0l);
18587 lrint(0.0);
18588 lrintf(0.0f);
18589 lrintl(0.0l);
18590 lround(0.0);
18591 lroundf(0.0f);
18592 lroundl(0.0l);
18593 nan(0);
18594 nanf(0);
18595 nanl(0);
18596 nearbyint(0.0);
18597 nearbyintf(0.0f);
18598 nearbyintl(0.0l);
18599 nextafter(0.0, 0.0);
18600 nextafterf(0.0f, 0.0f);
18601 nextafterl(0.0l, 0.0l);
18602 nexttoward(0.0, 0.0);
18603 nexttowardf(0.0f, 0.0f);
18604 nexttowardl(0.0l, 0.0l);
18605 remainder(0.0, 0.0);
18606 remainderf(0.0f, 0.0f);
18607 remainderl(0.0l, 0.0l);
18608 remquo(0.0, 0.0, 0);
18609 remquof(0.0f, 0.0f, 0);
18610 remquol(0.0l, 0.0l, 0);
18611 rint(0.0);
18612 rintf(0.0f);
18613 rintl(0.0l);
18614 round(0.0);
18615 roundf(0.0f);
18616 roundl(0.0l);
18617 scalbln(0.0, 0l);
18618 scalblnf(0.0f, 0l);
18619 scalblnl(0.0l, 0l);
18620 scalbn(0.0, 0);
18621 scalbnf(0.0f, 0);
18622 scalbnl(0.0l, 0);
18623 tgamma(0.0);
18624 tgammaf(0.0f);
18625 tgammal(0.0l);
18626 trunc(0.0);
18627 truncf(0.0f);
18628 truncl(0.0l);
18631 return 0;
18633 _ACEOF
18634 if ac_fn_cxx_try_compile "$LINENO"; then :
18635 glibcxx_cv_c99_math_tr1=yes
18636 else
18637 glibcxx_cv_c99_math_tr1=no
18639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
18644 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
18645 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
18647 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
18651 # Check for the existence of <inttypes.h> functions (NB: doesn't make
18652 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18653 ac_c99_inttypes_tr1=no;
18654 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
18656 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18658 /* end confdefs.h. */
18659 #include <inttypes.h>
18661 main ()
18663 intmax_t i, numer, denom, base;
18664 const char* s;
18665 char** endptr;
18666 intmax_t ret = imaxabs(i);
18667 imaxdiv_t dret = imaxdiv(numer, denom);
18668 ret = strtoimax(s, endptr, base);
18669 uintmax_t uret = strtoumax(s, endptr, base);
18672 return 0;
18674 _ACEOF
18675 if ac_fn_cxx_try_compile "$LINENO"; then :
18676 ac_c99_inttypes_tr1=yes
18677 else
18678 ac_c99_inttypes_tr1=no
18680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
18683 $as_echo "$ac_c99_inttypes_tr1" >&6; }
18684 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
18686 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
18690 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
18691 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18692 ac_c99_inttypes_wchar_t_tr1=no;
18693 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
18695 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18697 /* end confdefs.h. */
18698 #include <inttypes.h>
18700 main ()
18702 intmax_t base;
18703 const wchar_t* s;
18704 wchar_t** endptr;
18705 intmax_t ret = wcstoimax(s, endptr, base);
18706 uintmax_t uret = wcstoumax(s, endptr, base);
18709 return 0;
18711 _ACEOF
18712 if ac_fn_cxx_try_compile "$LINENO"; then :
18713 ac_c99_inttypes_wchar_t_tr1=yes
18714 else
18715 ac_c99_inttypes_wchar_t_tr1=no
18717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
18720 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
18721 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
18723 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
18727 # Check for the existence of the <stdbool.h> header.
18728 for ac_header in stdbool.h
18729 do :
18730 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
18731 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
18732 cat >>confdefs.h <<_ACEOF
18733 #define HAVE_STDBOOL_H 1
18734 _ACEOF
18738 done
18741 CXXFLAGS="$ac_save_CXXFLAGS"
18742 ac_ext=c
18743 ac_cpp='$CPP $CPPFLAGS'
18744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18750 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
18753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
18754 $as_echo_n "checking for the value of EOF... " >&6; }
18755 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
18756 $as_echo_n "(cached) " >&6
18757 else
18759 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
18761 else
18762 as_fn_error "computing EOF failed" "$LINENO" 5
18767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
18768 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
18770 cat >>confdefs.h <<_ACEOF
18771 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
18772 _ACEOF
18775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
18776 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
18777 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
18778 $as_echo_n "(cached) " >&6
18779 else
18781 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
18783 else
18784 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
18789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
18790 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
18792 cat >>confdefs.h <<_ACEOF
18793 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
18794 _ACEOF
18797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
18798 $as_echo_n "checking for the value of SEEK_END... " >&6; }
18799 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
18800 $as_echo_n "(cached) " >&6
18801 else
18803 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
18805 else
18806 as_fn_error "computing SEEK_END failed" "$LINENO" 5
18811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
18812 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
18814 cat >>confdefs.h <<_ACEOF
18815 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
18816 _ACEOF
18820 # For gettimeofday support.
18823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18824 $as_echo_n "checking for gettimeofday... " >&6; }
18827 ac_ext=cpp
18828 ac_cpp='$CXXCPP $CPPFLAGS'
18829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18833 ac_save_CXXFLAGS="$CXXFLAGS"
18834 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18836 ac_has_gettimeofday=no;
18837 for ac_header in sys/time.h
18838 do :
18839 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
18840 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
18841 cat >>confdefs.h <<_ACEOF
18842 #define HAVE_SYS_TIME_H 1
18843 _ACEOF
18844 ac_has_sys_time_h=yes
18845 else
18846 ac_has_sys_time_h=no
18849 done
18851 if test x"$ac_has_sys_time_h" = x"yes"; then
18852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18853 $as_echo_n "checking for gettimeofday... " >&6; }
18854 if test x$gcc_no_link = xyes; then
18855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18856 /* end confdefs.h. */
18857 #include <sys/time.h>
18859 main ()
18861 timeval tv; gettimeofday(&tv, 0);
18863 return 0;
18865 _ACEOF
18866 if ac_fn_cxx_try_compile "$LINENO"; then :
18867 ac_has_gettimeofday=yes
18868 else
18869 ac_has_gettimeofday=no
18871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18872 else
18873 if test x$gcc_no_link = xyes; then
18874 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18877 /* end confdefs.h. */
18878 #include <sys/time.h>
18880 main ()
18882 timeval tv; gettimeofday(&tv, 0);
18884 return 0;
18886 _ACEOF
18887 if ac_fn_cxx_try_link "$LINENO"; then :
18888 ac_has_gettimeofday=yes
18889 else
18890 ac_has_gettimeofday=no
18892 rm -f core conftest.err conftest.$ac_objext \
18893 conftest$ac_exeext conftest.$ac_ext
18896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
18897 $as_echo "$ac_has_gettimeofday" >&6; }
18900 if test x"$ac_has_gettimeofday" = x"yes"; then
18902 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
18906 CXXFLAGS="$ac_save_CXXFLAGS"
18907 ac_ext=c
18908 ac_cpp='$CPP $CPPFLAGS'
18909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18915 # For clock_gettime, nanosleep and sched_yield support.
18916 # NB: The default is [no], because otherwise it requires linking.
18919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
18920 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
18921 # Check whether --enable-libstdcxx-time was given.
18922 if test "${enable_libstdcxx_time+set}" = set; then :
18923 enableval=$enable_libstdcxx_time;
18924 case "$enableval" in
18925 yes|no|rt) ;;
18926 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
18927 esac
18929 else
18930 enable_libstdcxx_time=no
18936 ac_ext=cpp
18937 ac_cpp='$CXXCPP $CPPFLAGS'
18938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18942 ac_save_CXXFLAGS="$CXXFLAGS"
18943 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18944 ac_save_LIBS="$LIBS"
18946 ac_has_clock_monotonic=no
18947 ac_has_clock_realtime=no
18948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
18949 $as_echo "$enable_libstdcxx_time" >&6; }
18951 if test x"$enable_libstdcxx_time" != x"no"; then
18953 if test x"$enable_libstdcxx_time" = x"rt"; then
18954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18955 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18956 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18957 $as_echo_n "(cached) " >&6
18958 else
18959 ac_func_search_save_LIBS=$LIBS
18960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18961 /* end confdefs.h. */
18963 /* Override any GCC internal prototype to avoid an error.
18964 Use char because int might match the return type of a GCC
18965 builtin and then its argument prototype would still apply. */
18966 #ifdef __cplusplus
18967 extern "C"
18968 #endif
18969 char clock_gettime ();
18971 main ()
18973 return clock_gettime ();
18975 return 0;
18977 _ACEOF
18978 for ac_lib in '' rt posix4; do
18979 if test -z "$ac_lib"; then
18980 ac_res="none required"
18981 else
18982 ac_res=-l$ac_lib
18983 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18985 if test x$gcc_no_link = xyes; then
18986 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18988 if ac_fn_cxx_try_link "$LINENO"; then :
18989 ac_cv_search_clock_gettime=$ac_res
18991 rm -f core conftest.err conftest.$ac_objext \
18992 conftest$ac_exeext
18993 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18994 break
18996 done
18997 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18999 else
19000 ac_cv_search_clock_gettime=no
19002 rm conftest.$ac_ext
19003 LIBS=$ac_func_search_save_LIBS
19005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19006 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19007 ac_res=$ac_cv_search_clock_gettime
19008 if test "$ac_res" != no; then :
19009 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19014 $as_echo_n "checking for library containing nanosleep... " >&6; }
19015 if test "${ac_cv_search_nanosleep+set}" = set; then :
19016 $as_echo_n "(cached) " >&6
19017 else
19018 ac_func_search_save_LIBS=$LIBS
19019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19020 /* end confdefs.h. */
19022 /* Override any GCC internal prototype to avoid an error.
19023 Use char because int might match the return type of a GCC
19024 builtin and then its argument prototype would still apply. */
19025 #ifdef __cplusplus
19026 extern "C"
19027 #endif
19028 char nanosleep ();
19030 main ()
19032 return nanosleep ();
19034 return 0;
19036 _ACEOF
19037 for ac_lib in '' rt posix4; do
19038 if test -z "$ac_lib"; then
19039 ac_res="none required"
19040 else
19041 ac_res=-l$ac_lib
19042 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19044 if test x$gcc_no_link = xyes; then
19045 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19047 if ac_fn_cxx_try_link "$LINENO"; then :
19048 ac_cv_search_nanosleep=$ac_res
19050 rm -f core conftest.err conftest.$ac_objext \
19051 conftest$ac_exeext
19052 if test "${ac_cv_search_nanosleep+set}" = set; then :
19053 break
19055 done
19056 if test "${ac_cv_search_nanosleep+set}" = set; then :
19058 else
19059 ac_cv_search_nanosleep=no
19061 rm conftest.$ac_ext
19062 LIBS=$ac_func_search_save_LIBS
19064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19065 $as_echo "$ac_cv_search_nanosleep" >&6; }
19066 ac_res=$ac_cv_search_nanosleep
19067 if test "$ac_res" != no; then :
19068 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19072 else
19073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19074 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19075 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19076 $as_echo_n "(cached) " >&6
19077 else
19078 ac_func_search_save_LIBS=$LIBS
19079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19080 /* end confdefs.h. */
19082 /* Override any GCC internal prototype to avoid an error.
19083 Use char because int might match the return type of a GCC
19084 builtin and then its argument prototype would still apply. */
19085 #ifdef __cplusplus
19086 extern "C"
19087 #endif
19088 char clock_gettime ();
19090 main ()
19092 return clock_gettime ();
19094 return 0;
19096 _ACEOF
19097 for ac_lib in '' posix4; do
19098 if test -z "$ac_lib"; then
19099 ac_res="none required"
19100 else
19101 ac_res=-l$ac_lib
19102 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19104 if test x$gcc_no_link = xyes; then
19105 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19107 if ac_fn_cxx_try_link "$LINENO"; then :
19108 ac_cv_search_clock_gettime=$ac_res
19110 rm -f core conftest.err conftest.$ac_objext \
19111 conftest$ac_exeext
19112 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19113 break
19115 done
19116 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19118 else
19119 ac_cv_search_clock_gettime=no
19121 rm conftest.$ac_ext
19122 LIBS=$ac_func_search_save_LIBS
19124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19125 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19126 ac_res=$ac_cv_search_clock_gettime
19127 if test "$ac_res" != no; then :
19128 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19133 $as_echo_n "checking for library containing nanosleep... " >&6; }
19134 if test "${ac_cv_search_nanosleep+set}" = set; then :
19135 $as_echo_n "(cached) " >&6
19136 else
19137 ac_func_search_save_LIBS=$LIBS
19138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19139 /* end confdefs.h. */
19141 /* Override any GCC internal prototype to avoid an error.
19142 Use char because int might match the return type of a GCC
19143 builtin and then its argument prototype would still apply. */
19144 #ifdef __cplusplus
19145 extern "C"
19146 #endif
19147 char nanosleep ();
19149 main ()
19151 return nanosleep ();
19153 return 0;
19155 _ACEOF
19156 for ac_lib in '' posix4; do
19157 if test -z "$ac_lib"; then
19158 ac_res="none required"
19159 else
19160 ac_res=-l$ac_lib
19161 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19163 if test x$gcc_no_link = xyes; then
19164 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19166 if ac_fn_cxx_try_link "$LINENO"; then :
19167 ac_cv_search_nanosleep=$ac_res
19169 rm -f core conftest.err conftest.$ac_objext \
19170 conftest$ac_exeext
19171 if test "${ac_cv_search_nanosleep+set}" = set; then :
19172 break
19174 done
19175 if test "${ac_cv_search_nanosleep+set}" = set; then :
19177 else
19178 ac_cv_search_nanosleep=no
19180 rm conftest.$ac_ext
19181 LIBS=$ac_func_search_save_LIBS
19183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19184 $as_echo "$ac_cv_search_nanosleep" >&6; }
19185 ac_res=$ac_cv_search_nanosleep
19186 if test "$ac_res" != no; then :
19187 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19193 case "$ac_cv_search_clock_gettime" in
19194 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19196 esac
19197 case "$ac_cv_search_nanosleep" in
19198 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19200 esac
19202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19203 $as_echo_n "checking for library containing sched_yield... " >&6; }
19204 if test "${ac_cv_search_sched_yield+set}" = set; then :
19205 $as_echo_n "(cached) " >&6
19206 else
19207 ac_func_search_save_LIBS=$LIBS
19208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19209 /* end confdefs.h. */
19211 /* Override any GCC internal prototype to avoid an error.
19212 Use char because int might match the return type of a GCC
19213 builtin and then its argument prototype would still apply. */
19214 #ifdef __cplusplus
19215 extern "C"
19216 #endif
19217 char sched_yield ();
19219 main ()
19221 return sched_yield ();
19223 return 0;
19225 _ACEOF
19226 for ac_lib in '' rt posix4; do
19227 if test -z "$ac_lib"; then
19228 ac_res="none required"
19229 else
19230 ac_res=-l$ac_lib
19231 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19233 if test x$gcc_no_link = xyes; then
19234 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19236 if ac_fn_cxx_try_link "$LINENO"; then :
19237 ac_cv_search_sched_yield=$ac_res
19239 rm -f core conftest.err conftest.$ac_objext \
19240 conftest$ac_exeext
19241 if test "${ac_cv_search_sched_yield+set}" = set; then :
19242 break
19244 done
19245 if test "${ac_cv_search_sched_yield+set}" = set; then :
19247 else
19248 ac_cv_search_sched_yield=no
19250 rm conftest.$ac_ext
19251 LIBS=$ac_func_search_save_LIBS
19253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19254 $as_echo "$ac_cv_search_sched_yield" >&6; }
19255 ac_res=$ac_cv_search_sched_yield
19256 if test "$ac_res" != no; then :
19257 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19262 case "$ac_cv_search_sched_yield" in
19263 -lposix4*)
19264 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19266 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19269 -lrt*)
19270 if test x"$enable_libstdcxx_time" = x"rt"; then
19271 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19273 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19279 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19282 esac
19284 for ac_header in unistd.h
19285 do :
19286 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19287 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19288 cat >>confdefs.h <<_ACEOF
19289 #define HAVE_UNISTD_H 1
19290 _ACEOF
19291 ac_has_unistd_h=yes
19292 else
19293 ac_has_unistd_h=no
19296 done
19299 if test x"$ac_has_unistd_h" = x"yes"; then
19300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19301 $as_echo_n "checking for monotonic clock... " >&6; }
19302 if test x$gcc_no_link = xyes; then
19303 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19306 /* end confdefs.h. */
19307 #include <unistd.h>
19308 #include <time.h>
19311 main ()
19313 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19314 timespec tp;
19315 #endif
19316 clock_gettime(CLOCK_MONOTONIC, &tp);
19319 return 0;
19321 _ACEOF
19322 if ac_fn_cxx_try_link "$LINENO"; then :
19323 ac_has_clock_monotonic=yes
19324 else
19325 ac_has_clock_monotonic=no
19327 rm -f core conftest.err conftest.$ac_objext \
19328 conftest$ac_exeext conftest.$ac_ext
19330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19331 $as_echo "$ac_has_clock_monotonic" >&6; }
19333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19334 $as_echo_n "checking for realtime clock... " >&6; }
19335 if test x$gcc_no_link = xyes; then
19336 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19339 /* end confdefs.h. */
19340 #include <unistd.h>
19341 #include <time.h>
19344 main ()
19346 #if _POSIX_TIMERS > 0
19347 timespec tp;
19348 #endif
19349 clock_gettime(CLOCK_REALTIME, &tp);
19352 return 0;
19354 _ACEOF
19355 if ac_fn_cxx_try_link "$LINENO"; then :
19356 ac_has_clock_realtime=yes
19357 else
19358 ac_has_clock_realtime=no
19360 rm -f core conftest.err conftest.$ac_objext \
19361 conftest$ac_exeext conftest.$ac_ext
19363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19364 $as_echo "$ac_has_clock_realtime" >&6; }
19366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19367 $as_echo_n "checking for nanosleep... " >&6; }
19368 if test x$gcc_no_link = xyes; then
19369 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19372 /* end confdefs.h. */
19373 #include <unistd.h>
19374 #include <time.h>
19377 main ()
19379 #if _POSIX_TIMERS > 0
19380 timespec tp;
19381 #endif
19382 nanosleep(&tp, 0);
19385 return 0;
19387 _ACEOF
19388 if ac_fn_cxx_try_link "$LINENO"; then :
19389 ac_has_nanosleep=yes
19390 else
19391 ac_has_nanosleep=no
19393 rm -f core conftest.err conftest.$ac_objext \
19394 conftest$ac_exeext conftest.$ac_ext
19396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19397 $as_echo "$ac_has_nanosleep" >&6; }
19401 if test x"$ac_has_clock_monotonic" = x"yes"; then
19403 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19407 if test x"$ac_has_clock_realtime" = x"yes"; then
19409 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19413 if test x"$ac_has_nanosleep" = x"yes"; then
19415 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19421 CXXFLAGS="$ac_save_CXXFLAGS"
19422 LIBS="$ac_save_LIBS"
19423 ac_ext=c
19424 ac_cpp='$CPP $CPPFLAGS'
19425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19431 # For gthread support
19434 ac_ext=cpp
19435 ac_cpp='$CXXCPP $CPPFLAGS'
19436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19441 ac_save_CXXFLAGS="$CXXFLAGS"
19442 CXXFLAGS="$CXXFLAGS -fno-exceptions -I${toplevel_srcdir}/gcc"
19444 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
19445 case $target_thread_file in
19446 posix)
19447 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
19448 esac
19450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
19451 $as_echo_n "checking for gthreads library... " >&6; }
19453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19454 /* end confdefs.h. */
19455 #include "gthr.h"
19457 main ()
19460 #ifndef __GTHREADS_CXX0X
19461 #error
19462 #endif
19464 // In case of POSIX threads check _POSIX_TIMEOUTS too.
19465 #if (defined(_PTHREADS) \
19466 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
19467 #error
19468 #endif
19471 return 0;
19473 _ACEOF
19474 if ac_fn_cxx_try_compile "$LINENO"; then :
19475 ac_has_gthreads=yes
19476 else
19477 ac_has_gthreads=no
19479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
19482 $as_echo "$ac_has_gthreads" >&6; }
19484 if test x"$ac_has_gthreads" = x"yes"; then
19486 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
19490 CXXFLAGS="$ac_save_CXXFLAGS"
19491 ac_ext=c
19492 ac_cpp='$CPP $CPPFLAGS'
19493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19500 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19501 if test "x$ac_cv_header_locale_h" = x""yes; then :
19503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19504 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19505 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19506 $as_echo_n "(cached) " >&6
19507 else
19508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19509 /* end confdefs.h. */
19510 #include <locale.h>
19512 main ()
19514 return LC_MESSAGES
19516 return 0;
19518 _ACEOF
19519 if ac_fn_c_try_compile "$LINENO"; then :
19520 ac_cv_val_LC_MESSAGES=yes
19521 else
19522 ac_cv_val_LC_MESSAGES=no
19524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19527 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19528 if test $ac_cv_val_LC_MESSAGES = yes; then
19530 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19539 # Check for available headers.
19540 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
19541 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
19542 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
19543 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
19544 wchar.h wctype.h
19545 do :
19546 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19547 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19548 eval as_val=\$$as_ac_Header
19549 if test "x$as_val" = x""yes; then :
19550 cat >>confdefs.h <<_ACEOF
19551 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19552 _ACEOF
19556 done
19559 # Only do link tests if native. Else, hardcode.
19560 if $GLIBCXX_IS_NATIVE; then
19562 # We can do more elaborate tests that assume a working linker.
19563 CANADIAN=no
19567 # Check whether --with-gnu-ld was given.
19568 if test "${with_gnu_ld+set}" = set; then :
19569 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
19570 else
19571 with_gnu_ld=no
19574 ac_prog=ld
19575 if test "$GCC" = yes; then
19576 # Check if gcc -print-prog-name=ld gives a path.
19577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
19578 $as_echo_n "checking for ld used by $CC... " >&6; }
19579 case $host in
19580 *-*-mingw*)
19581 # gcc leaves a trailing carriage return which upsets mingw
19582 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
19584 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
19585 esac
19586 case $ac_prog in
19587 # Accept absolute paths.
19588 [\\/]* | ?:[\\/]*)
19589 re_direlt='/[^/][^/]*/\.\./'
19590 # Canonicalize the pathname of ld
19591 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
19592 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
19593 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
19594 done
19595 test -z "$LD" && LD="$ac_prog"
19598 # If it fails, then pretend we aren't using GCC.
19599 ac_prog=ld
19602 # If it is relative, then search for the first ld in PATH.
19603 with_gnu_ld=unknown
19605 esac
19606 elif test "$with_gnu_ld" = yes; then
19607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
19608 $as_echo_n "checking for GNU ld... " >&6; }
19609 else
19610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
19611 $as_echo_n "checking for non-GNU ld... " >&6; }
19613 if test "${lt_cv_path_LD+set}" = set; then :
19614 $as_echo_n "(cached) " >&6
19615 else
19616 if test -z "$LD"; then
19617 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
19618 for ac_dir in $PATH; do
19619 IFS="$lt_save_ifs"
19620 test -z "$ac_dir" && ac_dir=.
19621 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
19622 lt_cv_path_LD="$ac_dir/$ac_prog"
19623 # Check to see if the program is GNU ld. I'd rather use --version,
19624 # but apparently some variants of GNU ld only accept -v.
19625 # Break only if it was the GNU/non-GNU ld that we prefer.
19626 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
19627 *GNU* | *'with BFD'*)
19628 test "$with_gnu_ld" != no && break
19631 test "$with_gnu_ld" != yes && break
19633 esac
19635 done
19636 IFS="$lt_save_ifs"
19637 else
19638 lt_cv_path_LD="$LD" # Let the user override the test with a path.
19642 LD="$lt_cv_path_LD"
19643 if test -n "$LD"; then
19644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
19645 $as_echo "$LD" >&6; }
19646 else
19647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19648 $as_echo "no" >&6; }
19650 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
19651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
19652 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
19653 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
19654 $as_echo_n "(cached) " >&6
19655 else
19656 # I'd rather use --version here, but apparently some GNU lds only accept -v.
19657 case `$LD -v 2>&1 </dev/null` in
19658 *GNU* | *'with BFD'*)
19659 lt_cv_prog_gnu_ld=yes
19662 lt_cv_prog_gnu_ld=no
19664 esac
19666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
19667 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
19668 with_gnu_ld=$lt_cv_prog_gnu_ld
19676 # If we're not using GNU ld, then there's no point in even trying these
19677 # tests. Check for that first. We should have already tested for gld
19678 # by now (in libtool), but require it now just to be safe...
19679 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
19680 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
19684 # The name set by libtool depends on the version of libtool. Shame on us
19685 # for depending on an impl detail, but c'est la vie. Older versions used
19686 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
19687 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
19688 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
19689 # set (hence we're using an older libtool), then set it.
19690 if test x${with_gnu_ld+set} != xset; then
19691 if test x${ac_cv_prog_gnu_ld+set} != xset; then
19692 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
19693 with_gnu_ld=no
19694 else
19695 with_gnu_ld=$ac_cv_prog_gnu_ld
19699 # Start by getting the version number. I think the libtool test already
19700 # does some of this, but throws away the result.
19701 glibcxx_ld_is_gold=no
19702 if test x"$with_gnu_ld" = x"yes"; then
19703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
19704 $as_echo_n "checking for ld version... " >&6; }
19706 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
19707 glibcxx_ld_is_gold=yes
19709 ldver=`$LD --version 2>/dev/null |
19710 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'`
19712 glibcxx_gnu_ld_version=`echo $ldver | \
19713 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
19714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
19715 $as_echo "$glibcxx_gnu_ld_version" >&6; }
19718 # Set --gc-sections.
19719 glibcxx_have_gc_sections=no
19720 if test "$glibcxx_ld_is_gold" = "yes"; then
19721 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
19722 glibcxx_have_gc_sections=yes
19724 else
19725 glibcxx_gcsections_min_ld=21602
19726 if test x"$with_gnu_ld" = x"yes" &&
19727 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
19728 glibcxx_have_gc_sections=yes
19731 if test "$glibcxx_have_gc_sections" = "yes"; then
19732 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
19733 # NB: This flag only works reliably after 2.16.1. Configure tests
19734 # for this are difficult, so hard wire a value that should work.
19736 ac_test_CFLAGS="${CFLAGS+set}"
19737 ac_save_CFLAGS="$CFLAGS"
19738 CFLAGS='-Wl,--gc-sections'
19740 # Check for -Wl,--gc-sections
19741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
19742 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
19743 if test x$gcc_no_link = xyes; then
19744 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19747 /* end confdefs.h. */
19748 int one(void) { return 1; }
19749 int two(void) { return 2; }
19752 main ()
19754 two();
19756 return 0;
19758 _ACEOF
19759 if ac_fn_c_try_link "$LINENO"; then :
19760 ac_gcsections=yes
19761 else
19762 ac_gcsections=no
19764 rm -f core conftest.err conftest.$ac_objext \
19765 conftest$ac_exeext conftest.$ac_ext
19766 if test "$ac_gcsections" = "yes"; then
19767 rm -f conftest.c
19768 touch conftest.c
19769 if $CC -c conftest.c; then
19770 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
19771 grep "Warning: gc-sections option ignored" > /dev/null; then
19772 ac_gcsections=no
19775 rm -f conftest.c conftest.o conftest
19777 if test "$ac_gcsections" = "yes"; then
19778 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
19780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
19781 $as_echo "$ac_gcsections" >&6; }
19783 if test "$ac_test_CFLAGS" = set; then
19784 CFLAGS="$ac_save_CFLAGS"
19785 else
19786 # this is the suspicious part
19787 CFLAGS=''
19791 # Set -z,relro.
19792 # Note this is only for shared objects.
19793 ac_ld_relro=no
19794 if test x"$with_gnu_ld" = x"yes"; then
19795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
19796 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
19797 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
19798 if test -n "$cxx_z_relo"; then
19799 OPT_LDFLAGS="-Wl,-z,relro"
19800 ac_ld_relro=yes
19802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
19803 $as_echo "$ac_ld_relro" >&6; }
19806 # Set linker optimization flags.
19807 if test x"$with_gnu_ld" = x"yes"; then
19808 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
19815 ac_test_CXXFLAGS="${CXXFLAGS+set}"
19816 ac_save_CXXFLAGS="$CXXFLAGS"
19817 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
19819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
19820 $as_echo_n "checking for sin in -lm... " >&6; }
19821 if test "${ac_cv_lib_m_sin+set}" = set; then :
19822 $as_echo_n "(cached) " >&6
19823 else
19824 ac_check_lib_save_LIBS=$LIBS
19825 LIBS="-lm $LIBS"
19826 if test x$gcc_no_link = xyes; then
19827 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19830 /* end confdefs.h. */
19832 /* Override any GCC internal prototype to avoid an error.
19833 Use char because int might match the return type of a GCC
19834 builtin and then its argument prototype would still apply. */
19835 #ifdef __cplusplus
19836 extern "C"
19837 #endif
19838 char sin ();
19840 main ()
19842 return sin ();
19844 return 0;
19846 _ACEOF
19847 if ac_fn_c_try_link "$LINENO"; then :
19848 ac_cv_lib_m_sin=yes
19849 else
19850 ac_cv_lib_m_sin=no
19852 rm -f core conftest.err conftest.$ac_objext \
19853 conftest$ac_exeext conftest.$ac_ext
19854 LIBS=$ac_check_lib_save_LIBS
19856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
19857 $as_echo "$ac_cv_lib_m_sin" >&6; }
19858 if test "x$ac_cv_lib_m_sin" = x""yes; then :
19859 libm="-lm"
19862 ac_save_LIBS="$LIBS"
19863 LIBS="$LIBS $libm"
19867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
19868 $as_echo_n "checking for isinf declaration... " >&6; }
19869 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
19870 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
19871 $as_echo_n "(cached) " >&6
19872 else
19875 ac_ext=cpp
19876 ac_cpp='$CXXCPP $CPPFLAGS'
19877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19882 /* end confdefs.h. */
19883 #include <math.h>
19884 #ifdef HAVE_IEEEFP_H
19885 #include <ieeefp.h>
19886 #endif
19889 main ()
19891 isinf(0);
19893 return 0;
19895 _ACEOF
19896 if ac_fn_cxx_try_compile "$LINENO"; then :
19897 glibcxx_cv_func_isinf_use=yes
19898 else
19899 glibcxx_cv_func_isinf_use=no
19901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19902 ac_ext=c
19903 ac_cpp='$CPP $CPPFLAGS'
19904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
19913 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
19915 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
19916 for ac_func in isinf
19917 do :
19918 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
19919 if test "x$ac_cv_func_isinf" = x""yes; then :
19920 cat >>confdefs.h <<_ACEOF
19921 #define HAVE_ISINF 1
19922 _ACEOF
19925 done
19927 else
19929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
19930 $as_echo_n "checking for _isinf declaration... " >&6; }
19931 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
19932 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
19933 $as_echo_n "(cached) " >&6
19934 else
19937 ac_ext=cpp
19938 ac_cpp='$CXXCPP $CPPFLAGS'
19939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19944 /* end confdefs.h. */
19945 #include <math.h>
19946 #ifdef HAVE_IEEEFP_H
19947 #include <ieeefp.h>
19948 #endif
19951 main ()
19953 _isinf(0);
19955 return 0;
19957 _ACEOF
19958 if ac_fn_cxx_try_compile "$LINENO"; then :
19959 glibcxx_cv_func__isinf_use=yes
19960 else
19961 glibcxx_cv_func__isinf_use=no
19963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19964 ac_ext=c
19965 ac_cpp='$CPP $CPPFLAGS'
19966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
19975 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
19977 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
19978 for ac_func in _isinf
19979 do :
19980 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
19981 if test "x$ac_cv_func__isinf" = x""yes; then :
19982 cat >>confdefs.h <<_ACEOF
19983 #define HAVE__ISINF 1
19984 _ACEOF
19987 done
19996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
19997 $as_echo_n "checking for isnan declaration... " >&6; }
19998 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
19999 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
20000 $as_echo_n "(cached) " >&6
20001 else
20004 ac_ext=cpp
20005 ac_cpp='$CXXCPP $CPPFLAGS'
20006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20011 /* end confdefs.h. */
20012 #include <math.h>
20013 #ifdef HAVE_IEEEFP_H
20014 #include <ieeefp.h>
20015 #endif
20018 main ()
20020 isnan(0);
20022 return 0;
20024 _ACEOF
20025 if ac_fn_cxx_try_compile "$LINENO"; then :
20026 glibcxx_cv_func_isnan_use=yes
20027 else
20028 glibcxx_cv_func_isnan_use=no
20030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20031 ac_ext=c
20032 ac_cpp='$CPP $CPPFLAGS'
20033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
20042 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
20044 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
20045 for ac_func in isnan
20046 do :
20047 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
20048 if test "x$ac_cv_func_isnan" = x""yes; then :
20049 cat >>confdefs.h <<_ACEOF
20050 #define HAVE_ISNAN 1
20051 _ACEOF
20054 done
20056 else
20058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
20059 $as_echo_n "checking for _isnan declaration... " >&6; }
20060 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20061 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
20062 $as_echo_n "(cached) " >&6
20063 else
20066 ac_ext=cpp
20067 ac_cpp='$CXXCPP $CPPFLAGS'
20068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20073 /* end confdefs.h. */
20074 #include <math.h>
20075 #ifdef HAVE_IEEEFP_H
20076 #include <ieeefp.h>
20077 #endif
20080 main ()
20082 _isnan(0);
20084 return 0;
20086 _ACEOF
20087 if ac_fn_cxx_try_compile "$LINENO"; then :
20088 glibcxx_cv_func__isnan_use=yes
20089 else
20090 glibcxx_cv_func__isnan_use=no
20092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20093 ac_ext=c
20094 ac_cpp='$CPP $CPPFLAGS'
20095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20104 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20106 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20107 for ac_func in _isnan
20108 do :
20109 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20110 if test "x$ac_cv_func__isnan" = x""yes; then :
20111 cat >>confdefs.h <<_ACEOF
20112 #define HAVE__ISNAN 1
20113 _ACEOF
20116 done
20125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20126 $as_echo_n "checking for finite declaration... " >&6; }
20127 if test x${glibcxx_cv_func_finite_use+set} != xset; then
20128 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20129 $as_echo_n "(cached) " >&6
20130 else
20133 ac_ext=cpp
20134 ac_cpp='$CXXCPP $CPPFLAGS'
20135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20140 /* end confdefs.h. */
20141 #include <math.h>
20142 #ifdef HAVE_IEEEFP_H
20143 #include <ieeefp.h>
20144 #endif
20147 main ()
20149 finite(0);
20151 return 0;
20153 _ACEOF
20154 if ac_fn_cxx_try_compile "$LINENO"; then :
20155 glibcxx_cv_func_finite_use=yes
20156 else
20157 glibcxx_cv_func_finite_use=no
20159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20160 ac_ext=c
20161 ac_cpp='$CPP $CPPFLAGS'
20162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20171 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20173 if test x$glibcxx_cv_func_finite_use = x"yes"; then
20174 for ac_func in finite
20175 do :
20176 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20177 if test "x$ac_cv_func_finite" = x""yes; then :
20178 cat >>confdefs.h <<_ACEOF
20179 #define HAVE_FINITE 1
20180 _ACEOF
20183 done
20185 else
20187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20188 $as_echo_n "checking for _finite declaration... " >&6; }
20189 if test x${glibcxx_cv_func__finite_use+set} != xset; then
20190 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
20191 $as_echo_n "(cached) " >&6
20192 else
20195 ac_ext=cpp
20196 ac_cpp='$CXXCPP $CPPFLAGS'
20197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20202 /* end confdefs.h. */
20203 #include <math.h>
20204 #ifdef HAVE_IEEEFP_H
20205 #include <ieeefp.h>
20206 #endif
20209 main ()
20211 _finite(0);
20213 return 0;
20215 _ACEOF
20216 if ac_fn_cxx_try_compile "$LINENO"; then :
20217 glibcxx_cv_func__finite_use=yes
20218 else
20219 glibcxx_cv_func__finite_use=no
20221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20222 ac_ext=c
20223 ac_cpp='$CPP $CPPFLAGS'
20224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
20233 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
20235 if test x$glibcxx_cv_func__finite_use = x"yes"; then
20236 for ac_func in _finite
20237 do :
20238 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
20239 if test "x$ac_cv_func__finite" = x""yes; then :
20240 cat >>confdefs.h <<_ACEOF
20241 #define HAVE__FINITE 1
20242 _ACEOF
20245 done
20254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
20255 $as_echo_n "checking for sincos declaration... " >&6; }
20256 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20257 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
20258 $as_echo_n "(cached) " >&6
20259 else
20262 ac_ext=cpp
20263 ac_cpp='$CXXCPP $CPPFLAGS'
20264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20269 /* end confdefs.h. */
20270 #include <math.h>
20272 main ()
20274 sincos(0, 0, 0);
20276 return 0;
20278 _ACEOF
20279 if ac_fn_cxx_try_compile "$LINENO"; then :
20280 glibcxx_cv_func_sincos_use=yes
20281 else
20282 glibcxx_cv_func_sincos_use=no
20284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20285 ac_ext=c
20286 ac_cpp='$CPP $CPPFLAGS'
20287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
20296 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
20298 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20299 for ac_func in sincos
20300 do :
20301 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
20302 if test "x$ac_cv_func_sincos" = x""yes; then :
20303 cat >>confdefs.h <<_ACEOF
20304 #define HAVE_SINCOS 1
20305 _ACEOF
20308 done
20310 else
20312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
20313 $as_echo_n "checking for _sincos declaration... " >&6; }
20314 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20315 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
20316 $as_echo_n "(cached) " >&6
20317 else
20320 ac_ext=cpp
20321 ac_cpp='$CXXCPP $CPPFLAGS'
20322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20327 /* end confdefs.h. */
20328 #include <math.h>
20330 main ()
20332 _sincos(0, 0, 0);
20334 return 0;
20336 _ACEOF
20337 if ac_fn_cxx_try_compile "$LINENO"; then :
20338 glibcxx_cv_func__sincos_use=yes
20339 else
20340 glibcxx_cv_func__sincos_use=no
20342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20343 ac_ext=c
20344 ac_cpp='$CPP $CPPFLAGS'
20345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
20354 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
20356 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20357 for ac_func in _sincos
20358 do :
20359 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
20360 if test "x$ac_cv_func__sincos" = x""yes; then :
20361 cat >>confdefs.h <<_ACEOF
20362 #define HAVE__SINCOS 1
20363 _ACEOF
20366 done
20375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
20376 $as_echo_n "checking for fpclass declaration... " >&6; }
20377 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20378 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
20379 $as_echo_n "(cached) " >&6
20380 else
20383 ac_ext=cpp
20384 ac_cpp='$CXXCPP $CPPFLAGS'
20385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20390 /* end confdefs.h. */
20391 #include <math.h>
20392 #ifdef HAVE_IEEEFP_H
20393 #include <ieeefp.h>
20394 #endif
20397 main ()
20399 fpclass(0);
20401 return 0;
20403 _ACEOF
20404 if ac_fn_cxx_try_compile "$LINENO"; then :
20405 glibcxx_cv_func_fpclass_use=yes
20406 else
20407 glibcxx_cv_func_fpclass_use=no
20409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20410 ac_ext=c
20411 ac_cpp='$CPP $CPPFLAGS'
20412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
20421 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
20423 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20424 for ac_func in fpclass
20425 do :
20426 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
20427 if test "x$ac_cv_func_fpclass" = x""yes; then :
20428 cat >>confdefs.h <<_ACEOF
20429 #define HAVE_FPCLASS 1
20430 _ACEOF
20433 done
20435 else
20437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
20438 $as_echo_n "checking for _fpclass declaration... " >&6; }
20439 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20440 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
20441 $as_echo_n "(cached) " >&6
20442 else
20445 ac_ext=cpp
20446 ac_cpp='$CXXCPP $CPPFLAGS'
20447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20452 /* end confdefs.h. */
20453 #include <math.h>
20454 #ifdef HAVE_IEEEFP_H
20455 #include <ieeefp.h>
20456 #endif
20459 main ()
20461 _fpclass(0);
20463 return 0;
20465 _ACEOF
20466 if ac_fn_cxx_try_compile "$LINENO"; then :
20467 glibcxx_cv_func__fpclass_use=yes
20468 else
20469 glibcxx_cv_func__fpclass_use=no
20471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20472 ac_ext=c
20473 ac_cpp='$CPP $CPPFLAGS'
20474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
20483 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
20485 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20486 for ac_func in _fpclass
20487 do :
20488 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
20489 if test "x$ac_cv_func__fpclass" = x""yes; then :
20490 cat >>confdefs.h <<_ACEOF
20491 #define HAVE__FPCLASS 1
20492 _ACEOF
20495 done
20504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
20505 $as_echo_n "checking for qfpclass declaration... " >&6; }
20506 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
20507 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
20508 $as_echo_n "(cached) " >&6
20509 else
20512 ac_ext=cpp
20513 ac_cpp='$CXXCPP $CPPFLAGS'
20514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20519 /* end confdefs.h. */
20520 #include <math.h>
20521 #ifdef HAVE_IEEEFP_H
20522 #include <ieeefp.h>
20523 #endif
20526 main ()
20528 qfpclass(0);
20530 return 0;
20532 _ACEOF
20533 if ac_fn_cxx_try_compile "$LINENO"; then :
20534 glibcxx_cv_func_qfpclass_use=yes
20535 else
20536 glibcxx_cv_func_qfpclass_use=no
20538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20539 ac_ext=c
20540 ac_cpp='$CPP $CPPFLAGS'
20541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
20550 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
20552 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
20553 for ac_func in qfpclass
20554 do :
20555 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
20556 if test "x$ac_cv_func_qfpclass" = x""yes; then :
20557 cat >>confdefs.h <<_ACEOF
20558 #define HAVE_QFPCLASS 1
20559 _ACEOF
20562 done
20564 else
20566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
20567 $as_echo_n "checking for _qfpclass declaration... " >&6; }
20568 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
20569 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
20570 $as_echo_n "(cached) " >&6
20571 else
20574 ac_ext=cpp
20575 ac_cpp='$CXXCPP $CPPFLAGS'
20576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20581 /* end confdefs.h. */
20582 #include <math.h>
20583 #ifdef HAVE_IEEEFP_H
20584 #include <ieeefp.h>
20585 #endif
20588 main ()
20590 _qfpclass(0);
20592 return 0;
20594 _ACEOF
20595 if ac_fn_cxx_try_compile "$LINENO"; then :
20596 glibcxx_cv_func__qfpclass_use=yes
20597 else
20598 glibcxx_cv_func__qfpclass_use=no
20600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20601 ac_ext=c
20602 ac_cpp='$CPP $CPPFLAGS'
20603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
20612 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
20614 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
20615 for ac_func in _qfpclass
20616 do :
20617 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
20618 if test "x$ac_cv_func__qfpclass" = x""yes; then :
20619 cat >>confdefs.h <<_ACEOF
20620 #define HAVE__QFPCLASS 1
20621 _ACEOF
20624 done
20633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
20634 $as_echo_n "checking for hypot declaration... " >&6; }
20635 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
20636 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
20637 $as_echo_n "(cached) " >&6
20638 else
20641 ac_ext=cpp
20642 ac_cpp='$CXXCPP $CPPFLAGS'
20643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20648 /* end confdefs.h. */
20649 #include <math.h>
20651 main ()
20653 hypot(0, 0);
20655 return 0;
20657 _ACEOF
20658 if ac_fn_cxx_try_compile "$LINENO"; then :
20659 glibcxx_cv_func_hypot_use=yes
20660 else
20661 glibcxx_cv_func_hypot_use=no
20663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20664 ac_ext=c
20665 ac_cpp='$CPP $CPPFLAGS'
20666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
20675 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
20677 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
20678 for ac_func in hypot
20679 do :
20680 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
20681 if test "x$ac_cv_func_hypot" = x""yes; then :
20682 cat >>confdefs.h <<_ACEOF
20683 #define HAVE_HYPOT 1
20684 _ACEOF
20687 done
20689 else
20691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
20692 $as_echo_n "checking for _hypot declaration... " >&6; }
20693 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
20694 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
20695 $as_echo_n "(cached) " >&6
20696 else
20699 ac_ext=cpp
20700 ac_cpp='$CXXCPP $CPPFLAGS'
20701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20706 /* end confdefs.h. */
20707 #include <math.h>
20709 main ()
20711 _hypot(0, 0);
20713 return 0;
20715 _ACEOF
20716 if ac_fn_cxx_try_compile "$LINENO"; then :
20717 glibcxx_cv_func__hypot_use=yes
20718 else
20719 glibcxx_cv_func__hypot_use=no
20721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20722 ac_ext=c
20723 ac_cpp='$CPP $CPPFLAGS'
20724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
20733 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
20735 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
20736 for ac_func in _hypot
20737 do :
20738 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
20739 if test "x$ac_cv_func__hypot" = x""yes; then :
20740 cat >>confdefs.h <<_ACEOF
20741 #define HAVE__HYPOT 1
20742 _ACEOF
20745 done
20754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
20755 $as_echo_n "checking for float trig functions... " >&6; }
20756 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
20757 $as_echo_n "(cached) " >&6
20758 else
20761 ac_ext=cpp
20762 ac_cpp='$CXXCPP $CPPFLAGS'
20763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20768 /* end confdefs.h. */
20769 #include <math.h>
20771 main ()
20773 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
20775 return 0;
20777 _ACEOF
20778 if ac_fn_cxx_try_compile "$LINENO"; then :
20779 glibcxx_cv_func_float_trig_use=yes
20780 else
20781 glibcxx_cv_func_float_trig_use=no
20783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20784 ac_ext=c
20785 ac_cpp='$CPP $CPPFLAGS'
20786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
20793 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
20794 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
20795 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
20796 do :
20797 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20798 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20799 eval as_val=\$$as_ac_var
20800 if test "x$as_val" = x""yes; then :
20801 cat >>confdefs.h <<_ACEOF
20802 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20803 _ACEOF
20806 done
20808 else
20809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
20810 $as_echo_n "checking for _float trig functions... " >&6; }
20811 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
20812 $as_echo_n "(cached) " >&6
20813 else
20816 ac_ext=cpp
20817 ac_cpp='$CXXCPP $CPPFLAGS'
20818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20823 /* end confdefs.h. */
20824 #include <math.h>
20826 main ()
20828 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
20830 return 0;
20832 _ACEOF
20833 if ac_fn_cxx_try_compile "$LINENO"; then :
20834 glibcxx_cv_func__float_trig_use=yes
20835 else
20836 glibcxx_cv_func__float_trig_use=no
20838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20839 ac_ext=c
20840 ac_cpp='$CPP $CPPFLAGS'
20841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
20848 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
20849 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
20850 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
20851 do :
20852 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20853 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20854 eval as_val=\$$as_ac_var
20855 if test "x$as_val" = x""yes; then :
20856 cat >>confdefs.h <<_ACEOF
20857 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20858 _ACEOF
20861 done
20870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
20871 $as_echo_n "checking for float round functions... " >&6; }
20872 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
20873 $as_echo_n "(cached) " >&6
20874 else
20877 ac_ext=cpp
20878 ac_cpp='$CXXCPP $CPPFLAGS'
20879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20884 /* end confdefs.h. */
20885 #include <math.h>
20887 main ()
20889 ceilf (0); floorf (0);
20891 return 0;
20893 _ACEOF
20894 if ac_fn_cxx_try_compile "$LINENO"; then :
20895 glibcxx_cv_func_float_round_use=yes
20896 else
20897 glibcxx_cv_func_float_round_use=no
20899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20900 ac_ext=c
20901 ac_cpp='$CPP $CPPFLAGS'
20902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
20909 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
20910 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
20911 for ac_func in ceilf floorf
20912 do :
20913 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20914 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20915 eval as_val=\$$as_ac_var
20916 if test "x$as_val" = x""yes; then :
20917 cat >>confdefs.h <<_ACEOF
20918 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20919 _ACEOF
20922 done
20924 else
20925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
20926 $as_echo_n "checking for _float round functions... " >&6; }
20927 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
20928 $as_echo_n "(cached) " >&6
20929 else
20932 ac_ext=cpp
20933 ac_cpp='$CXXCPP $CPPFLAGS'
20934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20939 /* end confdefs.h. */
20940 #include <math.h>
20942 main ()
20944 _ceilf (0); _floorf (0);
20946 return 0;
20948 _ACEOF
20949 if ac_fn_cxx_try_compile "$LINENO"; then :
20950 glibcxx_cv_func__float_round_use=yes
20951 else
20952 glibcxx_cv_func__float_round_use=no
20954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20955 ac_ext=c
20956 ac_cpp='$CPP $CPPFLAGS'
20957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
20964 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
20965 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
20966 for ac_func in _ceilf _floorf
20967 do :
20968 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20969 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20970 eval as_val=\$$as_ac_var
20971 if test "x$as_val" = x""yes; then :
20972 cat >>confdefs.h <<_ACEOF
20973 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20974 _ACEOF
20977 done
20987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
20988 $as_echo_n "checking for expf declaration... " >&6; }
20989 if test x${glibcxx_cv_func_expf_use+set} != xset; then
20990 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
20991 $as_echo_n "(cached) " >&6
20992 else
20995 ac_ext=cpp
20996 ac_cpp='$CXXCPP $CPPFLAGS'
20997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21002 /* end confdefs.h. */
21003 #include <math.h>
21004 #ifdef HAVE_IEEEFP_H
21005 #include <ieeefp.h>
21006 #endif
21009 main ()
21011 expf(0);
21013 return 0;
21015 _ACEOF
21016 if ac_fn_cxx_try_compile "$LINENO"; then :
21017 glibcxx_cv_func_expf_use=yes
21018 else
21019 glibcxx_cv_func_expf_use=no
21021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21022 ac_ext=c
21023 ac_cpp='$CPP $CPPFLAGS'
21024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
21033 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
21035 if test x$glibcxx_cv_func_expf_use = x"yes"; then
21036 for ac_func in expf
21037 do :
21038 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
21039 if test "x$ac_cv_func_expf" = x""yes; then :
21040 cat >>confdefs.h <<_ACEOF
21041 #define HAVE_EXPF 1
21042 _ACEOF
21045 done
21047 else
21049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
21050 $as_echo_n "checking for _expf declaration... " >&6; }
21051 if test x${glibcxx_cv_func__expf_use+set} != xset; then
21052 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
21053 $as_echo_n "(cached) " >&6
21054 else
21057 ac_ext=cpp
21058 ac_cpp='$CXXCPP $CPPFLAGS'
21059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21064 /* end confdefs.h. */
21065 #include <math.h>
21066 #ifdef HAVE_IEEEFP_H
21067 #include <ieeefp.h>
21068 #endif
21071 main ()
21073 _expf(0);
21075 return 0;
21077 _ACEOF
21078 if ac_fn_cxx_try_compile "$LINENO"; then :
21079 glibcxx_cv_func__expf_use=yes
21080 else
21081 glibcxx_cv_func__expf_use=no
21083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21084 ac_ext=c
21085 ac_cpp='$CPP $CPPFLAGS'
21086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21095 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21097 if test x$glibcxx_cv_func__expf_use = x"yes"; then
21098 for ac_func in _expf
21099 do :
21100 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21101 if test "x$ac_cv_func__expf" = x""yes; then :
21102 cat >>confdefs.h <<_ACEOF
21103 #define HAVE__EXPF 1
21104 _ACEOF
21107 done
21116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21117 $as_echo_n "checking for isnanf declaration... " >&6; }
21118 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21119 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21120 $as_echo_n "(cached) " >&6
21121 else
21124 ac_ext=cpp
21125 ac_cpp='$CXXCPP $CPPFLAGS'
21126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21131 /* end confdefs.h. */
21132 #include <math.h>
21133 #ifdef HAVE_IEEEFP_H
21134 #include <ieeefp.h>
21135 #endif
21138 main ()
21140 isnanf(0);
21142 return 0;
21144 _ACEOF
21145 if ac_fn_cxx_try_compile "$LINENO"; then :
21146 glibcxx_cv_func_isnanf_use=yes
21147 else
21148 glibcxx_cv_func_isnanf_use=no
21150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21151 ac_ext=c
21152 ac_cpp='$CPP $CPPFLAGS'
21153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21162 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21164 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21165 for ac_func in isnanf
21166 do :
21167 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21168 if test "x$ac_cv_func_isnanf" = x""yes; then :
21169 cat >>confdefs.h <<_ACEOF
21170 #define HAVE_ISNANF 1
21171 _ACEOF
21174 done
21176 else
21178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21179 $as_echo_n "checking for _isnanf declaration... " >&6; }
21180 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21181 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21182 $as_echo_n "(cached) " >&6
21183 else
21186 ac_ext=cpp
21187 ac_cpp='$CXXCPP $CPPFLAGS'
21188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21193 /* end confdefs.h. */
21194 #include <math.h>
21195 #ifdef HAVE_IEEEFP_H
21196 #include <ieeefp.h>
21197 #endif
21200 main ()
21202 _isnanf(0);
21204 return 0;
21206 _ACEOF
21207 if ac_fn_cxx_try_compile "$LINENO"; then :
21208 glibcxx_cv_func__isnanf_use=yes
21209 else
21210 glibcxx_cv_func__isnanf_use=no
21212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21213 ac_ext=c
21214 ac_cpp='$CPP $CPPFLAGS'
21215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
21224 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
21226 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
21227 for ac_func in _isnanf
21228 do :
21229 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
21230 if test "x$ac_cv_func__isnanf" = x""yes; then :
21231 cat >>confdefs.h <<_ACEOF
21232 #define HAVE__ISNANF 1
21233 _ACEOF
21236 done
21245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
21246 $as_echo_n "checking for isinff declaration... " >&6; }
21247 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
21248 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
21249 $as_echo_n "(cached) " >&6
21250 else
21253 ac_ext=cpp
21254 ac_cpp='$CXXCPP $CPPFLAGS'
21255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21260 /* end confdefs.h. */
21261 #include <math.h>
21262 #ifdef HAVE_IEEEFP_H
21263 #include <ieeefp.h>
21264 #endif
21267 main ()
21269 isinff(0);
21271 return 0;
21273 _ACEOF
21274 if ac_fn_cxx_try_compile "$LINENO"; then :
21275 glibcxx_cv_func_isinff_use=yes
21276 else
21277 glibcxx_cv_func_isinff_use=no
21279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21280 ac_ext=c
21281 ac_cpp='$CPP $CPPFLAGS'
21282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
21291 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
21293 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
21294 for ac_func in isinff
21295 do :
21296 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
21297 if test "x$ac_cv_func_isinff" = x""yes; then :
21298 cat >>confdefs.h <<_ACEOF
21299 #define HAVE_ISINFF 1
21300 _ACEOF
21303 done
21305 else
21307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
21308 $as_echo_n "checking for _isinff declaration... " >&6; }
21309 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
21310 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
21311 $as_echo_n "(cached) " >&6
21312 else
21315 ac_ext=cpp
21316 ac_cpp='$CXXCPP $CPPFLAGS'
21317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21322 /* end confdefs.h. */
21323 #include <math.h>
21324 #ifdef HAVE_IEEEFP_H
21325 #include <ieeefp.h>
21326 #endif
21329 main ()
21331 _isinff(0);
21333 return 0;
21335 _ACEOF
21336 if ac_fn_cxx_try_compile "$LINENO"; then :
21337 glibcxx_cv_func__isinff_use=yes
21338 else
21339 glibcxx_cv_func__isinff_use=no
21341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21342 ac_ext=c
21343 ac_cpp='$CPP $CPPFLAGS'
21344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
21353 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
21355 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
21356 for ac_func in _isinff
21357 do :
21358 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
21359 if test "x$ac_cv_func__isinff" = x""yes; then :
21360 cat >>confdefs.h <<_ACEOF
21361 #define HAVE__ISINFF 1
21362 _ACEOF
21365 done
21374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
21375 $as_echo_n "checking for atan2f declaration... " >&6; }
21376 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
21377 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
21378 $as_echo_n "(cached) " >&6
21379 else
21382 ac_ext=cpp
21383 ac_cpp='$CXXCPP $CPPFLAGS'
21384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21389 /* end confdefs.h. */
21390 #include <math.h>
21392 main ()
21394 atan2f(0, 0);
21396 return 0;
21398 _ACEOF
21399 if ac_fn_cxx_try_compile "$LINENO"; then :
21400 glibcxx_cv_func_atan2f_use=yes
21401 else
21402 glibcxx_cv_func_atan2f_use=no
21404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21405 ac_ext=c
21406 ac_cpp='$CPP $CPPFLAGS'
21407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
21416 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
21418 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
21419 for ac_func in atan2f
21420 do :
21421 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
21422 if test "x$ac_cv_func_atan2f" = x""yes; then :
21423 cat >>confdefs.h <<_ACEOF
21424 #define HAVE_ATAN2F 1
21425 _ACEOF
21428 done
21430 else
21432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
21433 $as_echo_n "checking for _atan2f declaration... " >&6; }
21434 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
21435 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
21436 $as_echo_n "(cached) " >&6
21437 else
21440 ac_ext=cpp
21441 ac_cpp='$CXXCPP $CPPFLAGS'
21442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21447 /* end confdefs.h. */
21448 #include <math.h>
21450 main ()
21452 _atan2f(0, 0);
21454 return 0;
21456 _ACEOF
21457 if ac_fn_cxx_try_compile "$LINENO"; then :
21458 glibcxx_cv_func__atan2f_use=yes
21459 else
21460 glibcxx_cv_func__atan2f_use=no
21462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21463 ac_ext=c
21464 ac_cpp='$CPP $CPPFLAGS'
21465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
21474 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
21476 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
21477 for ac_func in _atan2f
21478 do :
21479 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
21480 if test "x$ac_cv_func__atan2f" = x""yes; then :
21481 cat >>confdefs.h <<_ACEOF
21482 #define HAVE__ATAN2F 1
21483 _ACEOF
21486 done
21495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
21496 $as_echo_n "checking for fabsf declaration... " >&6; }
21497 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
21498 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
21499 $as_echo_n "(cached) " >&6
21500 else
21503 ac_ext=cpp
21504 ac_cpp='$CXXCPP $CPPFLAGS'
21505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21510 /* end confdefs.h. */
21511 #include <math.h>
21512 #ifdef HAVE_IEEEFP_H
21513 #include <ieeefp.h>
21514 #endif
21517 main ()
21519 fabsf(0);
21521 return 0;
21523 _ACEOF
21524 if ac_fn_cxx_try_compile "$LINENO"; then :
21525 glibcxx_cv_func_fabsf_use=yes
21526 else
21527 glibcxx_cv_func_fabsf_use=no
21529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21530 ac_ext=c
21531 ac_cpp='$CPP $CPPFLAGS'
21532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
21541 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
21543 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
21544 for ac_func in fabsf
21545 do :
21546 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
21547 if test "x$ac_cv_func_fabsf" = x""yes; then :
21548 cat >>confdefs.h <<_ACEOF
21549 #define HAVE_FABSF 1
21550 _ACEOF
21553 done
21555 else
21557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
21558 $as_echo_n "checking for _fabsf declaration... " >&6; }
21559 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
21560 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
21561 $as_echo_n "(cached) " >&6
21562 else
21565 ac_ext=cpp
21566 ac_cpp='$CXXCPP $CPPFLAGS'
21567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21572 /* end confdefs.h. */
21573 #include <math.h>
21574 #ifdef HAVE_IEEEFP_H
21575 #include <ieeefp.h>
21576 #endif
21579 main ()
21581 _fabsf(0);
21583 return 0;
21585 _ACEOF
21586 if ac_fn_cxx_try_compile "$LINENO"; then :
21587 glibcxx_cv_func__fabsf_use=yes
21588 else
21589 glibcxx_cv_func__fabsf_use=no
21591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21592 ac_ext=c
21593 ac_cpp='$CPP $CPPFLAGS'
21594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
21603 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
21605 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
21606 for ac_func in _fabsf
21607 do :
21608 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
21609 if test "x$ac_cv_func__fabsf" = x""yes; then :
21610 cat >>confdefs.h <<_ACEOF
21611 #define HAVE__FABSF 1
21612 _ACEOF
21615 done
21624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
21625 $as_echo_n "checking for fmodf declaration... " >&6; }
21626 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
21627 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
21628 $as_echo_n "(cached) " >&6
21629 else
21632 ac_ext=cpp
21633 ac_cpp='$CXXCPP $CPPFLAGS'
21634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21639 /* end confdefs.h. */
21640 #include <math.h>
21642 main ()
21644 fmodf(0, 0);
21646 return 0;
21648 _ACEOF
21649 if ac_fn_cxx_try_compile "$LINENO"; then :
21650 glibcxx_cv_func_fmodf_use=yes
21651 else
21652 glibcxx_cv_func_fmodf_use=no
21654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21655 ac_ext=c
21656 ac_cpp='$CPP $CPPFLAGS'
21657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
21666 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
21668 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
21669 for ac_func in fmodf
21670 do :
21671 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
21672 if test "x$ac_cv_func_fmodf" = x""yes; then :
21673 cat >>confdefs.h <<_ACEOF
21674 #define HAVE_FMODF 1
21675 _ACEOF
21678 done
21680 else
21682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
21683 $as_echo_n "checking for _fmodf declaration... " >&6; }
21684 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
21685 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
21686 $as_echo_n "(cached) " >&6
21687 else
21690 ac_ext=cpp
21691 ac_cpp='$CXXCPP $CPPFLAGS'
21692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21697 /* end confdefs.h. */
21698 #include <math.h>
21700 main ()
21702 _fmodf(0, 0);
21704 return 0;
21706 _ACEOF
21707 if ac_fn_cxx_try_compile "$LINENO"; then :
21708 glibcxx_cv_func__fmodf_use=yes
21709 else
21710 glibcxx_cv_func__fmodf_use=no
21712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21713 ac_ext=c
21714 ac_cpp='$CPP $CPPFLAGS'
21715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
21724 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
21726 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
21727 for ac_func in _fmodf
21728 do :
21729 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
21730 if test "x$ac_cv_func__fmodf" = x""yes; then :
21731 cat >>confdefs.h <<_ACEOF
21732 #define HAVE__FMODF 1
21733 _ACEOF
21736 done
21745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
21746 $as_echo_n "checking for frexpf declaration... " >&6; }
21747 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
21748 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
21749 $as_echo_n "(cached) " >&6
21750 else
21753 ac_ext=cpp
21754 ac_cpp='$CXXCPP $CPPFLAGS'
21755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21760 /* end confdefs.h. */
21761 #include <math.h>
21763 main ()
21765 frexpf(0, 0);
21767 return 0;
21769 _ACEOF
21770 if ac_fn_cxx_try_compile "$LINENO"; then :
21771 glibcxx_cv_func_frexpf_use=yes
21772 else
21773 glibcxx_cv_func_frexpf_use=no
21775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21776 ac_ext=c
21777 ac_cpp='$CPP $CPPFLAGS'
21778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
21787 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
21789 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
21790 for ac_func in frexpf
21791 do :
21792 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
21793 if test "x$ac_cv_func_frexpf" = x""yes; then :
21794 cat >>confdefs.h <<_ACEOF
21795 #define HAVE_FREXPF 1
21796 _ACEOF
21799 done
21801 else
21803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
21804 $as_echo_n "checking for _frexpf declaration... " >&6; }
21805 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
21806 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
21807 $as_echo_n "(cached) " >&6
21808 else
21811 ac_ext=cpp
21812 ac_cpp='$CXXCPP $CPPFLAGS'
21813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21818 /* end confdefs.h. */
21819 #include <math.h>
21821 main ()
21823 _frexpf(0, 0);
21825 return 0;
21827 _ACEOF
21828 if ac_fn_cxx_try_compile "$LINENO"; then :
21829 glibcxx_cv_func__frexpf_use=yes
21830 else
21831 glibcxx_cv_func__frexpf_use=no
21833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21834 ac_ext=c
21835 ac_cpp='$CPP $CPPFLAGS'
21836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
21845 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
21847 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
21848 for ac_func in _frexpf
21849 do :
21850 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
21851 if test "x$ac_cv_func__frexpf" = x""yes; then :
21852 cat >>confdefs.h <<_ACEOF
21853 #define HAVE__FREXPF 1
21854 _ACEOF
21857 done
21866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
21867 $as_echo_n "checking for hypotf declaration... " >&6; }
21868 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
21869 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
21870 $as_echo_n "(cached) " >&6
21871 else
21874 ac_ext=cpp
21875 ac_cpp='$CXXCPP $CPPFLAGS'
21876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21881 /* end confdefs.h. */
21882 #include <math.h>
21884 main ()
21886 hypotf(0, 0);
21888 return 0;
21890 _ACEOF
21891 if ac_fn_cxx_try_compile "$LINENO"; then :
21892 glibcxx_cv_func_hypotf_use=yes
21893 else
21894 glibcxx_cv_func_hypotf_use=no
21896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21897 ac_ext=c
21898 ac_cpp='$CPP $CPPFLAGS'
21899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
21908 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
21910 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
21911 for ac_func in hypotf
21912 do :
21913 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
21914 if test "x$ac_cv_func_hypotf" = x""yes; then :
21915 cat >>confdefs.h <<_ACEOF
21916 #define HAVE_HYPOTF 1
21917 _ACEOF
21920 done
21922 else
21924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
21925 $as_echo_n "checking for _hypotf declaration... " >&6; }
21926 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
21927 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
21928 $as_echo_n "(cached) " >&6
21929 else
21932 ac_ext=cpp
21933 ac_cpp='$CXXCPP $CPPFLAGS'
21934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21939 /* end confdefs.h. */
21940 #include <math.h>
21942 main ()
21944 _hypotf(0, 0);
21946 return 0;
21948 _ACEOF
21949 if ac_fn_cxx_try_compile "$LINENO"; then :
21950 glibcxx_cv_func__hypotf_use=yes
21951 else
21952 glibcxx_cv_func__hypotf_use=no
21954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21955 ac_ext=c
21956 ac_cpp='$CPP $CPPFLAGS'
21957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
21966 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
21968 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
21969 for ac_func in _hypotf
21970 do :
21971 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
21972 if test "x$ac_cv_func__hypotf" = x""yes; then :
21973 cat >>confdefs.h <<_ACEOF
21974 #define HAVE__HYPOTF 1
21975 _ACEOF
21978 done
21987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
21988 $as_echo_n "checking for ldexpf declaration... " >&6; }
21989 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
21990 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
21991 $as_echo_n "(cached) " >&6
21992 else
21995 ac_ext=cpp
21996 ac_cpp='$CXXCPP $CPPFLAGS'
21997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22002 /* end confdefs.h. */
22003 #include <math.h>
22005 main ()
22007 ldexpf(0, 0);
22009 return 0;
22011 _ACEOF
22012 if ac_fn_cxx_try_compile "$LINENO"; then :
22013 glibcxx_cv_func_ldexpf_use=yes
22014 else
22015 glibcxx_cv_func_ldexpf_use=no
22017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22018 ac_ext=c
22019 ac_cpp='$CPP $CPPFLAGS'
22020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
22029 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
22031 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
22032 for ac_func in ldexpf
22033 do :
22034 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
22035 if test "x$ac_cv_func_ldexpf" = x""yes; then :
22036 cat >>confdefs.h <<_ACEOF
22037 #define HAVE_LDEXPF 1
22038 _ACEOF
22041 done
22043 else
22045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
22046 $as_echo_n "checking for _ldexpf declaration... " >&6; }
22047 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
22048 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
22049 $as_echo_n "(cached) " >&6
22050 else
22053 ac_ext=cpp
22054 ac_cpp='$CXXCPP $CPPFLAGS'
22055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22060 /* end confdefs.h. */
22061 #include <math.h>
22063 main ()
22065 _ldexpf(0, 0);
22067 return 0;
22069 _ACEOF
22070 if ac_fn_cxx_try_compile "$LINENO"; then :
22071 glibcxx_cv_func__ldexpf_use=yes
22072 else
22073 glibcxx_cv_func__ldexpf_use=no
22075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22076 ac_ext=c
22077 ac_cpp='$CPP $CPPFLAGS'
22078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22087 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22089 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22090 for ac_func in _ldexpf
22091 do :
22092 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22093 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22094 cat >>confdefs.h <<_ACEOF
22095 #define HAVE__LDEXPF 1
22096 _ACEOF
22099 done
22108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22109 $as_echo_n "checking for logf declaration... " >&6; }
22110 if test x${glibcxx_cv_func_logf_use+set} != xset; then
22111 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22112 $as_echo_n "(cached) " >&6
22113 else
22116 ac_ext=cpp
22117 ac_cpp='$CXXCPP $CPPFLAGS'
22118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22123 /* end confdefs.h. */
22124 #include <math.h>
22125 #ifdef HAVE_IEEEFP_H
22126 #include <ieeefp.h>
22127 #endif
22130 main ()
22132 logf(0);
22134 return 0;
22136 _ACEOF
22137 if ac_fn_cxx_try_compile "$LINENO"; then :
22138 glibcxx_cv_func_logf_use=yes
22139 else
22140 glibcxx_cv_func_logf_use=no
22142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22143 ac_ext=c
22144 ac_cpp='$CPP $CPPFLAGS'
22145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22154 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22156 if test x$glibcxx_cv_func_logf_use = x"yes"; then
22157 for ac_func in logf
22158 do :
22159 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22160 if test "x$ac_cv_func_logf" = x""yes; then :
22161 cat >>confdefs.h <<_ACEOF
22162 #define HAVE_LOGF 1
22163 _ACEOF
22166 done
22168 else
22170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22171 $as_echo_n "checking for _logf declaration... " >&6; }
22172 if test x${glibcxx_cv_func__logf_use+set} != xset; then
22173 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22174 $as_echo_n "(cached) " >&6
22175 else
22178 ac_ext=cpp
22179 ac_cpp='$CXXCPP $CPPFLAGS'
22180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22185 /* end confdefs.h. */
22186 #include <math.h>
22187 #ifdef HAVE_IEEEFP_H
22188 #include <ieeefp.h>
22189 #endif
22192 main ()
22194 _logf(0);
22196 return 0;
22198 _ACEOF
22199 if ac_fn_cxx_try_compile "$LINENO"; then :
22200 glibcxx_cv_func__logf_use=yes
22201 else
22202 glibcxx_cv_func__logf_use=no
22204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22205 ac_ext=c
22206 ac_cpp='$CPP $CPPFLAGS'
22207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
22216 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22218 if test x$glibcxx_cv_func__logf_use = x"yes"; then
22219 for ac_func in _logf
22220 do :
22221 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
22222 if test "x$ac_cv_func__logf" = x""yes; then :
22223 cat >>confdefs.h <<_ACEOF
22224 #define HAVE__LOGF 1
22225 _ACEOF
22228 done
22237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
22238 $as_echo_n "checking for log10f declaration... " >&6; }
22239 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
22240 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
22241 $as_echo_n "(cached) " >&6
22242 else
22245 ac_ext=cpp
22246 ac_cpp='$CXXCPP $CPPFLAGS'
22247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22252 /* end confdefs.h. */
22253 #include <math.h>
22254 #ifdef HAVE_IEEEFP_H
22255 #include <ieeefp.h>
22256 #endif
22259 main ()
22261 log10f(0);
22263 return 0;
22265 _ACEOF
22266 if ac_fn_cxx_try_compile "$LINENO"; then :
22267 glibcxx_cv_func_log10f_use=yes
22268 else
22269 glibcxx_cv_func_log10f_use=no
22271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22272 ac_ext=c
22273 ac_cpp='$CPP $CPPFLAGS'
22274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
22283 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
22285 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
22286 for ac_func in log10f
22287 do :
22288 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
22289 if test "x$ac_cv_func_log10f" = x""yes; then :
22290 cat >>confdefs.h <<_ACEOF
22291 #define HAVE_LOG10F 1
22292 _ACEOF
22295 done
22297 else
22299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
22300 $as_echo_n "checking for _log10f declaration... " >&6; }
22301 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
22302 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
22303 $as_echo_n "(cached) " >&6
22304 else
22307 ac_ext=cpp
22308 ac_cpp='$CXXCPP $CPPFLAGS'
22309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22314 /* end confdefs.h. */
22315 #include <math.h>
22316 #ifdef HAVE_IEEEFP_H
22317 #include <ieeefp.h>
22318 #endif
22321 main ()
22323 _log10f(0);
22325 return 0;
22327 _ACEOF
22328 if ac_fn_cxx_try_compile "$LINENO"; then :
22329 glibcxx_cv_func__log10f_use=yes
22330 else
22331 glibcxx_cv_func__log10f_use=no
22333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22334 ac_ext=c
22335 ac_cpp='$CPP $CPPFLAGS'
22336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
22345 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
22347 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
22348 for ac_func in _log10f
22349 do :
22350 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
22351 if test "x$ac_cv_func__log10f" = x""yes; then :
22352 cat >>confdefs.h <<_ACEOF
22353 #define HAVE__LOG10F 1
22354 _ACEOF
22357 done
22366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
22367 $as_echo_n "checking for modff declaration... " >&6; }
22368 if test x${glibcxx_cv_func_modff_use+set} != xset; then
22369 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
22370 $as_echo_n "(cached) " >&6
22371 else
22374 ac_ext=cpp
22375 ac_cpp='$CXXCPP $CPPFLAGS'
22376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22381 /* end confdefs.h. */
22382 #include <math.h>
22384 main ()
22386 modff(0, 0);
22388 return 0;
22390 _ACEOF
22391 if ac_fn_cxx_try_compile "$LINENO"; then :
22392 glibcxx_cv_func_modff_use=yes
22393 else
22394 glibcxx_cv_func_modff_use=no
22396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22397 ac_ext=c
22398 ac_cpp='$CPP $CPPFLAGS'
22399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
22408 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
22410 if test x$glibcxx_cv_func_modff_use = x"yes"; then
22411 for ac_func in modff
22412 do :
22413 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
22414 if test "x$ac_cv_func_modff" = x""yes; then :
22415 cat >>confdefs.h <<_ACEOF
22416 #define HAVE_MODFF 1
22417 _ACEOF
22420 done
22422 else
22424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
22425 $as_echo_n "checking for _modff declaration... " >&6; }
22426 if test x${glibcxx_cv_func__modff_use+set} != xset; then
22427 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
22428 $as_echo_n "(cached) " >&6
22429 else
22432 ac_ext=cpp
22433 ac_cpp='$CXXCPP $CPPFLAGS'
22434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22439 /* end confdefs.h. */
22440 #include <math.h>
22442 main ()
22444 _modff(0, 0);
22446 return 0;
22448 _ACEOF
22449 if ac_fn_cxx_try_compile "$LINENO"; then :
22450 glibcxx_cv_func__modff_use=yes
22451 else
22452 glibcxx_cv_func__modff_use=no
22454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22455 ac_ext=c
22456 ac_cpp='$CPP $CPPFLAGS'
22457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
22466 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
22468 if test x$glibcxx_cv_func__modff_use = x"yes"; then
22469 for ac_func in _modff
22470 do :
22471 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
22472 if test "x$ac_cv_func__modff" = x""yes; then :
22473 cat >>confdefs.h <<_ACEOF
22474 #define HAVE__MODFF 1
22475 _ACEOF
22478 done
22487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
22488 $as_echo_n "checking for modf declaration... " >&6; }
22489 if test x${glibcxx_cv_func_modf_use+set} != xset; then
22490 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
22491 $as_echo_n "(cached) " >&6
22492 else
22495 ac_ext=cpp
22496 ac_cpp='$CXXCPP $CPPFLAGS'
22497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22502 /* end confdefs.h. */
22503 #include <math.h>
22505 main ()
22507 modf(0, 0);
22509 return 0;
22511 _ACEOF
22512 if ac_fn_cxx_try_compile "$LINENO"; then :
22513 glibcxx_cv_func_modf_use=yes
22514 else
22515 glibcxx_cv_func_modf_use=no
22517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22518 ac_ext=c
22519 ac_cpp='$CPP $CPPFLAGS'
22520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
22529 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
22531 if test x$glibcxx_cv_func_modf_use = x"yes"; then
22532 for ac_func in modf
22533 do :
22534 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
22535 if test "x$ac_cv_func_modf" = x""yes; then :
22536 cat >>confdefs.h <<_ACEOF
22537 #define HAVE_MODF 1
22538 _ACEOF
22541 done
22543 else
22545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
22546 $as_echo_n "checking for _modf declaration... " >&6; }
22547 if test x${glibcxx_cv_func__modf_use+set} != xset; then
22548 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
22549 $as_echo_n "(cached) " >&6
22550 else
22553 ac_ext=cpp
22554 ac_cpp='$CXXCPP $CPPFLAGS'
22555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22560 /* end confdefs.h. */
22561 #include <math.h>
22563 main ()
22565 _modf(0, 0);
22567 return 0;
22569 _ACEOF
22570 if ac_fn_cxx_try_compile "$LINENO"; then :
22571 glibcxx_cv_func__modf_use=yes
22572 else
22573 glibcxx_cv_func__modf_use=no
22575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22576 ac_ext=c
22577 ac_cpp='$CPP $CPPFLAGS'
22578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
22587 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
22589 if test x$glibcxx_cv_func__modf_use = x"yes"; then
22590 for ac_func in _modf
22591 do :
22592 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
22593 if test "x$ac_cv_func__modf" = x""yes; then :
22594 cat >>confdefs.h <<_ACEOF
22595 #define HAVE__MODF 1
22596 _ACEOF
22599 done
22608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
22609 $as_echo_n "checking for powf declaration... " >&6; }
22610 if test x${glibcxx_cv_func_powf_use+set} != xset; then
22611 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
22612 $as_echo_n "(cached) " >&6
22613 else
22616 ac_ext=cpp
22617 ac_cpp='$CXXCPP $CPPFLAGS'
22618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22623 /* end confdefs.h. */
22624 #include <math.h>
22626 main ()
22628 powf(0, 0);
22630 return 0;
22632 _ACEOF
22633 if ac_fn_cxx_try_compile "$LINENO"; then :
22634 glibcxx_cv_func_powf_use=yes
22635 else
22636 glibcxx_cv_func_powf_use=no
22638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22639 ac_ext=c
22640 ac_cpp='$CPP $CPPFLAGS'
22641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
22650 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
22652 if test x$glibcxx_cv_func_powf_use = x"yes"; then
22653 for ac_func in powf
22654 do :
22655 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
22656 if test "x$ac_cv_func_powf" = x""yes; then :
22657 cat >>confdefs.h <<_ACEOF
22658 #define HAVE_POWF 1
22659 _ACEOF
22662 done
22664 else
22666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
22667 $as_echo_n "checking for _powf declaration... " >&6; }
22668 if test x${glibcxx_cv_func__powf_use+set} != xset; then
22669 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
22670 $as_echo_n "(cached) " >&6
22671 else
22674 ac_ext=cpp
22675 ac_cpp='$CXXCPP $CPPFLAGS'
22676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22681 /* end confdefs.h. */
22682 #include <math.h>
22684 main ()
22686 _powf(0, 0);
22688 return 0;
22690 _ACEOF
22691 if ac_fn_cxx_try_compile "$LINENO"; then :
22692 glibcxx_cv_func__powf_use=yes
22693 else
22694 glibcxx_cv_func__powf_use=no
22696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22697 ac_ext=c
22698 ac_cpp='$CPP $CPPFLAGS'
22699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
22708 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
22710 if test x$glibcxx_cv_func__powf_use = x"yes"; then
22711 for ac_func in _powf
22712 do :
22713 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
22714 if test "x$ac_cv_func__powf" = x""yes; then :
22715 cat >>confdefs.h <<_ACEOF
22716 #define HAVE__POWF 1
22717 _ACEOF
22720 done
22729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
22730 $as_echo_n "checking for sqrtf declaration... " >&6; }
22731 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
22732 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
22733 $as_echo_n "(cached) " >&6
22734 else
22737 ac_ext=cpp
22738 ac_cpp='$CXXCPP $CPPFLAGS'
22739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22744 /* end confdefs.h. */
22745 #include <math.h>
22746 #ifdef HAVE_IEEEFP_H
22747 #include <ieeefp.h>
22748 #endif
22751 main ()
22753 sqrtf(0);
22755 return 0;
22757 _ACEOF
22758 if ac_fn_cxx_try_compile "$LINENO"; then :
22759 glibcxx_cv_func_sqrtf_use=yes
22760 else
22761 glibcxx_cv_func_sqrtf_use=no
22763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22764 ac_ext=c
22765 ac_cpp='$CPP $CPPFLAGS'
22766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
22775 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
22777 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
22778 for ac_func in sqrtf
22779 do :
22780 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
22781 if test "x$ac_cv_func_sqrtf" = x""yes; then :
22782 cat >>confdefs.h <<_ACEOF
22783 #define HAVE_SQRTF 1
22784 _ACEOF
22787 done
22789 else
22791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
22792 $as_echo_n "checking for _sqrtf declaration... " >&6; }
22793 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
22794 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
22795 $as_echo_n "(cached) " >&6
22796 else
22799 ac_ext=cpp
22800 ac_cpp='$CXXCPP $CPPFLAGS'
22801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22806 /* end confdefs.h. */
22807 #include <math.h>
22808 #ifdef HAVE_IEEEFP_H
22809 #include <ieeefp.h>
22810 #endif
22813 main ()
22815 _sqrtf(0);
22817 return 0;
22819 _ACEOF
22820 if ac_fn_cxx_try_compile "$LINENO"; then :
22821 glibcxx_cv_func__sqrtf_use=yes
22822 else
22823 glibcxx_cv_func__sqrtf_use=no
22825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22826 ac_ext=c
22827 ac_cpp='$CPP $CPPFLAGS'
22828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
22837 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
22839 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
22840 for ac_func in _sqrtf
22841 do :
22842 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
22843 if test "x$ac_cv_func__sqrtf" = x""yes; then :
22844 cat >>confdefs.h <<_ACEOF
22845 #define HAVE__SQRTF 1
22846 _ACEOF
22849 done
22858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
22859 $as_echo_n "checking for sincosf declaration... " >&6; }
22860 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
22861 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
22862 $as_echo_n "(cached) " >&6
22863 else
22866 ac_ext=cpp
22867 ac_cpp='$CXXCPP $CPPFLAGS'
22868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22873 /* end confdefs.h. */
22874 #include <math.h>
22876 main ()
22878 sincosf(0, 0, 0);
22880 return 0;
22882 _ACEOF
22883 if ac_fn_cxx_try_compile "$LINENO"; then :
22884 glibcxx_cv_func_sincosf_use=yes
22885 else
22886 glibcxx_cv_func_sincosf_use=no
22888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22889 ac_ext=c
22890 ac_cpp='$CPP $CPPFLAGS'
22891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
22900 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
22902 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
22903 for ac_func in sincosf
22904 do :
22905 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
22906 if test "x$ac_cv_func_sincosf" = x""yes; then :
22907 cat >>confdefs.h <<_ACEOF
22908 #define HAVE_SINCOSF 1
22909 _ACEOF
22912 done
22914 else
22916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
22917 $as_echo_n "checking for _sincosf declaration... " >&6; }
22918 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
22919 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
22920 $as_echo_n "(cached) " >&6
22921 else
22924 ac_ext=cpp
22925 ac_cpp='$CXXCPP $CPPFLAGS'
22926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22931 /* end confdefs.h. */
22932 #include <math.h>
22934 main ()
22936 _sincosf(0, 0, 0);
22938 return 0;
22940 _ACEOF
22941 if ac_fn_cxx_try_compile "$LINENO"; then :
22942 glibcxx_cv_func__sincosf_use=yes
22943 else
22944 glibcxx_cv_func__sincosf_use=no
22946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22947 ac_ext=c
22948 ac_cpp='$CPP $CPPFLAGS'
22949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
22958 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
22960 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
22961 for ac_func in _sincosf
22962 do :
22963 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
22964 if test "x$ac_cv_func__sincosf" = x""yes; then :
22965 cat >>confdefs.h <<_ACEOF
22966 #define HAVE__SINCOSF 1
22967 _ACEOF
22970 done
22979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
22980 $as_echo_n "checking for finitef declaration... " >&6; }
22981 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
22982 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
22983 $as_echo_n "(cached) " >&6
22984 else
22987 ac_ext=cpp
22988 ac_cpp='$CXXCPP $CPPFLAGS'
22989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22994 /* end confdefs.h. */
22995 #include <math.h>
22996 #ifdef HAVE_IEEEFP_H
22997 #include <ieeefp.h>
22998 #endif
23001 main ()
23003 finitef(0);
23005 return 0;
23007 _ACEOF
23008 if ac_fn_cxx_try_compile "$LINENO"; then :
23009 glibcxx_cv_func_finitef_use=yes
23010 else
23011 glibcxx_cv_func_finitef_use=no
23013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23014 ac_ext=c
23015 ac_cpp='$CPP $CPPFLAGS'
23016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
23025 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
23027 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
23028 for ac_func in finitef
23029 do :
23030 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
23031 if test "x$ac_cv_func_finitef" = x""yes; then :
23032 cat >>confdefs.h <<_ACEOF
23033 #define HAVE_FINITEF 1
23034 _ACEOF
23037 done
23039 else
23041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
23042 $as_echo_n "checking for _finitef declaration... " >&6; }
23043 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
23044 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
23045 $as_echo_n "(cached) " >&6
23046 else
23049 ac_ext=cpp
23050 ac_cpp='$CXXCPP $CPPFLAGS'
23051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23056 /* end confdefs.h. */
23057 #include <math.h>
23058 #ifdef HAVE_IEEEFP_H
23059 #include <ieeefp.h>
23060 #endif
23063 main ()
23065 _finitef(0);
23067 return 0;
23069 _ACEOF
23070 if ac_fn_cxx_try_compile "$LINENO"; then :
23071 glibcxx_cv_func__finitef_use=yes
23072 else
23073 glibcxx_cv_func__finitef_use=no
23075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23076 ac_ext=c
23077 ac_cpp='$CPP $CPPFLAGS'
23078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23087 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23089 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23090 for ac_func in _finitef
23091 do :
23092 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23093 if test "x$ac_cv_func__finitef" = x""yes; then :
23094 cat >>confdefs.h <<_ACEOF
23095 #define HAVE__FINITEF 1
23096 _ACEOF
23099 done
23108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23109 $as_echo_n "checking for long double trig functions... " >&6; }
23110 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23111 $as_echo_n "(cached) " >&6
23112 else
23115 ac_ext=cpp
23116 ac_cpp='$CXXCPP $CPPFLAGS'
23117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23122 /* end confdefs.h. */
23123 #include <math.h>
23125 main ()
23127 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23129 return 0;
23131 _ACEOF
23132 if ac_fn_cxx_try_compile "$LINENO"; then :
23133 glibcxx_cv_func_long_double_trig_use=yes
23134 else
23135 glibcxx_cv_func_long_double_trig_use=no
23137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23138 ac_ext=c
23139 ac_cpp='$CPP $CPPFLAGS'
23140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23147 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23148 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23149 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23150 do :
23151 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23152 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23153 eval as_val=\$$as_ac_var
23154 if test "x$as_val" = x""yes; then :
23155 cat >>confdefs.h <<_ACEOF
23156 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23157 _ACEOF
23160 done
23162 else
23163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23164 $as_echo_n "checking for _long double trig functions... " >&6; }
23165 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23166 $as_echo_n "(cached) " >&6
23167 else
23170 ac_ext=cpp
23171 ac_cpp='$CXXCPP $CPPFLAGS'
23172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23177 /* end confdefs.h. */
23178 #include <math.h>
23180 main ()
23182 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23184 return 0;
23186 _ACEOF
23187 if ac_fn_cxx_try_compile "$LINENO"; then :
23188 glibcxx_cv_func__long_double_trig_use=yes
23189 else
23190 glibcxx_cv_func__long_double_trig_use=no
23192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23193 ac_ext=c
23194 ac_cpp='$CPP $CPPFLAGS'
23195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23202 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23203 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23204 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23205 do :
23206 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23207 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23208 eval as_val=\$$as_ac_var
23209 if test "x$as_val" = x""yes; then :
23210 cat >>confdefs.h <<_ACEOF
23211 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23212 _ACEOF
23215 done
23224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
23225 $as_echo_n "checking for long double round functions... " >&6; }
23226 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
23227 $as_echo_n "(cached) " >&6
23228 else
23231 ac_ext=cpp
23232 ac_cpp='$CXXCPP $CPPFLAGS'
23233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23238 /* end confdefs.h. */
23239 #include <math.h>
23241 main ()
23243 ceill (0); floorl (0);
23245 return 0;
23247 _ACEOF
23248 if ac_fn_cxx_try_compile "$LINENO"; then :
23249 glibcxx_cv_func_long_double_round_use=yes
23250 else
23251 glibcxx_cv_func_long_double_round_use=no
23253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23254 ac_ext=c
23255 ac_cpp='$CPP $CPPFLAGS'
23256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
23263 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
23264 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
23265 for ac_func in ceill floorl
23266 do :
23267 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23268 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23269 eval as_val=\$$as_ac_var
23270 if test "x$as_val" = x""yes; then :
23271 cat >>confdefs.h <<_ACEOF
23272 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23273 _ACEOF
23276 done
23278 else
23279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
23280 $as_echo_n "checking for _long double round functions... " >&6; }
23281 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
23282 $as_echo_n "(cached) " >&6
23283 else
23286 ac_ext=cpp
23287 ac_cpp='$CXXCPP $CPPFLAGS'
23288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23293 /* end confdefs.h. */
23294 #include <math.h>
23296 main ()
23298 _ceill (0); _floorl (0);
23300 return 0;
23302 _ACEOF
23303 if ac_fn_cxx_try_compile "$LINENO"; then :
23304 glibcxx_cv_func__long_double_round_use=yes
23305 else
23306 glibcxx_cv_func__long_double_round_use=no
23308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23309 ac_ext=c
23310 ac_cpp='$CPP $CPPFLAGS'
23311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
23318 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
23319 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
23320 for ac_func in _ceill _floorl
23321 do :
23322 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23323 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23324 eval as_val=\$$as_ac_var
23325 if test "x$as_val" = x""yes; then :
23326 cat >>confdefs.h <<_ACEOF
23327 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23328 _ACEOF
23331 done
23341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
23342 $as_echo_n "checking for isnanl declaration... " >&6; }
23343 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
23344 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
23345 $as_echo_n "(cached) " >&6
23346 else
23349 ac_ext=cpp
23350 ac_cpp='$CXXCPP $CPPFLAGS'
23351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23356 /* end confdefs.h. */
23357 #include <math.h>
23358 #ifdef HAVE_IEEEFP_H
23359 #include <ieeefp.h>
23360 #endif
23363 main ()
23365 isnanl(0);
23367 return 0;
23369 _ACEOF
23370 if ac_fn_cxx_try_compile "$LINENO"; then :
23371 glibcxx_cv_func_isnanl_use=yes
23372 else
23373 glibcxx_cv_func_isnanl_use=no
23375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23376 ac_ext=c
23377 ac_cpp='$CPP $CPPFLAGS'
23378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
23387 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
23389 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
23390 for ac_func in isnanl
23391 do :
23392 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
23393 if test "x$ac_cv_func_isnanl" = x""yes; then :
23394 cat >>confdefs.h <<_ACEOF
23395 #define HAVE_ISNANL 1
23396 _ACEOF
23399 done
23401 else
23403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
23404 $as_echo_n "checking for _isnanl declaration... " >&6; }
23405 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
23406 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
23407 $as_echo_n "(cached) " >&6
23408 else
23411 ac_ext=cpp
23412 ac_cpp='$CXXCPP $CPPFLAGS'
23413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23418 /* end confdefs.h. */
23419 #include <math.h>
23420 #ifdef HAVE_IEEEFP_H
23421 #include <ieeefp.h>
23422 #endif
23425 main ()
23427 _isnanl(0);
23429 return 0;
23431 _ACEOF
23432 if ac_fn_cxx_try_compile "$LINENO"; then :
23433 glibcxx_cv_func__isnanl_use=yes
23434 else
23435 glibcxx_cv_func__isnanl_use=no
23437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23438 ac_ext=c
23439 ac_cpp='$CPP $CPPFLAGS'
23440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
23449 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
23451 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
23452 for ac_func in _isnanl
23453 do :
23454 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
23455 if test "x$ac_cv_func__isnanl" = x""yes; then :
23456 cat >>confdefs.h <<_ACEOF
23457 #define HAVE__ISNANL 1
23458 _ACEOF
23461 done
23470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
23471 $as_echo_n "checking for isinfl declaration... " >&6; }
23472 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
23473 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
23474 $as_echo_n "(cached) " >&6
23475 else
23478 ac_ext=cpp
23479 ac_cpp='$CXXCPP $CPPFLAGS'
23480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23485 /* end confdefs.h. */
23486 #include <math.h>
23487 #ifdef HAVE_IEEEFP_H
23488 #include <ieeefp.h>
23489 #endif
23492 main ()
23494 isinfl(0);
23496 return 0;
23498 _ACEOF
23499 if ac_fn_cxx_try_compile "$LINENO"; then :
23500 glibcxx_cv_func_isinfl_use=yes
23501 else
23502 glibcxx_cv_func_isinfl_use=no
23504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23505 ac_ext=c
23506 ac_cpp='$CPP $CPPFLAGS'
23507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
23516 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
23518 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
23519 for ac_func in isinfl
23520 do :
23521 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
23522 if test "x$ac_cv_func_isinfl" = x""yes; then :
23523 cat >>confdefs.h <<_ACEOF
23524 #define HAVE_ISINFL 1
23525 _ACEOF
23528 done
23530 else
23532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
23533 $as_echo_n "checking for _isinfl declaration... " >&6; }
23534 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
23535 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
23536 $as_echo_n "(cached) " >&6
23537 else
23540 ac_ext=cpp
23541 ac_cpp='$CXXCPP $CPPFLAGS'
23542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23547 /* end confdefs.h. */
23548 #include <math.h>
23549 #ifdef HAVE_IEEEFP_H
23550 #include <ieeefp.h>
23551 #endif
23554 main ()
23556 _isinfl(0);
23558 return 0;
23560 _ACEOF
23561 if ac_fn_cxx_try_compile "$LINENO"; then :
23562 glibcxx_cv_func__isinfl_use=yes
23563 else
23564 glibcxx_cv_func__isinfl_use=no
23566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23567 ac_ext=c
23568 ac_cpp='$CPP $CPPFLAGS'
23569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
23578 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
23580 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
23581 for ac_func in _isinfl
23582 do :
23583 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
23584 if test "x$ac_cv_func__isinfl" = x""yes; then :
23585 cat >>confdefs.h <<_ACEOF
23586 #define HAVE__ISINFL 1
23587 _ACEOF
23590 done
23599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
23600 $as_echo_n "checking for atan2l declaration... " >&6; }
23601 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
23602 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
23603 $as_echo_n "(cached) " >&6
23604 else
23607 ac_ext=cpp
23608 ac_cpp='$CXXCPP $CPPFLAGS'
23609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23614 /* end confdefs.h. */
23615 #include <math.h>
23617 main ()
23619 atan2l(0, 0);
23621 return 0;
23623 _ACEOF
23624 if ac_fn_cxx_try_compile "$LINENO"; then :
23625 glibcxx_cv_func_atan2l_use=yes
23626 else
23627 glibcxx_cv_func_atan2l_use=no
23629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23630 ac_ext=c
23631 ac_cpp='$CPP $CPPFLAGS'
23632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
23641 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
23643 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
23644 for ac_func in atan2l
23645 do :
23646 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
23647 if test "x$ac_cv_func_atan2l" = x""yes; then :
23648 cat >>confdefs.h <<_ACEOF
23649 #define HAVE_ATAN2L 1
23650 _ACEOF
23653 done
23655 else
23657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
23658 $as_echo_n "checking for _atan2l declaration... " >&6; }
23659 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
23660 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
23661 $as_echo_n "(cached) " >&6
23662 else
23665 ac_ext=cpp
23666 ac_cpp='$CXXCPP $CPPFLAGS'
23667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23672 /* end confdefs.h. */
23673 #include <math.h>
23675 main ()
23677 _atan2l(0, 0);
23679 return 0;
23681 _ACEOF
23682 if ac_fn_cxx_try_compile "$LINENO"; then :
23683 glibcxx_cv_func__atan2l_use=yes
23684 else
23685 glibcxx_cv_func__atan2l_use=no
23687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23688 ac_ext=c
23689 ac_cpp='$CPP $CPPFLAGS'
23690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
23699 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
23701 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
23702 for ac_func in _atan2l
23703 do :
23704 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
23705 if test "x$ac_cv_func__atan2l" = x""yes; then :
23706 cat >>confdefs.h <<_ACEOF
23707 #define HAVE__ATAN2L 1
23708 _ACEOF
23711 done
23720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
23721 $as_echo_n "checking for expl declaration... " >&6; }
23722 if test x${glibcxx_cv_func_expl_use+set} != xset; then
23723 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
23724 $as_echo_n "(cached) " >&6
23725 else
23728 ac_ext=cpp
23729 ac_cpp='$CXXCPP $CPPFLAGS'
23730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23735 /* end confdefs.h. */
23736 #include <math.h>
23737 #ifdef HAVE_IEEEFP_H
23738 #include <ieeefp.h>
23739 #endif
23742 main ()
23744 expl(0);
23746 return 0;
23748 _ACEOF
23749 if ac_fn_cxx_try_compile "$LINENO"; then :
23750 glibcxx_cv_func_expl_use=yes
23751 else
23752 glibcxx_cv_func_expl_use=no
23754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23755 ac_ext=c
23756 ac_cpp='$CPP $CPPFLAGS'
23757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
23766 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
23768 if test x$glibcxx_cv_func_expl_use = x"yes"; then
23769 for ac_func in expl
23770 do :
23771 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
23772 if test "x$ac_cv_func_expl" = x""yes; then :
23773 cat >>confdefs.h <<_ACEOF
23774 #define HAVE_EXPL 1
23775 _ACEOF
23778 done
23780 else
23782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
23783 $as_echo_n "checking for _expl declaration... " >&6; }
23784 if test x${glibcxx_cv_func__expl_use+set} != xset; then
23785 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
23786 $as_echo_n "(cached) " >&6
23787 else
23790 ac_ext=cpp
23791 ac_cpp='$CXXCPP $CPPFLAGS'
23792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23797 /* end confdefs.h. */
23798 #include <math.h>
23799 #ifdef HAVE_IEEEFP_H
23800 #include <ieeefp.h>
23801 #endif
23804 main ()
23806 _expl(0);
23808 return 0;
23810 _ACEOF
23811 if ac_fn_cxx_try_compile "$LINENO"; then :
23812 glibcxx_cv_func__expl_use=yes
23813 else
23814 glibcxx_cv_func__expl_use=no
23816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23817 ac_ext=c
23818 ac_cpp='$CPP $CPPFLAGS'
23819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
23828 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
23830 if test x$glibcxx_cv_func__expl_use = x"yes"; then
23831 for ac_func in _expl
23832 do :
23833 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
23834 if test "x$ac_cv_func__expl" = x""yes; then :
23835 cat >>confdefs.h <<_ACEOF
23836 #define HAVE__EXPL 1
23837 _ACEOF
23840 done
23849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
23850 $as_echo_n "checking for fabsl declaration... " >&6; }
23851 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
23852 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
23853 $as_echo_n "(cached) " >&6
23854 else
23857 ac_ext=cpp
23858 ac_cpp='$CXXCPP $CPPFLAGS'
23859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23864 /* end confdefs.h. */
23865 #include <math.h>
23866 #ifdef HAVE_IEEEFP_H
23867 #include <ieeefp.h>
23868 #endif
23871 main ()
23873 fabsl(0);
23875 return 0;
23877 _ACEOF
23878 if ac_fn_cxx_try_compile "$LINENO"; then :
23879 glibcxx_cv_func_fabsl_use=yes
23880 else
23881 glibcxx_cv_func_fabsl_use=no
23883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23884 ac_ext=c
23885 ac_cpp='$CPP $CPPFLAGS'
23886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
23895 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
23897 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
23898 for ac_func in fabsl
23899 do :
23900 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
23901 if test "x$ac_cv_func_fabsl" = x""yes; then :
23902 cat >>confdefs.h <<_ACEOF
23903 #define HAVE_FABSL 1
23904 _ACEOF
23907 done
23909 else
23911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
23912 $as_echo_n "checking for _fabsl declaration... " >&6; }
23913 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
23914 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
23915 $as_echo_n "(cached) " >&6
23916 else
23919 ac_ext=cpp
23920 ac_cpp='$CXXCPP $CPPFLAGS'
23921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23926 /* end confdefs.h. */
23927 #include <math.h>
23928 #ifdef HAVE_IEEEFP_H
23929 #include <ieeefp.h>
23930 #endif
23933 main ()
23935 _fabsl(0);
23937 return 0;
23939 _ACEOF
23940 if ac_fn_cxx_try_compile "$LINENO"; then :
23941 glibcxx_cv_func__fabsl_use=yes
23942 else
23943 glibcxx_cv_func__fabsl_use=no
23945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23946 ac_ext=c
23947 ac_cpp='$CPP $CPPFLAGS'
23948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
23957 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
23959 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
23960 for ac_func in _fabsl
23961 do :
23962 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
23963 if test "x$ac_cv_func__fabsl" = x""yes; then :
23964 cat >>confdefs.h <<_ACEOF
23965 #define HAVE__FABSL 1
23966 _ACEOF
23969 done
23978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
23979 $as_echo_n "checking for fmodl declaration... " >&6; }
23980 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
23981 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
23982 $as_echo_n "(cached) " >&6
23983 else
23986 ac_ext=cpp
23987 ac_cpp='$CXXCPP $CPPFLAGS'
23988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23993 /* end confdefs.h. */
23994 #include <math.h>
23996 main ()
23998 fmodl(0, 0);
24000 return 0;
24002 _ACEOF
24003 if ac_fn_cxx_try_compile "$LINENO"; then :
24004 glibcxx_cv_func_fmodl_use=yes
24005 else
24006 glibcxx_cv_func_fmodl_use=no
24008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24009 ac_ext=c
24010 ac_cpp='$CPP $CPPFLAGS'
24011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
24020 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
24022 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
24023 for ac_func in fmodl
24024 do :
24025 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
24026 if test "x$ac_cv_func_fmodl" = x""yes; then :
24027 cat >>confdefs.h <<_ACEOF
24028 #define HAVE_FMODL 1
24029 _ACEOF
24032 done
24034 else
24036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
24037 $as_echo_n "checking for _fmodl declaration... " >&6; }
24038 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
24039 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
24040 $as_echo_n "(cached) " >&6
24041 else
24044 ac_ext=cpp
24045 ac_cpp='$CXXCPP $CPPFLAGS'
24046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24051 /* end confdefs.h. */
24052 #include <math.h>
24054 main ()
24056 _fmodl(0, 0);
24058 return 0;
24060 _ACEOF
24061 if ac_fn_cxx_try_compile "$LINENO"; then :
24062 glibcxx_cv_func__fmodl_use=yes
24063 else
24064 glibcxx_cv_func__fmodl_use=no
24066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24067 ac_ext=c
24068 ac_cpp='$CPP $CPPFLAGS'
24069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24078 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24080 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24081 for ac_func in _fmodl
24082 do :
24083 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24084 if test "x$ac_cv_func__fmodl" = x""yes; then :
24085 cat >>confdefs.h <<_ACEOF
24086 #define HAVE__FMODL 1
24087 _ACEOF
24090 done
24099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24100 $as_echo_n "checking for frexpl declaration... " >&6; }
24101 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24102 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24103 $as_echo_n "(cached) " >&6
24104 else
24107 ac_ext=cpp
24108 ac_cpp='$CXXCPP $CPPFLAGS'
24109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24114 /* end confdefs.h. */
24115 #include <math.h>
24117 main ()
24119 frexpl(0, 0);
24121 return 0;
24123 _ACEOF
24124 if ac_fn_cxx_try_compile "$LINENO"; then :
24125 glibcxx_cv_func_frexpl_use=yes
24126 else
24127 glibcxx_cv_func_frexpl_use=no
24129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24130 ac_ext=c
24131 ac_cpp='$CPP $CPPFLAGS'
24132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24141 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24143 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24144 for ac_func in frexpl
24145 do :
24146 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24147 if test "x$ac_cv_func_frexpl" = x""yes; then :
24148 cat >>confdefs.h <<_ACEOF
24149 #define HAVE_FREXPL 1
24150 _ACEOF
24153 done
24155 else
24157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24158 $as_echo_n "checking for _frexpl declaration... " >&6; }
24159 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24160 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24161 $as_echo_n "(cached) " >&6
24162 else
24165 ac_ext=cpp
24166 ac_cpp='$CXXCPP $CPPFLAGS'
24167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24172 /* end confdefs.h. */
24173 #include <math.h>
24175 main ()
24177 _frexpl(0, 0);
24179 return 0;
24181 _ACEOF
24182 if ac_fn_cxx_try_compile "$LINENO"; then :
24183 glibcxx_cv_func__frexpl_use=yes
24184 else
24185 glibcxx_cv_func__frexpl_use=no
24187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24188 ac_ext=c
24189 ac_cpp='$CPP $CPPFLAGS'
24190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24199 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24201 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24202 for ac_func in _frexpl
24203 do :
24204 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24205 if test "x$ac_cv_func__frexpl" = x""yes; then :
24206 cat >>confdefs.h <<_ACEOF
24207 #define HAVE__FREXPL 1
24208 _ACEOF
24211 done
24220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
24221 $as_echo_n "checking for hypotl declaration... " >&6; }
24222 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
24223 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
24224 $as_echo_n "(cached) " >&6
24225 else
24228 ac_ext=cpp
24229 ac_cpp='$CXXCPP $CPPFLAGS'
24230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24235 /* end confdefs.h. */
24236 #include <math.h>
24238 main ()
24240 hypotl(0, 0);
24242 return 0;
24244 _ACEOF
24245 if ac_fn_cxx_try_compile "$LINENO"; then :
24246 glibcxx_cv_func_hypotl_use=yes
24247 else
24248 glibcxx_cv_func_hypotl_use=no
24250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24251 ac_ext=c
24252 ac_cpp='$CPP $CPPFLAGS'
24253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
24262 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
24264 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
24265 for ac_func in hypotl
24266 do :
24267 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
24268 if test "x$ac_cv_func_hypotl" = x""yes; then :
24269 cat >>confdefs.h <<_ACEOF
24270 #define HAVE_HYPOTL 1
24271 _ACEOF
24274 done
24276 else
24278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
24279 $as_echo_n "checking for _hypotl declaration... " >&6; }
24280 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
24281 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
24282 $as_echo_n "(cached) " >&6
24283 else
24286 ac_ext=cpp
24287 ac_cpp='$CXXCPP $CPPFLAGS'
24288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24293 /* end confdefs.h. */
24294 #include <math.h>
24296 main ()
24298 _hypotl(0, 0);
24300 return 0;
24302 _ACEOF
24303 if ac_fn_cxx_try_compile "$LINENO"; then :
24304 glibcxx_cv_func__hypotl_use=yes
24305 else
24306 glibcxx_cv_func__hypotl_use=no
24308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24309 ac_ext=c
24310 ac_cpp='$CPP $CPPFLAGS'
24311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
24320 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
24322 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
24323 for ac_func in _hypotl
24324 do :
24325 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
24326 if test "x$ac_cv_func__hypotl" = x""yes; then :
24327 cat >>confdefs.h <<_ACEOF
24328 #define HAVE__HYPOTL 1
24329 _ACEOF
24332 done
24341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
24342 $as_echo_n "checking for ldexpl declaration... " >&6; }
24343 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
24344 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
24345 $as_echo_n "(cached) " >&6
24346 else
24349 ac_ext=cpp
24350 ac_cpp='$CXXCPP $CPPFLAGS'
24351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24356 /* end confdefs.h. */
24357 #include <math.h>
24359 main ()
24361 ldexpl(0, 0);
24363 return 0;
24365 _ACEOF
24366 if ac_fn_cxx_try_compile "$LINENO"; then :
24367 glibcxx_cv_func_ldexpl_use=yes
24368 else
24369 glibcxx_cv_func_ldexpl_use=no
24371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24372 ac_ext=c
24373 ac_cpp='$CPP $CPPFLAGS'
24374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
24383 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
24385 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
24386 for ac_func in ldexpl
24387 do :
24388 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
24389 if test "x$ac_cv_func_ldexpl" = x""yes; then :
24390 cat >>confdefs.h <<_ACEOF
24391 #define HAVE_LDEXPL 1
24392 _ACEOF
24395 done
24397 else
24399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
24400 $as_echo_n "checking for _ldexpl declaration... " >&6; }
24401 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
24402 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
24403 $as_echo_n "(cached) " >&6
24404 else
24407 ac_ext=cpp
24408 ac_cpp='$CXXCPP $CPPFLAGS'
24409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24414 /* end confdefs.h. */
24415 #include <math.h>
24417 main ()
24419 _ldexpl(0, 0);
24421 return 0;
24423 _ACEOF
24424 if ac_fn_cxx_try_compile "$LINENO"; then :
24425 glibcxx_cv_func__ldexpl_use=yes
24426 else
24427 glibcxx_cv_func__ldexpl_use=no
24429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24430 ac_ext=c
24431 ac_cpp='$CPP $CPPFLAGS'
24432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
24441 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
24443 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
24444 for ac_func in _ldexpl
24445 do :
24446 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
24447 if test "x$ac_cv_func__ldexpl" = x""yes; then :
24448 cat >>confdefs.h <<_ACEOF
24449 #define HAVE__LDEXPL 1
24450 _ACEOF
24453 done
24462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
24463 $as_echo_n "checking for logl declaration... " >&6; }
24464 if test x${glibcxx_cv_func_logl_use+set} != xset; then
24465 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
24466 $as_echo_n "(cached) " >&6
24467 else
24470 ac_ext=cpp
24471 ac_cpp='$CXXCPP $CPPFLAGS'
24472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24477 /* end confdefs.h. */
24478 #include <math.h>
24479 #ifdef HAVE_IEEEFP_H
24480 #include <ieeefp.h>
24481 #endif
24484 main ()
24486 logl(0);
24488 return 0;
24490 _ACEOF
24491 if ac_fn_cxx_try_compile "$LINENO"; then :
24492 glibcxx_cv_func_logl_use=yes
24493 else
24494 glibcxx_cv_func_logl_use=no
24496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24497 ac_ext=c
24498 ac_cpp='$CPP $CPPFLAGS'
24499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
24508 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
24510 if test x$glibcxx_cv_func_logl_use = x"yes"; then
24511 for ac_func in logl
24512 do :
24513 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
24514 if test "x$ac_cv_func_logl" = x""yes; then :
24515 cat >>confdefs.h <<_ACEOF
24516 #define HAVE_LOGL 1
24517 _ACEOF
24520 done
24522 else
24524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
24525 $as_echo_n "checking for _logl declaration... " >&6; }
24526 if test x${glibcxx_cv_func__logl_use+set} != xset; then
24527 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
24528 $as_echo_n "(cached) " >&6
24529 else
24532 ac_ext=cpp
24533 ac_cpp='$CXXCPP $CPPFLAGS'
24534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24539 /* end confdefs.h. */
24540 #include <math.h>
24541 #ifdef HAVE_IEEEFP_H
24542 #include <ieeefp.h>
24543 #endif
24546 main ()
24548 _logl(0);
24550 return 0;
24552 _ACEOF
24553 if ac_fn_cxx_try_compile "$LINENO"; then :
24554 glibcxx_cv_func__logl_use=yes
24555 else
24556 glibcxx_cv_func__logl_use=no
24558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24559 ac_ext=c
24560 ac_cpp='$CPP $CPPFLAGS'
24561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
24570 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
24572 if test x$glibcxx_cv_func__logl_use = x"yes"; then
24573 for ac_func in _logl
24574 do :
24575 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
24576 if test "x$ac_cv_func__logl" = x""yes; then :
24577 cat >>confdefs.h <<_ACEOF
24578 #define HAVE__LOGL 1
24579 _ACEOF
24582 done
24591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
24592 $as_echo_n "checking for log10l declaration... " >&6; }
24593 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
24594 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
24595 $as_echo_n "(cached) " >&6
24596 else
24599 ac_ext=cpp
24600 ac_cpp='$CXXCPP $CPPFLAGS'
24601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24606 /* end confdefs.h. */
24607 #include <math.h>
24608 #ifdef HAVE_IEEEFP_H
24609 #include <ieeefp.h>
24610 #endif
24613 main ()
24615 log10l(0);
24617 return 0;
24619 _ACEOF
24620 if ac_fn_cxx_try_compile "$LINENO"; then :
24621 glibcxx_cv_func_log10l_use=yes
24622 else
24623 glibcxx_cv_func_log10l_use=no
24625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24626 ac_ext=c
24627 ac_cpp='$CPP $CPPFLAGS'
24628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
24637 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
24639 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
24640 for ac_func in log10l
24641 do :
24642 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
24643 if test "x$ac_cv_func_log10l" = x""yes; then :
24644 cat >>confdefs.h <<_ACEOF
24645 #define HAVE_LOG10L 1
24646 _ACEOF
24649 done
24651 else
24653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
24654 $as_echo_n "checking for _log10l declaration... " >&6; }
24655 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
24656 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
24657 $as_echo_n "(cached) " >&6
24658 else
24661 ac_ext=cpp
24662 ac_cpp='$CXXCPP $CPPFLAGS'
24663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24668 /* end confdefs.h. */
24669 #include <math.h>
24670 #ifdef HAVE_IEEEFP_H
24671 #include <ieeefp.h>
24672 #endif
24675 main ()
24677 _log10l(0);
24679 return 0;
24681 _ACEOF
24682 if ac_fn_cxx_try_compile "$LINENO"; then :
24683 glibcxx_cv_func__log10l_use=yes
24684 else
24685 glibcxx_cv_func__log10l_use=no
24687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24688 ac_ext=c
24689 ac_cpp='$CPP $CPPFLAGS'
24690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
24699 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
24701 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
24702 for ac_func in _log10l
24703 do :
24704 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
24705 if test "x$ac_cv_func__log10l" = x""yes; then :
24706 cat >>confdefs.h <<_ACEOF
24707 #define HAVE__LOG10L 1
24708 _ACEOF
24711 done
24720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
24721 $as_echo_n "checking for modfl declaration... " >&6; }
24722 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
24723 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
24724 $as_echo_n "(cached) " >&6
24725 else
24728 ac_ext=cpp
24729 ac_cpp='$CXXCPP $CPPFLAGS'
24730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24735 /* end confdefs.h. */
24736 #include <math.h>
24738 main ()
24740 modfl(0, 0);
24742 return 0;
24744 _ACEOF
24745 if ac_fn_cxx_try_compile "$LINENO"; then :
24746 glibcxx_cv_func_modfl_use=yes
24747 else
24748 glibcxx_cv_func_modfl_use=no
24750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24751 ac_ext=c
24752 ac_cpp='$CPP $CPPFLAGS'
24753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
24762 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
24764 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24765 for ac_func in modfl
24766 do :
24767 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
24768 if test "x$ac_cv_func_modfl" = x""yes; then :
24769 cat >>confdefs.h <<_ACEOF
24770 #define HAVE_MODFL 1
24771 _ACEOF
24774 done
24776 else
24778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
24779 $as_echo_n "checking for _modfl declaration... " >&6; }
24780 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24781 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
24782 $as_echo_n "(cached) " >&6
24783 else
24786 ac_ext=cpp
24787 ac_cpp='$CXXCPP $CPPFLAGS'
24788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24793 /* end confdefs.h. */
24794 #include <math.h>
24796 main ()
24798 _modfl(0, 0);
24800 return 0;
24802 _ACEOF
24803 if ac_fn_cxx_try_compile "$LINENO"; then :
24804 glibcxx_cv_func__modfl_use=yes
24805 else
24806 glibcxx_cv_func__modfl_use=no
24808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24809 ac_ext=c
24810 ac_cpp='$CPP $CPPFLAGS'
24811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
24820 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
24822 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24823 for ac_func in _modfl
24824 do :
24825 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
24826 if test "x$ac_cv_func__modfl" = x""yes; then :
24827 cat >>confdefs.h <<_ACEOF
24828 #define HAVE__MODFL 1
24829 _ACEOF
24832 done
24841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
24842 $as_echo_n "checking for powl declaration... " >&6; }
24843 if test x${glibcxx_cv_func_powl_use+set} != xset; then
24844 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
24845 $as_echo_n "(cached) " >&6
24846 else
24849 ac_ext=cpp
24850 ac_cpp='$CXXCPP $CPPFLAGS'
24851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24856 /* end confdefs.h. */
24857 #include <math.h>
24859 main ()
24861 powl(0, 0);
24863 return 0;
24865 _ACEOF
24866 if ac_fn_cxx_try_compile "$LINENO"; then :
24867 glibcxx_cv_func_powl_use=yes
24868 else
24869 glibcxx_cv_func_powl_use=no
24871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24872 ac_ext=c
24873 ac_cpp='$CPP $CPPFLAGS'
24874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
24883 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
24885 if test x$glibcxx_cv_func_powl_use = x"yes"; then
24886 for ac_func in powl
24887 do :
24888 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
24889 if test "x$ac_cv_func_powl" = x""yes; then :
24890 cat >>confdefs.h <<_ACEOF
24891 #define HAVE_POWL 1
24892 _ACEOF
24895 done
24897 else
24899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
24900 $as_echo_n "checking for _powl declaration... " >&6; }
24901 if test x${glibcxx_cv_func__powl_use+set} != xset; then
24902 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
24903 $as_echo_n "(cached) " >&6
24904 else
24907 ac_ext=cpp
24908 ac_cpp='$CXXCPP $CPPFLAGS'
24909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24914 /* end confdefs.h. */
24915 #include <math.h>
24917 main ()
24919 _powl(0, 0);
24921 return 0;
24923 _ACEOF
24924 if ac_fn_cxx_try_compile "$LINENO"; then :
24925 glibcxx_cv_func__powl_use=yes
24926 else
24927 glibcxx_cv_func__powl_use=no
24929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24930 ac_ext=c
24931 ac_cpp='$CPP $CPPFLAGS'
24932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
24941 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
24943 if test x$glibcxx_cv_func__powl_use = x"yes"; then
24944 for ac_func in _powl
24945 do :
24946 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
24947 if test "x$ac_cv_func__powl" = x""yes; then :
24948 cat >>confdefs.h <<_ACEOF
24949 #define HAVE__POWL 1
24950 _ACEOF
24953 done
24962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
24963 $as_echo_n "checking for sqrtl declaration... " >&6; }
24964 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24965 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
24966 $as_echo_n "(cached) " >&6
24967 else
24970 ac_ext=cpp
24971 ac_cpp='$CXXCPP $CPPFLAGS'
24972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24977 /* end confdefs.h. */
24978 #include <math.h>
24979 #ifdef HAVE_IEEEFP_H
24980 #include <ieeefp.h>
24981 #endif
24984 main ()
24986 sqrtl(0);
24988 return 0;
24990 _ACEOF
24991 if ac_fn_cxx_try_compile "$LINENO"; then :
24992 glibcxx_cv_func_sqrtl_use=yes
24993 else
24994 glibcxx_cv_func_sqrtl_use=no
24996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24997 ac_ext=c
24998 ac_cpp='$CPP $CPPFLAGS'
24999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
25008 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
25010 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
25011 for ac_func in sqrtl
25012 do :
25013 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
25014 if test "x$ac_cv_func_sqrtl" = x""yes; then :
25015 cat >>confdefs.h <<_ACEOF
25016 #define HAVE_SQRTL 1
25017 _ACEOF
25020 done
25022 else
25024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
25025 $as_echo_n "checking for _sqrtl declaration... " >&6; }
25026 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25027 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
25028 $as_echo_n "(cached) " >&6
25029 else
25032 ac_ext=cpp
25033 ac_cpp='$CXXCPP $CPPFLAGS'
25034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25039 /* end confdefs.h. */
25040 #include <math.h>
25041 #ifdef HAVE_IEEEFP_H
25042 #include <ieeefp.h>
25043 #endif
25046 main ()
25048 _sqrtl(0);
25050 return 0;
25052 _ACEOF
25053 if ac_fn_cxx_try_compile "$LINENO"; then :
25054 glibcxx_cv_func__sqrtl_use=yes
25055 else
25056 glibcxx_cv_func__sqrtl_use=no
25058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25059 ac_ext=c
25060 ac_cpp='$CPP $CPPFLAGS'
25061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
25070 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25072 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25073 for ac_func in _sqrtl
25074 do :
25075 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25076 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25077 cat >>confdefs.h <<_ACEOF
25078 #define HAVE__SQRTL 1
25079 _ACEOF
25082 done
25091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25092 $as_echo_n "checking for sincosl declaration... " >&6; }
25093 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25094 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25095 $as_echo_n "(cached) " >&6
25096 else
25099 ac_ext=cpp
25100 ac_cpp='$CXXCPP $CPPFLAGS'
25101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25106 /* end confdefs.h. */
25107 #include <math.h>
25109 main ()
25111 sincosl(0, 0, 0);
25113 return 0;
25115 _ACEOF
25116 if ac_fn_cxx_try_compile "$LINENO"; then :
25117 glibcxx_cv_func_sincosl_use=yes
25118 else
25119 glibcxx_cv_func_sincosl_use=no
25121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25122 ac_ext=c
25123 ac_cpp='$CPP $CPPFLAGS'
25124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25133 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25135 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25136 for ac_func in sincosl
25137 do :
25138 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25139 if test "x$ac_cv_func_sincosl" = x""yes; then :
25140 cat >>confdefs.h <<_ACEOF
25141 #define HAVE_SINCOSL 1
25142 _ACEOF
25145 done
25147 else
25149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25150 $as_echo_n "checking for _sincosl declaration... " >&6; }
25151 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25152 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25153 $as_echo_n "(cached) " >&6
25154 else
25157 ac_ext=cpp
25158 ac_cpp='$CXXCPP $CPPFLAGS'
25159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25164 /* end confdefs.h. */
25165 #include <math.h>
25167 main ()
25169 _sincosl(0, 0, 0);
25171 return 0;
25173 _ACEOF
25174 if ac_fn_cxx_try_compile "$LINENO"; then :
25175 glibcxx_cv_func__sincosl_use=yes
25176 else
25177 glibcxx_cv_func__sincosl_use=no
25179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25180 ac_ext=c
25181 ac_cpp='$CPP $CPPFLAGS'
25182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
25191 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25193 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25194 for ac_func in _sincosl
25195 do :
25196 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25197 if test "x$ac_cv_func__sincosl" = x""yes; then :
25198 cat >>confdefs.h <<_ACEOF
25199 #define HAVE__SINCOSL 1
25200 _ACEOF
25203 done
25212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25213 $as_echo_n "checking for finitel declaration... " >&6; }
25214 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25215 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
25216 $as_echo_n "(cached) " >&6
25217 else
25220 ac_ext=cpp
25221 ac_cpp='$CXXCPP $CPPFLAGS'
25222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25227 /* end confdefs.h. */
25228 #include <math.h>
25229 #ifdef HAVE_IEEEFP_H
25230 #include <ieeefp.h>
25231 #endif
25234 main ()
25236 finitel(0);
25238 return 0;
25240 _ACEOF
25241 if ac_fn_cxx_try_compile "$LINENO"; then :
25242 glibcxx_cv_func_finitel_use=yes
25243 else
25244 glibcxx_cv_func_finitel_use=no
25246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25247 ac_ext=c
25248 ac_cpp='$CPP $CPPFLAGS'
25249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
25258 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
25260 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25261 for ac_func in finitel
25262 do :
25263 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
25264 if test "x$ac_cv_func_finitel" = x""yes; then :
25265 cat >>confdefs.h <<_ACEOF
25266 #define HAVE_FINITEL 1
25267 _ACEOF
25270 done
25272 else
25274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
25275 $as_echo_n "checking for _finitel declaration... " >&6; }
25276 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25277 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
25278 $as_echo_n "(cached) " >&6
25279 else
25282 ac_ext=cpp
25283 ac_cpp='$CXXCPP $CPPFLAGS'
25284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25289 /* end confdefs.h. */
25290 #include <math.h>
25291 #ifdef HAVE_IEEEFP_H
25292 #include <ieeefp.h>
25293 #endif
25296 main ()
25298 _finitel(0);
25300 return 0;
25302 _ACEOF
25303 if ac_fn_cxx_try_compile "$LINENO"; then :
25304 glibcxx_cv_func__finitel_use=yes
25305 else
25306 glibcxx_cv_func__finitel_use=no
25308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25309 ac_ext=c
25310 ac_cpp='$CPP $CPPFLAGS'
25311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
25320 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
25322 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25323 for ac_func in _finitel
25324 do :
25325 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
25326 if test "x$ac_cv_func__finitel" = x""yes; then :
25327 cat >>confdefs.h <<_ACEOF
25328 #define HAVE__FINITEL 1
25329 _ACEOF
25332 done
25340 LIBS="$ac_save_LIBS"
25341 CXXFLAGS="$ac_save_CXXFLAGS"
25344 ac_test_CXXFLAGS="${CXXFLAGS+set}"
25345 ac_save_CXXFLAGS="$CXXFLAGS"
25346 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
25350 $as_echo_n "checking for strtold declaration... " >&6; }
25351 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25352 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
25353 $as_echo_n "(cached) " >&6
25354 else
25357 ac_ext=cpp
25358 ac_cpp='$CXXCPP $CPPFLAGS'
25359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25364 /* end confdefs.h. */
25365 #include <stdlib.h>
25367 main ()
25369 strtold(0, 0);
25371 return 0;
25373 _ACEOF
25374 if ac_fn_cxx_try_compile "$LINENO"; then :
25375 glibcxx_cv_func_strtold_use=yes
25376 else
25377 glibcxx_cv_func_strtold_use=no
25379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25380 ac_ext=c
25381 ac_cpp='$CPP $CPPFLAGS'
25382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
25391 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
25392 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25393 for ac_func in strtold
25394 do :
25395 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
25396 if test "x$ac_cv_func_strtold" = x""yes; then :
25397 cat >>confdefs.h <<_ACEOF
25398 #define HAVE_STRTOLD 1
25399 _ACEOF
25402 done
25409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
25410 $as_echo_n "checking for strtof declaration... " >&6; }
25411 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
25412 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
25413 $as_echo_n "(cached) " >&6
25414 else
25417 ac_ext=cpp
25418 ac_cpp='$CXXCPP $CPPFLAGS'
25419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25424 /* end confdefs.h. */
25425 #include <stdlib.h>
25427 main ()
25429 strtof(0, 0);
25431 return 0;
25433 _ACEOF
25434 if ac_fn_cxx_try_compile "$LINENO"; then :
25435 glibcxx_cv_func_strtof_use=yes
25436 else
25437 glibcxx_cv_func_strtof_use=no
25439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25440 ac_ext=c
25441 ac_cpp='$CPP $CPPFLAGS'
25442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
25451 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
25452 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
25453 for ac_func in strtof
25454 do :
25455 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
25456 if test "x$ac_cv_func_strtof" = x""yes; then :
25457 cat >>confdefs.h <<_ACEOF
25458 #define HAVE_STRTOF 1
25459 _ACEOF
25462 done
25469 CXXFLAGS="$ac_save_CXXFLAGS"
25472 # For /dev/random and /dev/urandom for TR1.
25475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
25476 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
25477 if test "${glibcxx_cv_random_tr1+set}" = set; then :
25478 $as_echo_n "(cached) " >&6
25479 else
25481 if test -r /dev/random && test -r /dev/urandom; then
25482 glibcxx_cv_random_tr1=yes;
25483 else
25484 glibcxx_cv_random_tr1=no;
25489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
25490 $as_echo "$glibcxx_cv_random_tr1" >&6; }
25492 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
25494 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
25500 # For TLS support.
25503 # Check whether --enable-tls was given.
25504 if test "${enable_tls+set}" = set; then :
25505 enableval=$enable_tls;
25506 case "$enableval" in
25507 yes|no) ;;
25508 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
25509 esac
25511 else
25512 enable_tls=yes
25516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
25517 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
25518 if test "${gcc_cv_have_tls+set}" = set; then :
25519 $as_echo_n "(cached) " >&6
25520 else
25522 if test "$cross_compiling" = yes; then :
25523 if test x$gcc_no_link = xyes; then
25524 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25527 /* end confdefs.h. */
25528 __thread int a; int b; int main() { return a = b; }
25529 _ACEOF
25530 if ac_fn_c_try_link "$LINENO"; then :
25531 chktls_save_LDFLAGS="$LDFLAGS"
25532 case $host in
25533 *-*-linux*)
25534 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
25536 esac
25537 chktls_save_CFLAGS="$CFLAGS"
25538 CFLAGS="-fPIC $CFLAGS"
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 f() { return 0; }
25545 _ACEOF
25546 if ac_fn_c_try_link "$LINENO"; then :
25547 if test x$gcc_no_link = xyes; then
25548 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25551 /* end confdefs.h. */
25552 __thread int a; int b; int f() { return a = b; }
25553 _ACEOF
25554 if ac_fn_c_try_link "$LINENO"; then :
25555 gcc_cv_have_tls=yes
25556 else
25557 gcc_cv_have_tls=no
25559 rm -f core conftest.err conftest.$ac_objext \
25560 conftest$ac_exeext conftest.$ac_ext
25561 else
25562 gcc_cv_have_tls=yes
25564 rm -f core conftest.err conftest.$ac_objext \
25565 conftest$ac_exeext conftest.$ac_ext
25566 CFLAGS="$chktls_save_CFLAGS"
25567 LDFLAGS="$chktls_save_LDFLAGS"
25568 else
25569 gcc_cv_have_tls=no
25571 rm -f core conftest.err conftest.$ac_objext \
25572 conftest$ac_exeext conftest.$ac_ext
25575 else
25576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25577 /* end confdefs.h. */
25578 __thread int a; int b; int main() { return a = b; }
25579 _ACEOF
25580 if ac_fn_c_try_run "$LINENO"; then :
25581 chktls_save_LDFLAGS="$LDFLAGS"
25582 LDFLAGS="-static $LDFLAGS"
25583 if test x$gcc_no_link = xyes; then
25584 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25587 /* end confdefs.h. */
25588 int main() { return 0; }
25589 _ACEOF
25590 if ac_fn_c_try_link "$LINENO"; then :
25591 if test "$cross_compiling" = yes; then :
25592 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25593 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25594 as_fn_error "cannot run test program while cross compiling
25595 See \`config.log' for more details." "$LINENO" 5; }
25596 else
25597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25598 /* end confdefs.h. */
25599 __thread int a; int b; int main() { return a = b; }
25600 _ACEOF
25601 if ac_fn_c_try_run "$LINENO"; then :
25602 gcc_cv_have_tls=yes
25603 else
25604 gcc_cv_have_tls=no
25606 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25607 conftest.$ac_objext conftest.beam conftest.$ac_ext
25610 else
25611 gcc_cv_have_tls=yes
25613 rm -f core conftest.err conftest.$ac_objext \
25614 conftest$ac_exeext conftest.$ac_ext
25615 LDFLAGS="$chktls_save_LDFLAGS"
25616 if test $gcc_cv_have_tls = yes; then
25617 chktls_save_CFLAGS="$CFLAGS"
25618 thread_CFLAGS=failed
25619 for flag in '' '-pthread' '-lpthread'; do
25620 CFLAGS="$flag $chktls_save_CFLAGS"
25621 if test x$gcc_no_link = xyes; then
25622 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25625 /* end confdefs.h. */
25626 #include <pthread.h>
25627 void *g(void *d) { return NULL; }
25629 main ()
25631 pthread_t t; pthread_create(&t,NULL,g,NULL);
25633 return 0;
25635 _ACEOF
25636 if ac_fn_c_try_link "$LINENO"; then :
25637 thread_CFLAGS="$flag"
25639 rm -f core conftest.err conftest.$ac_objext \
25640 conftest$ac_exeext conftest.$ac_ext
25641 if test "X$thread_CFLAGS" != Xfailed; then
25642 break
25644 done
25645 CFLAGS="$chktls_save_CFLAGS"
25646 if test "X$thread_CFLAGS" != Xfailed; then
25647 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
25648 if test "$cross_compiling" = yes; then :
25649 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25650 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25651 as_fn_error "cannot run test program while cross compiling
25652 See \`config.log' for more details." "$LINENO" 5; }
25653 else
25654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25655 /* end confdefs.h. */
25656 #include <pthread.h>
25657 __thread int a;
25658 static int *volatile a_in_other_thread;
25659 static void *
25660 thread_func (void *arg)
25662 a_in_other_thread = &a;
25663 return (void *)0;
25666 main ()
25668 pthread_t thread;
25669 void *thread_retval;
25670 int *volatile a_in_main_thread;
25671 a_in_main_thread = &a;
25672 if (pthread_create (&thread, (pthread_attr_t *)0,
25673 thread_func, (void *)0))
25674 return 0;
25675 if (pthread_join (thread, &thread_retval))
25676 return 0;
25677 return (a_in_other_thread == a_in_main_thread);
25679 return 0;
25681 _ACEOF
25682 if ac_fn_c_try_run "$LINENO"; then :
25683 gcc_cv_have_tls=yes
25684 else
25685 gcc_cv_have_tls=no
25687 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25688 conftest.$ac_objext conftest.beam conftest.$ac_ext
25691 CFLAGS="$chktls_save_CFLAGS"
25694 else
25695 gcc_cv_have_tls=no
25697 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25698 conftest.$ac_objext conftest.beam conftest.$ac_ext
25702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
25703 $as_echo "$gcc_cv_have_tls" >&6; }
25704 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
25706 $as_echo "#define HAVE_TLS 1" >>confdefs.h
25710 # For iconv support.
25712 if test "X$prefix" = "XNONE"; then
25713 acl_final_prefix="$ac_default_prefix"
25714 else
25715 acl_final_prefix="$prefix"
25717 if test "X$exec_prefix" = "XNONE"; then
25718 acl_final_exec_prefix='${prefix}'
25719 else
25720 acl_final_exec_prefix="$exec_prefix"
25722 acl_save_prefix="$prefix"
25723 prefix="$acl_final_prefix"
25724 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
25725 prefix="$acl_save_prefix"
25728 # Check whether --with-gnu-ld was given.
25729 if test "${with_gnu_ld+set}" = set; then :
25730 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
25731 else
25732 with_gnu_ld=no
25735 # Prepare PATH_SEPARATOR.
25736 # The user is always right.
25737 if test "${PATH_SEPARATOR+set}" != set; then
25738 echo "#! /bin/sh" >conf$$.sh
25739 echo "exit 0" >>conf$$.sh
25740 chmod +x conf$$.sh
25741 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25742 PATH_SEPARATOR=';'
25743 else
25744 PATH_SEPARATOR=:
25746 rm -f conf$$.sh
25748 ac_prog=ld
25749 if test "$GCC" = yes; then
25750 # Check if gcc -print-prog-name=ld gives a path.
25751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
25752 $as_echo_n "checking for ld used by GCC... " >&6; }
25753 case $host in
25754 *-*-mingw*)
25755 # gcc leaves a trailing carriage return which upsets mingw
25756 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
25758 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
25759 esac
25760 case $ac_prog in
25761 # Accept absolute paths.
25762 [\\/]* | [A-Za-z]:[\\/]*)
25763 re_direlt='/[^/][^/]*/\.\./'
25764 # Canonicalize the path of ld
25765 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
25766 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
25767 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
25768 done
25769 test -z "$LD" && LD="$ac_prog"
25772 # If it fails, then pretend we aren't using GCC.
25773 ac_prog=ld
25776 # If it is relative, then search for the first ld in PATH.
25777 with_gnu_ld=unknown
25779 esac
25780 elif test "$with_gnu_ld" = yes; then
25781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
25782 $as_echo_n "checking for GNU ld... " >&6; }
25783 else
25784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
25785 $as_echo_n "checking for non-GNU ld... " >&6; }
25787 if test "${acl_cv_path_LD+set}" = set; then :
25788 $as_echo_n "(cached) " >&6
25789 else
25790 if test -z "$LD"; then
25791 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
25792 for ac_dir in $PATH; do
25793 test -z "$ac_dir" && ac_dir=.
25794 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
25795 acl_cv_path_LD="$ac_dir/$ac_prog"
25796 # Check to see if the program is GNU ld. I'd rather use --version,
25797 # but apparently some GNU ld's only accept -v.
25798 # Break only if it was the GNU/non-GNU ld that we prefer.
25799 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
25800 test "$with_gnu_ld" != no && break
25801 else
25802 test "$with_gnu_ld" != yes && break
25805 done
25806 IFS="$ac_save_ifs"
25807 else
25808 acl_cv_path_LD="$LD" # Let the user override the test with a path.
25812 LD="$acl_cv_path_LD"
25813 if test -n "$LD"; then
25814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
25815 $as_echo "$LD" >&6; }
25816 else
25817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25818 $as_echo "no" >&6; }
25820 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
25821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
25822 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
25823 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
25824 $as_echo_n "(cached) " >&6
25825 else
25826 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
25827 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
25828 acl_cv_prog_gnu_ld=yes
25829 else
25830 acl_cv_prog_gnu_ld=no
25833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
25834 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
25835 with_gnu_ld=$acl_cv_prog_gnu_ld
25839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
25840 $as_echo_n "checking for shared library run path origin... " >&6; }
25841 if test "${acl_cv_rpath+set}" = set; then :
25842 $as_echo_n "(cached) " >&6
25843 else
25845 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
25846 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
25847 . ./conftest.sh
25848 rm -f ./conftest.sh
25849 acl_cv_rpath=done
25852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
25853 $as_echo "$acl_cv_rpath" >&6; }
25854 wl="$acl_cv_wl"
25855 libext="$acl_cv_libext"
25856 shlibext="$acl_cv_shlibext"
25857 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
25858 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
25859 hardcode_direct="$acl_cv_hardcode_direct"
25860 hardcode_minus_L="$acl_cv_hardcode_minus_L"
25861 # Check whether --enable-rpath was given.
25862 if test "${enable_rpath+set}" = set; then :
25863 enableval=$enable_rpath; :
25864 else
25865 enable_rpath=yes
25875 use_additional=yes
25877 acl_save_prefix="$prefix"
25878 prefix="$acl_final_prefix"
25879 acl_save_exec_prefix="$exec_prefix"
25880 exec_prefix="$acl_final_exec_prefix"
25882 eval additional_includedir=\"$includedir\"
25883 eval additional_libdir=\"$libdir\"
25885 exec_prefix="$acl_save_exec_prefix"
25886 prefix="$acl_save_prefix"
25889 # Check whether --with-libiconv-prefix was given.
25890 if test "${with_libiconv_prefix+set}" = set; then :
25891 withval=$with_libiconv_prefix;
25892 if test "X$withval" = "Xno"; then
25893 use_additional=no
25894 else
25895 if test "X$withval" = "X"; then
25897 acl_save_prefix="$prefix"
25898 prefix="$acl_final_prefix"
25899 acl_save_exec_prefix="$exec_prefix"
25900 exec_prefix="$acl_final_exec_prefix"
25902 eval additional_includedir=\"$includedir\"
25903 eval additional_libdir=\"$libdir\"
25905 exec_prefix="$acl_save_exec_prefix"
25906 prefix="$acl_save_prefix"
25908 else
25909 additional_includedir="$withval/include"
25910 additional_libdir="$withval/lib"
25916 LIBICONV=
25917 LTLIBICONV=
25918 INCICONV=
25919 rpathdirs=
25920 ltrpathdirs=
25921 names_already_handled=
25922 names_next_round='iconv '
25923 while test -n "$names_next_round"; do
25924 names_this_round="$names_next_round"
25925 names_next_round=
25926 for name in $names_this_round; do
25927 already_handled=
25928 for n in $names_already_handled; do
25929 if test "$n" = "$name"; then
25930 already_handled=yes
25931 break
25933 done
25934 if test -z "$already_handled"; then
25935 names_already_handled="$names_already_handled $name"
25936 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
25937 eval value=\"\$HAVE_LIB$uppername\"
25938 if test -n "$value"; then
25939 if test "$value" = yes; then
25940 eval value=\"\$LIB$uppername\"
25941 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
25942 eval value=\"\$LTLIB$uppername\"
25943 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
25944 else
25947 else
25948 found_dir=
25949 found_la=
25950 found_so=
25951 found_a=
25952 if test $use_additional = yes; then
25953 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
25954 found_dir="$additional_libdir"
25955 found_so="$additional_libdir/lib$name.$shlibext"
25956 if test -f "$additional_libdir/lib$name.la"; then
25957 found_la="$additional_libdir/lib$name.la"
25959 else
25960 if test -f "$additional_libdir/lib$name.$libext"; then
25961 found_dir="$additional_libdir"
25962 found_a="$additional_libdir/lib$name.$libext"
25963 if test -f "$additional_libdir/lib$name.la"; then
25964 found_la="$additional_libdir/lib$name.la"
25969 if test "X$found_dir" = "X"; then
25970 for x in $LDFLAGS $LTLIBICONV; do
25972 acl_save_prefix="$prefix"
25973 prefix="$acl_final_prefix"
25974 acl_save_exec_prefix="$exec_prefix"
25975 exec_prefix="$acl_final_exec_prefix"
25976 eval x=\"$x\"
25977 exec_prefix="$acl_save_exec_prefix"
25978 prefix="$acl_save_prefix"
25980 case "$x" in
25981 -L*)
25982 dir=`echo "X$x" | sed -e 's/^X-L//'`
25983 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
25984 found_dir="$dir"
25985 found_so="$dir/lib$name.$shlibext"
25986 if test -f "$dir/lib$name.la"; then
25987 found_la="$dir/lib$name.la"
25989 else
25990 if test -f "$dir/lib$name.$libext"; then
25991 found_dir="$dir"
25992 found_a="$dir/lib$name.$libext"
25993 if test -f "$dir/lib$name.la"; then
25994 found_la="$dir/lib$name.la"
25999 esac
26000 if test "X$found_dir" != "X"; then
26001 break
26003 done
26005 if test "X$found_dir" != "X"; then
26006 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
26007 if test "X$found_so" != "X"; then
26008 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
26009 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26010 else
26011 haveit=
26012 for x in $ltrpathdirs; do
26013 if test "X$x" = "X$found_dir"; then
26014 haveit=yes
26015 break
26017 done
26018 if test -z "$haveit"; then
26019 ltrpathdirs="$ltrpathdirs $found_dir"
26021 if test "$hardcode_direct" = yes; then
26022 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26023 else
26024 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
26025 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26026 haveit=
26027 for x in $rpathdirs; do
26028 if test "X$x" = "X$found_dir"; then
26029 haveit=yes
26030 break
26032 done
26033 if test -z "$haveit"; then
26034 rpathdirs="$rpathdirs $found_dir"
26036 else
26037 haveit=
26038 for x in $LDFLAGS $LIBICONV; do
26040 acl_save_prefix="$prefix"
26041 prefix="$acl_final_prefix"
26042 acl_save_exec_prefix="$exec_prefix"
26043 exec_prefix="$acl_final_exec_prefix"
26044 eval x=\"$x\"
26045 exec_prefix="$acl_save_exec_prefix"
26046 prefix="$acl_save_prefix"
26048 if test "X$x" = "X-L$found_dir"; then
26049 haveit=yes
26050 break
26052 done
26053 if test -z "$haveit"; then
26054 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
26056 if test "$hardcode_minus_L" != no; then
26057 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26058 else
26059 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26064 else
26065 if test "X$found_a" != "X"; then
26066 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
26067 else
26068 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
26071 additional_includedir=
26072 case "$found_dir" in
26073 */lib | */lib/)
26074 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26075 additional_includedir="$basedir/include"
26077 esac
26078 if test "X$additional_includedir" != "X"; then
26079 if test "X$additional_includedir" != "X/usr/include"; then
26080 haveit=
26081 if test "X$additional_includedir" = "X/usr/local/include"; 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 for x in $CPPFLAGS $INCICONV; do
26091 acl_save_prefix="$prefix"
26092 prefix="$acl_final_prefix"
26093 acl_save_exec_prefix="$exec_prefix"
26094 exec_prefix="$acl_final_exec_prefix"
26095 eval x=\"$x\"
26096 exec_prefix="$acl_save_exec_prefix"
26097 prefix="$acl_save_prefix"
26099 if test "X$x" = "X-I$additional_includedir"; then
26100 haveit=yes
26101 break
26103 done
26104 if test -z "$haveit"; then
26105 if test -d "$additional_includedir"; then
26106 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26112 if test -n "$found_la"; then
26113 save_libdir="$libdir"
26114 case "$found_la" in
26115 */* | *\\*) . "$found_la" ;;
26116 *) . "./$found_la" ;;
26117 esac
26118 libdir="$save_libdir"
26119 for dep in $dependency_libs; do
26120 case "$dep" in
26121 -L*)
26122 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26123 if test "X$additional_libdir" != "X/usr/lib"; then
26124 haveit=
26125 if test "X$additional_libdir" = "X/usr/local/lib"; then
26126 if test -n "$GCC"; then
26127 case $host_os in
26128 linux*) haveit=yes;;
26129 esac
26132 if test -z "$haveit"; then
26133 haveit=
26134 for x in $LDFLAGS $LIBICONV; do
26136 acl_save_prefix="$prefix"
26137 prefix="$acl_final_prefix"
26138 acl_save_exec_prefix="$exec_prefix"
26139 exec_prefix="$acl_final_exec_prefix"
26140 eval x=\"$x\"
26141 exec_prefix="$acl_save_exec_prefix"
26142 prefix="$acl_save_prefix"
26144 if test "X$x" = "X-L$additional_libdir"; then
26145 haveit=yes
26146 break
26148 done
26149 if test -z "$haveit"; then
26150 if test -d "$additional_libdir"; then
26151 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26154 haveit=
26155 for x in $LDFLAGS $LTLIBICONV; do
26157 acl_save_prefix="$prefix"
26158 prefix="$acl_final_prefix"
26159 acl_save_exec_prefix="$exec_prefix"
26160 exec_prefix="$acl_final_exec_prefix"
26161 eval x=\"$x\"
26162 exec_prefix="$acl_save_exec_prefix"
26163 prefix="$acl_save_prefix"
26165 if test "X$x" = "X-L$additional_libdir"; then
26166 haveit=yes
26167 break
26169 done
26170 if test -z "$haveit"; then
26171 if test -d "$additional_libdir"; then
26172 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26178 -R*)
26179 dir=`echo "X$dep" | sed -e 's/^X-R//'`
26180 if test "$enable_rpath" != no; then
26181 haveit=
26182 for x in $rpathdirs; do
26183 if test "X$x" = "X$dir"; then
26184 haveit=yes
26185 break
26187 done
26188 if test -z "$haveit"; then
26189 rpathdirs="$rpathdirs $dir"
26191 haveit=
26192 for x in $ltrpathdirs; do
26193 if test "X$x" = "X$dir"; then
26194 haveit=yes
26195 break
26197 done
26198 if test -z "$haveit"; then
26199 ltrpathdirs="$ltrpathdirs $dir"
26203 -l*)
26204 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26206 *.la)
26207 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26210 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26211 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26213 esac
26214 done
26216 else
26217 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26218 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26222 done
26223 done
26224 if test "X$rpathdirs" != "X"; then
26225 if test -n "$hardcode_libdir_separator"; then
26226 alldirs=
26227 for found_dir in $rpathdirs; do
26228 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
26229 done
26230 acl_save_libdir="$libdir"
26231 libdir="$alldirs"
26232 eval flag=\"$hardcode_libdir_flag_spec\"
26233 libdir="$acl_save_libdir"
26234 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26235 else
26236 for found_dir in $rpathdirs; do
26237 acl_save_libdir="$libdir"
26238 libdir="$found_dir"
26239 eval flag=\"$hardcode_libdir_flag_spec\"
26240 libdir="$acl_save_libdir"
26241 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26242 done
26245 if test "X$ltrpathdirs" != "X"; then
26246 for found_dir in $ltrpathdirs; do
26247 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
26248 done
26257 am_save_CPPFLAGS="$CPPFLAGS"
26259 for element in $INCICONV; do
26260 haveit=
26261 for x in $CPPFLAGS; do
26263 acl_save_prefix="$prefix"
26264 prefix="$acl_final_prefix"
26265 acl_save_exec_prefix="$exec_prefix"
26266 exec_prefix="$acl_final_exec_prefix"
26267 eval x=\"$x\"
26268 exec_prefix="$acl_save_exec_prefix"
26269 prefix="$acl_save_prefix"
26271 if test "X$x" = "X$element"; then
26272 haveit=yes
26273 break
26275 done
26276 if test -z "$haveit"; then
26277 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
26279 done
26282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
26283 $as_echo_n "checking for iconv... " >&6; }
26284 if test "${am_cv_func_iconv+set}" = set; then :
26285 $as_echo_n "(cached) " >&6
26286 else
26288 am_cv_func_iconv="no, consider installing GNU libiconv"
26289 am_cv_lib_iconv=no
26290 if test x$gcc_no_link = xyes; then
26291 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26294 /* end confdefs.h. */
26295 #include <stdlib.h>
26296 #include <iconv.h>
26298 main ()
26300 iconv_t cd = iconv_open("","");
26301 iconv(cd,NULL,NULL,NULL,NULL);
26302 iconv_close(cd);
26304 return 0;
26306 _ACEOF
26307 if ac_fn_c_try_link "$LINENO"; then :
26308 am_cv_func_iconv=yes
26310 rm -f core conftest.err conftest.$ac_objext \
26311 conftest$ac_exeext conftest.$ac_ext
26312 if test "$am_cv_func_iconv" != yes; then
26313 am_save_LIBS="$LIBS"
26314 LIBS="$LIBS $LIBICONV"
26315 if test x$gcc_no_link = xyes; then
26316 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26319 /* end confdefs.h. */
26320 #include <stdlib.h>
26321 #include <iconv.h>
26323 main ()
26325 iconv_t cd = iconv_open("","");
26326 iconv(cd,NULL,NULL,NULL,NULL);
26327 iconv_close(cd);
26329 return 0;
26331 _ACEOF
26332 if ac_fn_c_try_link "$LINENO"; then :
26333 am_cv_lib_iconv=yes
26334 am_cv_func_iconv=yes
26336 rm -f core conftest.err conftest.$ac_objext \
26337 conftest$ac_exeext conftest.$ac_ext
26338 LIBS="$am_save_LIBS"
26342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
26343 $as_echo "$am_cv_func_iconv" >&6; }
26344 if test "$am_cv_func_iconv" = yes; then
26346 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26349 if test "$am_cv_lib_iconv" = yes; then
26350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
26351 $as_echo_n "checking how to link with libiconv... " >&6; }
26352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
26353 $as_echo "$LIBICONV" >&6; }
26354 else
26355 CPPFLAGS="$am_save_CPPFLAGS"
26356 LIBICONV=
26357 LTLIBICONV=
26362 if test "$am_cv_func_iconv" = yes; then
26363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
26364 $as_echo_n "checking for iconv declaration... " >&6; }
26365 if test "${am_cv_proto_iconv+set}" = set; then :
26366 $as_echo_n "(cached) " >&6
26367 else
26369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26370 /* end confdefs.h. */
26372 #include <stdlib.h>
26373 #include <iconv.h>
26374 extern
26375 #ifdef __cplusplus
26377 #endif
26378 #if defined(__STDC__) || defined(__cplusplus)
26379 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26380 #else
26381 size_t iconv();
26382 #endif
26385 main ()
26389 return 0;
26391 _ACEOF
26392 if ac_fn_c_try_compile "$LINENO"; then :
26393 am_cv_proto_iconv_arg1=""
26394 else
26395 am_cv_proto_iconv_arg1="const"
26397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26398 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);"
26401 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
26402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
26403 }$am_cv_proto_iconv" >&5
26404 $as_echo "${ac_t:-
26405 }$am_cv_proto_iconv" >&6; }
26407 cat >>confdefs.h <<_ACEOF
26408 #define ICONV_CONST $am_cv_proto_iconv_arg1
26409 _ACEOF
26414 else
26416 # This lets us hard-code the functionality we know we'll have in the cross
26417 # target environment. "Let" is a sugar-coated word placed on an especially
26418 # dull and tedious hack, actually.
26420 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
26421 # that involve linking, can't be used:
26422 # "cannot open sim-crt0.o"
26423 # "cannot open crt0.o"
26424 # etc. All this is because there currently exists no unified, consistent
26425 # way for top level CC information to be passed down to target directories:
26426 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
26427 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
26428 # crosses can be removed.
26430 # If Canadian cross, then don't pick up tools from the build directory.
26431 # Used only in GLIBCXX_EXPORT_INCLUDES.
26432 if test -n "$with_cross_host" &&
26433 test x"$build_alias" != x"$with_cross_host" &&
26434 test x"$build" != x"$target";
26435 then
26436 CANADIAN=yes
26437 else
26438 CANADIAN=no
26441 # Construct crosses by hand, eliminating bits that need ld...
26442 # GLIBCXX_CHECK_MATH_SUPPORT
26444 # First, test for "known" system libraries. We may be using newlib even
26445 # on a hosted environment.
26446 if test "x${with_newlib}" = "xyes"; then
26447 os_include_dir="os/newlib"
26448 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
26451 # GLIBCXX_CHECK_STDLIB_SUPPORT
26452 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
26455 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
26457 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
26459 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
26461 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
26463 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
26465 $as_echo "#define HAVE_COSF 1" >>confdefs.h
26467 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
26469 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
26471 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
26473 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
26475 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
26477 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
26479 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
26481 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
26483 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
26485 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
26487 $as_echo "#define HAVE_POWF 1" >>confdefs.h
26489 $as_echo "#define HAVE_SINF 1" >>confdefs.h
26491 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
26493 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
26495 $as_echo "#define HAVE_TANF 1" >>confdefs.h
26497 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
26500 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26502 else
26504 # Base decisions on target environment.
26505 case "${host}" in
26506 arm*-*-symbianelf*)
26507 # This is a freestanding configuration; there is nothing to do here.
26510 mips*-sde-elf*)
26511 # These definitions are for the SDE C library rather than newlib.
26512 SECTION_FLAGS='-ffunction-sections -fdata-sections'
26515 # All these tests are for C++; save the language and the compiler flags.
26516 # The CXXFLAGS thing is suspicious, but based on similar bits previously
26517 # found in GLIBCXX_CONFIGURE.
26519 ac_ext=cpp
26520 ac_cpp='$CXXCPP $CPPFLAGS'
26521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26525 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26526 ac_save_CXXFLAGS="$CXXFLAGS"
26528 # Check for maintainer-mode bits.
26529 if test x"$USE_MAINTAINER_MODE" = xno; then
26530 WERROR=''
26531 else
26532 WERROR='-Werror'
26535 # Check for -ffunction-sections -fdata-sections
26536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
26537 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
26538 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
26539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26540 /* end confdefs.h. */
26541 int foo; void bar() { };
26543 main ()
26547 return 0;
26549 _ACEOF
26550 if ac_fn_cxx_try_compile "$LINENO"; then :
26551 ac_fdsections=yes
26552 else
26553 ac_fdsections=no
26555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26556 if test "$ac_test_CXXFLAGS" = set; then
26557 CXXFLAGS="$ac_save_CXXFLAGS"
26558 else
26559 # this is the suspicious part
26560 CXXFLAGS=''
26562 if test x"$ac_fdsections" = x"yes"; then
26563 SECTION_FLAGS='-ffunction-sections -fdata-sections'
26565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
26566 $as_echo "$ac_fdsections" >&6; }
26568 ac_ext=c
26569 ac_cpp='$CPP $CPPFLAGS'
26570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26578 # If we're not using GNU ld, then there's no point in even trying these
26579 # tests. Check for that first. We should have already tested for gld
26580 # by now (in libtool), but require it now just to be safe...
26581 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
26582 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
26586 # The name set by libtool depends on the version of libtool. Shame on us
26587 # for depending on an impl detail, but c'est la vie. Older versions used
26588 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
26589 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
26590 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
26591 # set (hence we're using an older libtool), then set it.
26592 if test x${with_gnu_ld+set} != xset; then
26593 if test x${ac_cv_prog_gnu_ld+set} != xset; then
26594 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
26595 with_gnu_ld=no
26596 else
26597 with_gnu_ld=$ac_cv_prog_gnu_ld
26601 # Start by getting the version number. I think the libtool test already
26602 # does some of this, but throws away the result.
26603 glibcxx_ld_is_gold=no
26604 if test x"$with_gnu_ld" = x"yes"; then
26605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
26606 $as_echo_n "checking for ld version... " >&6; }
26608 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
26609 glibcxx_ld_is_gold=yes
26611 ldver=`$LD --version 2>/dev/null |
26612 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'`
26614 glibcxx_gnu_ld_version=`echo $ldver | \
26615 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
26616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
26617 $as_echo "$glibcxx_gnu_ld_version" >&6; }
26620 # Set --gc-sections.
26621 glibcxx_have_gc_sections=no
26622 if test "$glibcxx_ld_is_gold" = "yes"; then
26623 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
26624 glibcxx_have_gc_sections=yes
26626 else
26627 glibcxx_gcsections_min_ld=21602
26628 if test x"$with_gnu_ld" = x"yes" &&
26629 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
26630 glibcxx_have_gc_sections=yes
26633 if test "$glibcxx_have_gc_sections" = "yes"; then
26634 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
26635 # NB: This flag only works reliably after 2.16.1. Configure tests
26636 # for this are difficult, so hard wire a value that should work.
26638 ac_test_CFLAGS="${CFLAGS+set}"
26639 ac_save_CFLAGS="$CFLAGS"
26640 CFLAGS='-Wl,--gc-sections'
26642 # Check for -Wl,--gc-sections
26643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
26644 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
26645 if test x$gcc_no_link = xyes; then
26646 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26649 /* end confdefs.h. */
26650 int one(void) { return 1; }
26651 int two(void) { return 2; }
26654 main ()
26656 two();
26658 return 0;
26660 _ACEOF
26661 if ac_fn_c_try_link "$LINENO"; then :
26662 ac_gcsections=yes
26663 else
26664 ac_gcsections=no
26666 rm -f core conftest.err conftest.$ac_objext \
26667 conftest$ac_exeext conftest.$ac_ext
26668 if test "$ac_gcsections" = "yes"; then
26669 rm -f conftest.c
26670 touch conftest.c
26671 if $CC -c conftest.c; then
26672 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
26673 grep "Warning: gc-sections option ignored" > /dev/null; then
26674 ac_gcsections=no
26677 rm -f conftest.c conftest.o conftest
26679 if test "$ac_gcsections" = "yes"; then
26680 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
26682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
26683 $as_echo "$ac_gcsections" >&6; }
26685 if test "$ac_test_CFLAGS" = set; then
26686 CFLAGS="$ac_save_CFLAGS"
26687 else
26688 # this is the suspicious part
26689 CFLAGS=''
26693 # Set -z,relro.
26694 # Note this is only for shared objects.
26695 ac_ld_relro=no
26696 if test x"$with_gnu_ld" = x"yes"; then
26697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
26698 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
26699 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
26700 if test -n "$cxx_z_relo"; then
26701 OPT_LDFLAGS="-Wl,-z,relro"
26702 ac_ld_relro=yes
26704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
26705 $as_echo "$ac_ld_relro" >&6; }
26708 # Set linker optimization flags.
26709 if test x"$with_gnu_ld" = x"yes"; then
26710 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
26717 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26718 ac_save_CXXFLAGS="$CXXFLAGS"
26719 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
26722 $as_echo_n "checking for sin in -lm... " >&6; }
26723 if test "${ac_cv_lib_m_sin+set}" = set; then :
26724 $as_echo_n "(cached) " >&6
26725 else
26726 ac_check_lib_save_LIBS=$LIBS
26727 LIBS="-lm $LIBS"
26728 if test x$gcc_no_link = xyes; then
26729 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26732 /* end confdefs.h. */
26734 /* Override any GCC internal prototype to avoid an error.
26735 Use char because int might match the return type of a GCC
26736 builtin and then its argument prototype would still apply. */
26737 #ifdef __cplusplus
26738 extern "C"
26739 #endif
26740 char sin ();
26742 main ()
26744 return sin ();
26746 return 0;
26748 _ACEOF
26749 if ac_fn_c_try_link "$LINENO"; then :
26750 ac_cv_lib_m_sin=yes
26751 else
26752 ac_cv_lib_m_sin=no
26754 rm -f core conftest.err conftest.$ac_objext \
26755 conftest$ac_exeext conftest.$ac_ext
26756 LIBS=$ac_check_lib_save_LIBS
26758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
26759 $as_echo "$ac_cv_lib_m_sin" >&6; }
26760 if test "x$ac_cv_lib_m_sin" = x""yes; then :
26761 libm="-lm"
26764 ac_save_LIBS="$LIBS"
26765 LIBS="$LIBS $libm"
26769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
26770 $as_echo_n "checking for isinf declaration... " >&6; }
26771 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
26772 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
26773 $as_echo_n "(cached) " >&6
26774 else
26777 ac_ext=cpp
26778 ac_cpp='$CXXCPP $CPPFLAGS'
26779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26784 /* end confdefs.h. */
26785 #include <math.h>
26786 #ifdef HAVE_IEEEFP_H
26787 #include <ieeefp.h>
26788 #endif
26791 main ()
26793 isinf(0);
26795 return 0;
26797 _ACEOF
26798 if ac_fn_cxx_try_compile "$LINENO"; then :
26799 glibcxx_cv_func_isinf_use=yes
26800 else
26801 glibcxx_cv_func_isinf_use=no
26803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26804 ac_ext=c
26805 ac_cpp='$CPP $CPPFLAGS'
26806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
26815 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
26817 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
26818 for ac_func in isinf
26819 do :
26820 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
26821 if test "x$ac_cv_func_isinf" = x""yes; then :
26822 cat >>confdefs.h <<_ACEOF
26823 #define HAVE_ISINF 1
26824 _ACEOF
26827 done
26829 else
26831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
26832 $as_echo_n "checking for _isinf declaration... " >&6; }
26833 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
26834 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
26835 $as_echo_n "(cached) " >&6
26836 else
26839 ac_ext=cpp
26840 ac_cpp='$CXXCPP $CPPFLAGS'
26841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26846 /* end confdefs.h. */
26847 #include <math.h>
26848 #ifdef HAVE_IEEEFP_H
26849 #include <ieeefp.h>
26850 #endif
26853 main ()
26855 _isinf(0);
26857 return 0;
26859 _ACEOF
26860 if ac_fn_cxx_try_compile "$LINENO"; then :
26861 glibcxx_cv_func__isinf_use=yes
26862 else
26863 glibcxx_cv_func__isinf_use=no
26865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26866 ac_ext=c
26867 ac_cpp='$CPP $CPPFLAGS'
26868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
26877 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
26879 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
26880 for ac_func in _isinf
26881 do :
26882 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
26883 if test "x$ac_cv_func__isinf" = x""yes; then :
26884 cat >>confdefs.h <<_ACEOF
26885 #define HAVE__ISINF 1
26886 _ACEOF
26889 done
26898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
26899 $as_echo_n "checking for isnan declaration... " >&6; }
26900 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
26901 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
26902 $as_echo_n "(cached) " >&6
26903 else
26906 ac_ext=cpp
26907 ac_cpp='$CXXCPP $CPPFLAGS'
26908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26913 /* end confdefs.h. */
26914 #include <math.h>
26915 #ifdef HAVE_IEEEFP_H
26916 #include <ieeefp.h>
26917 #endif
26920 main ()
26922 isnan(0);
26924 return 0;
26926 _ACEOF
26927 if ac_fn_cxx_try_compile "$LINENO"; then :
26928 glibcxx_cv_func_isnan_use=yes
26929 else
26930 glibcxx_cv_func_isnan_use=no
26932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26933 ac_ext=c
26934 ac_cpp='$CPP $CPPFLAGS'
26935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
26944 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
26946 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
26947 for ac_func in isnan
26948 do :
26949 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
26950 if test "x$ac_cv_func_isnan" = x""yes; then :
26951 cat >>confdefs.h <<_ACEOF
26952 #define HAVE_ISNAN 1
26953 _ACEOF
26956 done
26958 else
26960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
26961 $as_echo_n "checking for _isnan declaration... " >&6; }
26962 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
26963 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
26964 $as_echo_n "(cached) " >&6
26965 else
26968 ac_ext=cpp
26969 ac_cpp='$CXXCPP $CPPFLAGS'
26970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26975 /* end confdefs.h. */
26976 #include <math.h>
26977 #ifdef HAVE_IEEEFP_H
26978 #include <ieeefp.h>
26979 #endif
26982 main ()
26984 _isnan(0);
26986 return 0;
26988 _ACEOF
26989 if ac_fn_cxx_try_compile "$LINENO"; then :
26990 glibcxx_cv_func__isnan_use=yes
26991 else
26992 glibcxx_cv_func__isnan_use=no
26994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26995 ac_ext=c
26996 ac_cpp='$CPP $CPPFLAGS'
26997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
27006 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
27008 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
27009 for ac_func in _isnan
27010 do :
27011 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
27012 if test "x$ac_cv_func__isnan" = x""yes; then :
27013 cat >>confdefs.h <<_ACEOF
27014 #define HAVE__ISNAN 1
27015 _ACEOF
27018 done
27027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
27028 $as_echo_n "checking for finite declaration... " >&6; }
27029 if test x${glibcxx_cv_func_finite_use+set} != xset; then
27030 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
27031 $as_echo_n "(cached) " >&6
27032 else
27035 ac_ext=cpp
27036 ac_cpp='$CXXCPP $CPPFLAGS'
27037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27042 /* end confdefs.h. */
27043 #include <math.h>
27044 #ifdef HAVE_IEEEFP_H
27045 #include <ieeefp.h>
27046 #endif
27049 main ()
27051 finite(0);
27053 return 0;
27055 _ACEOF
27056 if ac_fn_cxx_try_compile "$LINENO"; then :
27057 glibcxx_cv_func_finite_use=yes
27058 else
27059 glibcxx_cv_func_finite_use=no
27061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27062 ac_ext=c
27063 ac_cpp='$CPP $CPPFLAGS'
27064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
27073 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27075 if test x$glibcxx_cv_func_finite_use = x"yes"; then
27076 for ac_func in finite
27077 do :
27078 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27079 if test "x$ac_cv_func_finite" = x""yes; then :
27080 cat >>confdefs.h <<_ACEOF
27081 #define HAVE_FINITE 1
27082 _ACEOF
27085 done
27087 else
27089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27090 $as_echo_n "checking for _finite declaration... " >&6; }
27091 if test x${glibcxx_cv_func__finite_use+set} != xset; then
27092 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27093 $as_echo_n "(cached) " >&6
27094 else
27097 ac_ext=cpp
27098 ac_cpp='$CXXCPP $CPPFLAGS'
27099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27104 /* end confdefs.h. */
27105 #include <math.h>
27106 #ifdef HAVE_IEEEFP_H
27107 #include <ieeefp.h>
27108 #endif
27111 main ()
27113 _finite(0);
27115 return 0;
27117 _ACEOF
27118 if ac_fn_cxx_try_compile "$LINENO"; then :
27119 glibcxx_cv_func__finite_use=yes
27120 else
27121 glibcxx_cv_func__finite_use=no
27123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27124 ac_ext=c
27125 ac_cpp='$CPP $CPPFLAGS'
27126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27135 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27137 if test x$glibcxx_cv_func__finite_use = x"yes"; then
27138 for ac_func in _finite
27139 do :
27140 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27141 if test "x$ac_cv_func__finite" = x""yes; then :
27142 cat >>confdefs.h <<_ACEOF
27143 #define HAVE__FINITE 1
27144 _ACEOF
27147 done
27156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27157 $as_echo_n "checking for sincos declaration... " >&6; }
27158 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27159 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27160 $as_echo_n "(cached) " >&6
27161 else
27164 ac_ext=cpp
27165 ac_cpp='$CXXCPP $CPPFLAGS'
27166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27171 /* end confdefs.h. */
27172 #include <math.h>
27174 main ()
27176 sincos(0, 0, 0);
27178 return 0;
27180 _ACEOF
27181 if ac_fn_cxx_try_compile "$LINENO"; then :
27182 glibcxx_cv_func_sincos_use=yes
27183 else
27184 glibcxx_cv_func_sincos_use=no
27186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27187 ac_ext=c
27188 ac_cpp='$CPP $CPPFLAGS'
27189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27198 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27200 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27201 for ac_func in sincos
27202 do :
27203 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27204 if test "x$ac_cv_func_sincos" = x""yes; then :
27205 cat >>confdefs.h <<_ACEOF
27206 #define HAVE_SINCOS 1
27207 _ACEOF
27210 done
27212 else
27214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27215 $as_echo_n "checking for _sincos declaration... " >&6; }
27216 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27217 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27218 $as_echo_n "(cached) " >&6
27219 else
27222 ac_ext=cpp
27223 ac_cpp='$CXXCPP $CPPFLAGS'
27224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27229 /* end confdefs.h. */
27230 #include <math.h>
27232 main ()
27234 _sincos(0, 0, 0);
27236 return 0;
27238 _ACEOF
27239 if ac_fn_cxx_try_compile "$LINENO"; then :
27240 glibcxx_cv_func__sincos_use=yes
27241 else
27242 glibcxx_cv_func__sincos_use=no
27244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27245 ac_ext=c
27246 ac_cpp='$CPP $CPPFLAGS'
27247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
27256 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
27258 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
27259 for ac_func in _sincos
27260 do :
27261 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
27262 if test "x$ac_cv_func__sincos" = x""yes; then :
27263 cat >>confdefs.h <<_ACEOF
27264 #define HAVE__SINCOS 1
27265 _ACEOF
27268 done
27277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
27278 $as_echo_n "checking for fpclass declaration... " >&6; }
27279 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
27280 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
27281 $as_echo_n "(cached) " >&6
27282 else
27285 ac_ext=cpp
27286 ac_cpp='$CXXCPP $CPPFLAGS'
27287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27292 /* end confdefs.h. */
27293 #include <math.h>
27294 #ifdef HAVE_IEEEFP_H
27295 #include <ieeefp.h>
27296 #endif
27299 main ()
27301 fpclass(0);
27303 return 0;
27305 _ACEOF
27306 if ac_fn_cxx_try_compile "$LINENO"; then :
27307 glibcxx_cv_func_fpclass_use=yes
27308 else
27309 glibcxx_cv_func_fpclass_use=no
27311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27312 ac_ext=c
27313 ac_cpp='$CPP $CPPFLAGS'
27314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
27323 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
27325 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
27326 for ac_func in fpclass
27327 do :
27328 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
27329 if test "x$ac_cv_func_fpclass" = x""yes; then :
27330 cat >>confdefs.h <<_ACEOF
27331 #define HAVE_FPCLASS 1
27332 _ACEOF
27335 done
27337 else
27339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
27340 $as_echo_n "checking for _fpclass declaration... " >&6; }
27341 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
27342 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
27343 $as_echo_n "(cached) " >&6
27344 else
27347 ac_ext=cpp
27348 ac_cpp='$CXXCPP $CPPFLAGS'
27349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27354 /* end confdefs.h. */
27355 #include <math.h>
27356 #ifdef HAVE_IEEEFP_H
27357 #include <ieeefp.h>
27358 #endif
27361 main ()
27363 _fpclass(0);
27365 return 0;
27367 _ACEOF
27368 if ac_fn_cxx_try_compile "$LINENO"; then :
27369 glibcxx_cv_func__fpclass_use=yes
27370 else
27371 glibcxx_cv_func__fpclass_use=no
27373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27374 ac_ext=c
27375 ac_cpp='$CPP $CPPFLAGS'
27376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
27385 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
27387 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
27388 for ac_func in _fpclass
27389 do :
27390 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
27391 if test "x$ac_cv_func__fpclass" = x""yes; then :
27392 cat >>confdefs.h <<_ACEOF
27393 #define HAVE__FPCLASS 1
27394 _ACEOF
27397 done
27406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
27407 $as_echo_n "checking for qfpclass declaration... " >&6; }
27408 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
27409 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
27410 $as_echo_n "(cached) " >&6
27411 else
27414 ac_ext=cpp
27415 ac_cpp='$CXXCPP $CPPFLAGS'
27416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27421 /* end confdefs.h. */
27422 #include <math.h>
27423 #ifdef HAVE_IEEEFP_H
27424 #include <ieeefp.h>
27425 #endif
27428 main ()
27430 qfpclass(0);
27432 return 0;
27434 _ACEOF
27435 if ac_fn_cxx_try_compile "$LINENO"; then :
27436 glibcxx_cv_func_qfpclass_use=yes
27437 else
27438 glibcxx_cv_func_qfpclass_use=no
27440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27441 ac_ext=c
27442 ac_cpp='$CPP $CPPFLAGS'
27443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
27452 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
27454 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
27455 for ac_func in qfpclass
27456 do :
27457 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
27458 if test "x$ac_cv_func_qfpclass" = x""yes; then :
27459 cat >>confdefs.h <<_ACEOF
27460 #define HAVE_QFPCLASS 1
27461 _ACEOF
27464 done
27466 else
27468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
27469 $as_echo_n "checking for _qfpclass declaration... " >&6; }
27470 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
27471 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
27472 $as_echo_n "(cached) " >&6
27473 else
27476 ac_ext=cpp
27477 ac_cpp='$CXXCPP $CPPFLAGS'
27478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27483 /* end confdefs.h. */
27484 #include <math.h>
27485 #ifdef HAVE_IEEEFP_H
27486 #include <ieeefp.h>
27487 #endif
27490 main ()
27492 _qfpclass(0);
27494 return 0;
27496 _ACEOF
27497 if ac_fn_cxx_try_compile "$LINENO"; then :
27498 glibcxx_cv_func__qfpclass_use=yes
27499 else
27500 glibcxx_cv_func__qfpclass_use=no
27502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27503 ac_ext=c
27504 ac_cpp='$CPP $CPPFLAGS'
27505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
27514 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
27516 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
27517 for ac_func in _qfpclass
27518 do :
27519 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
27520 if test "x$ac_cv_func__qfpclass" = x""yes; then :
27521 cat >>confdefs.h <<_ACEOF
27522 #define HAVE__QFPCLASS 1
27523 _ACEOF
27526 done
27535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
27536 $as_echo_n "checking for hypot declaration... " >&6; }
27537 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
27538 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
27539 $as_echo_n "(cached) " >&6
27540 else
27543 ac_ext=cpp
27544 ac_cpp='$CXXCPP $CPPFLAGS'
27545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27550 /* end confdefs.h. */
27551 #include <math.h>
27553 main ()
27555 hypot(0, 0);
27557 return 0;
27559 _ACEOF
27560 if ac_fn_cxx_try_compile "$LINENO"; then :
27561 glibcxx_cv_func_hypot_use=yes
27562 else
27563 glibcxx_cv_func_hypot_use=no
27565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27566 ac_ext=c
27567 ac_cpp='$CPP $CPPFLAGS'
27568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
27577 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
27579 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
27580 for ac_func in hypot
27581 do :
27582 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
27583 if test "x$ac_cv_func_hypot" = x""yes; then :
27584 cat >>confdefs.h <<_ACEOF
27585 #define HAVE_HYPOT 1
27586 _ACEOF
27589 done
27591 else
27593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
27594 $as_echo_n "checking for _hypot declaration... " >&6; }
27595 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
27596 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
27597 $as_echo_n "(cached) " >&6
27598 else
27601 ac_ext=cpp
27602 ac_cpp='$CXXCPP $CPPFLAGS'
27603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27608 /* end confdefs.h. */
27609 #include <math.h>
27611 main ()
27613 _hypot(0, 0);
27615 return 0;
27617 _ACEOF
27618 if ac_fn_cxx_try_compile "$LINENO"; then :
27619 glibcxx_cv_func__hypot_use=yes
27620 else
27621 glibcxx_cv_func__hypot_use=no
27623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27624 ac_ext=c
27625 ac_cpp='$CPP $CPPFLAGS'
27626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
27635 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
27637 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
27638 for ac_func in _hypot
27639 do :
27640 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
27641 if test "x$ac_cv_func__hypot" = x""yes; then :
27642 cat >>confdefs.h <<_ACEOF
27643 #define HAVE__HYPOT 1
27644 _ACEOF
27647 done
27656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
27657 $as_echo_n "checking for float trig functions... " >&6; }
27658 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
27659 $as_echo_n "(cached) " >&6
27660 else
27663 ac_ext=cpp
27664 ac_cpp='$CXXCPP $CPPFLAGS'
27665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27670 /* end confdefs.h. */
27671 #include <math.h>
27673 main ()
27675 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
27677 return 0;
27679 _ACEOF
27680 if ac_fn_cxx_try_compile "$LINENO"; then :
27681 glibcxx_cv_func_float_trig_use=yes
27682 else
27683 glibcxx_cv_func_float_trig_use=no
27685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27686 ac_ext=c
27687 ac_cpp='$CPP $CPPFLAGS'
27688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
27695 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
27696 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
27697 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
27698 do :
27699 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27700 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27701 eval as_val=\$$as_ac_var
27702 if test "x$as_val" = x""yes; then :
27703 cat >>confdefs.h <<_ACEOF
27704 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27705 _ACEOF
27708 done
27710 else
27711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
27712 $as_echo_n "checking for _float trig functions... " >&6; }
27713 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
27714 $as_echo_n "(cached) " >&6
27715 else
27718 ac_ext=cpp
27719 ac_cpp='$CXXCPP $CPPFLAGS'
27720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27725 /* end confdefs.h. */
27726 #include <math.h>
27728 main ()
27730 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
27732 return 0;
27734 _ACEOF
27735 if ac_fn_cxx_try_compile "$LINENO"; then :
27736 glibcxx_cv_func__float_trig_use=yes
27737 else
27738 glibcxx_cv_func__float_trig_use=no
27740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27741 ac_ext=c
27742 ac_cpp='$CPP $CPPFLAGS'
27743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
27750 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
27751 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
27752 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
27753 do :
27754 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27755 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27756 eval as_val=\$$as_ac_var
27757 if test "x$as_val" = x""yes; then :
27758 cat >>confdefs.h <<_ACEOF
27759 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27760 _ACEOF
27763 done
27772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
27773 $as_echo_n "checking for float round functions... " >&6; }
27774 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
27775 $as_echo_n "(cached) " >&6
27776 else
27779 ac_ext=cpp
27780 ac_cpp='$CXXCPP $CPPFLAGS'
27781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27786 /* end confdefs.h. */
27787 #include <math.h>
27789 main ()
27791 ceilf (0); floorf (0);
27793 return 0;
27795 _ACEOF
27796 if ac_fn_cxx_try_compile "$LINENO"; then :
27797 glibcxx_cv_func_float_round_use=yes
27798 else
27799 glibcxx_cv_func_float_round_use=no
27801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27802 ac_ext=c
27803 ac_cpp='$CPP $CPPFLAGS'
27804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
27811 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
27812 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
27813 for ac_func in ceilf floorf
27814 do :
27815 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27816 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27817 eval as_val=\$$as_ac_var
27818 if test "x$as_val" = x""yes; then :
27819 cat >>confdefs.h <<_ACEOF
27820 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27821 _ACEOF
27824 done
27826 else
27827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
27828 $as_echo_n "checking for _float round functions... " >&6; }
27829 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
27830 $as_echo_n "(cached) " >&6
27831 else
27834 ac_ext=cpp
27835 ac_cpp='$CXXCPP $CPPFLAGS'
27836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27841 /* end confdefs.h. */
27842 #include <math.h>
27844 main ()
27846 _ceilf (0); _floorf (0);
27848 return 0;
27850 _ACEOF
27851 if ac_fn_cxx_try_compile "$LINENO"; then :
27852 glibcxx_cv_func__float_round_use=yes
27853 else
27854 glibcxx_cv_func__float_round_use=no
27856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27857 ac_ext=c
27858 ac_cpp='$CPP $CPPFLAGS'
27859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
27866 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
27867 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
27868 for ac_func in _ceilf _floorf
27869 do :
27870 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27871 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27872 eval as_val=\$$as_ac_var
27873 if test "x$as_val" = x""yes; then :
27874 cat >>confdefs.h <<_ACEOF
27875 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27876 _ACEOF
27879 done
27889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
27890 $as_echo_n "checking for expf declaration... " >&6; }
27891 if test x${glibcxx_cv_func_expf_use+set} != xset; then
27892 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
27893 $as_echo_n "(cached) " >&6
27894 else
27897 ac_ext=cpp
27898 ac_cpp='$CXXCPP $CPPFLAGS'
27899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27904 /* end confdefs.h. */
27905 #include <math.h>
27906 #ifdef HAVE_IEEEFP_H
27907 #include <ieeefp.h>
27908 #endif
27911 main ()
27913 expf(0);
27915 return 0;
27917 _ACEOF
27918 if ac_fn_cxx_try_compile "$LINENO"; then :
27919 glibcxx_cv_func_expf_use=yes
27920 else
27921 glibcxx_cv_func_expf_use=no
27923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27924 ac_ext=c
27925 ac_cpp='$CPP $CPPFLAGS'
27926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
27935 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
27937 if test x$glibcxx_cv_func_expf_use = x"yes"; then
27938 for ac_func in expf
27939 do :
27940 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
27941 if test "x$ac_cv_func_expf" = x""yes; then :
27942 cat >>confdefs.h <<_ACEOF
27943 #define HAVE_EXPF 1
27944 _ACEOF
27947 done
27949 else
27951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
27952 $as_echo_n "checking for _expf declaration... " >&6; }
27953 if test x${glibcxx_cv_func__expf_use+set} != xset; then
27954 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
27955 $as_echo_n "(cached) " >&6
27956 else
27959 ac_ext=cpp
27960 ac_cpp='$CXXCPP $CPPFLAGS'
27961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27966 /* end confdefs.h. */
27967 #include <math.h>
27968 #ifdef HAVE_IEEEFP_H
27969 #include <ieeefp.h>
27970 #endif
27973 main ()
27975 _expf(0);
27977 return 0;
27979 _ACEOF
27980 if ac_fn_cxx_try_compile "$LINENO"; then :
27981 glibcxx_cv_func__expf_use=yes
27982 else
27983 glibcxx_cv_func__expf_use=no
27985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27986 ac_ext=c
27987 ac_cpp='$CPP $CPPFLAGS'
27988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
27997 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
27999 if test x$glibcxx_cv_func__expf_use = x"yes"; then
28000 for ac_func in _expf
28001 do :
28002 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
28003 if test "x$ac_cv_func__expf" = x""yes; then :
28004 cat >>confdefs.h <<_ACEOF
28005 #define HAVE__EXPF 1
28006 _ACEOF
28009 done
28018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
28019 $as_echo_n "checking for isnanf declaration... " >&6; }
28020 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
28021 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
28022 $as_echo_n "(cached) " >&6
28023 else
28026 ac_ext=cpp
28027 ac_cpp='$CXXCPP $CPPFLAGS'
28028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28033 /* end confdefs.h. */
28034 #include <math.h>
28035 #ifdef HAVE_IEEEFP_H
28036 #include <ieeefp.h>
28037 #endif
28040 main ()
28042 isnanf(0);
28044 return 0;
28046 _ACEOF
28047 if ac_fn_cxx_try_compile "$LINENO"; then :
28048 glibcxx_cv_func_isnanf_use=yes
28049 else
28050 glibcxx_cv_func_isnanf_use=no
28052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28053 ac_ext=c
28054 ac_cpp='$CPP $CPPFLAGS'
28055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
28064 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
28066 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
28067 for ac_func in isnanf
28068 do :
28069 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
28070 if test "x$ac_cv_func_isnanf" = x""yes; then :
28071 cat >>confdefs.h <<_ACEOF
28072 #define HAVE_ISNANF 1
28073 _ACEOF
28076 done
28078 else
28080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28081 $as_echo_n "checking for _isnanf declaration... " >&6; }
28082 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28083 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28084 $as_echo_n "(cached) " >&6
28085 else
28088 ac_ext=cpp
28089 ac_cpp='$CXXCPP $CPPFLAGS'
28090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28095 /* end confdefs.h. */
28096 #include <math.h>
28097 #ifdef HAVE_IEEEFP_H
28098 #include <ieeefp.h>
28099 #endif
28102 main ()
28104 _isnanf(0);
28106 return 0;
28108 _ACEOF
28109 if ac_fn_cxx_try_compile "$LINENO"; then :
28110 glibcxx_cv_func__isnanf_use=yes
28111 else
28112 glibcxx_cv_func__isnanf_use=no
28114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28115 ac_ext=c
28116 ac_cpp='$CPP $CPPFLAGS'
28117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28126 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28128 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28129 for ac_func in _isnanf
28130 do :
28131 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28132 if test "x$ac_cv_func__isnanf" = x""yes; then :
28133 cat >>confdefs.h <<_ACEOF
28134 #define HAVE__ISNANF 1
28135 _ACEOF
28138 done
28147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28148 $as_echo_n "checking for isinff declaration... " >&6; }
28149 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28150 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28151 $as_echo_n "(cached) " >&6
28152 else
28155 ac_ext=cpp
28156 ac_cpp='$CXXCPP $CPPFLAGS'
28157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28162 /* end confdefs.h. */
28163 #include <math.h>
28164 #ifdef HAVE_IEEEFP_H
28165 #include <ieeefp.h>
28166 #endif
28169 main ()
28171 isinff(0);
28173 return 0;
28175 _ACEOF
28176 if ac_fn_cxx_try_compile "$LINENO"; then :
28177 glibcxx_cv_func_isinff_use=yes
28178 else
28179 glibcxx_cv_func_isinff_use=no
28181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28182 ac_ext=c
28183 ac_cpp='$CPP $CPPFLAGS'
28184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28193 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28195 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28196 for ac_func in isinff
28197 do :
28198 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28199 if test "x$ac_cv_func_isinff" = x""yes; then :
28200 cat >>confdefs.h <<_ACEOF
28201 #define HAVE_ISINFF 1
28202 _ACEOF
28205 done
28207 else
28209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28210 $as_echo_n "checking for _isinff declaration... " >&6; }
28211 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28212 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
28213 $as_echo_n "(cached) " >&6
28214 else
28217 ac_ext=cpp
28218 ac_cpp='$CXXCPP $CPPFLAGS'
28219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28224 /* end confdefs.h. */
28225 #include <math.h>
28226 #ifdef HAVE_IEEEFP_H
28227 #include <ieeefp.h>
28228 #endif
28231 main ()
28233 _isinff(0);
28235 return 0;
28237 _ACEOF
28238 if ac_fn_cxx_try_compile "$LINENO"; then :
28239 glibcxx_cv_func__isinff_use=yes
28240 else
28241 glibcxx_cv_func__isinff_use=no
28243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28244 ac_ext=c
28245 ac_cpp='$CPP $CPPFLAGS'
28246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
28255 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
28257 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28258 for ac_func in _isinff
28259 do :
28260 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
28261 if test "x$ac_cv_func__isinff" = x""yes; then :
28262 cat >>confdefs.h <<_ACEOF
28263 #define HAVE__ISINFF 1
28264 _ACEOF
28267 done
28276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
28277 $as_echo_n "checking for atan2f declaration... " >&6; }
28278 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
28279 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
28280 $as_echo_n "(cached) " >&6
28281 else
28284 ac_ext=cpp
28285 ac_cpp='$CXXCPP $CPPFLAGS'
28286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28291 /* end confdefs.h. */
28292 #include <math.h>
28294 main ()
28296 atan2f(0, 0);
28298 return 0;
28300 _ACEOF
28301 if ac_fn_cxx_try_compile "$LINENO"; then :
28302 glibcxx_cv_func_atan2f_use=yes
28303 else
28304 glibcxx_cv_func_atan2f_use=no
28306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28307 ac_ext=c
28308 ac_cpp='$CPP $CPPFLAGS'
28309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
28318 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
28320 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
28321 for ac_func in atan2f
28322 do :
28323 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
28324 if test "x$ac_cv_func_atan2f" = x""yes; then :
28325 cat >>confdefs.h <<_ACEOF
28326 #define HAVE_ATAN2F 1
28327 _ACEOF
28330 done
28332 else
28334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
28335 $as_echo_n "checking for _atan2f declaration... " >&6; }
28336 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
28337 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
28338 $as_echo_n "(cached) " >&6
28339 else
28342 ac_ext=cpp
28343 ac_cpp='$CXXCPP $CPPFLAGS'
28344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28349 /* end confdefs.h. */
28350 #include <math.h>
28352 main ()
28354 _atan2f(0, 0);
28356 return 0;
28358 _ACEOF
28359 if ac_fn_cxx_try_compile "$LINENO"; then :
28360 glibcxx_cv_func__atan2f_use=yes
28361 else
28362 glibcxx_cv_func__atan2f_use=no
28364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28365 ac_ext=c
28366 ac_cpp='$CPP $CPPFLAGS'
28367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
28376 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
28378 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
28379 for ac_func in _atan2f
28380 do :
28381 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
28382 if test "x$ac_cv_func__atan2f" = x""yes; then :
28383 cat >>confdefs.h <<_ACEOF
28384 #define HAVE__ATAN2F 1
28385 _ACEOF
28388 done
28397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
28398 $as_echo_n "checking for fabsf declaration... " >&6; }
28399 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
28400 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
28401 $as_echo_n "(cached) " >&6
28402 else
28405 ac_ext=cpp
28406 ac_cpp='$CXXCPP $CPPFLAGS'
28407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28412 /* end confdefs.h. */
28413 #include <math.h>
28414 #ifdef HAVE_IEEEFP_H
28415 #include <ieeefp.h>
28416 #endif
28419 main ()
28421 fabsf(0);
28423 return 0;
28425 _ACEOF
28426 if ac_fn_cxx_try_compile "$LINENO"; then :
28427 glibcxx_cv_func_fabsf_use=yes
28428 else
28429 glibcxx_cv_func_fabsf_use=no
28431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28432 ac_ext=c
28433 ac_cpp='$CPP $CPPFLAGS'
28434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
28443 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
28445 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
28446 for ac_func in fabsf
28447 do :
28448 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
28449 if test "x$ac_cv_func_fabsf" = x""yes; then :
28450 cat >>confdefs.h <<_ACEOF
28451 #define HAVE_FABSF 1
28452 _ACEOF
28455 done
28457 else
28459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
28460 $as_echo_n "checking for _fabsf declaration... " >&6; }
28461 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
28462 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
28463 $as_echo_n "(cached) " >&6
28464 else
28467 ac_ext=cpp
28468 ac_cpp='$CXXCPP $CPPFLAGS'
28469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28474 /* end confdefs.h. */
28475 #include <math.h>
28476 #ifdef HAVE_IEEEFP_H
28477 #include <ieeefp.h>
28478 #endif
28481 main ()
28483 _fabsf(0);
28485 return 0;
28487 _ACEOF
28488 if ac_fn_cxx_try_compile "$LINENO"; then :
28489 glibcxx_cv_func__fabsf_use=yes
28490 else
28491 glibcxx_cv_func__fabsf_use=no
28493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28494 ac_ext=c
28495 ac_cpp='$CPP $CPPFLAGS'
28496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
28505 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
28507 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
28508 for ac_func in _fabsf
28509 do :
28510 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
28511 if test "x$ac_cv_func__fabsf" = x""yes; then :
28512 cat >>confdefs.h <<_ACEOF
28513 #define HAVE__FABSF 1
28514 _ACEOF
28517 done
28526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
28527 $as_echo_n "checking for fmodf declaration... " >&6; }
28528 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
28529 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
28530 $as_echo_n "(cached) " >&6
28531 else
28534 ac_ext=cpp
28535 ac_cpp='$CXXCPP $CPPFLAGS'
28536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28541 /* end confdefs.h. */
28542 #include <math.h>
28544 main ()
28546 fmodf(0, 0);
28548 return 0;
28550 _ACEOF
28551 if ac_fn_cxx_try_compile "$LINENO"; then :
28552 glibcxx_cv_func_fmodf_use=yes
28553 else
28554 glibcxx_cv_func_fmodf_use=no
28556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28557 ac_ext=c
28558 ac_cpp='$CPP $CPPFLAGS'
28559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
28568 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
28570 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
28571 for ac_func in fmodf
28572 do :
28573 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
28574 if test "x$ac_cv_func_fmodf" = x""yes; then :
28575 cat >>confdefs.h <<_ACEOF
28576 #define HAVE_FMODF 1
28577 _ACEOF
28580 done
28582 else
28584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
28585 $as_echo_n "checking for _fmodf declaration... " >&6; }
28586 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
28587 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
28588 $as_echo_n "(cached) " >&6
28589 else
28592 ac_ext=cpp
28593 ac_cpp='$CXXCPP $CPPFLAGS'
28594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28599 /* end confdefs.h. */
28600 #include <math.h>
28602 main ()
28604 _fmodf(0, 0);
28606 return 0;
28608 _ACEOF
28609 if ac_fn_cxx_try_compile "$LINENO"; then :
28610 glibcxx_cv_func__fmodf_use=yes
28611 else
28612 glibcxx_cv_func__fmodf_use=no
28614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28615 ac_ext=c
28616 ac_cpp='$CPP $CPPFLAGS'
28617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
28626 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
28628 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
28629 for ac_func in _fmodf
28630 do :
28631 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
28632 if test "x$ac_cv_func__fmodf" = x""yes; then :
28633 cat >>confdefs.h <<_ACEOF
28634 #define HAVE__FMODF 1
28635 _ACEOF
28638 done
28647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
28648 $as_echo_n "checking for frexpf declaration... " >&6; }
28649 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
28650 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
28651 $as_echo_n "(cached) " >&6
28652 else
28655 ac_ext=cpp
28656 ac_cpp='$CXXCPP $CPPFLAGS'
28657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28662 /* end confdefs.h. */
28663 #include <math.h>
28665 main ()
28667 frexpf(0, 0);
28669 return 0;
28671 _ACEOF
28672 if ac_fn_cxx_try_compile "$LINENO"; then :
28673 glibcxx_cv_func_frexpf_use=yes
28674 else
28675 glibcxx_cv_func_frexpf_use=no
28677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28678 ac_ext=c
28679 ac_cpp='$CPP $CPPFLAGS'
28680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
28689 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
28691 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
28692 for ac_func in frexpf
28693 do :
28694 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
28695 if test "x$ac_cv_func_frexpf" = x""yes; then :
28696 cat >>confdefs.h <<_ACEOF
28697 #define HAVE_FREXPF 1
28698 _ACEOF
28701 done
28703 else
28705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
28706 $as_echo_n "checking for _frexpf declaration... " >&6; }
28707 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
28708 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
28709 $as_echo_n "(cached) " >&6
28710 else
28713 ac_ext=cpp
28714 ac_cpp='$CXXCPP $CPPFLAGS'
28715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28720 /* end confdefs.h. */
28721 #include <math.h>
28723 main ()
28725 _frexpf(0, 0);
28727 return 0;
28729 _ACEOF
28730 if ac_fn_cxx_try_compile "$LINENO"; then :
28731 glibcxx_cv_func__frexpf_use=yes
28732 else
28733 glibcxx_cv_func__frexpf_use=no
28735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28736 ac_ext=c
28737 ac_cpp='$CPP $CPPFLAGS'
28738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
28747 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
28749 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
28750 for ac_func in _frexpf
28751 do :
28752 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
28753 if test "x$ac_cv_func__frexpf" = x""yes; then :
28754 cat >>confdefs.h <<_ACEOF
28755 #define HAVE__FREXPF 1
28756 _ACEOF
28759 done
28768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
28769 $as_echo_n "checking for hypotf declaration... " >&6; }
28770 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
28771 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
28772 $as_echo_n "(cached) " >&6
28773 else
28776 ac_ext=cpp
28777 ac_cpp='$CXXCPP $CPPFLAGS'
28778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28783 /* end confdefs.h. */
28784 #include <math.h>
28786 main ()
28788 hypotf(0, 0);
28790 return 0;
28792 _ACEOF
28793 if ac_fn_cxx_try_compile "$LINENO"; then :
28794 glibcxx_cv_func_hypotf_use=yes
28795 else
28796 glibcxx_cv_func_hypotf_use=no
28798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28799 ac_ext=c
28800 ac_cpp='$CPP $CPPFLAGS'
28801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
28810 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
28812 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
28813 for ac_func in hypotf
28814 do :
28815 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
28816 if test "x$ac_cv_func_hypotf" = x""yes; then :
28817 cat >>confdefs.h <<_ACEOF
28818 #define HAVE_HYPOTF 1
28819 _ACEOF
28822 done
28824 else
28826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
28827 $as_echo_n "checking for _hypotf declaration... " >&6; }
28828 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
28829 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
28830 $as_echo_n "(cached) " >&6
28831 else
28834 ac_ext=cpp
28835 ac_cpp='$CXXCPP $CPPFLAGS'
28836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28841 /* end confdefs.h. */
28842 #include <math.h>
28844 main ()
28846 _hypotf(0, 0);
28848 return 0;
28850 _ACEOF
28851 if ac_fn_cxx_try_compile "$LINENO"; then :
28852 glibcxx_cv_func__hypotf_use=yes
28853 else
28854 glibcxx_cv_func__hypotf_use=no
28856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28857 ac_ext=c
28858 ac_cpp='$CPP $CPPFLAGS'
28859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
28868 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
28870 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
28871 for ac_func in _hypotf
28872 do :
28873 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
28874 if test "x$ac_cv_func__hypotf" = x""yes; then :
28875 cat >>confdefs.h <<_ACEOF
28876 #define HAVE__HYPOTF 1
28877 _ACEOF
28880 done
28889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
28890 $as_echo_n "checking for ldexpf declaration... " >&6; }
28891 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
28892 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
28893 $as_echo_n "(cached) " >&6
28894 else
28897 ac_ext=cpp
28898 ac_cpp='$CXXCPP $CPPFLAGS'
28899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28904 /* end confdefs.h. */
28905 #include <math.h>
28907 main ()
28909 ldexpf(0, 0);
28911 return 0;
28913 _ACEOF
28914 if ac_fn_cxx_try_compile "$LINENO"; then :
28915 glibcxx_cv_func_ldexpf_use=yes
28916 else
28917 glibcxx_cv_func_ldexpf_use=no
28919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28920 ac_ext=c
28921 ac_cpp='$CPP $CPPFLAGS'
28922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
28931 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
28933 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
28934 for ac_func in ldexpf
28935 do :
28936 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
28937 if test "x$ac_cv_func_ldexpf" = x""yes; then :
28938 cat >>confdefs.h <<_ACEOF
28939 #define HAVE_LDEXPF 1
28940 _ACEOF
28943 done
28945 else
28947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
28948 $as_echo_n "checking for _ldexpf declaration... " >&6; }
28949 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
28950 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
28951 $as_echo_n "(cached) " >&6
28952 else
28955 ac_ext=cpp
28956 ac_cpp='$CXXCPP $CPPFLAGS'
28957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28962 /* end confdefs.h. */
28963 #include <math.h>
28965 main ()
28967 _ldexpf(0, 0);
28969 return 0;
28971 _ACEOF
28972 if ac_fn_cxx_try_compile "$LINENO"; then :
28973 glibcxx_cv_func__ldexpf_use=yes
28974 else
28975 glibcxx_cv_func__ldexpf_use=no
28977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28978 ac_ext=c
28979 ac_cpp='$CPP $CPPFLAGS'
28980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
28989 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
28991 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
28992 for ac_func in _ldexpf
28993 do :
28994 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
28995 if test "x$ac_cv_func__ldexpf" = x""yes; then :
28996 cat >>confdefs.h <<_ACEOF
28997 #define HAVE__LDEXPF 1
28998 _ACEOF
29001 done
29010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
29011 $as_echo_n "checking for logf declaration... " >&6; }
29012 if test x${glibcxx_cv_func_logf_use+set} != xset; then
29013 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
29014 $as_echo_n "(cached) " >&6
29015 else
29018 ac_ext=cpp
29019 ac_cpp='$CXXCPP $CPPFLAGS'
29020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29025 /* end confdefs.h. */
29026 #include <math.h>
29027 #ifdef HAVE_IEEEFP_H
29028 #include <ieeefp.h>
29029 #endif
29032 main ()
29034 logf(0);
29036 return 0;
29038 _ACEOF
29039 if ac_fn_cxx_try_compile "$LINENO"; then :
29040 glibcxx_cv_func_logf_use=yes
29041 else
29042 glibcxx_cv_func_logf_use=no
29044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29045 ac_ext=c
29046 ac_cpp='$CPP $CPPFLAGS'
29047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
29056 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
29058 if test x$glibcxx_cv_func_logf_use = x"yes"; then
29059 for ac_func in logf
29060 do :
29061 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
29062 if test "x$ac_cv_func_logf" = x""yes; then :
29063 cat >>confdefs.h <<_ACEOF
29064 #define HAVE_LOGF 1
29065 _ACEOF
29068 done
29070 else
29072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
29073 $as_echo_n "checking for _logf declaration... " >&6; }
29074 if test x${glibcxx_cv_func__logf_use+set} != xset; then
29075 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29076 $as_echo_n "(cached) " >&6
29077 else
29080 ac_ext=cpp
29081 ac_cpp='$CXXCPP $CPPFLAGS'
29082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29087 /* end confdefs.h. */
29088 #include <math.h>
29089 #ifdef HAVE_IEEEFP_H
29090 #include <ieeefp.h>
29091 #endif
29094 main ()
29096 _logf(0);
29098 return 0;
29100 _ACEOF
29101 if ac_fn_cxx_try_compile "$LINENO"; then :
29102 glibcxx_cv_func__logf_use=yes
29103 else
29104 glibcxx_cv_func__logf_use=no
29106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29107 ac_ext=c
29108 ac_cpp='$CPP $CPPFLAGS'
29109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29118 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29120 if test x$glibcxx_cv_func__logf_use = x"yes"; then
29121 for ac_func in _logf
29122 do :
29123 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29124 if test "x$ac_cv_func__logf" = x""yes; then :
29125 cat >>confdefs.h <<_ACEOF
29126 #define HAVE__LOGF 1
29127 _ACEOF
29130 done
29139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29140 $as_echo_n "checking for log10f declaration... " >&6; }
29141 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29142 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29143 $as_echo_n "(cached) " >&6
29144 else
29147 ac_ext=cpp
29148 ac_cpp='$CXXCPP $CPPFLAGS'
29149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29154 /* end confdefs.h. */
29155 #include <math.h>
29156 #ifdef HAVE_IEEEFP_H
29157 #include <ieeefp.h>
29158 #endif
29161 main ()
29163 log10f(0);
29165 return 0;
29167 _ACEOF
29168 if ac_fn_cxx_try_compile "$LINENO"; then :
29169 glibcxx_cv_func_log10f_use=yes
29170 else
29171 glibcxx_cv_func_log10f_use=no
29173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29174 ac_ext=c
29175 ac_cpp='$CPP $CPPFLAGS'
29176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
29185 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29187 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29188 for ac_func in log10f
29189 do :
29190 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29191 if test "x$ac_cv_func_log10f" = x""yes; then :
29192 cat >>confdefs.h <<_ACEOF
29193 #define HAVE_LOG10F 1
29194 _ACEOF
29197 done
29199 else
29201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29202 $as_echo_n "checking for _log10f declaration... " >&6; }
29203 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29204 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29205 $as_echo_n "(cached) " >&6
29206 else
29209 ac_ext=cpp
29210 ac_cpp='$CXXCPP $CPPFLAGS'
29211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29216 /* end confdefs.h. */
29217 #include <math.h>
29218 #ifdef HAVE_IEEEFP_H
29219 #include <ieeefp.h>
29220 #endif
29223 main ()
29225 _log10f(0);
29227 return 0;
29229 _ACEOF
29230 if ac_fn_cxx_try_compile "$LINENO"; then :
29231 glibcxx_cv_func__log10f_use=yes
29232 else
29233 glibcxx_cv_func__log10f_use=no
29235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29236 ac_ext=c
29237 ac_cpp='$CPP $CPPFLAGS'
29238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
29247 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
29249 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
29250 for ac_func in _log10f
29251 do :
29252 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
29253 if test "x$ac_cv_func__log10f" = x""yes; then :
29254 cat >>confdefs.h <<_ACEOF
29255 #define HAVE__LOG10F 1
29256 _ACEOF
29259 done
29268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
29269 $as_echo_n "checking for modff declaration... " >&6; }
29270 if test x${glibcxx_cv_func_modff_use+set} != xset; then
29271 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
29272 $as_echo_n "(cached) " >&6
29273 else
29276 ac_ext=cpp
29277 ac_cpp='$CXXCPP $CPPFLAGS'
29278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29283 /* end confdefs.h. */
29284 #include <math.h>
29286 main ()
29288 modff(0, 0);
29290 return 0;
29292 _ACEOF
29293 if ac_fn_cxx_try_compile "$LINENO"; then :
29294 glibcxx_cv_func_modff_use=yes
29295 else
29296 glibcxx_cv_func_modff_use=no
29298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29299 ac_ext=c
29300 ac_cpp='$CPP $CPPFLAGS'
29301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
29310 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
29312 if test x$glibcxx_cv_func_modff_use = x"yes"; then
29313 for ac_func in modff
29314 do :
29315 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
29316 if test "x$ac_cv_func_modff" = x""yes; then :
29317 cat >>confdefs.h <<_ACEOF
29318 #define HAVE_MODFF 1
29319 _ACEOF
29322 done
29324 else
29326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
29327 $as_echo_n "checking for _modff declaration... " >&6; }
29328 if test x${glibcxx_cv_func__modff_use+set} != xset; then
29329 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
29330 $as_echo_n "(cached) " >&6
29331 else
29334 ac_ext=cpp
29335 ac_cpp='$CXXCPP $CPPFLAGS'
29336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29341 /* end confdefs.h. */
29342 #include <math.h>
29344 main ()
29346 _modff(0, 0);
29348 return 0;
29350 _ACEOF
29351 if ac_fn_cxx_try_compile "$LINENO"; then :
29352 glibcxx_cv_func__modff_use=yes
29353 else
29354 glibcxx_cv_func__modff_use=no
29356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29357 ac_ext=c
29358 ac_cpp='$CPP $CPPFLAGS'
29359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
29368 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
29370 if test x$glibcxx_cv_func__modff_use = x"yes"; then
29371 for ac_func in _modff
29372 do :
29373 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
29374 if test "x$ac_cv_func__modff" = x""yes; then :
29375 cat >>confdefs.h <<_ACEOF
29376 #define HAVE__MODFF 1
29377 _ACEOF
29380 done
29389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
29390 $as_echo_n "checking for modf declaration... " >&6; }
29391 if test x${glibcxx_cv_func_modf_use+set} != xset; then
29392 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
29393 $as_echo_n "(cached) " >&6
29394 else
29397 ac_ext=cpp
29398 ac_cpp='$CXXCPP $CPPFLAGS'
29399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29404 /* end confdefs.h. */
29405 #include <math.h>
29407 main ()
29409 modf(0, 0);
29411 return 0;
29413 _ACEOF
29414 if ac_fn_cxx_try_compile "$LINENO"; then :
29415 glibcxx_cv_func_modf_use=yes
29416 else
29417 glibcxx_cv_func_modf_use=no
29419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29420 ac_ext=c
29421 ac_cpp='$CPP $CPPFLAGS'
29422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
29431 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
29433 if test x$glibcxx_cv_func_modf_use = x"yes"; then
29434 for ac_func in modf
29435 do :
29436 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
29437 if test "x$ac_cv_func_modf" = x""yes; then :
29438 cat >>confdefs.h <<_ACEOF
29439 #define HAVE_MODF 1
29440 _ACEOF
29443 done
29445 else
29447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
29448 $as_echo_n "checking for _modf declaration... " >&6; }
29449 if test x${glibcxx_cv_func__modf_use+set} != xset; then
29450 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
29451 $as_echo_n "(cached) " >&6
29452 else
29455 ac_ext=cpp
29456 ac_cpp='$CXXCPP $CPPFLAGS'
29457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29462 /* end confdefs.h. */
29463 #include <math.h>
29465 main ()
29467 _modf(0, 0);
29469 return 0;
29471 _ACEOF
29472 if ac_fn_cxx_try_compile "$LINENO"; then :
29473 glibcxx_cv_func__modf_use=yes
29474 else
29475 glibcxx_cv_func__modf_use=no
29477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29478 ac_ext=c
29479 ac_cpp='$CPP $CPPFLAGS'
29480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
29489 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
29491 if test x$glibcxx_cv_func__modf_use = x"yes"; then
29492 for ac_func in _modf
29493 do :
29494 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
29495 if test "x$ac_cv_func__modf" = x""yes; then :
29496 cat >>confdefs.h <<_ACEOF
29497 #define HAVE__MODF 1
29498 _ACEOF
29501 done
29510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
29511 $as_echo_n "checking for powf declaration... " >&6; }
29512 if test x${glibcxx_cv_func_powf_use+set} != xset; then
29513 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
29514 $as_echo_n "(cached) " >&6
29515 else
29518 ac_ext=cpp
29519 ac_cpp='$CXXCPP $CPPFLAGS'
29520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29525 /* end confdefs.h. */
29526 #include <math.h>
29528 main ()
29530 powf(0, 0);
29532 return 0;
29534 _ACEOF
29535 if ac_fn_cxx_try_compile "$LINENO"; then :
29536 glibcxx_cv_func_powf_use=yes
29537 else
29538 glibcxx_cv_func_powf_use=no
29540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29541 ac_ext=c
29542 ac_cpp='$CPP $CPPFLAGS'
29543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
29552 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
29554 if test x$glibcxx_cv_func_powf_use = x"yes"; then
29555 for ac_func in powf
29556 do :
29557 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
29558 if test "x$ac_cv_func_powf" = x""yes; then :
29559 cat >>confdefs.h <<_ACEOF
29560 #define HAVE_POWF 1
29561 _ACEOF
29564 done
29566 else
29568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
29569 $as_echo_n "checking for _powf declaration... " >&6; }
29570 if test x${glibcxx_cv_func__powf_use+set} != xset; then
29571 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
29572 $as_echo_n "(cached) " >&6
29573 else
29576 ac_ext=cpp
29577 ac_cpp='$CXXCPP $CPPFLAGS'
29578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29583 /* end confdefs.h. */
29584 #include <math.h>
29586 main ()
29588 _powf(0, 0);
29590 return 0;
29592 _ACEOF
29593 if ac_fn_cxx_try_compile "$LINENO"; then :
29594 glibcxx_cv_func__powf_use=yes
29595 else
29596 glibcxx_cv_func__powf_use=no
29598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29599 ac_ext=c
29600 ac_cpp='$CPP $CPPFLAGS'
29601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
29610 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
29612 if test x$glibcxx_cv_func__powf_use = x"yes"; then
29613 for ac_func in _powf
29614 do :
29615 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
29616 if test "x$ac_cv_func__powf" = x""yes; then :
29617 cat >>confdefs.h <<_ACEOF
29618 #define HAVE__POWF 1
29619 _ACEOF
29622 done
29631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
29632 $as_echo_n "checking for sqrtf declaration... " >&6; }
29633 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
29634 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
29635 $as_echo_n "(cached) " >&6
29636 else
29639 ac_ext=cpp
29640 ac_cpp='$CXXCPP $CPPFLAGS'
29641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29646 /* end confdefs.h. */
29647 #include <math.h>
29648 #ifdef HAVE_IEEEFP_H
29649 #include <ieeefp.h>
29650 #endif
29653 main ()
29655 sqrtf(0);
29657 return 0;
29659 _ACEOF
29660 if ac_fn_cxx_try_compile "$LINENO"; then :
29661 glibcxx_cv_func_sqrtf_use=yes
29662 else
29663 glibcxx_cv_func_sqrtf_use=no
29665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29666 ac_ext=c
29667 ac_cpp='$CPP $CPPFLAGS'
29668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
29677 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
29679 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
29680 for ac_func in sqrtf
29681 do :
29682 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
29683 if test "x$ac_cv_func_sqrtf" = x""yes; then :
29684 cat >>confdefs.h <<_ACEOF
29685 #define HAVE_SQRTF 1
29686 _ACEOF
29689 done
29691 else
29693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
29694 $as_echo_n "checking for _sqrtf declaration... " >&6; }
29695 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
29696 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
29697 $as_echo_n "(cached) " >&6
29698 else
29701 ac_ext=cpp
29702 ac_cpp='$CXXCPP $CPPFLAGS'
29703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29708 /* end confdefs.h. */
29709 #include <math.h>
29710 #ifdef HAVE_IEEEFP_H
29711 #include <ieeefp.h>
29712 #endif
29715 main ()
29717 _sqrtf(0);
29719 return 0;
29721 _ACEOF
29722 if ac_fn_cxx_try_compile "$LINENO"; then :
29723 glibcxx_cv_func__sqrtf_use=yes
29724 else
29725 glibcxx_cv_func__sqrtf_use=no
29727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29728 ac_ext=c
29729 ac_cpp='$CPP $CPPFLAGS'
29730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
29739 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
29741 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
29742 for ac_func in _sqrtf
29743 do :
29744 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
29745 if test "x$ac_cv_func__sqrtf" = x""yes; then :
29746 cat >>confdefs.h <<_ACEOF
29747 #define HAVE__SQRTF 1
29748 _ACEOF
29751 done
29760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
29761 $as_echo_n "checking for sincosf declaration... " >&6; }
29762 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
29763 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
29764 $as_echo_n "(cached) " >&6
29765 else
29768 ac_ext=cpp
29769 ac_cpp='$CXXCPP $CPPFLAGS'
29770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29775 /* end confdefs.h. */
29776 #include <math.h>
29778 main ()
29780 sincosf(0, 0, 0);
29782 return 0;
29784 _ACEOF
29785 if ac_fn_cxx_try_compile "$LINENO"; then :
29786 glibcxx_cv_func_sincosf_use=yes
29787 else
29788 glibcxx_cv_func_sincosf_use=no
29790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29791 ac_ext=c
29792 ac_cpp='$CPP $CPPFLAGS'
29793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
29802 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
29804 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
29805 for ac_func in sincosf
29806 do :
29807 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
29808 if test "x$ac_cv_func_sincosf" = x""yes; then :
29809 cat >>confdefs.h <<_ACEOF
29810 #define HAVE_SINCOSF 1
29811 _ACEOF
29814 done
29816 else
29818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
29819 $as_echo_n "checking for _sincosf declaration... " >&6; }
29820 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
29821 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
29822 $as_echo_n "(cached) " >&6
29823 else
29826 ac_ext=cpp
29827 ac_cpp='$CXXCPP $CPPFLAGS'
29828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29833 /* end confdefs.h. */
29834 #include <math.h>
29836 main ()
29838 _sincosf(0, 0, 0);
29840 return 0;
29842 _ACEOF
29843 if ac_fn_cxx_try_compile "$LINENO"; then :
29844 glibcxx_cv_func__sincosf_use=yes
29845 else
29846 glibcxx_cv_func__sincosf_use=no
29848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29849 ac_ext=c
29850 ac_cpp='$CPP $CPPFLAGS'
29851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
29860 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
29862 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
29863 for ac_func in _sincosf
29864 do :
29865 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
29866 if test "x$ac_cv_func__sincosf" = x""yes; then :
29867 cat >>confdefs.h <<_ACEOF
29868 #define HAVE__SINCOSF 1
29869 _ACEOF
29872 done
29881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
29882 $as_echo_n "checking for finitef declaration... " >&6; }
29883 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
29884 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
29885 $as_echo_n "(cached) " >&6
29886 else
29889 ac_ext=cpp
29890 ac_cpp='$CXXCPP $CPPFLAGS'
29891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29896 /* end confdefs.h. */
29897 #include <math.h>
29898 #ifdef HAVE_IEEEFP_H
29899 #include <ieeefp.h>
29900 #endif
29903 main ()
29905 finitef(0);
29907 return 0;
29909 _ACEOF
29910 if ac_fn_cxx_try_compile "$LINENO"; then :
29911 glibcxx_cv_func_finitef_use=yes
29912 else
29913 glibcxx_cv_func_finitef_use=no
29915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29916 ac_ext=c
29917 ac_cpp='$CPP $CPPFLAGS'
29918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
29927 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
29929 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
29930 for ac_func in finitef
29931 do :
29932 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
29933 if test "x$ac_cv_func_finitef" = x""yes; then :
29934 cat >>confdefs.h <<_ACEOF
29935 #define HAVE_FINITEF 1
29936 _ACEOF
29939 done
29941 else
29943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
29944 $as_echo_n "checking for _finitef declaration... " >&6; }
29945 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
29946 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
29947 $as_echo_n "(cached) " >&6
29948 else
29951 ac_ext=cpp
29952 ac_cpp='$CXXCPP $CPPFLAGS'
29953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29958 /* end confdefs.h. */
29959 #include <math.h>
29960 #ifdef HAVE_IEEEFP_H
29961 #include <ieeefp.h>
29962 #endif
29965 main ()
29967 _finitef(0);
29969 return 0;
29971 _ACEOF
29972 if ac_fn_cxx_try_compile "$LINENO"; then :
29973 glibcxx_cv_func__finitef_use=yes
29974 else
29975 glibcxx_cv_func__finitef_use=no
29977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29978 ac_ext=c
29979 ac_cpp='$CPP $CPPFLAGS'
29980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
29989 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
29991 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
29992 for ac_func in _finitef
29993 do :
29994 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
29995 if test "x$ac_cv_func__finitef" = x""yes; then :
29996 cat >>confdefs.h <<_ACEOF
29997 #define HAVE__FINITEF 1
29998 _ACEOF
30001 done
30010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
30011 $as_echo_n "checking for long double trig functions... " >&6; }
30012 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
30013 $as_echo_n "(cached) " >&6
30014 else
30017 ac_ext=cpp
30018 ac_cpp='$CXXCPP $CPPFLAGS'
30019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30024 /* end confdefs.h. */
30025 #include <math.h>
30027 main ()
30029 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
30031 return 0;
30033 _ACEOF
30034 if ac_fn_cxx_try_compile "$LINENO"; then :
30035 glibcxx_cv_func_long_double_trig_use=yes
30036 else
30037 glibcxx_cv_func_long_double_trig_use=no
30039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30040 ac_ext=c
30041 ac_cpp='$CPP $CPPFLAGS'
30042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
30049 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
30050 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
30051 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
30052 do :
30053 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30054 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30055 eval as_val=\$$as_ac_var
30056 if test "x$as_val" = x""yes; then :
30057 cat >>confdefs.h <<_ACEOF
30058 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30059 _ACEOF
30062 done
30064 else
30065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
30066 $as_echo_n "checking for _long double trig functions... " >&6; }
30067 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
30068 $as_echo_n "(cached) " >&6
30069 else
30072 ac_ext=cpp
30073 ac_cpp='$CXXCPP $CPPFLAGS'
30074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30079 /* end confdefs.h. */
30080 #include <math.h>
30082 main ()
30084 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30086 return 0;
30088 _ACEOF
30089 if ac_fn_cxx_try_compile "$LINENO"; then :
30090 glibcxx_cv_func__long_double_trig_use=yes
30091 else
30092 glibcxx_cv_func__long_double_trig_use=no
30094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30095 ac_ext=c
30096 ac_cpp='$CPP $CPPFLAGS'
30097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30104 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30105 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30106 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30107 do :
30108 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30109 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30110 eval as_val=\$$as_ac_var
30111 if test "x$as_val" = x""yes; then :
30112 cat >>confdefs.h <<_ACEOF
30113 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30114 _ACEOF
30117 done
30126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30127 $as_echo_n "checking for long double round functions... " >&6; }
30128 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30129 $as_echo_n "(cached) " >&6
30130 else
30133 ac_ext=cpp
30134 ac_cpp='$CXXCPP $CPPFLAGS'
30135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30140 /* end confdefs.h. */
30141 #include <math.h>
30143 main ()
30145 ceill (0); floorl (0);
30147 return 0;
30149 _ACEOF
30150 if ac_fn_cxx_try_compile "$LINENO"; then :
30151 glibcxx_cv_func_long_double_round_use=yes
30152 else
30153 glibcxx_cv_func_long_double_round_use=no
30155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30156 ac_ext=c
30157 ac_cpp='$CPP $CPPFLAGS'
30158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30165 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30166 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30167 for ac_func in ceill floorl
30168 do :
30169 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30170 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30171 eval as_val=\$$as_ac_var
30172 if test "x$as_val" = x""yes; then :
30173 cat >>confdefs.h <<_ACEOF
30174 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30175 _ACEOF
30178 done
30180 else
30181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30182 $as_echo_n "checking for _long double round functions... " >&6; }
30183 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30184 $as_echo_n "(cached) " >&6
30185 else
30188 ac_ext=cpp
30189 ac_cpp='$CXXCPP $CPPFLAGS'
30190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30195 /* end confdefs.h. */
30196 #include <math.h>
30198 main ()
30200 _ceill (0); _floorl (0);
30202 return 0;
30204 _ACEOF
30205 if ac_fn_cxx_try_compile "$LINENO"; then :
30206 glibcxx_cv_func__long_double_round_use=yes
30207 else
30208 glibcxx_cv_func__long_double_round_use=no
30210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30211 ac_ext=c
30212 ac_cpp='$CPP $CPPFLAGS'
30213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30220 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
30221 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
30222 for ac_func in _ceill _floorl
30223 do :
30224 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30225 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30226 eval as_val=\$$as_ac_var
30227 if test "x$as_val" = x""yes; then :
30228 cat >>confdefs.h <<_ACEOF
30229 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30230 _ACEOF
30233 done
30243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
30244 $as_echo_n "checking for isnanl declaration... " >&6; }
30245 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
30246 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
30247 $as_echo_n "(cached) " >&6
30248 else
30251 ac_ext=cpp
30252 ac_cpp='$CXXCPP $CPPFLAGS'
30253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30258 /* end confdefs.h. */
30259 #include <math.h>
30260 #ifdef HAVE_IEEEFP_H
30261 #include <ieeefp.h>
30262 #endif
30265 main ()
30267 isnanl(0);
30269 return 0;
30271 _ACEOF
30272 if ac_fn_cxx_try_compile "$LINENO"; then :
30273 glibcxx_cv_func_isnanl_use=yes
30274 else
30275 glibcxx_cv_func_isnanl_use=no
30277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30278 ac_ext=c
30279 ac_cpp='$CPP $CPPFLAGS'
30280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
30289 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
30291 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
30292 for ac_func in isnanl
30293 do :
30294 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
30295 if test "x$ac_cv_func_isnanl" = x""yes; then :
30296 cat >>confdefs.h <<_ACEOF
30297 #define HAVE_ISNANL 1
30298 _ACEOF
30301 done
30303 else
30305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
30306 $as_echo_n "checking for _isnanl declaration... " >&6; }
30307 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
30308 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
30309 $as_echo_n "(cached) " >&6
30310 else
30313 ac_ext=cpp
30314 ac_cpp='$CXXCPP $CPPFLAGS'
30315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30320 /* end confdefs.h. */
30321 #include <math.h>
30322 #ifdef HAVE_IEEEFP_H
30323 #include <ieeefp.h>
30324 #endif
30327 main ()
30329 _isnanl(0);
30331 return 0;
30333 _ACEOF
30334 if ac_fn_cxx_try_compile "$LINENO"; then :
30335 glibcxx_cv_func__isnanl_use=yes
30336 else
30337 glibcxx_cv_func__isnanl_use=no
30339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30340 ac_ext=c
30341 ac_cpp='$CPP $CPPFLAGS'
30342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
30351 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
30353 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
30354 for ac_func in _isnanl
30355 do :
30356 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
30357 if test "x$ac_cv_func__isnanl" = x""yes; then :
30358 cat >>confdefs.h <<_ACEOF
30359 #define HAVE__ISNANL 1
30360 _ACEOF
30363 done
30372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
30373 $as_echo_n "checking for isinfl declaration... " >&6; }
30374 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
30375 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
30376 $as_echo_n "(cached) " >&6
30377 else
30380 ac_ext=cpp
30381 ac_cpp='$CXXCPP $CPPFLAGS'
30382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30387 /* end confdefs.h. */
30388 #include <math.h>
30389 #ifdef HAVE_IEEEFP_H
30390 #include <ieeefp.h>
30391 #endif
30394 main ()
30396 isinfl(0);
30398 return 0;
30400 _ACEOF
30401 if ac_fn_cxx_try_compile "$LINENO"; then :
30402 glibcxx_cv_func_isinfl_use=yes
30403 else
30404 glibcxx_cv_func_isinfl_use=no
30406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30407 ac_ext=c
30408 ac_cpp='$CPP $CPPFLAGS'
30409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
30418 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
30420 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
30421 for ac_func in isinfl
30422 do :
30423 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
30424 if test "x$ac_cv_func_isinfl" = x""yes; then :
30425 cat >>confdefs.h <<_ACEOF
30426 #define HAVE_ISINFL 1
30427 _ACEOF
30430 done
30432 else
30434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
30435 $as_echo_n "checking for _isinfl declaration... " >&6; }
30436 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
30437 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
30438 $as_echo_n "(cached) " >&6
30439 else
30442 ac_ext=cpp
30443 ac_cpp='$CXXCPP $CPPFLAGS'
30444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30449 /* end confdefs.h. */
30450 #include <math.h>
30451 #ifdef HAVE_IEEEFP_H
30452 #include <ieeefp.h>
30453 #endif
30456 main ()
30458 _isinfl(0);
30460 return 0;
30462 _ACEOF
30463 if ac_fn_cxx_try_compile "$LINENO"; then :
30464 glibcxx_cv_func__isinfl_use=yes
30465 else
30466 glibcxx_cv_func__isinfl_use=no
30468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30469 ac_ext=c
30470 ac_cpp='$CPP $CPPFLAGS'
30471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
30480 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
30482 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30483 for ac_func in _isinfl
30484 do :
30485 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
30486 if test "x$ac_cv_func__isinfl" = x""yes; then :
30487 cat >>confdefs.h <<_ACEOF
30488 #define HAVE__ISINFL 1
30489 _ACEOF
30492 done
30501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
30502 $as_echo_n "checking for atan2l declaration... " >&6; }
30503 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30504 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
30505 $as_echo_n "(cached) " >&6
30506 else
30509 ac_ext=cpp
30510 ac_cpp='$CXXCPP $CPPFLAGS'
30511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30516 /* end confdefs.h. */
30517 #include <math.h>
30519 main ()
30521 atan2l(0, 0);
30523 return 0;
30525 _ACEOF
30526 if ac_fn_cxx_try_compile "$LINENO"; then :
30527 glibcxx_cv_func_atan2l_use=yes
30528 else
30529 glibcxx_cv_func_atan2l_use=no
30531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30532 ac_ext=c
30533 ac_cpp='$CPP $CPPFLAGS'
30534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
30543 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
30545 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30546 for ac_func in atan2l
30547 do :
30548 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
30549 if test "x$ac_cv_func_atan2l" = x""yes; then :
30550 cat >>confdefs.h <<_ACEOF
30551 #define HAVE_ATAN2L 1
30552 _ACEOF
30555 done
30557 else
30559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
30560 $as_echo_n "checking for _atan2l declaration... " >&6; }
30561 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
30562 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
30563 $as_echo_n "(cached) " >&6
30564 else
30567 ac_ext=cpp
30568 ac_cpp='$CXXCPP $CPPFLAGS'
30569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30574 /* end confdefs.h. */
30575 #include <math.h>
30577 main ()
30579 _atan2l(0, 0);
30581 return 0;
30583 _ACEOF
30584 if ac_fn_cxx_try_compile "$LINENO"; then :
30585 glibcxx_cv_func__atan2l_use=yes
30586 else
30587 glibcxx_cv_func__atan2l_use=no
30589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30590 ac_ext=c
30591 ac_cpp='$CPP $CPPFLAGS'
30592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
30601 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
30603 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
30604 for ac_func in _atan2l
30605 do :
30606 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
30607 if test "x$ac_cv_func__atan2l" = x""yes; then :
30608 cat >>confdefs.h <<_ACEOF
30609 #define HAVE__ATAN2L 1
30610 _ACEOF
30613 done
30622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
30623 $as_echo_n "checking for expl declaration... " >&6; }
30624 if test x${glibcxx_cv_func_expl_use+set} != xset; then
30625 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
30626 $as_echo_n "(cached) " >&6
30627 else
30630 ac_ext=cpp
30631 ac_cpp='$CXXCPP $CPPFLAGS'
30632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30637 /* end confdefs.h. */
30638 #include <math.h>
30639 #ifdef HAVE_IEEEFP_H
30640 #include <ieeefp.h>
30641 #endif
30644 main ()
30646 expl(0);
30648 return 0;
30650 _ACEOF
30651 if ac_fn_cxx_try_compile "$LINENO"; then :
30652 glibcxx_cv_func_expl_use=yes
30653 else
30654 glibcxx_cv_func_expl_use=no
30656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30657 ac_ext=c
30658 ac_cpp='$CPP $CPPFLAGS'
30659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
30668 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
30670 if test x$glibcxx_cv_func_expl_use = x"yes"; then
30671 for ac_func in expl
30672 do :
30673 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
30674 if test "x$ac_cv_func_expl" = x""yes; then :
30675 cat >>confdefs.h <<_ACEOF
30676 #define HAVE_EXPL 1
30677 _ACEOF
30680 done
30682 else
30684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
30685 $as_echo_n "checking for _expl declaration... " >&6; }
30686 if test x${glibcxx_cv_func__expl_use+set} != xset; then
30687 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
30688 $as_echo_n "(cached) " >&6
30689 else
30692 ac_ext=cpp
30693 ac_cpp='$CXXCPP $CPPFLAGS'
30694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30699 /* end confdefs.h. */
30700 #include <math.h>
30701 #ifdef HAVE_IEEEFP_H
30702 #include <ieeefp.h>
30703 #endif
30706 main ()
30708 _expl(0);
30710 return 0;
30712 _ACEOF
30713 if ac_fn_cxx_try_compile "$LINENO"; then :
30714 glibcxx_cv_func__expl_use=yes
30715 else
30716 glibcxx_cv_func__expl_use=no
30718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30719 ac_ext=c
30720 ac_cpp='$CPP $CPPFLAGS'
30721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
30730 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
30732 if test x$glibcxx_cv_func__expl_use = x"yes"; then
30733 for ac_func in _expl
30734 do :
30735 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
30736 if test "x$ac_cv_func__expl" = x""yes; then :
30737 cat >>confdefs.h <<_ACEOF
30738 #define HAVE__EXPL 1
30739 _ACEOF
30742 done
30751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
30752 $as_echo_n "checking for fabsl declaration... " >&6; }
30753 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
30754 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
30755 $as_echo_n "(cached) " >&6
30756 else
30759 ac_ext=cpp
30760 ac_cpp='$CXXCPP $CPPFLAGS'
30761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30766 /* end confdefs.h. */
30767 #include <math.h>
30768 #ifdef HAVE_IEEEFP_H
30769 #include <ieeefp.h>
30770 #endif
30773 main ()
30775 fabsl(0);
30777 return 0;
30779 _ACEOF
30780 if ac_fn_cxx_try_compile "$LINENO"; then :
30781 glibcxx_cv_func_fabsl_use=yes
30782 else
30783 glibcxx_cv_func_fabsl_use=no
30785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30786 ac_ext=c
30787 ac_cpp='$CPP $CPPFLAGS'
30788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
30797 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
30799 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
30800 for ac_func in fabsl
30801 do :
30802 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
30803 if test "x$ac_cv_func_fabsl" = x""yes; then :
30804 cat >>confdefs.h <<_ACEOF
30805 #define HAVE_FABSL 1
30806 _ACEOF
30809 done
30811 else
30813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
30814 $as_echo_n "checking for _fabsl declaration... " >&6; }
30815 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
30816 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
30817 $as_echo_n "(cached) " >&6
30818 else
30821 ac_ext=cpp
30822 ac_cpp='$CXXCPP $CPPFLAGS'
30823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30828 /* end confdefs.h. */
30829 #include <math.h>
30830 #ifdef HAVE_IEEEFP_H
30831 #include <ieeefp.h>
30832 #endif
30835 main ()
30837 _fabsl(0);
30839 return 0;
30841 _ACEOF
30842 if ac_fn_cxx_try_compile "$LINENO"; then :
30843 glibcxx_cv_func__fabsl_use=yes
30844 else
30845 glibcxx_cv_func__fabsl_use=no
30847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30848 ac_ext=c
30849 ac_cpp='$CPP $CPPFLAGS'
30850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
30859 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
30861 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
30862 for ac_func in _fabsl
30863 do :
30864 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
30865 if test "x$ac_cv_func__fabsl" = x""yes; then :
30866 cat >>confdefs.h <<_ACEOF
30867 #define HAVE__FABSL 1
30868 _ACEOF
30871 done
30880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
30881 $as_echo_n "checking for fmodl declaration... " >&6; }
30882 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
30883 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
30884 $as_echo_n "(cached) " >&6
30885 else
30888 ac_ext=cpp
30889 ac_cpp='$CXXCPP $CPPFLAGS'
30890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30895 /* end confdefs.h. */
30896 #include <math.h>
30898 main ()
30900 fmodl(0, 0);
30902 return 0;
30904 _ACEOF
30905 if ac_fn_cxx_try_compile "$LINENO"; then :
30906 glibcxx_cv_func_fmodl_use=yes
30907 else
30908 glibcxx_cv_func_fmodl_use=no
30910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30911 ac_ext=c
30912 ac_cpp='$CPP $CPPFLAGS'
30913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
30922 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
30924 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
30925 for ac_func in fmodl
30926 do :
30927 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
30928 if test "x$ac_cv_func_fmodl" = x""yes; then :
30929 cat >>confdefs.h <<_ACEOF
30930 #define HAVE_FMODL 1
30931 _ACEOF
30934 done
30936 else
30938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
30939 $as_echo_n "checking for _fmodl declaration... " >&6; }
30940 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
30941 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
30942 $as_echo_n "(cached) " >&6
30943 else
30946 ac_ext=cpp
30947 ac_cpp='$CXXCPP $CPPFLAGS'
30948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30953 /* end confdefs.h. */
30954 #include <math.h>
30956 main ()
30958 _fmodl(0, 0);
30960 return 0;
30962 _ACEOF
30963 if ac_fn_cxx_try_compile "$LINENO"; then :
30964 glibcxx_cv_func__fmodl_use=yes
30965 else
30966 glibcxx_cv_func__fmodl_use=no
30968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30969 ac_ext=c
30970 ac_cpp='$CPP $CPPFLAGS'
30971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
30980 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
30982 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
30983 for ac_func in _fmodl
30984 do :
30985 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
30986 if test "x$ac_cv_func__fmodl" = x""yes; then :
30987 cat >>confdefs.h <<_ACEOF
30988 #define HAVE__FMODL 1
30989 _ACEOF
30992 done
31001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
31002 $as_echo_n "checking for frexpl declaration... " >&6; }
31003 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
31004 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
31005 $as_echo_n "(cached) " >&6
31006 else
31009 ac_ext=cpp
31010 ac_cpp='$CXXCPP $CPPFLAGS'
31011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31016 /* end confdefs.h. */
31017 #include <math.h>
31019 main ()
31021 frexpl(0, 0);
31023 return 0;
31025 _ACEOF
31026 if ac_fn_cxx_try_compile "$LINENO"; then :
31027 glibcxx_cv_func_frexpl_use=yes
31028 else
31029 glibcxx_cv_func_frexpl_use=no
31031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31032 ac_ext=c
31033 ac_cpp='$CPP $CPPFLAGS'
31034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
31043 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
31045 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31046 for ac_func in frexpl
31047 do :
31048 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
31049 if test "x$ac_cv_func_frexpl" = x""yes; then :
31050 cat >>confdefs.h <<_ACEOF
31051 #define HAVE_FREXPL 1
31052 _ACEOF
31055 done
31057 else
31059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
31060 $as_echo_n "checking for _frexpl declaration... " >&6; }
31061 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31062 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
31063 $as_echo_n "(cached) " >&6
31064 else
31067 ac_ext=cpp
31068 ac_cpp='$CXXCPP $CPPFLAGS'
31069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31074 /* end confdefs.h. */
31075 #include <math.h>
31077 main ()
31079 _frexpl(0, 0);
31081 return 0;
31083 _ACEOF
31084 if ac_fn_cxx_try_compile "$LINENO"; then :
31085 glibcxx_cv_func__frexpl_use=yes
31086 else
31087 glibcxx_cv_func__frexpl_use=no
31089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31090 ac_ext=c
31091 ac_cpp='$CPP $CPPFLAGS'
31092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31101 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31103 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31104 for ac_func in _frexpl
31105 do :
31106 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31107 if test "x$ac_cv_func__frexpl" = x""yes; then :
31108 cat >>confdefs.h <<_ACEOF
31109 #define HAVE__FREXPL 1
31110 _ACEOF
31113 done
31122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31123 $as_echo_n "checking for hypotl declaration... " >&6; }
31124 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31125 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31126 $as_echo_n "(cached) " >&6
31127 else
31130 ac_ext=cpp
31131 ac_cpp='$CXXCPP $CPPFLAGS'
31132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31137 /* end confdefs.h. */
31138 #include <math.h>
31140 main ()
31142 hypotl(0, 0);
31144 return 0;
31146 _ACEOF
31147 if ac_fn_cxx_try_compile "$LINENO"; then :
31148 glibcxx_cv_func_hypotl_use=yes
31149 else
31150 glibcxx_cv_func_hypotl_use=no
31152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31153 ac_ext=c
31154 ac_cpp='$CPP $CPPFLAGS'
31155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31164 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31166 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31167 for ac_func in hypotl
31168 do :
31169 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31170 if test "x$ac_cv_func_hypotl" = x""yes; then :
31171 cat >>confdefs.h <<_ACEOF
31172 #define HAVE_HYPOTL 1
31173 _ACEOF
31176 done
31178 else
31180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31181 $as_echo_n "checking for _hypotl declaration... " >&6; }
31182 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31183 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31184 $as_echo_n "(cached) " >&6
31185 else
31188 ac_ext=cpp
31189 ac_cpp='$CXXCPP $CPPFLAGS'
31190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31195 /* end confdefs.h. */
31196 #include <math.h>
31198 main ()
31200 _hypotl(0, 0);
31202 return 0;
31204 _ACEOF
31205 if ac_fn_cxx_try_compile "$LINENO"; then :
31206 glibcxx_cv_func__hypotl_use=yes
31207 else
31208 glibcxx_cv_func__hypotl_use=no
31210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31211 ac_ext=c
31212 ac_cpp='$CPP $CPPFLAGS'
31213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
31222 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
31224 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
31225 for ac_func in _hypotl
31226 do :
31227 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
31228 if test "x$ac_cv_func__hypotl" = x""yes; then :
31229 cat >>confdefs.h <<_ACEOF
31230 #define HAVE__HYPOTL 1
31231 _ACEOF
31234 done
31243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
31244 $as_echo_n "checking for ldexpl declaration... " >&6; }
31245 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
31246 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
31247 $as_echo_n "(cached) " >&6
31248 else
31251 ac_ext=cpp
31252 ac_cpp='$CXXCPP $CPPFLAGS'
31253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31258 /* end confdefs.h. */
31259 #include <math.h>
31261 main ()
31263 ldexpl(0, 0);
31265 return 0;
31267 _ACEOF
31268 if ac_fn_cxx_try_compile "$LINENO"; then :
31269 glibcxx_cv_func_ldexpl_use=yes
31270 else
31271 glibcxx_cv_func_ldexpl_use=no
31273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31274 ac_ext=c
31275 ac_cpp='$CPP $CPPFLAGS'
31276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
31285 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
31287 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
31288 for ac_func in ldexpl
31289 do :
31290 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
31291 if test "x$ac_cv_func_ldexpl" = x""yes; then :
31292 cat >>confdefs.h <<_ACEOF
31293 #define HAVE_LDEXPL 1
31294 _ACEOF
31297 done
31299 else
31301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
31302 $as_echo_n "checking for _ldexpl declaration... " >&6; }
31303 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
31304 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
31305 $as_echo_n "(cached) " >&6
31306 else
31309 ac_ext=cpp
31310 ac_cpp='$CXXCPP $CPPFLAGS'
31311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31316 /* end confdefs.h. */
31317 #include <math.h>
31319 main ()
31321 _ldexpl(0, 0);
31323 return 0;
31325 _ACEOF
31326 if ac_fn_cxx_try_compile "$LINENO"; then :
31327 glibcxx_cv_func__ldexpl_use=yes
31328 else
31329 glibcxx_cv_func__ldexpl_use=no
31331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31332 ac_ext=c
31333 ac_cpp='$CPP $CPPFLAGS'
31334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
31343 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
31345 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
31346 for ac_func in _ldexpl
31347 do :
31348 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
31349 if test "x$ac_cv_func__ldexpl" = x""yes; then :
31350 cat >>confdefs.h <<_ACEOF
31351 #define HAVE__LDEXPL 1
31352 _ACEOF
31355 done
31364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
31365 $as_echo_n "checking for logl declaration... " >&6; }
31366 if test x${glibcxx_cv_func_logl_use+set} != xset; then
31367 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
31368 $as_echo_n "(cached) " >&6
31369 else
31372 ac_ext=cpp
31373 ac_cpp='$CXXCPP $CPPFLAGS'
31374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31379 /* end confdefs.h. */
31380 #include <math.h>
31381 #ifdef HAVE_IEEEFP_H
31382 #include <ieeefp.h>
31383 #endif
31386 main ()
31388 logl(0);
31390 return 0;
31392 _ACEOF
31393 if ac_fn_cxx_try_compile "$LINENO"; then :
31394 glibcxx_cv_func_logl_use=yes
31395 else
31396 glibcxx_cv_func_logl_use=no
31398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31399 ac_ext=c
31400 ac_cpp='$CPP $CPPFLAGS'
31401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
31410 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
31412 if test x$glibcxx_cv_func_logl_use = x"yes"; then
31413 for ac_func in logl
31414 do :
31415 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
31416 if test "x$ac_cv_func_logl" = x""yes; then :
31417 cat >>confdefs.h <<_ACEOF
31418 #define HAVE_LOGL 1
31419 _ACEOF
31422 done
31424 else
31426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
31427 $as_echo_n "checking for _logl declaration... " >&6; }
31428 if test x${glibcxx_cv_func__logl_use+set} != xset; then
31429 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
31430 $as_echo_n "(cached) " >&6
31431 else
31434 ac_ext=cpp
31435 ac_cpp='$CXXCPP $CPPFLAGS'
31436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31441 /* end confdefs.h. */
31442 #include <math.h>
31443 #ifdef HAVE_IEEEFP_H
31444 #include <ieeefp.h>
31445 #endif
31448 main ()
31450 _logl(0);
31452 return 0;
31454 _ACEOF
31455 if ac_fn_cxx_try_compile "$LINENO"; then :
31456 glibcxx_cv_func__logl_use=yes
31457 else
31458 glibcxx_cv_func__logl_use=no
31460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31461 ac_ext=c
31462 ac_cpp='$CPP $CPPFLAGS'
31463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
31472 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
31474 if test x$glibcxx_cv_func__logl_use = x"yes"; then
31475 for ac_func in _logl
31476 do :
31477 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
31478 if test "x$ac_cv_func__logl" = x""yes; then :
31479 cat >>confdefs.h <<_ACEOF
31480 #define HAVE__LOGL 1
31481 _ACEOF
31484 done
31493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
31494 $as_echo_n "checking for log10l declaration... " >&6; }
31495 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
31496 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
31497 $as_echo_n "(cached) " >&6
31498 else
31501 ac_ext=cpp
31502 ac_cpp='$CXXCPP $CPPFLAGS'
31503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31508 /* end confdefs.h. */
31509 #include <math.h>
31510 #ifdef HAVE_IEEEFP_H
31511 #include <ieeefp.h>
31512 #endif
31515 main ()
31517 log10l(0);
31519 return 0;
31521 _ACEOF
31522 if ac_fn_cxx_try_compile "$LINENO"; then :
31523 glibcxx_cv_func_log10l_use=yes
31524 else
31525 glibcxx_cv_func_log10l_use=no
31527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31528 ac_ext=c
31529 ac_cpp='$CPP $CPPFLAGS'
31530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
31539 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
31541 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
31542 for ac_func in log10l
31543 do :
31544 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
31545 if test "x$ac_cv_func_log10l" = x""yes; then :
31546 cat >>confdefs.h <<_ACEOF
31547 #define HAVE_LOG10L 1
31548 _ACEOF
31551 done
31553 else
31555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
31556 $as_echo_n "checking for _log10l declaration... " >&6; }
31557 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
31558 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
31559 $as_echo_n "(cached) " >&6
31560 else
31563 ac_ext=cpp
31564 ac_cpp='$CXXCPP $CPPFLAGS'
31565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31570 /* end confdefs.h. */
31571 #include <math.h>
31572 #ifdef HAVE_IEEEFP_H
31573 #include <ieeefp.h>
31574 #endif
31577 main ()
31579 _log10l(0);
31581 return 0;
31583 _ACEOF
31584 if ac_fn_cxx_try_compile "$LINENO"; then :
31585 glibcxx_cv_func__log10l_use=yes
31586 else
31587 glibcxx_cv_func__log10l_use=no
31589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31590 ac_ext=c
31591 ac_cpp='$CPP $CPPFLAGS'
31592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
31601 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
31603 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
31604 for ac_func in _log10l
31605 do :
31606 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
31607 if test "x$ac_cv_func__log10l" = x""yes; then :
31608 cat >>confdefs.h <<_ACEOF
31609 #define HAVE__LOG10L 1
31610 _ACEOF
31613 done
31622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
31623 $as_echo_n "checking for modfl declaration... " >&6; }
31624 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
31625 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
31626 $as_echo_n "(cached) " >&6
31627 else
31630 ac_ext=cpp
31631 ac_cpp='$CXXCPP $CPPFLAGS'
31632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31637 /* end confdefs.h. */
31638 #include <math.h>
31640 main ()
31642 modfl(0, 0);
31644 return 0;
31646 _ACEOF
31647 if ac_fn_cxx_try_compile "$LINENO"; then :
31648 glibcxx_cv_func_modfl_use=yes
31649 else
31650 glibcxx_cv_func_modfl_use=no
31652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31653 ac_ext=c
31654 ac_cpp='$CPP $CPPFLAGS'
31655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
31664 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
31666 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
31667 for ac_func in modfl
31668 do :
31669 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
31670 if test "x$ac_cv_func_modfl" = x""yes; then :
31671 cat >>confdefs.h <<_ACEOF
31672 #define HAVE_MODFL 1
31673 _ACEOF
31676 done
31678 else
31680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
31681 $as_echo_n "checking for _modfl declaration... " >&6; }
31682 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
31683 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
31684 $as_echo_n "(cached) " >&6
31685 else
31688 ac_ext=cpp
31689 ac_cpp='$CXXCPP $CPPFLAGS'
31690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31695 /* end confdefs.h. */
31696 #include <math.h>
31698 main ()
31700 _modfl(0, 0);
31702 return 0;
31704 _ACEOF
31705 if ac_fn_cxx_try_compile "$LINENO"; then :
31706 glibcxx_cv_func__modfl_use=yes
31707 else
31708 glibcxx_cv_func__modfl_use=no
31710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31711 ac_ext=c
31712 ac_cpp='$CPP $CPPFLAGS'
31713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
31722 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
31724 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
31725 for ac_func in _modfl
31726 do :
31727 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
31728 if test "x$ac_cv_func__modfl" = x""yes; then :
31729 cat >>confdefs.h <<_ACEOF
31730 #define HAVE__MODFL 1
31731 _ACEOF
31734 done
31743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
31744 $as_echo_n "checking for powl declaration... " >&6; }
31745 if test x${glibcxx_cv_func_powl_use+set} != xset; then
31746 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
31747 $as_echo_n "(cached) " >&6
31748 else
31751 ac_ext=cpp
31752 ac_cpp='$CXXCPP $CPPFLAGS'
31753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31758 /* end confdefs.h. */
31759 #include <math.h>
31761 main ()
31763 powl(0, 0);
31765 return 0;
31767 _ACEOF
31768 if ac_fn_cxx_try_compile "$LINENO"; then :
31769 glibcxx_cv_func_powl_use=yes
31770 else
31771 glibcxx_cv_func_powl_use=no
31773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31774 ac_ext=c
31775 ac_cpp='$CPP $CPPFLAGS'
31776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
31785 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
31787 if test x$glibcxx_cv_func_powl_use = x"yes"; then
31788 for ac_func in powl
31789 do :
31790 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
31791 if test "x$ac_cv_func_powl" = x""yes; then :
31792 cat >>confdefs.h <<_ACEOF
31793 #define HAVE_POWL 1
31794 _ACEOF
31797 done
31799 else
31801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
31802 $as_echo_n "checking for _powl declaration... " >&6; }
31803 if test x${glibcxx_cv_func__powl_use+set} != xset; then
31804 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
31805 $as_echo_n "(cached) " >&6
31806 else
31809 ac_ext=cpp
31810 ac_cpp='$CXXCPP $CPPFLAGS'
31811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31816 /* end confdefs.h. */
31817 #include <math.h>
31819 main ()
31821 _powl(0, 0);
31823 return 0;
31825 _ACEOF
31826 if ac_fn_cxx_try_compile "$LINENO"; then :
31827 glibcxx_cv_func__powl_use=yes
31828 else
31829 glibcxx_cv_func__powl_use=no
31831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31832 ac_ext=c
31833 ac_cpp='$CPP $CPPFLAGS'
31834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
31843 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
31845 if test x$glibcxx_cv_func__powl_use = x"yes"; then
31846 for ac_func in _powl
31847 do :
31848 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
31849 if test "x$ac_cv_func__powl" = x""yes; then :
31850 cat >>confdefs.h <<_ACEOF
31851 #define HAVE__POWL 1
31852 _ACEOF
31855 done
31864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
31865 $as_echo_n "checking for sqrtl declaration... " >&6; }
31866 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
31867 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
31868 $as_echo_n "(cached) " >&6
31869 else
31872 ac_ext=cpp
31873 ac_cpp='$CXXCPP $CPPFLAGS'
31874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31879 /* end confdefs.h. */
31880 #include <math.h>
31881 #ifdef HAVE_IEEEFP_H
31882 #include <ieeefp.h>
31883 #endif
31886 main ()
31888 sqrtl(0);
31890 return 0;
31892 _ACEOF
31893 if ac_fn_cxx_try_compile "$LINENO"; then :
31894 glibcxx_cv_func_sqrtl_use=yes
31895 else
31896 glibcxx_cv_func_sqrtl_use=no
31898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31899 ac_ext=c
31900 ac_cpp='$CPP $CPPFLAGS'
31901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
31910 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
31912 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
31913 for ac_func in sqrtl
31914 do :
31915 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
31916 if test "x$ac_cv_func_sqrtl" = x""yes; then :
31917 cat >>confdefs.h <<_ACEOF
31918 #define HAVE_SQRTL 1
31919 _ACEOF
31922 done
31924 else
31926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
31927 $as_echo_n "checking for _sqrtl declaration... " >&6; }
31928 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
31929 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
31930 $as_echo_n "(cached) " >&6
31931 else
31934 ac_ext=cpp
31935 ac_cpp='$CXXCPP $CPPFLAGS'
31936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31941 /* end confdefs.h. */
31942 #include <math.h>
31943 #ifdef HAVE_IEEEFP_H
31944 #include <ieeefp.h>
31945 #endif
31948 main ()
31950 _sqrtl(0);
31952 return 0;
31954 _ACEOF
31955 if ac_fn_cxx_try_compile "$LINENO"; then :
31956 glibcxx_cv_func__sqrtl_use=yes
31957 else
31958 glibcxx_cv_func__sqrtl_use=no
31960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31961 ac_ext=c
31962 ac_cpp='$CPP $CPPFLAGS'
31963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
31972 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
31974 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
31975 for ac_func in _sqrtl
31976 do :
31977 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
31978 if test "x$ac_cv_func__sqrtl" = x""yes; then :
31979 cat >>confdefs.h <<_ACEOF
31980 #define HAVE__SQRTL 1
31981 _ACEOF
31984 done
31993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
31994 $as_echo_n "checking for sincosl declaration... " >&6; }
31995 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
31996 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
31997 $as_echo_n "(cached) " >&6
31998 else
32001 ac_ext=cpp
32002 ac_cpp='$CXXCPP $CPPFLAGS'
32003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32008 /* end confdefs.h. */
32009 #include <math.h>
32011 main ()
32013 sincosl(0, 0, 0);
32015 return 0;
32017 _ACEOF
32018 if ac_fn_cxx_try_compile "$LINENO"; then :
32019 glibcxx_cv_func_sincosl_use=yes
32020 else
32021 glibcxx_cv_func_sincosl_use=no
32023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32024 ac_ext=c
32025 ac_cpp='$CPP $CPPFLAGS'
32026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
32035 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
32037 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
32038 for ac_func in sincosl
32039 do :
32040 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
32041 if test "x$ac_cv_func_sincosl" = x""yes; then :
32042 cat >>confdefs.h <<_ACEOF
32043 #define HAVE_SINCOSL 1
32044 _ACEOF
32047 done
32049 else
32051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
32052 $as_echo_n "checking for _sincosl declaration... " >&6; }
32053 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
32054 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
32055 $as_echo_n "(cached) " >&6
32056 else
32059 ac_ext=cpp
32060 ac_cpp='$CXXCPP $CPPFLAGS'
32061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32066 /* end confdefs.h. */
32067 #include <math.h>
32069 main ()
32071 _sincosl(0, 0, 0);
32073 return 0;
32075 _ACEOF
32076 if ac_fn_cxx_try_compile "$LINENO"; then :
32077 glibcxx_cv_func__sincosl_use=yes
32078 else
32079 glibcxx_cv_func__sincosl_use=no
32081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32082 ac_ext=c
32083 ac_cpp='$CPP $CPPFLAGS'
32084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32093 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32095 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32096 for ac_func in _sincosl
32097 do :
32098 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32099 if test "x$ac_cv_func__sincosl" = x""yes; then :
32100 cat >>confdefs.h <<_ACEOF
32101 #define HAVE__SINCOSL 1
32102 _ACEOF
32105 done
32114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32115 $as_echo_n "checking for finitel declaration... " >&6; }
32116 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32117 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32118 $as_echo_n "(cached) " >&6
32119 else
32122 ac_ext=cpp
32123 ac_cpp='$CXXCPP $CPPFLAGS'
32124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32129 /* end confdefs.h. */
32130 #include <math.h>
32131 #ifdef HAVE_IEEEFP_H
32132 #include <ieeefp.h>
32133 #endif
32136 main ()
32138 finitel(0);
32140 return 0;
32142 _ACEOF
32143 if ac_fn_cxx_try_compile "$LINENO"; then :
32144 glibcxx_cv_func_finitel_use=yes
32145 else
32146 glibcxx_cv_func_finitel_use=no
32148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32149 ac_ext=c
32150 ac_cpp='$CPP $CPPFLAGS'
32151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32160 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32162 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32163 for ac_func in finitel
32164 do :
32165 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32166 if test "x$ac_cv_func_finitel" = x""yes; then :
32167 cat >>confdefs.h <<_ACEOF
32168 #define HAVE_FINITEL 1
32169 _ACEOF
32172 done
32174 else
32176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32177 $as_echo_n "checking for _finitel declaration... " >&6; }
32178 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32179 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32180 $as_echo_n "(cached) " >&6
32181 else
32184 ac_ext=cpp
32185 ac_cpp='$CXXCPP $CPPFLAGS'
32186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32191 /* end confdefs.h. */
32192 #include <math.h>
32193 #ifdef HAVE_IEEEFP_H
32194 #include <ieeefp.h>
32195 #endif
32198 main ()
32200 _finitel(0);
32202 return 0;
32204 _ACEOF
32205 if ac_fn_cxx_try_compile "$LINENO"; then :
32206 glibcxx_cv_func__finitel_use=yes
32207 else
32208 glibcxx_cv_func__finitel_use=no
32210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32211 ac_ext=c
32212 ac_cpp='$CPP $CPPFLAGS'
32213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
32222 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
32224 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
32225 for ac_func in _finitel
32226 do :
32227 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
32228 if test "x$ac_cv_func__finitel" = x""yes; then :
32229 cat >>confdefs.h <<_ACEOF
32230 #define HAVE__FINITEL 1
32231 _ACEOF
32234 done
32242 LIBS="$ac_save_LIBS"
32243 CXXFLAGS="$ac_save_CXXFLAGS"
32246 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32247 ac_save_CXXFLAGS="$CXXFLAGS"
32248 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
32252 $as_echo_n "checking for strtold declaration... " >&6; }
32253 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
32254 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
32255 $as_echo_n "(cached) " >&6
32256 else
32259 ac_ext=cpp
32260 ac_cpp='$CXXCPP $CPPFLAGS'
32261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32266 /* end confdefs.h. */
32267 #include <stdlib.h>
32269 main ()
32271 strtold(0, 0);
32273 return 0;
32275 _ACEOF
32276 if ac_fn_cxx_try_compile "$LINENO"; then :
32277 glibcxx_cv_func_strtold_use=yes
32278 else
32279 glibcxx_cv_func_strtold_use=no
32281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32282 ac_ext=c
32283 ac_cpp='$CPP $CPPFLAGS'
32284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
32293 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
32294 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
32295 for ac_func in strtold
32296 do :
32297 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
32298 if test "x$ac_cv_func_strtold" = x""yes; then :
32299 cat >>confdefs.h <<_ACEOF
32300 #define HAVE_STRTOLD 1
32301 _ACEOF
32304 done
32311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
32312 $as_echo_n "checking for strtof declaration... " >&6; }
32313 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
32314 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
32315 $as_echo_n "(cached) " >&6
32316 else
32319 ac_ext=cpp
32320 ac_cpp='$CXXCPP $CPPFLAGS'
32321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32326 /* end confdefs.h. */
32327 #include <stdlib.h>
32329 main ()
32331 strtof(0, 0);
32333 return 0;
32335 _ACEOF
32336 if ac_fn_cxx_try_compile "$LINENO"; then :
32337 glibcxx_cv_func_strtof_use=yes
32338 else
32339 glibcxx_cv_func_strtof_use=no
32341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32342 ac_ext=c
32343 ac_cpp='$CPP $CPPFLAGS'
32344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
32353 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
32354 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
32355 for ac_func in strtof
32356 do :
32357 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
32358 if test "x$ac_cv_func_strtof" = x""yes; then :
32359 cat >>confdefs.h <<_ACEOF
32360 #define HAVE_STRTOF 1
32361 _ACEOF
32364 done
32371 CXXFLAGS="$ac_save_CXXFLAGS"
32374 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
32376 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
32378 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
32380 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
32383 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
32385 $as_echo "#define HAVE_MODF 1" >>confdefs.h
32387 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
32391 *-aix*)
32393 # If we're not using GNU ld, then there's no point in even trying these
32394 # tests. Check for that first. We should have already tested for gld
32395 # by now (in libtool), but require it now just to be safe...
32396 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
32397 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
32401 # The name set by libtool depends on the version of libtool. Shame on us
32402 # for depending on an impl detail, but c'est la vie. Older versions used
32403 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
32404 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
32405 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
32406 # set (hence we're using an older libtool), then set it.
32407 if test x${with_gnu_ld+set} != xset; then
32408 if test x${ac_cv_prog_gnu_ld+set} != xset; then
32409 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
32410 with_gnu_ld=no
32411 else
32412 with_gnu_ld=$ac_cv_prog_gnu_ld
32416 # Start by getting the version number. I think the libtool test already
32417 # does some of this, but throws away the result.
32418 glibcxx_ld_is_gold=no
32419 if test x"$with_gnu_ld" = x"yes"; then
32420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
32421 $as_echo_n "checking for ld version... " >&6; }
32423 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
32424 glibcxx_ld_is_gold=yes
32426 ldver=`$LD --version 2>/dev/null |
32427 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'`
32429 glibcxx_gnu_ld_version=`echo $ldver | \
32430 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
32431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
32432 $as_echo "$glibcxx_gnu_ld_version" >&6; }
32435 # Set --gc-sections.
32436 glibcxx_have_gc_sections=no
32437 if test "$glibcxx_ld_is_gold" = "yes"; then
32438 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
32439 glibcxx_have_gc_sections=yes
32441 else
32442 glibcxx_gcsections_min_ld=21602
32443 if test x"$with_gnu_ld" = x"yes" &&
32444 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
32445 glibcxx_have_gc_sections=yes
32448 if test "$glibcxx_have_gc_sections" = "yes"; then
32449 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
32450 # NB: This flag only works reliably after 2.16.1. Configure tests
32451 # for this are difficult, so hard wire a value that should work.
32453 ac_test_CFLAGS="${CFLAGS+set}"
32454 ac_save_CFLAGS="$CFLAGS"
32455 CFLAGS='-Wl,--gc-sections'
32457 # Check for -Wl,--gc-sections
32458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
32459 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
32460 if test x$gcc_no_link = xyes; then
32461 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32464 /* end confdefs.h. */
32465 int one(void) { return 1; }
32466 int two(void) { return 2; }
32469 main ()
32471 two();
32473 return 0;
32475 _ACEOF
32476 if ac_fn_c_try_link "$LINENO"; then :
32477 ac_gcsections=yes
32478 else
32479 ac_gcsections=no
32481 rm -f core conftest.err conftest.$ac_objext \
32482 conftest$ac_exeext conftest.$ac_ext
32483 if test "$ac_gcsections" = "yes"; then
32484 rm -f conftest.c
32485 touch conftest.c
32486 if $CC -c conftest.c; then
32487 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
32488 grep "Warning: gc-sections option ignored" > /dev/null; then
32489 ac_gcsections=no
32492 rm -f conftest.c conftest.o conftest
32494 if test "$ac_gcsections" = "yes"; then
32495 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
32497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
32498 $as_echo "$ac_gcsections" >&6; }
32500 if test "$ac_test_CFLAGS" = set; then
32501 CFLAGS="$ac_save_CFLAGS"
32502 else
32503 # this is the suspicious part
32504 CFLAGS=''
32508 # Set -z,relro.
32509 # Note this is only for shared objects.
32510 ac_ld_relro=no
32511 if test x"$with_gnu_ld" = x"yes"; then
32512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
32513 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
32514 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
32515 if test -n "$cxx_z_relo"; then
32516 OPT_LDFLAGS="-Wl,-z,relro"
32517 ac_ld_relro=yes
32519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
32520 $as_echo "$ac_ld_relro" >&6; }
32523 # Set linker optimization flags.
32524 if test x"$with_gnu_ld" = x"yes"; then
32525 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
32532 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32533 ac_save_CXXFLAGS="$CXXFLAGS"
32534 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
32537 $as_echo_n "checking for sin in -lm... " >&6; }
32538 if test "${ac_cv_lib_m_sin+set}" = set; then :
32539 $as_echo_n "(cached) " >&6
32540 else
32541 ac_check_lib_save_LIBS=$LIBS
32542 LIBS="-lm $LIBS"
32543 if test x$gcc_no_link = xyes; then
32544 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32547 /* end confdefs.h. */
32549 /* Override any GCC internal prototype to avoid an error.
32550 Use char because int might match the return type of a GCC
32551 builtin and then its argument prototype would still apply. */
32552 #ifdef __cplusplus
32553 extern "C"
32554 #endif
32555 char sin ();
32557 main ()
32559 return sin ();
32561 return 0;
32563 _ACEOF
32564 if ac_fn_c_try_link "$LINENO"; then :
32565 ac_cv_lib_m_sin=yes
32566 else
32567 ac_cv_lib_m_sin=no
32569 rm -f core conftest.err conftest.$ac_objext \
32570 conftest$ac_exeext conftest.$ac_ext
32571 LIBS=$ac_check_lib_save_LIBS
32573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
32574 $as_echo "$ac_cv_lib_m_sin" >&6; }
32575 if test "x$ac_cv_lib_m_sin" = x""yes; then :
32576 libm="-lm"
32579 ac_save_LIBS="$LIBS"
32580 LIBS="$LIBS $libm"
32584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
32585 $as_echo_n "checking for isinf declaration... " >&6; }
32586 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
32587 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
32588 $as_echo_n "(cached) " >&6
32589 else
32592 ac_ext=cpp
32593 ac_cpp='$CXXCPP $CPPFLAGS'
32594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32599 /* end confdefs.h. */
32600 #include <math.h>
32601 #ifdef HAVE_IEEEFP_H
32602 #include <ieeefp.h>
32603 #endif
32606 main ()
32608 isinf(0);
32610 return 0;
32612 _ACEOF
32613 if ac_fn_cxx_try_compile "$LINENO"; then :
32614 glibcxx_cv_func_isinf_use=yes
32615 else
32616 glibcxx_cv_func_isinf_use=no
32618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32619 ac_ext=c
32620 ac_cpp='$CPP $CPPFLAGS'
32621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
32630 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
32632 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
32633 for ac_func in isinf
32634 do :
32635 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
32636 if test "x$ac_cv_func_isinf" = x""yes; then :
32637 cat >>confdefs.h <<_ACEOF
32638 #define HAVE_ISINF 1
32639 _ACEOF
32642 done
32644 else
32646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
32647 $as_echo_n "checking for _isinf declaration... " >&6; }
32648 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
32649 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
32650 $as_echo_n "(cached) " >&6
32651 else
32654 ac_ext=cpp
32655 ac_cpp='$CXXCPP $CPPFLAGS'
32656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32661 /* end confdefs.h. */
32662 #include <math.h>
32663 #ifdef HAVE_IEEEFP_H
32664 #include <ieeefp.h>
32665 #endif
32668 main ()
32670 _isinf(0);
32672 return 0;
32674 _ACEOF
32675 if ac_fn_cxx_try_compile "$LINENO"; then :
32676 glibcxx_cv_func__isinf_use=yes
32677 else
32678 glibcxx_cv_func__isinf_use=no
32680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32681 ac_ext=c
32682 ac_cpp='$CPP $CPPFLAGS'
32683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
32692 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
32694 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
32695 for ac_func in _isinf
32696 do :
32697 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
32698 if test "x$ac_cv_func__isinf" = x""yes; then :
32699 cat >>confdefs.h <<_ACEOF
32700 #define HAVE__ISINF 1
32701 _ACEOF
32704 done
32713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
32714 $as_echo_n "checking for isnan declaration... " >&6; }
32715 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
32716 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
32717 $as_echo_n "(cached) " >&6
32718 else
32721 ac_ext=cpp
32722 ac_cpp='$CXXCPP $CPPFLAGS'
32723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32728 /* end confdefs.h. */
32729 #include <math.h>
32730 #ifdef HAVE_IEEEFP_H
32731 #include <ieeefp.h>
32732 #endif
32735 main ()
32737 isnan(0);
32739 return 0;
32741 _ACEOF
32742 if ac_fn_cxx_try_compile "$LINENO"; then :
32743 glibcxx_cv_func_isnan_use=yes
32744 else
32745 glibcxx_cv_func_isnan_use=no
32747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32748 ac_ext=c
32749 ac_cpp='$CPP $CPPFLAGS'
32750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
32759 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
32761 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
32762 for ac_func in isnan
32763 do :
32764 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
32765 if test "x$ac_cv_func_isnan" = x""yes; then :
32766 cat >>confdefs.h <<_ACEOF
32767 #define HAVE_ISNAN 1
32768 _ACEOF
32771 done
32773 else
32775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
32776 $as_echo_n "checking for _isnan declaration... " >&6; }
32777 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
32778 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
32779 $as_echo_n "(cached) " >&6
32780 else
32783 ac_ext=cpp
32784 ac_cpp='$CXXCPP $CPPFLAGS'
32785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32790 /* end confdefs.h. */
32791 #include <math.h>
32792 #ifdef HAVE_IEEEFP_H
32793 #include <ieeefp.h>
32794 #endif
32797 main ()
32799 _isnan(0);
32801 return 0;
32803 _ACEOF
32804 if ac_fn_cxx_try_compile "$LINENO"; then :
32805 glibcxx_cv_func__isnan_use=yes
32806 else
32807 glibcxx_cv_func__isnan_use=no
32809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32810 ac_ext=c
32811 ac_cpp='$CPP $CPPFLAGS'
32812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
32821 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
32823 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32824 for ac_func in _isnan
32825 do :
32826 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
32827 if test "x$ac_cv_func__isnan" = x""yes; then :
32828 cat >>confdefs.h <<_ACEOF
32829 #define HAVE__ISNAN 1
32830 _ACEOF
32833 done
32842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
32843 $as_echo_n "checking for finite declaration... " >&6; }
32844 if test x${glibcxx_cv_func_finite_use+set} != xset; then
32845 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
32846 $as_echo_n "(cached) " >&6
32847 else
32850 ac_ext=cpp
32851 ac_cpp='$CXXCPP $CPPFLAGS'
32852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32857 /* end confdefs.h. */
32858 #include <math.h>
32859 #ifdef HAVE_IEEEFP_H
32860 #include <ieeefp.h>
32861 #endif
32864 main ()
32866 finite(0);
32868 return 0;
32870 _ACEOF
32871 if ac_fn_cxx_try_compile "$LINENO"; then :
32872 glibcxx_cv_func_finite_use=yes
32873 else
32874 glibcxx_cv_func_finite_use=no
32876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32877 ac_ext=c
32878 ac_cpp='$CPP $CPPFLAGS'
32879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
32888 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
32890 if test x$glibcxx_cv_func_finite_use = x"yes"; then
32891 for ac_func in finite
32892 do :
32893 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
32894 if test "x$ac_cv_func_finite" = x""yes; then :
32895 cat >>confdefs.h <<_ACEOF
32896 #define HAVE_FINITE 1
32897 _ACEOF
32900 done
32902 else
32904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
32905 $as_echo_n "checking for _finite declaration... " >&6; }
32906 if test x${glibcxx_cv_func__finite_use+set} != xset; then
32907 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
32908 $as_echo_n "(cached) " >&6
32909 else
32912 ac_ext=cpp
32913 ac_cpp='$CXXCPP $CPPFLAGS'
32914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32919 /* end confdefs.h. */
32920 #include <math.h>
32921 #ifdef HAVE_IEEEFP_H
32922 #include <ieeefp.h>
32923 #endif
32926 main ()
32928 _finite(0);
32930 return 0;
32932 _ACEOF
32933 if ac_fn_cxx_try_compile "$LINENO"; then :
32934 glibcxx_cv_func__finite_use=yes
32935 else
32936 glibcxx_cv_func__finite_use=no
32938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32939 ac_ext=c
32940 ac_cpp='$CPP $CPPFLAGS'
32941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
32950 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
32952 if test x$glibcxx_cv_func__finite_use = x"yes"; then
32953 for ac_func in _finite
32954 do :
32955 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
32956 if test "x$ac_cv_func__finite" = x""yes; then :
32957 cat >>confdefs.h <<_ACEOF
32958 #define HAVE__FINITE 1
32959 _ACEOF
32962 done
32971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
32972 $as_echo_n "checking for sincos declaration... " >&6; }
32973 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32974 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
32975 $as_echo_n "(cached) " >&6
32976 else
32979 ac_ext=cpp
32980 ac_cpp='$CXXCPP $CPPFLAGS'
32981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32986 /* end confdefs.h. */
32987 #include <math.h>
32989 main ()
32991 sincos(0, 0, 0);
32993 return 0;
32995 _ACEOF
32996 if ac_fn_cxx_try_compile "$LINENO"; then :
32997 glibcxx_cv_func_sincos_use=yes
32998 else
32999 glibcxx_cv_func_sincos_use=no
33001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33002 ac_ext=c
33003 ac_cpp='$CPP $CPPFLAGS'
33004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
33013 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
33015 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33016 for ac_func in sincos
33017 do :
33018 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
33019 if test "x$ac_cv_func_sincos" = x""yes; then :
33020 cat >>confdefs.h <<_ACEOF
33021 #define HAVE_SINCOS 1
33022 _ACEOF
33025 done
33027 else
33029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
33030 $as_echo_n "checking for _sincos declaration... " >&6; }
33031 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33032 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
33033 $as_echo_n "(cached) " >&6
33034 else
33037 ac_ext=cpp
33038 ac_cpp='$CXXCPP $CPPFLAGS'
33039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33044 /* end confdefs.h. */
33045 #include <math.h>
33047 main ()
33049 _sincos(0, 0, 0);
33051 return 0;
33053 _ACEOF
33054 if ac_fn_cxx_try_compile "$LINENO"; then :
33055 glibcxx_cv_func__sincos_use=yes
33056 else
33057 glibcxx_cv_func__sincos_use=no
33059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33060 ac_ext=c
33061 ac_cpp='$CPP $CPPFLAGS'
33062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
33071 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
33073 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33074 for ac_func in _sincos
33075 do :
33076 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33077 if test "x$ac_cv_func__sincos" = x""yes; then :
33078 cat >>confdefs.h <<_ACEOF
33079 #define HAVE__SINCOS 1
33080 _ACEOF
33083 done
33092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33093 $as_echo_n "checking for fpclass declaration... " >&6; }
33094 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33095 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33096 $as_echo_n "(cached) " >&6
33097 else
33100 ac_ext=cpp
33101 ac_cpp='$CXXCPP $CPPFLAGS'
33102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33107 /* end confdefs.h. */
33108 #include <math.h>
33109 #ifdef HAVE_IEEEFP_H
33110 #include <ieeefp.h>
33111 #endif
33114 main ()
33116 fpclass(0);
33118 return 0;
33120 _ACEOF
33121 if ac_fn_cxx_try_compile "$LINENO"; then :
33122 glibcxx_cv_func_fpclass_use=yes
33123 else
33124 glibcxx_cv_func_fpclass_use=no
33126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33127 ac_ext=c
33128 ac_cpp='$CPP $CPPFLAGS'
33129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33138 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33140 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33141 for ac_func in fpclass
33142 do :
33143 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33144 if test "x$ac_cv_func_fpclass" = x""yes; then :
33145 cat >>confdefs.h <<_ACEOF
33146 #define HAVE_FPCLASS 1
33147 _ACEOF
33150 done
33152 else
33154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33155 $as_echo_n "checking for _fpclass declaration... " >&6; }
33156 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33157 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33158 $as_echo_n "(cached) " >&6
33159 else
33162 ac_ext=cpp
33163 ac_cpp='$CXXCPP $CPPFLAGS'
33164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33169 /* end confdefs.h. */
33170 #include <math.h>
33171 #ifdef HAVE_IEEEFP_H
33172 #include <ieeefp.h>
33173 #endif
33176 main ()
33178 _fpclass(0);
33180 return 0;
33182 _ACEOF
33183 if ac_fn_cxx_try_compile "$LINENO"; then :
33184 glibcxx_cv_func__fpclass_use=yes
33185 else
33186 glibcxx_cv_func__fpclass_use=no
33188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33189 ac_ext=c
33190 ac_cpp='$CPP $CPPFLAGS'
33191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33200 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33202 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33203 for ac_func in _fpclass
33204 do :
33205 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33206 if test "x$ac_cv_func__fpclass" = x""yes; then :
33207 cat >>confdefs.h <<_ACEOF
33208 #define HAVE__FPCLASS 1
33209 _ACEOF
33212 done
33221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
33222 $as_echo_n "checking for qfpclass declaration... " >&6; }
33223 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33224 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
33225 $as_echo_n "(cached) " >&6
33226 else
33229 ac_ext=cpp
33230 ac_cpp='$CXXCPP $CPPFLAGS'
33231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33236 /* end confdefs.h. */
33237 #include <math.h>
33238 #ifdef HAVE_IEEEFP_H
33239 #include <ieeefp.h>
33240 #endif
33243 main ()
33245 qfpclass(0);
33247 return 0;
33249 _ACEOF
33250 if ac_fn_cxx_try_compile "$LINENO"; then :
33251 glibcxx_cv_func_qfpclass_use=yes
33252 else
33253 glibcxx_cv_func_qfpclass_use=no
33255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33256 ac_ext=c
33257 ac_cpp='$CPP $CPPFLAGS'
33258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
33267 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
33269 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33270 for ac_func in qfpclass
33271 do :
33272 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
33273 if test "x$ac_cv_func_qfpclass" = x""yes; then :
33274 cat >>confdefs.h <<_ACEOF
33275 #define HAVE_QFPCLASS 1
33276 _ACEOF
33279 done
33281 else
33283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
33284 $as_echo_n "checking for _qfpclass declaration... " >&6; }
33285 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33286 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
33287 $as_echo_n "(cached) " >&6
33288 else
33291 ac_ext=cpp
33292 ac_cpp='$CXXCPP $CPPFLAGS'
33293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33298 /* end confdefs.h. */
33299 #include <math.h>
33300 #ifdef HAVE_IEEEFP_H
33301 #include <ieeefp.h>
33302 #endif
33305 main ()
33307 _qfpclass(0);
33309 return 0;
33311 _ACEOF
33312 if ac_fn_cxx_try_compile "$LINENO"; then :
33313 glibcxx_cv_func__qfpclass_use=yes
33314 else
33315 glibcxx_cv_func__qfpclass_use=no
33317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33318 ac_ext=c
33319 ac_cpp='$CPP $CPPFLAGS'
33320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
33329 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
33331 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33332 for ac_func in _qfpclass
33333 do :
33334 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
33335 if test "x$ac_cv_func__qfpclass" = x""yes; then :
33336 cat >>confdefs.h <<_ACEOF
33337 #define HAVE__QFPCLASS 1
33338 _ACEOF
33341 done
33350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
33351 $as_echo_n "checking for hypot declaration... " >&6; }
33352 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33353 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
33354 $as_echo_n "(cached) " >&6
33355 else
33358 ac_ext=cpp
33359 ac_cpp='$CXXCPP $CPPFLAGS'
33360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33365 /* end confdefs.h. */
33366 #include <math.h>
33368 main ()
33370 hypot(0, 0);
33372 return 0;
33374 _ACEOF
33375 if ac_fn_cxx_try_compile "$LINENO"; then :
33376 glibcxx_cv_func_hypot_use=yes
33377 else
33378 glibcxx_cv_func_hypot_use=no
33380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33381 ac_ext=c
33382 ac_cpp='$CPP $CPPFLAGS'
33383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
33392 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
33394 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33395 for ac_func in hypot
33396 do :
33397 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
33398 if test "x$ac_cv_func_hypot" = x""yes; then :
33399 cat >>confdefs.h <<_ACEOF
33400 #define HAVE_HYPOT 1
33401 _ACEOF
33404 done
33406 else
33408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
33409 $as_echo_n "checking for _hypot declaration... " >&6; }
33410 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
33411 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
33412 $as_echo_n "(cached) " >&6
33413 else
33416 ac_ext=cpp
33417 ac_cpp='$CXXCPP $CPPFLAGS'
33418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33423 /* end confdefs.h. */
33424 #include <math.h>
33426 main ()
33428 _hypot(0, 0);
33430 return 0;
33432 _ACEOF
33433 if ac_fn_cxx_try_compile "$LINENO"; then :
33434 glibcxx_cv_func__hypot_use=yes
33435 else
33436 glibcxx_cv_func__hypot_use=no
33438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33439 ac_ext=c
33440 ac_cpp='$CPP $CPPFLAGS'
33441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
33450 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
33452 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
33453 for ac_func in _hypot
33454 do :
33455 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
33456 if test "x$ac_cv_func__hypot" = x""yes; then :
33457 cat >>confdefs.h <<_ACEOF
33458 #define HAVE__HYPOT 1
33459 _ACEOF
33462 done
33471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
33472 $as_echo_n "checking for float trig functions... " >&6; }
33473 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
33474 $as_echo_n "(cached) " >&6
33475 else
33478 ac_ext=cpp
33479 ac_cpp='$CXXCPP $CPPFLAGS'
33480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33485 /* end confdefs.h. */
33486 #include <math.h>
33488 main ()
33490 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
33492 return 0;
33494 _ACEOF
33495 if ac_fn_cxx_try_compile "$LINENO"; then :
33496 glibcxx_cv_func_float_trig_use=yes
33497 else
33498 glibcxx_cv_func_float_trig_use=no
33500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33501 ac_ext=c
33502 ac_cpp='$CPP $CPPFLAGS'
33503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
33510 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
33511 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
33512 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
33513 do :
33514 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33515 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33516 eval as_val=\$$as_ac_var
33517 if test "x$as_val" = x""yes; then :
33518 cat >>confdefs.h <<_ACEOF
33519 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33520 _ACEOF
33523 done
33525 else
33526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
33527 $as_echo_n "checking for _float trig functions... " >&6; }
33528 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
33529 $as_echo_n "(cached) " >&6
33530 else
33533 ac_ext=cpp
33534 ac_cpp='$CXXCPP $CPPFLAGS'
33535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33540 /* end confdefs.h. */
33541 #include <math.h>
33543 main ()
33545 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
33547 return 0;
33549 _ACEOF
33550 if ac_fn_cxx_try_compile "$LINENO"; then :
33551 glibcxx_cv_func__float_trig_use=yes
33552 else
33553 glibcxx_cv_func__float_trig_use=no
33555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33556 ac_ext=c
33557 ac_cpp='$CPP $CPPFLAGS'
33558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
33565 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
33566 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
33567 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
33568 do :
33569 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33570 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33571 eval as_val=\$$as_ac_var
33572 if test "x$as_val" = x""yes; then :
33573 cat >>confdefs.h <<_ACEOF
33574 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33575 _ACEOF
33578 done
33587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
33588 $as_echo_n "checking for float round functions... " >&6; }
33589 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
33590 $as_echo_n "(cached) " >&6
33591 else
33594 ac_ext=cpp
33595 ac_cpp='$CXXCPP $CPPFLAGS'
33596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33601 /* end confdefs.h. */
33602 #include <math.h>
33604 main ()
33606 ceilf (0); floorf (0);
33608 return 0;
33610 _ACEOF
33611 if ac_fn_cxx_try_compile "$LINENO"; then :
33612 glibcxx_cv_func_float_round_use=yes
33613 else
33614 glibcxx_cv_func_float_round_use=no
33616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33617 ac_ext=c
33618 ac_cpp='$CPP $CPPFLAGS'
33619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
33626 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
33627 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
33628 for ac_func in ceilf floorf
33629 do :
33630 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33631 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33632 eval as_val=\$$as_ac_var
33633 if test "x$as_val" = x""yes; then :
33634 cat >>confdefs.h <<_ACEOF
33635 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33636 _ACEOF
33639 done
33641 else
33642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
33643 $as_echo_n "checking for _float round functions... " >&6; }
33644 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
33645 $as_echo_n "(cached) " >&6
33646 else
33649 ac_ext=cpp
33650 ac_cpp='$CXXCPP $CPPFLAGS'
33651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33656 /* end confdefs.h. */
33657 #include <math.h>
33659 main ()
33661 _ceilf (0); _floorf (0);
33663 return 0;
33665 _ACEOF
33666 if ac_fn_cxx_try_compile "$LINENO"; then :
33667 glibcxx_cv_func__float_round_use=yes
33668 else
33669 glibcxx_cv_func__float_round_use=no
33671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33672 ac_ext=c
33673 ac_cpp='$CPP $CPPFLAGS'
33674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
33681 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
33682 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
33683 for ac_func in _ceilf _floorf
33684 do :
33685 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33686 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33687 eval as_val=\$$as_ac_var
33688 if test "x$as_val" = x""yes; then :
33689 cat >>confdefs.h <<_ACEOF
33690 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33691 _ACEOF
33694 done
33704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
33705 $as_echo_n "checking for expf declaration... " >&6; }
33706 if test x${glibcxx_cv_func_expf_use+set} != xset; then
33707 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
33708 $as_echo_n "(cached) " >&6
33709 else
33712 ac_ext=cpp
33713 ac_cpp='$CXXCPP $CPPFLAGS'
33714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33719 /* end confdefs.h. */
33720 #include <math.h>
33721 #ifdef HAVE_IEEEFP_H
33722 #include <ieeefp.h>
33723 #endif
33726 main ()
33728 expf(0);
33730 return 0;
33732 _ACEOF
33733 if ac_fn_cxx_try_compile "$LINENO"; then :
33734 glibcxx_cv_func_expf_use=yes
33735 else
33736 glibcxx_cv_func_expf_use=no
33738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33739 ac_ext=c
33740 ac_cpp='$CPP $CPPFLAGS'
33741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
33750 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
33752 if test x$glibcxx_cv_func_expf_use = x"yes"; then
33753 for ac_func in expf
33754 do :
33755 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
33756 if test "x$ac_cv_func_expf" = x""yes; then :
33757 cat >>confdefs.h <<_ACEOF
33758 #define HAVE_EXPF 1
33759 _ACEOF
33762 done
33764 else
33766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
33767 $as_echo_n "checking for _expf declaration... " >&6; }
33768 if test x${glibcxx_cv_func__expf_use+set} != xset; then
33769 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
33770 $as_echo_n "(cached) " >&6
33771 else
33774 ac_ext=cpp
33775 ac_cpp='$CXXCPP $CPPFLAGS'
33776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33781 /* end confdefs.h. */
33782 #include <math.h>
33783 #ifdef HAVE_IEEEFP_H
33784 #include <ieeefp.h>
33785 #endif
33788 main ()
33790 _expf(0);
33792 return 0;
33794 _ACEOF
33795 if ac_fn_cxx_try_compile "$LINENO"; then :
33796 glibcxx_cv_func__expf_use=yes
33797 else
33798 glibcxx_cv_func__expf_use=no
33800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33801 ac_ext=c
33802 ac_cpp='$CPP $CPPFLAGS'
33803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
33812 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
33814 if test x$glibcxx_cv_func__expf_use = x"yes"; then
33815 for ac_func in _expf
33816 do :
33817 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
33818 if test "x$ac_cv_func__expf" = x""yes; then :
33819 cat >>confdefs.h <<_ACEOF
33820 #define HAVE__EXPF 1
33821 _ACEOF
33824 done
33833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
33834 $as_echo_n "checking for isnanf declaration... " >&6; }
33835 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
33836 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
33837 $as_echo_n "(cached) " >&6
33838 else
33841 ac_ext=cpp
33842 ac_cpp='$CXXCPP $CPPFLAGS'
33843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33848 /* end confdefs.h. */
33849 #include <math.h>
33850 #ifdef HAVE_IEEEFP_H
33851 #include <ieeefp.h>
33852 #endif
33855 main ()
33857 isnanf(0);
33859 return 0;
33861 _ACEOF
33862 if ac_fn_cxx_try_compile "$LINENO"; then :
33863 glibcxx_cv_func_isnanf_use=yes
33864 else
33865 glibcxx_cv_func_isnanf_use=no
33867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33868 ac_ext=c
33869 ac_cpp='$CPP $CPPFLAGS'
33870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
33879 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
33881 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
33882 for ac_func in isnanf
33883 do :
33884 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
33885 if test "x$ac_cv_func_isnanf" = x""yes; then :
33886 cat >>confdefs.h <<_ACEOF
33887 #define HAVE_ISNANF 1
33888 _ACEOF
33891 done
33893 else
33895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
33896 $as_echo_n "checking for _isnanf declaration... " >&6; }
33897 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
33898 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
33899 $as_echo_n "(cached) " >&6
33900 else
33903 ac_ext=cpp
33904 ac_cpp='$CXXCPP $CPPFLAGS'
33905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33910 /* end confdefs.h. */
33911 #include <math.h>
33912 #ifdef HAVE_IEEEFP_H
33913 #include <ieeefp.h>
33914 #endif
33917 main ()
33919 _isnanf(0);
33921 return 0;
33923 _ACEOF
33924 if ac_fn_cxx_try_compile "$LINENO"; then :
33925 glibcxx_cv_func__isnanf_use=yes
33926 else
33927 glibcxx_cv_func__isnanf_use=no
33929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33930 ac_ext=c
33931 ac_cpp='$CPP $CPPFLAGS'
33932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
33941 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
33943 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
33944 for ac_func in _isnanf
33945 do :
33946 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
33947 if test "x$ac_cv_func__isnanf" = x""yes; then :
33948 cat >>confdefs.h <<_ACEOF
33949 #define HAVE__ISNANF 1
33950 _ACEOF
33953 done
33962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
33963 $as_echo_n "checking for isinff declaration... " >&6; }
33964 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
33965 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
33966 $as_echo_n "(cached) " >&6
33967 else
33970 ac_ext=cpp
33971 ac_cpp='$CXXCPP $CPPFLAGS'
33972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33977 /* end confdefs.h. */
33978 #include <math.h>
33979 #ifdef HAVE_IEEEFP_H
33980 #include <ieeefp.h>
33981 #endif
33984 main ()
33986 isinff(0);
33988 return 0;
33990 _ACEOF
33991 if ac_fn_cxx_try_compile "$LINENO"; then :
33992 glibcxx_cv_func_isinff_use=yes
33993 else
33994 glibcxx_cv_func_isinff_use=no
33996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33997 ac_ext=c
33998 ac_cpp='$CPP $CPPFLAGS'
33999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
34008 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
34010 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
34011 for ac_func in isinff
34012 do :
34013 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
34014 if test "x$ac_cv_func_isinff" = x""yes; then :
34015 cat >>confdefs.h <<_ACEOF
34016 #define HAVE_ISINFF 1
34017 _ACEOF
34020 done
34022 else
34024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
34025 $as_echo_n "checking for _isinff declaration... " >&6; }
34026 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
34027 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
34028 $as_echo_n "(cached) " >&6
34029 else
34032 ac_ext=cpp
34033 ac_cpp='$CXXCPP $CPPFLAGS'
34034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34039 /* end confdefs.h. */
34040 #include <math.h>
34041 #ifdef HAVE_IEEEFP_H
34042 #include <ieeefp.h>
34043 #endif
34046 main ()
34048 _isinff(0);
34050 return 0;
34052 _ACEOF
34053 if ac_fn_cxx_try_compile "$LINENO"; then :
34054 glibcxx_cv_func__isinff_use=yes
34055 else
34056 glibcxx_cv_func__isinff_use=no
34058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34059 ac_ext=c
34060 ac_cpp='$CPP $CPPFLAGS'
34061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
34070 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
34072 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34073 for ac_func in _isinff
34074 do :
34075 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34076 if test "x$ac_cv_func__isinff" = x""yes; then :
34077 cat >>confdefs.h <<_ACEOF
34078 #define HAVE__ISINFF 1
34079 _ACEOF
34082 done
34091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34092 $as_echo_n "checking for atan2f declaration... " >&6; }
34093 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34094 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34095 $as_echo_n "(cached) " >&6
34096 else
34099 ac_ext=cpp
34100 ac_cpp='$CXXCPP $CPPFLAGS'
34101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34106 /* end confdefs.h. */
34107 #include <math.h>
34109 main ()
34111 atan2f(0, 0);
34113 return 0;
34115 _ACEOF
34116 if ac_fn_cxx_try_compile "$LINENO"; then :
34117 glibcxx_cv_func_atan2f_use=yes
34118 else
34119 glibcxx_cv_func_atan2f_use=no
34121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34122 ac_ext=c
34123 ac_cpp='$CPP $CPPFLAGS'
34124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34133 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34135 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34136 for ac_func in atan2f
34137 do :
34138 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34139 if test "x$ac_cv_func_atan2f" = x""yes; then :
34140 cat >>confdefs.h <<_ACEOF
34141 #define HAVE_ATAN2F 1
34142 _ACEOF
34145 done
34147 else
34149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34150 $as_echo_n "checking for _atan2f declaration... " >&6; }
34151 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34152 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34153 $as_echo_n "(cached) " >&6
34154 else
34157 ac_ext=cpp
34158 ac_cpp='$CXXCPP $CPPFLAGS'
34159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34164 /* end confdefs.h. */
34165 #include <math.h>
34167 main ()
34169 _atan2f(0, 0);
34171 return 0;
34173 _ACEOF
34174 if ac_fn_cxx_try_compile "$LINENO"; then :
34175 glibcxx_cv_func__atan2f_use=yes
34176 else
34177 glibcxx_cv_func__atan2f_use=no
34179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34180 ac_ext=c
34181 ac_cpp='$CPP $CPPFLAGS'
34182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
34191 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34193 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34194 for ac_func in _atan2f
34195 do :
34196 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34197 if test "x$ac_cv_func__atan2f" = x""yes; then :
34198 cat >>confdefs.h <<_ACEOF
34199 #define HAVE__ATAN2F 1
34200 _ACEOF
34203 done
34212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34213 $as_echo_n "checking for fabsf declaration... " >&6; }
34214 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34215 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34216 $as_echo_n "(cached) " >&6
34217 else
34220 ac_ext=cpp
34221 ac_cpp='$CXXCPP $CPPFLAGS'
34222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34227 /* end confdefs.h. */
34228 #include <math.h>
34229 #ifdef HAVE_IEEEFP_H
34230 #include <ieeefp.h>
34231 #endif
34234 main ()
34236 fabsf(0);
34238 return 0;
34240 _ACEOF
34241 if ac_fn_cxx_try_compile "$LINENO"; then :
34242 glibcxx_cv_func_fabsf_use=yes
34243 else
34244 glibcxx_cv_func_fabsf_use=no
34246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34247 ac_ext=c
34248 ac_cpp='$CPP $CPPFLAGS'
34249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
34258 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
34260 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
34261 for ac_func in fabsf
34262 do :
34263 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
34264 if test "x$ac_cv_func_fabsf" = x""yes; then :
34265 cat >>confdefs.h <<_ACEOF
34266 #define HAVE_FABSF 1
34267 _ACEOF
34270 done
34272 else
34274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
34275 $as_echo_n "checking for _fabsf declaration... " >&6; }
34276 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
34277 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
34278 $as_echo_n "(cached) " >&6
34279 else
34282 ac_ext=cpp
34283 ac_cpp='$CXXCPP $CPPFLAGS'
34284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34289 /* end confdefs.h. */
34290 #include <math.h>
34291 #ifdef HAVE_IEEEFP_H
34292 #include <ieeefp.h>
34293 #endif
34296 main ()
34298 _fabsf(0);
34300 return 0;
34302 _ACEOF
34303 if ac_fn_cxx_try_compile "$LINENO"; then :
34304 glibcxx_cv_func__fabsf_use=yes
34305 else
34306 glibcxx_cv_func__fabsf_use=no
34308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34309 ac_ext=c
34310 ac_cpp='$CPP $CPPFLAGS'
34311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
34320 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
34322 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
34323 for ac_func in _fabsf
34324 do :
34325 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
34326 if test "x$ac_cv_func__fabsf" = x""yes; then :
34327 cat >>confdefs.h <<_ACEOF
34328 #define HAVE__FABSF 1
34329 _ACEOF
34332 done
34341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
34342 $as_echo_n "checking for fmodf declaration... " >&6; }
34343 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
34344 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
34345 $as_echo_n "(cached) " >&6
34346 else
34349 ac_ext=cpp
34350 ac_cpp='$CXXCPP $CPPFLAGS'
34351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34356 /* end confdefs.h. */
34357 #include <math.h>
34359 main ()
34361 fmodf(0, 0);
34363 return 0;
34365 _ACEOF
34366 if ac_fn_cxx_try_compile "$LINENO"; then :
34367 glibcxx_cv_func_fmodf_use=yes
34368 else
34369 glibcxx_cv_func_fmodf_use=no
34371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34372 ac_ext=c
34373 ac_cpp='$CPP $CPPFLAGS'
34374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
34383 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
34385 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
34386 for ac_func in fmodf
34387 do :
34388 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
34389 if test "x$ac_cv_func_fmodf" = x""yes; then :
34390 cat >>confdefs.h <<_ACEOF
34391 #define HAVE_FMODF 1
34392 _ACEOF
34395 done
34397 else
34399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
34400 $as_echo_n "checking for _fmodf declaration... " >&6; }
34401 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
34402 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
34403 $as_echo_n "(cached) " >&6
34404 else
34407 ac_ext=cpp
34408 ac_cpp='$CXXCPP $CPPFLAGS'
34409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34414 /* end confdefs.h. */
34415 #include <math.h>
34417 main ()
34419 _fmodf(0, 0);
34421 return 0;
34423 _ACEOF
34424 if ac_fn_cxx_try_compile "$LINENO"; then :
34425 glibcxx_cv_func__fmodf_use=yes
34426 else
34427 glibcxx_cv_func__fmodf_use=no
34429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34430 ac_ext=c
34431 ac_cpp='$CPP $CPPFLAGS'
34432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
34441 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
34443 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
34444 for ac_func in _fmodf
34445 do :
34446 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
34447 if test "x$ac_cv_func__fmodf" = x""yes; then :
34448 cat >>confdefs.h <<_ACEOF
34449 #define HAVE__FMODF 1
34450 _ACEOF
34453 done
34462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
34463 $as_echo_n "checking for frexpf declaration... " >&6; }
34464 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
34465 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
34466 $as_echo_n "(cached) " >&6
34467 else
34470 ac_ext=cpp
34471 ac_cpp='$CXXCPP $CPPFLAGS'
34472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34477 /* end confdefs.h. */
34478 #include <math.h>
34480 main ()
34482 frexpf(0, 0);
34484 return 0;
34486 _ACEOF
34487 if ac_fn_cxx_try_compile "$LINENO"; then :
34488 glibcxx_cv_func_frexpf_use=yes
34489 else
34490 glibcxx_cv_func_frexpf_use=no
34492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34493 ac_ext=c
34494 ac_cpp='$CPP $CPPFLAGS'
34495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
34504 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
34506 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
34507 for ac_func in frexpf
34508 do :
34509 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
34510 if test "x$ac_cv_func_frexpf" = x""yes; then :
34511 cat >>confdefs.h <<_ACEOF
34512 #define HAVE_FREXPF 1
34513 _ACEOF
34516 done
34518 else
34520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
34521 $as_echo_n "checking for _frexpf declaration... " >&6; }
34522 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
34523 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
34524 $as_echo_n "(cached) " >&6
34525 else
34528 ac_ext=cpp
34529 ac_cpp='$CXXCPP $CPPFLAGS'
34530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34535 /* end confdefs.h. */
34536 #include <math.h>
34538 main ()
34540 _frexpf(0, 0);
34542 return 0;
34544 _ACEOF
34545 if ac_fn_cxx_try_compile "$LINENO"; then :
34546 glibcxx_cv_func__frexpf_use=yes
34547 else
34548 glibcxx_cv_func__frexpf_use=no
34550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34551 ac_ext=c
34552 ac_cpp='$CPP $CPPFLAGS'
34553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
34562 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
34564 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
34565 for ac_func in _frexpf
34566 do :
34567 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
34568 if test "x$ac_cv_func__frexpf" = x""yes; then :
34569 cat >>confdefs.h <<_ACEOF
34570 #define HAVE__FREXPF 1
34571 _ACEOF
34574 done
34583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
34584 $as_echo_n "checking for hypotf declaration... " >&6; }
34585 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
34586 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
34587 $as_echo_n "(cached) " >&6
34588 else
34591 ac_ext=cpp
34592 ac_cpp='$CXXCPP $CPPFLAGS'
34593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34598 /* end confdefs.h. */
34599 #include <math.h>
34601 main ()
34603 hypotf(0, 0);
34605 return 0;
34607 _ACEOF
34608 if ac_fn_cxx_try_compile "$LINENO"; then :
34609 glibcxx_cv_func_hypotf_use=yes
34610 else
34611 glibcxx_cv_func_hypotf_use=no
34613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34614 ac_ext=c
34615 ac_cpp='$CPP $CPPFLAGS'
34616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
34625 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
34627 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
34628 for ac_func in hypotf
34629 do :
34630 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
34631 if test "x$ac_cv_func_hypotf" = x""yes; then :
34632 cat >>confdefs.h <<_ACEOF
34633 #define HAVE_HYPOTF 1
34634 _ACEOF
34637 done
34639 else
34641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
34642 $as_echo_n "checking for _hypotf declaration... " >&6; }
34643 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
34644 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
34645 $as_echo_n "(cached) " >&6
34646 else
34649 ac_ext=cpp
34650 ac_cpp='$CXXCPP $CPPFLAGS'
34651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34656 /* end confdefs.h. */
34657 #include <math.h>
34659 main ()
34661 _hypotf(0, 0);
34663 return 0;
34665 _ACEOF
34666 if ac_fn_cxx_try_compile "$LINENO"; then :
34667 glibcxx_cv_func__hypotf_use=yes
34668 else
34669 glibcxx_cv_func__hypotf_use=no
34671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34672 ac_ext=c
34673 ac_cpp='$CPP $CPPFLAGS'
34674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
34683 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
34685 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
34686 for ac_func in _hypotf
34687 do :
34688 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
34689 if test "x$ac_cv_func__hypotf" = x""yes; then :
34690 cat >>confdefs.h <<_ACEOF
34691 #define HAVE__HYPOTF 1
34692 _ACEOF
34695 done
34704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
34705 $as_echo_n "checking for ldexpf declaration... " >&6; }
34706 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
34707 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
34708 $as_echo_n "(cached) " >&6
34709 else
34712 ac_ext=cpp
34713 ac_cpp='$CXXCPP $CPPFLAGS'
34714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34719 /* end confdefs.h. */
34720 #include <math.h>
34722 main ()
34724 ldexpf(0, 0);
34726 return 0;
34728 _ACEOF
34729 if ac_fn_cxx_try_compile "$LINENO"; then :
34730 glibcxx_cv_func_ldexpf_use=yes
34731 else
34732 glibcxx_cv_func_ldexpf_use=no
34734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34735 ac_ext=c
34736 ac_cpp='$CPP $CPPFLAGS'
34737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
34746 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
34748 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
34749 for ac_func in ldexpf
34750 do :
34751 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
34752 if test "x$ac_cv_func_ldexpf" = x""yes; then :
34753 cat >>confdefs.h <<_ACEOF
34754 #define HAVE_LDEXPF 1
34755 _ACEOF
34758 done
34760 else
34762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
34763 $as_echo_n "checking for _ldexpf declaration... " >&6; }
34764 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
34765 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
34766 $as_echo_n "(cached) " >&6
34767 else
34770 ac_ext=cpp
34771 ac_cpp='$CXXCPP $CPPFLAGS'
34772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34777 /* end confdefs.h. */
34778 #include <math.h>
34780 main ()
34782 _ldexpf(0, 0);
34784 return 0;
34786 _ACEOF
34787 if ac_fn_cxx_try_compile "$LINENO"; then :
34788 glibcxx_cv_func__ldexpf_use=yes
34789 else
34790 glibcxx_cv_func__ldexpf_use=no
34792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34793 ac_ext=c
34794 ac_cpp='$CPP $CPPFLAGS'
34795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
34804 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
34806 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
34807 for ac_func in _ldexpf
34808 do :
34809 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
34810 if test "x$ac_cv_func__ldexpf" = x""yes; then :
34811 cat >>confdefs.h <<_ACEOF
34812 #define HAVE__LDEXPF 1
34813 _ACEOF
34816 done
34825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
34826 $as_echo_n "checking for logf declaration... " >&6; }
34827 if test x${glibcxx_cv_func_logf_use+set} != xset; then
34828 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
34829 $as_echo_n "(cached) " >&6
34830 else
34833 ac_ext=cpp
34834 ac_cpp='$CXXCPP $CPPFLAGS'
34835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34840 /* end confdefs.h. */
34841 #include <math.h>
34842 #ifdef HAVE_IEEEFP_H
34843 #include <ieeefp.h>
34844 #endif
34847 main ()
34849 logf(0);
34851 return 0;
34853 _ACEOF
34854 if ac_fn_cxx_try_compile "$LINENO"; then :
34855 glibcxx_cv_func_logf_use=yes
34856 else
34857 glibcxx_cv_func_logf_use=no
34859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34860 ac_ext=c
34861 ac_cpp='$CPP $CPPFLAGS'
34862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
34871 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
34873 if test x$glibcxx_cv_func_logf_use = x"yes"; then
34874 for ac_func in logf
34875 do :
34876 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
34877 if test "x$ac_cv_func_logf" = x""yes; then :
34878 cat >>confdefs.h <<_ACEOF
34879 #define HAVE_LOGF 1
34880 _ACEOF
34883 done
34885 else
34887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
34888 $as_echo_n "checking for _logf declaration... " >&6; }
34889 if test x${glibcxx_cv_func__logf_use+set} != xset; then
34890 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
34891 $as_echo_n "(cached) " >&6
34892 else
34895 ac_ext=cpp
34896 ac_cpp='$CXXCPP $CPPFLAGS'
34897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34902 /* end confdefs.h. */
34903 #include <math.h>
34904 #ifdef HAVE_IEEEFP_H
34905 #include <ieeefp.h>
34906 #endif
34909 main ()
34911 _logf(0);
34913 return 0;
34915 _ACEOF
34916 if ac_fn_cxx_try_compile "$LINENO"; then :
34917 glibcxx_cv_func__logf_use=yes
34918 else
34919 glibcxx_cv_func__logf_use=no
34921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34922 ac_ext=c
34923 ac_cpp='$CPP $CPPFLAGS'
34924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
34933 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
34935 if test x$glibcxx_cv_func__logf_use = x"yes"; then
34936 for ac_func in _logf
34937 do :
34938 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
34939 if test "x$ac_cv_func__logf" = x""yes; then :
34940 cat >>confdefs.h <<_ACEOF
34941 #define HAVE__LOGF 1
34942 _ACEOF
34945 done
34954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
34955 $as_echo_n "checking for log10f declaration... " >&6; }
34956 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
34957 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
34958 $as_echo_n "(cached) " >&6
34959 else
34962 ac_ext=cpp
34963 ac_cpp='$CXXCPP $CPPFLAGS'
34964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34969 /* end confdefs.h. */
34970 #include <math.h>
34971 #ifdef HAVE_IEEEFP_H
34972 #include <ieeefp.h>
34973 #endif
34976 main ()
34978 log10f(0);
34980 return 0;
34982 _ACEOF
34983 if ac_fn_cxx_try_compile "$LINENO"; then :
34984 glibcxx_cv_func_log10f_use=yes
34985 else
34986 glibcxx_cv_func_log10f_use=no
34988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34989 ac_ext=c
34990 ac_cpp='$CPP $CPPFLAGS'
34991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
35000 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
35002 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
35003 for ac_func in log10f
35004 do :
35005 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
35006 if test "x$ac_cv_func_log10f" = x""yes; then :
35007 cat >>confdefs.h <<_ACEOF
35008 #define HAVE_LOG10F 1
35009 _ACEOF
35012 done
35014 else
35016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
35017 $as_echo_n "checking for _log10f declaration... " >&6; }
35018 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
35019 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
35020 $as_echo_n "(cached) " >&6
35021 else
35024 ac_ext=cpp
35025 ac_cpp='$CXXCPP $CPPFLAGS'
35026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35031 /* end confdefs.h. */
35032 #include <math.h>
35033 #ifdef HAVE_IEEEFP_H
35034 #include <ieeefp.h>
35035 #endif
35038 main ()
35040 _log10f(0);
35042 return 0;
35044 _ACEOF
35045 if ac_fn_cxx_try_compile "$LINENO"; then :
35046 glibcxx_cv_func__log10f_use=yes
35047 else
35048 glibcxx_cv_func__log10f_use=no
35050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35051 ac_ext=c
35052 ac_cpp='$CPP $CPPFLAGS'
35053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
35062 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
35064 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
35065 for ac_func in _log10f
35066 do :
35067 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
35068 if test "x$ac_cv_func__log10f" = x""yes; then :
35069 cat >>confdefs.h <<_ACEOF
35070 #define HAVE__LOG10F 1
35071 _ACEOF
35074 done
35083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35084 $as_echo_n "checking for modff declaration... " >&6; }
35085 if test x${glibcxx_cv_func_modff_use+set} != xset; then
35086 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35087 $as_echo_n "(cached) " >&6
35088 else
35091 ac_ext=cpp
35092 ac_cpp='$CXXCPP $CPPFLAGS'
35093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35098 /* end confdefs.h. */
35099 #include <math.h>
35101 main ()
35103 modff(0, 0);
35105 return 0;
35107 _ACEOF
35108 if ac_fn_cxx_try_compile "$LINENO"; then :
35109 glibcxx_cv_func_modff_use=yes
35110 else
35111 glibcxx_cv_func_modff_use=no
35113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35114 ac_ext=c
35115 ac_cpp='$CPP $CPPFLAGS'
35116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35125 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35127 if test x$glibcxx_cv_func_modff_use = x"yes"; then
35128 for ac_func in modff
35129 do :
35130 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35131 if test "x$ac_cv_func_modff" = x""yes; then :
35132 cat >>confdefs.h <<_ACEOF
35133 #define HAVE_MODFF 1
35134 _ACEOF
35137 done
35139 else
35141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35142 $as_echo_n "checking for _modff declaration... " >&6; }
35143 if test x${glibcxx_cv_func__modff_use+set} != xset; then
35144 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35145 $as_echo_n "(cached) " >&6
35146 else
35149 ac_ext=cpp
35150 ac_cpp='$CXXCPP $CPPFLAGS'
35151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35156 /* end confdefs.h. */
35157 #include <math.h>
35159 main ()
35161 _modff(0, 0);
35163 return 0;
35165 _ACEOF
35166 if ac_fn_cxx_try_compile "$LINENO"; then :
35167 glibcxx_cv_func__modff_use=yes
35168 else
35169 glibcxx_cv_func__modff_use=no
35171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35172 ac_ext=c
35173 ac_cpp='$CPP $CPPFLAGS'
35174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35183 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35185 if test x$glibcxx_cv_func__modff_use = x"yes"; then
35186 for ac_func in _modff
35187 do :
35188 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35189 if test "x$ac_cv_func__modff" = x""yes; then :
35190 cat >>confdefs.h <<_ACEOF
35191 #define HAVE__MODFF 1
35192 _ACEOF
35195 done
35204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35205 $as_echo_n "checking for modf declaration... " >&6; }
35206 if test x${glibcxx_cv_func_modf_use+set} != xset; then
35207 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35208 $as_echo_n "(cached) " >&6
35209 else
35212 ac_ext=cpp
35213 ac_cpp='$CXXCPP $CPPFLAGS'
35214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35219 /* end confdefs.h. */
35220 #include <math.h>
35222 main ()
35224 modf(0, 0);
35226 return 0;
35228 _ACEOF
35229 if ac_fn_cxx_try_compile "$LINENO"; then :
35230 glibcxx_cv_func_modf_use=yes
35231 else
35232 glibcxx_cv_func_modf_use=no
35234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35235 ac_ext=c
35236 ac_cpp='$CPP $CPPFLAGS'
35237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
35246 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
35248 if test x$glibcxx_cv_func_modf_use = x"yes"; then
35249 for ac_func in modf
35250 do :
35251 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
35252 if test "x$ac_cv_func_modf" = x""yes; then :
35253 cat >>confdefs.h <<_ACEOF
35254 #define HAVE_MODF 1
35255 _ACEOF
35258 done
35260 else
35262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
35263 $as_echo_n "checking for _modf declaration... " >&6; }
35264 if test x${glibcxx_cv_func__modf_use+set} != xset; then
35265 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
35266 $as_echo_n "(cached) " >&6
35267 else
35270 ac_ext=cpp
35271 ac_cpp='$CXXCPP $CPPFLAGS'
35272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35277 /* end confdefs.h. */
35278 #include <math.h>
35280 main ()
35282 _modf(0, 0);
35284 return 0;
35286 _ACEOF
35287 if ac_fn_cxx_try_compile "$LINENO"; then :
35288 glibcxx_cv_func__modf_use=yes
35289 else
35290 glibcxx_cv_func__modf_use=no
35292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35293 ac_ext=c
35294 ac_cpp='$CPP $CPPFLAGS'
35295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
35304 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
35306 if test x$glibcxx_cv_func__modf_use = x"yes"; then
35307 for ac_func in _modf
35308 do :
35309 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
35310 if test "x$ac_cv_func__modf" = x""yes; then :
35311 cat >>confdefs.h <<_ACEOF
35312 #define HAVE__MODF 1
35313 _ACEOF
35316 done
35325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
35326 $as_echo_n "checking for powf declaration... " >&6; }
35327 if test x${glibcxx_cv_func_powf_use+set} != xset; then
35328 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
35329 $as_echo_n "(cached) " >&6
35330 else
35333 ac_ext=cpp
35334 ac_cpp='$CXXCPP $CPPFLAGS'
35335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35340 /* end confdefs.h. */
35341 #include <math.h>
35343 main ()
35345 powf(0, 0);
35347 return 0;
35349 _ACEOF
35350 if ac_fn_cxx_try_compile "$LINENO"; then :
35351 glibcxx_cv_func_powf_use=yes
35352 else
35353 glibcxx_cv_func_powf_use=no
35355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35356 ac_ext=c
35357 ac_cpp='$CPP $CPPFLAGS'
35358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
35367 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
35369 if test x$glibcxx_cv_func_powf_use = x"yes"; then
35370 for ac_func in powf
35371 do :
35372 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
35373 if test "x$ac_cv_func_powf" = x""yes; then :
35374 cat >>confdefs.h <<_ACEOF
35375 #define HAVE_POWF 1
35376 _ACEOF
35379 done
35381 else
35383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
35384 $as_echo_n "checking for _powf declaration... " >&6; }
35385 if test x${glibcxx_cv_func__powf_use+set} != xset; then
35386 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
35387 $as_echo_n "(cached) " >&6
35388 else
35391 ac_ext=cpp
35392 ac_cpp='$CXXCPP $CPPFLAGS'
35393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35398 /* end confdefs.h. */
35399 #include <math.h>
35401 main ()
35403 _powf(0, 0);
35405 return 0;
35407 _ACEOF
35408 if ac_fn_cxx_try_compile "$LINENO"; then :
35409 glibcxx_cv_func__powf_use=yes
35410 else
35411 glibcxx_cv_func__powf_use=no
35413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35414 ac_ext=c
35415 ac_cpp='$CPP $CPPFLAGS'
35416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
35425 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
35427 if test x$glibcxx_cv_func__powf_use = x"yes"; then
35428 for ac_func in _powf
35429 do :
35430 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
35431 if test "x$ac_cv_func__powf" = x""yes; then :
35432 cat >>confdefs.h <<_ACEOF
35433 #define HAVE__POWF 1
35434 _ACEOF
35437 done
35446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
35447 $as_echo_n "checking for sqrtf declaration... " >&6; }
35448 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
35449 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
35450 $as_echo_n "(cached) " >&6
35451 else
35454 ac_ext=cpp
35455 ac_cpp='$CXXCPP $CPPFLAGS'
35456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35461 /* end confdefs.h. */
35462 #include <math.h>
35463 #ifdef HAVE_IEEEFP_H
35464 #include <ieeefp.h>
35465 #endif
35468 main ()
35470 sqrtf(0);
35472 return 0;
35474 _ACEOF
35475 if ac_fn_cxx_try_compile "$LINENO"; then :
35476 glibcxx_cv_func_sqrtf_use=yes
35477 else
35478 glibcxx_cv_func_sqrtf_use=no
35480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35481 ac_ext=c
35482 ac_cpp='$CPP $CPPFLAGS'
35483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
35492 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
35494 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
35495 for ac_func in sqrtf
35496 do :
35497 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
35498 if test "x$ac_cv_func_sqrtf" = x""yes; then :
35499 cat >>confdefs.h <<_ACEOF
35500 #define HAVE_SQRTF 1
35501 _ACEOF
35504 done
35506 else
35508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
35509 $as_echo_n "checking for _sqrtf declaration... " >&6; }
35510 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
35511 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
35512 $as_echo_n "(cached) " >&6
35513 else
35516 ac_ext=cpp
35517 ac_cpp='$CXXCPP $CPPFLAGS'
35518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35523 /* end confdefs.h. */
35524 #include <math.h>
35525 #ifdef HAVE_IEEEFP_H
35526 #include <ieeefp.h>
35527 #endif
35530 main ()
35532 _sqrtf(0);
35534 return 0;
35536 _ACEOF
35537 if ac_fn_cxx_try_compile "$LINENO"; then :
35538 glibcxx_cv_func__sqrtf_use=yes
35539 else
35540 glibcxx_cv_func__sqrtf_use=no
35542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35543 ac_ext=c
35544 ac_cpp='$CPP $CPPFLAGS'
35545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
35554 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
35556 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
35557 for ac_func in _sqrtf
35558 do :
35559 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
35560 if test "x$ac_cv_func__sqrtf" = x""yes; then :
35561 cat >>confdefs.h <<_ACEOF
35562 #define HAVE__SQRTF 1
35563 _ACEOF
35566 done
35575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
35576 $as_echo_n "checking for sincosf declaration... " >&6; }
35577 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
35578 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
35579 $as_echo_n "(cached) " >&6
35580 else
35583 ac_ext=cpp
35584 ac_cpp='$CXXCPP $CPPFLAGS'
35585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35590 /* end confdefs.h. */
35591 #include <math.h>
35593 main ()
35595 sincosf(0, 0, 0);
35597 return 0;
35599 _ACEOF
35600 if ac_fn_cxx_try_compile "$LINENO"; then :
35601 glibcxx_cv_func_sincosf_use=yes
35602 else
35603 glibcxx_cv_func_sincosf_use=no
35605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35606 ac_ext=c
35607 ac_cpp='$CPP $CPPFLAGS'
35608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
35617 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
35619 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
35620 for ac_func in sincosf
35621 do :
35622 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
35623 if test "x$ac_cv_func_sincosf" = x""yes; then :
35624 cat >>confdefs.h <<_ACEOF
35625 #define HAVE_SINCOSF 1
35626 _ACEOF
35629 done
35631 else
35633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
35634 $as_echo_n "checking for _sincosf declaration... " >&6; }
35635 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
35636 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
35637 $as_echo_n "(cached) " >&6
35638 else
35641 ac_ext=cpp
35642 ac_cpp='$CXXCPP $CPPFLAGS'
35643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35648 /* end confdefs.h. */
35649 #include <math.h>
35651 main ()
35653 _sincosf(0, 0, 0);
35655 return 0;
35657 _ACEOF
35658 if ac_fn_cxx_try_compile "$LINENO"; then :
35659 glibcxx_cv_func__sincosf_use=yes
35660 else
35661 glibcxx_cv_func__sincosf_use=no
35663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35664 ac_ext=c
35665 ac_cpp='$CPP $CPPFLAGS'
35666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
35675 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
35677 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
35678 for ac_func in _sincosf
35679 do :
35680 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
35681 if test "x$ac_cv_func__sincosf" = x""yes; then :
35682 cat >>confdefs.h <<_ACEOF
35683 #define HAVE__SINCOSF 1
35684 _ACEOF
35687 done
35696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
35697 $as_echo_n "checking for finitef declaration... " >&6; }
35698 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
35699 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
35700 $as_echo_n "(cached) " >&6
35701 else
35704 ac_ext=cpp
35705 ac_cpp='$CXXCPP $CPPFLAGS'
35706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35711 /* end confdefs.h. */
35712 #include <math.h>
35713 #ifdef HAVE_IEEEFP_H
35714 #include <ieeefp.h>
35715 #endif
35718 main ()
35720 finitef(0);
35722 return 0;
35724 _ACEOF
35725 if ac_fn_cxx_try_compile "$LINENO"; then :
35726 glibcxx_cv_func_finitef_use=yes
35727 else
35728 glibcxx_cv_func_finitef_use=no
35730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35731 ac_ext=c
35732 ac_cpp='$CPP $CPPFLAGS'
35733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
35742 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
35744 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
35745 for ac_func in finitef
35746 do :
35747 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
35748 if test "x$ac_cv_func_finitef" = x""yes; then :
35749 cat >>confdefs.h <<_ACEOF
35750 #define HAVE_FINITEF 1
35751 _ACEOF
35754 done
35756 else
35758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
35759 $as_echo_n "checking for _finitef declaration... " >&6; }
35760 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
35761 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
35762 $as_echo_n "(cached) " >&6
35763 else
35766 ac_ext=cpp
35767 ac_cpp='$CXXCPP $CPPFLAGS'
35768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35773 /* end confdefs.h. */
35774 #include <math.h>
35775 #ifdef HAVE_IEEEFP_H
35776 #include <ieeefp.h>
35777 #endif
35780 main ()
35782 _finitef(0);
35784 return 0;
35786 _ACEOF
35787 if ac_fn_cxx_try_compile "$LINENO"; then :
35788 glibcxx_cv_func__finitef_use=yes
35789 else
35790 glibcxx_cv_func__finitef_use=no
35792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35793 ac_ext=c
35794 ac_cpp='$CPP $CPPFLAGS'
35795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
35804 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
35806 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
35807 for ac_func in _finitef
35808 do :
35809 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
35810 if test "x$ac_cv_func__finitef" = x""yes; then :
35811 cat >>confdefs.h <<_ACEOF
35812 #define HAVE__FINITEF 1
35813 _ACEOF
35816 done
35825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
35826 $as_echo_n "checking for long double trig functions... " >&6; }
35827 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
35828 $as_echo_n "(cached) " >&6
35829 else
35832 ac_ext=cpp
35833 ac_cpp='$CXXCPP $CPPFLAGS'
35834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35839 /* end confdefs.h. */
35840 #include <math.h>
35842 main ()
35844 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
35846 return 0;
35848 _ACEOF
35849 if ac_fn_cxx_try_compile "$LINENO"; then :
35850 glibcxx_cv_func_long_double_trig_use=yes
35851 else
35852 glibcxx_cv_func_long_double_trig_use=no
35854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35855 ac_ext=c
35856 ac_cpp='$CPP $CPPFLAGS'
35857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
35864 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
35865 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
35866 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
35867 do :
35868 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35869 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35870 eval as_val=\$$as_ac_var
35871 if test "x$as_val" = x""yes; then :
35872 cat >>confdefs.h <<_ACEOF
35873 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35874 _ACEOF
35877 done
35879 else
35880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
35881 $as_echo_n "checking for _long double trig functions... " >&6; }
35882 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
35883 $as_echo_n "(cached) " >&6
35884 else
35887 ac_ext=cpp
35888 ac_cpp='$CXXCPP $CPPFLAGS'
35889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35894 /* end confdefs.h. */
35895 #include <math.h>
35897 main ()
35899 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
35901 return 0;
35903 _ACEOF
35904 if ac_fn_cxx_try_compile "$LINENO"; then :
35905 glibcxx_cv_func__long_double_trig_use=yes
35906 else
35907 glibcxx_cv_func__long_double_trig_use=no
35909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35910 ac_ext=c
35911 ac_cpp='$CPP $CPPFLAGS'
35912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
35919 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
35920 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
35921 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
35922 do :
35923 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35924 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35925 eval as_val=\$$as_ac_var
35926 if test "x$as_val" = x""yes; then :
35927 cat >>confdefs.h <<_ACEOF
35928 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35929 _ACEOF
35932 done
35941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
35942 $as_echo_n "checking for long double round functions... " >&6; }
35943 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
35944 $as_echo_n "(cached) " >&6
35945 else
35948 ac_ext=cpp
35949 ac_cpp='$CXXCPP $CPPFLAGS'
35950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35955 /* end confdefs.h. */
35956 #include <math.h>
35958 main ()
35960 ceill (0); floorl (0);
35962 return 0;
35964 _ACEOF
35965 if ac_fn_cxx_try_compile "$LINENO"; then :
35966 glibcxx_cv_func_long_double_round_use=yes
35967 else
35968 glibcxx_cv_func_long_double_round_use=no
35970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35971 ac_ext=c
35972 ac_cpp='$CPP $CPPFLAGS'
35973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
35980 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
35981 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
35982 for ac_func in ceill floorl
35983 do :
35984 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35985 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35986 eval as_val=\$$as_ac_var
35987 if test "x$as_val" = x""yes; then :
35988 cat >>confdefs.h <<_ACEOF
35989 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35990 _ACEOF
35993 done
35995 else
35996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
35997 $as_echo_n "checking for _long double round functions... " >&6; }
35998 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
35999 $as_echo_n "(cached) " >&6
36000 else
36003 ac_ext=cpp
36004 ac_cpp='$CXXCPP $CPPFLAGS'
36005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36010 /* end confdefs.h. */
36011 #include <math.h>
36013 main ()
36015 _ceill (0); _floorl (0);
36017 return 0;
36019 _ACEOF
36020 if ac_fn_cxx_try_compile "$LINENO"; then :
36021 glibcxx_cv_func__long_double_round_use=yes
36022 else
36023 glibcxx_cv_func__long_double_round_use=no
36025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36026 ac_ext=c
36027 ac_cpp='$CPP $CPPFLAGS'
36028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
36035 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
36036 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
36037 for ac_func in _ceill _floorl
36038 do :
36039 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36040 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36041 eval as_val=\$$as_ac_var
36042 if test "x$as_val" = x""yes; then :
36043 cat >>confdefs.h <<_ACEOF
36044 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36045 _ACEOF
36048 done
36058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
36059 $as_echo_n "checking for isnanl declaration... " >&6; }
36060 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36061 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
36062 $as_echo_n "(cached) " >&6
36063 else
36066 ac_ext=cpp
36067 ac_cpp='$CXXCPP $CPPFLAGS'
36068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36073 /* end confdefs.h. */
36074 #include <math.h>
36075 #ifdef HAVE_IEEEFP_H
36076 #include <ieeefp.h>
36077 #endif
36080 main ()
36082 isnanl(0);
36084 return 0;
36086 _ACEOF
36087 if ac_fn_cxx_try_compile "$LINENO"; then :
36088 glibcxx_cv_func_isnanl_use=yes
36089 else
36090 glibcxx_cv_func_isnanl_use=no
36092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36093 ac_ext=c
36094 ac_cpp='$CPP $CPPFLAGS'
36095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36104 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36106 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36107 for ac_func in isnanl
36108 do :
36109 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36110 if test "x$ac_cv_func_isnanl" = x""yes; then :
36111 cat >>confdefs.h <<_ACEOF
36112 #define HAVE_ISNANL 1
36113 _ACEOF
36116 done
36118 else
36120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36121 $as_echo_n "checking for _isnanl declaration... " >&6; }
36122 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36123 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36124 $as_echo_n "(cached) " >&6
36125 else
36128 ac_ext=cpp
36129 ac_cpp='$CXXCPP $CPPFLAGS'
36130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36135 /* end confdefs.h. */
36136 #include <math.h>
36137 #ifdef HAVE_IEEEFP_H
36138 #include <ieeefp.h>
36139 #endif
36142 main ()
36144 _isnanl(0);
36146 return 0;
36148 _ACEOF
36149 if ac_fn_cxx_try_compile "$LINENO"; then :
36150 glibcxx_cv_func__isnanl_use=yes
36151 else
36152 glibcxx_cv_func__isnanl_use=no
36154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36155 ac_ext=c
36156 ac_cpp='$CPP $CPPFLAGS'
36157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36166 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36168 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36169 for ac_func in _isnanl
36170 do :
36171 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36172 if test "x$ac_cv_func__isnanl" = x""yes; then :
36173 cat >>confdefs.h <<_ACEOF
36174 #define HAVE__ISNANL 1
36175 _ACEOF
36178 done
36187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36188 $as_echo_n "checking for isinfl declaration... " >&6; }
36189 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36190 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36191 $as_echo_n "(cached) " >&6
36192 else
36195 ac_ext=cpp
36196 ac_cpp='$CXXCPP $CPPFLAGS'
36197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36202 /* end confdefs.h. */
36203 #include <math.h>
36204 #ifdef HAVE_IEEEFP_H
36205 #include <ieeefp.h>
36206 #endif
36209 main ()
36211 isinfl(0);
36213 return 0;
36215 _ACEOF
36216 if ac_fn_cxx_try_compile "$LINENO"; then :
36217 glibcxx_cv_func_isinfl_use=yes
36218 else
36219 glibcxx_cv_func_isinfl_use=no
36221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36222 ac_ext=c
36223 ac_cpp='$CPP $CPPFLAGS'
36224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
36233 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
36235 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36236 for ac_func in isinfl
36237 do :
36238 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
36239 if test "x$ac_cv_func_isinfl" = x""yes; then :
36240 cat >>confdefs.h <<_ACEOF
36241 #define HAVE_ISINFL 1
36242 _ACEOF
36245 done
36247 else
36249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
36250 $as_echo_n "checking for _isinfl declaration... " >&6; }
36251 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36252 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
36253 $as_echo_n "(cached) " >&6
36254 else
36257 ac_ext=cpp
36258 ac_cpp='$CXXCPP $CPPFLAGS'
36259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36264 /* end confdefs.h. */
36265 #include <math.h>
36266 #ifdef HAVE_IEEEFP_H
36267 #include <ieeefp.h>
36268 #endif
36271 main ()
36273 _isinfl(0);
36275 return 0;
36277 _ACEOF
36278 if ac_fn_cxx_try_compile "$LINENO"; then :
36279 glibcxx_cv_func__isinfl_use=yes
36280 else
36281 glibcxx_cv_func__isinfl_use=no
36283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36284 ac_ext=c
36285 ac_cpp='$CPP $CPPFLAGS'
36286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
36295 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
36297 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
36298 for ac_func in _isinfl
36299 do :
36300 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
36301 if test "x$ac_cv_func__isinfl" = x""yes; then :
36302 cat >>confdefs.h <<_ACEOF
36303 #define HAVE__ISINFL 1
36304 _ACEOF
36307 done
36316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
36317 $as_echo_n "checking for atan2l declaration... " >&6; }
36318 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
36319 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
36320 $as_echo_n "(cached) " >&6
36321 else
36324 ac_ext=cpp
36325 ac_cpp='$CXXCPP $CPPFLAGS'
36326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36331 /* end confdefs.h. */
36332 #include <math.h>
36334 main ()
36336 atan2l(0, 0);
36338 return 0;
36340 _ACEOF
36341 if ac_fn_cxx_try_compile "$LINENO"; then :
36342 glibcxx_cv_func_atan2l_use=yes
36343 else
36344 glibcxx_cv_func_atan2l_use=no
36346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36347 ac_ext=c
36348 ac_cpp='$CPP $CPPFLAGS'
36349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
36358 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
36360 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
36361 for ac_func in atan2l
36362 do :
36363 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
36364 if test "x$ac_cv_func_atan2l" = x""yes; then :
36365 cat >>confdefs.h <<_ACEOF
36366 #define HAVE_ATAN2L 1
36367 _ACEOF
36370 done
36372 else
36374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
36375 $as_echo_n "checking for _atan2l declaration... " >&6; }
36376 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
36377 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
36378 $as_echo_n "(cached) " >&6
36379 else
36382 ac_ext=cpp
36383 ac_cpp='$CXXCPP $CPPFLAGS'
36384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36389 /* end confdefs.h. */
36390 #include <math.h>
36392 main ()
36394 _atan2l(0, 0);
36396 return 0;
36398 _ACEOF
36399 if ac_fn_cxx_try_compile "$LINENO"; then :
36400 glibcxx_cv_func__atan2l_use=yes
36401 else
36402 glibcxx_cv_func__atan2l_use=no
36404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36405 ac_ext=c
36406 ac_cpp='$CPP $CPPFLAGS'
36407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
36416 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
36418 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
36419 for ac_func in _atan2l
36420 do :
36421 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
36422 if test "x$ac_cv_func__atan2l" = x""yes; then :
36423 cat >>confdefs.h <<_ACEOF
36424 #define HAVE__ATAN2L 1
36425 _ACEOF
36428 done
36437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
36438 $as_echo_n "checking for expl declaration... " >&6; }
36439 if test x${glibcxx_cv_func_expl_use+set} != xset; then
36440 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
36441 $as_echo_n "(cached) " >&6
36442 else
36445 ac_ext=cpp
36446 ac_cpp='$CXXCPP $CPPFLAGS'
36447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36452 /* end confdefs.h. */
36453 #include <math.h>
36454 #ifdef HAVE_IEEEFP_H
36455 #include <ieeefp.h>
36456 #endif
36459 main ()
36461 expl(0);
36463 return 0;
36465 _ACEOF
36466 if ac_fn_cxx_try_compile "$LINENO"; then :
36467 glibcxx_cv_func_expl_use=yes
36468 else
36469 glibcxx_cv_func_expl_use=no
36471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36472 ac_ext=c
36473 ac_cpp='$CPP $CPPFLAGS'
36474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
36483 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
36485 if test x$glibcxx_cv_func_expl_use = x"yes"; then
36486 for ac_func in expl
36487 do :
36488 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
36489 if test "x$ac_cv_func_expl" = x""yes; then :
36490 cat >>confdefs.h <<_ACEOF
36491 #define HAVE_EXPL 1
36492 _ACEOF
36495 done
36497 else
36499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
36500 $as_echo_n "checking for _expl declaration... " >&6; }
36501 if test x${glibcxx_cv_func__expl_use+set} != xset; then
36502 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
36503 $as_echo_n "(cached) " >&6
36504 else
36507 ac_ext=cpp
36508 ac_cpp='$CXXCPP $CPPFLAGS'
36509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36514 /* end confdefs.h. */
36515 #include <math.h>
36516 #ifdef HAVE_IEEEFP_H
36517 #include <ieeefp.h>
36518 #endif
36521 main ()
36523 _expl(0);
36525 return 0;
36527 _ACEOF
36528 if ac_fn_cxx_try_compile "$LINENO"; then :
36529 glibcxx_cv_func__expl_use=yes
36530 else
36531 glibcxx_cv_func__expl_use=no
36533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36534 ac_ext=c
36535 ac_cpp='$CPP $CPPFLAGS'
36536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
36545 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
36547 if test x$glibcxx_cv_func__expl_use = x"yes"; then
36548 for ac_func in _expl
36549 do :
36550 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
36551 if test "x$ac_cv_func__expl" = x""yes; then :
36552 cat >>confdefs.h <<_ACEOF
36553 #define HAVE__EXPL 1
36554 _ACEOF
36557 done
36566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
36567 $as_echo_n "checking for fabsl declaration... " >&6; }
36568 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
36569 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
36570 $as_echo_n "(cached) " >&6
36571 else
36574 ac_ext=cpp
36575 ac_cpp='$CXXCPP $CPPFLAGS'
36576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36581 /* end confdefs.h. */
36582 #include <math.h>
36583 #ifdef HAVE_IEEEFP_H
36584 #include <ieeefp.h>
36585 #endif
36588 main ()
36590 fabsl(0);
36592 return 0;
36594 _ACEOF
36595 if ac_fn_cxx_try_compile "$LINENO"; then :
36596 glibcxx_cv_func_fabsl_use=yes
36597 else
36598 glibcxx_cv_func_fabsl_use=no
36600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36601 ac_ext=c
36602 ac_cpp='$CPP $CPPFLAGS'
36603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
36612 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
36614 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
36615 for ac_func in fabsl
36616 do :
36617 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
36618 if test "x$ac_cv_func_fabsl" = x""yes; then :
36619 cat >>confdefs.h <<_ACEOF
36620 #define HAVE_FABSL 1
36621 _ACEOF
36624 done
36626 else
36628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
36629 $as_echo_n "checking for _fabsl declaration... " >&6; }
36630 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
36631 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
36632 $as_echo_n "(cached) " >&6
36633 else
36636 ac_ext=cpp
36637 ac_cpp='$CXXCPP $CPPFLAGS'
36638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36643 /* end confdefs.h. */
36644 #include <math.h>
36645 #ifdef HAVE_IEEEFP_H
36646 #include <ieeefp.h>
36647 #endif
36650 main ()
36652 _fabsl(0);
36654 return 0;
36656 _ACEOF
36657 if ac_fn_cxx_try_compile "$LINENO"; then :
36658 glibcxx_cv_func__fabsl_use=yes
36659 else
36660 glibcxx_cv_func__fabsl_use=no
36662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36663 ac_ext=c
36664 ac_cpp='$CPP $CPPFLAGS'
36665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
36674 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
36676 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
36677 for ac_func in _fabsl
36678 do :
36679 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
36680 if test "x$ac_cv_func__fabsl" = x""yes; then :
36681 cat >>confdefs.h <<_ACEOF
36682 #define HAVE__FABSL 1
36683 _ACEOF
36686 done
36695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
36696 $as_echo_n "checking for fmodl declaration... " >&6; }
36697 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
36698 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
36699 $as_echo_n "(cached) " >&6
36700 else
36703 ac_ext=cpp
36704 ac_cpp='$CXXCPP $CPPFLAGS'
36705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36710 /* end confdefs.h. */
36711 #include <math.h>
36713 main ()
36715 fmodl(0, 0);
36717 return 0;
36719 _ACEOF
36720 if ac_fn_cxx_try_compile "$LINENO"; then :
36721 glibcxx_cv_func_fmodl_use=yes
36722 else
36723 glibcxx_cv_func_fmodl_use=no
36725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36726 ac_ext=c
36727 ac_cpp='$CPP $CPPFLAGS'
36728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
36737 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
36739 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
36740 for ac_func in fmodl
36741 do :
36742 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
36743 if test "x$ac_cv_func_fmodl" = x""yes; then :
36744 cat >>confdefs.h <<_ACEOF
36745 #define HAVE_FMODL 1
36746 _ACEOF
36749 done
36751 else
36753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
36754 $as_echo_n "checking for _fmodl declaration... " >&6; }
36755 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
36756 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
36757 $as_echo_n "(cached) " >&6
36758 else
36761 ac_ext=cpp
36762 ac_cpp='$CXXCPP $CPPFLAGS'
36763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36768 /* end confdefs.h. */
36769 #include <math.h>
36771 main ()
36773 _fmodl(0, 0);
36775 return 0;
36777 _ACEOF
36778 if ac_fn_cxx_try_compile "$LINENO"; then :
36779 glibcxx_cv_func__fmodl_use=yes
36780 else
36781 glibcxx_cv_func__fmodl_use=no
36783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36784 ac_ext=c
36785 ac_cpp='$CPP $CPPFLAGS'
36786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
36795 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
36797 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
36798 for ac_func in _fmodl
36799 do :
36800 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
36801 if test "x$ac_cv_func__fmodl" = x""yes; then :
36802 cat >>confdefs.h <<_ACEOF
36803 #define HAVE__FMODL 1
36804 _ACEOF
36807 done
36816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
36817 $as_echo_n "checking for frexpl declaration... " >&6; }
36818 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
36819 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
36820 $as_echo_n "(cached) " >&6
36821 else
36824 ac_ext=cpp
36825 ac_cpp='$CXXCPP $CPPFLAGS'
36826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36831 /* end confdefs.h. */
36832 #include <math.h>
36834 main ()
36836 frexpl(0, 0);
36838 return 0;
36840 _ACEOF
36841 if ac_fn_cxx_try_compile "$LINENO"; then :
36842 glibcxx_cv_func_frexpl_use=yes
36843 else
36844 glibcxx_cv_func_frexpl_use=no
36846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36847 ac_ext=c
36848 ac_cpp='$CPP $CPPFLAGS'
36849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
36858 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
36860 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
36861 for ac_func in frexpl
36862 do :
36863 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
36864 if test "x$ac_cv_func_frexpl" = x""yes; then :
36865 cat >>confdefs.h <<_ACEOF
36866 #define HAVE_FREXPL 1
36867 _ACEOF
36870 done
36872 else
36874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
36875 $as_echo_n "checking for _frexpl declaration... " >&6; }
36876 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
36877 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
36878 $as_echo_n "(cached) " >&6
36879 else
36882 ac_ext=cpp
36883 ac_cpp='$CXXCPP $CPPFLAGS'
36884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36889 /* end confdefs.h. */
36890 #include <math.h>
36892 main ()
36894 _frexpl(0, 0);
36896 return 0;
36898 _ACEOF
36899 if ac_fn_cxx_try_compile "$LINENO"; then :
36900 glibcxx_cv_func__frexpl_use=yes
36901 else
36902 glibcxx_cv_func__frexpl_use=no
36904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36905 ac_ext=c
36906 ac_cpp='$CPP $CPPFLAGS'
36907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
36916 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
36918 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
36919 for ac_func in _frexpl
36920 do :
36921 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
36922 if test "x$ac_cv_func__frexpl" = x""yes; then :
36923 cat >>confdefs.h <<_ACEOF
36924 #define HAVE__FREXPL 1
36925 _ACEOF
36928 done
36937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
36938 $as_echo_n "checking for hypotl declaration... " >&6; }
36939 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
36940 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
36941 $as_echo_n "(cached) " >&6
36942 else
36945 ac_ext=cpp
36946 ac_cpp='$CXXCPP $CPPFLAGS'
36947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36952 /* end confdefs.h. */
36953 #include <math.h>
36955 main ()
36957 hypotl(0, 0);
36959 return 0;
36961 _ACEOF
36962 if ac_fn_cxx_try_compile "$LINENO"; then :
36963 glibcxx_cv_func_hypotl_use=yes
36964 else
36965 glibcxx_cv_func_hypotl_use=no
36967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36968 ac_ext=c
36969 ac_cpp='$CPP $CPPFLAGS'
36970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
36979 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
36981 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
36982 for ac_func in hypotl
36983 do :
36984 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
36985 if test "x$ac_cv_func_hypotl" = x""yes; then :
36986 cat >>confdefs.h <<_ACEOF
36987 #define HAVE_HYPOTL 1
36988 _ACEOF
36991 done
36993 else
36995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
36996 $as_echo_n "checking for _hypotl declaration... " >&6; }
36997 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
36998 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
36999 $as_echo_n "(cached) " >&6
37000 else
37003 ac_ext=cpp
37004 ac_cpp='$CXXCPP $CPPFLAGS'
37005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37010 /* end confdefs.h. */
37011 #include <math.h>
37013 main ()
37015 _hypotl(0, 0);
37017 return 0;
37019 _ACEOF
37020 if ac_fn_cxx_try_compile "$LINENO"; then :
37021 glibcxx_cv_func__hypotl_use=yes
37022 else
37023 glibcxx_cv_func__hypotl_use=no
37025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37026 ac_ext=c
37027 ac_cpp='$CPP $CPPFLAGS'
37028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
37037 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
37039 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37040 for ac_func in _hypotl
37041 do :
37042 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
37043 if test "x$ac_cv_func__hypotl" = x""yes; then :
37044 cat >>confdefs.h <<_ACEOF
37045 #define HAVE__HYPOTL 1
37046 _ACEOF
37049 done
37058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
37059 $as_echo_n "checking for ldexpl declaration... " >&6; }
37060 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37061 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
37062 $as_echo_n "(cached) " >&6
37063 else
37066 ac_ext=cpp
37067 ac_cpp='$CXXCPP $CPPFLAGS'
37068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37073 /* end confdefs.h. */
37074 #include <math.h>
37076 main ()
37078 ldexpl(0, 0);
37080 return 0;
37082 _ACEOF
37083 if ac_fn_cxx_try_compile "$LINENO"; then :
37084 glibcxx_cv_func_ldexpl_use=yes
37085 else
37086 glibcxx_cv_func_ldexpl_use=no
37088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37089 ac_ext=c
37090 ac_cpp='$CPP $CPPFLAGS'
37091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37100 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37102 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37103 for ac_func in ldexpl
37104 do :
37105 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37106 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37107 cat >>confdefs.h <<_ACEOF
37108 #define HAVE_LDEXPL 1
37109 _ACEOF
37112 done
37114 else
37116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37117 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37118 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37119 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37120 $as_echo_n "(cached) " >&6
37121 else
37124 ac_ext=cpp
37125 ac_cpp='$CXXCPP $CPPFLAGS'
37126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37131 /* end confdefs.h. */
37132 #include <math.h>
37134 main ()
37136 _ldexpl(0, 0);
37138 return 0;
37140 _ACEOF
37141 if ac_fn_cxx_try_compile "$LINENO"; then :
37142 glibcxx_cv_func__ldexpl_use=yes
37143 else
37144 glibcxx_cv_func__ldexpl_use=no
37146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37147 ac_ext=c
37148 ac_cpp='$CPP $CPPFLAGS'
37149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37158 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37160 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37161 for ac_func in _ldexpl
37162 do :
37163 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37164 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37165 cat >>confdefs.h <<_ACEOF
37166 #define HAVE__LDEXPL 1
37167 _ACEOF
37170 done
37179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37180 $as_echo_n "checking for logl declaration... " >&6; }
37181 if test x${glibcxx_cv_func_logl_use+set} != xset; then
37182 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37183 $as_echo_n "(cached) " >&6
37184 else
37187 ac_ext=cpp
37188 ac_cpp='$CXXCPP $CPPFLAGS'
37189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37194 /* end confdefs.h. */
37195 #include <math.h>
37196 #ifdef HAVE_IEEEFP_H
37197 #include <ieeefp.h>
37198 #endif
37201 main ()
37203 logl(0);
37205 return 0;
37207 _ACEOF
37208 if ac_fn_cxx_try_compile "$LINENO"; then :
37209 glibcxx_cv_func_logl_use=yes
37210 else
37211 glibcxx_cv_func_logl_use=no
37213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37214 ac_ext=c
37215 ac_cpp='$CPP $CPPFLAGS'
37216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
37225 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
37227 if test x$glibcxx_cv_func_logl_use = x"yes"; then
37228 for ac_func in logl
37229 do :
37230 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
37231 if test "x$ac_cv_func_logl" = x""yes; then :
37232 cat >>confdefs.h <<_ACEOF
37233 #define HAVE_LOGL 1
37234 _ACEOF
37237 done
37239 else
37241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
37242 $as_echo_n "checking for _logl declaration... " >&6; }
37243 if test x${glibcxx_cv_func__logl_use+set} != xset; then
37244 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
37245 $as_echo_n "(cached) " >&6
37246 else
37249 ac_ext=cpp
37250 ac_cpp='$CXXCPP $CPPFLAGS'
37251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37256 /* end confdefs.h. */
37257 #include <math.h>
37258 #ifdef HAVE_IEEEFP_H
37259 #include <ieeefp.h>
37260 #endif
37263 main ()
37265 _logl(0);
37267 return 0;
37269 _ACEOF
37270 if ac_fn_cxx_try_compile "$LINENO"; then :
37271 glibcxx_cv_func__logl_use=yes
37272 else
37273 glibcxx_cv_func__logl_use=no
37275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37276 ac_ext=c
37277 ac_cpp='$CPP $CPPFLAGS'
37278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
37287 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
37289 if test x$glibcxx_cv_func__logl_use = x"yes"; then
37290 for ac_func in _logl
37291 do :
37292 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
37293 if test "x$ac_cv_func__logl" = x""yes; then :
37294 cat >>confdefs.h <<_ACEOF
37295 #define HAVE__LOGL 1
37296 _ACEOF
37299 done
37308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
37309 $as_echo_n "checking for log10l declaration... " >&6; }
37310 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
37311 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
37312 $as_echo_n "(cached) " >&6
37313 else
37316 ac_ext=cpp
37317 ac_cpp='$CXXCPP $CPPFLAGS'
37318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37323 /* end confdefs.h. */
37324 #include <math.h>
37325 #ifdef HAVE_IEEEFP_H
37326 #include <ieeefp.h>
37327 #endif
37330 main ()
37332 log10l(0);
37334 return 0;
37336 _ACEOF
37337 if ac_fn_cxx_try_compile "$LINENO"; then :
37338 glibcxx_cv_func_log10l_use=yes
37339 else
37340 glibcxx_cv_func_log10l_use=no
37342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37343 ac_ext=c
37344 ac_cpp='$CPP $CPPFLAGS'
37345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
37354 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
37356 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
37357 for ac_func in log10l
37358 do :
37359 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
37360 if test "x$ac_cv_func_log10l" = x""yes; then :
37361 cat >>confdefs.h <<_ACEOF
37362 #define HAVE_LOG10L 1
37363 _ACEOF
37366 done
37368 else
37370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
37371 $as_echo_n "checking for _log10l declaration... " >&6; }
37372 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
37373 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
37374 $as_echo_n "(cached) " >&6
37375 else
37378 ac_ext=cpp
37379 ac_cpp='$CXXCPP $CPPFLAGS'
37380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37385 /* end confdefs.h. */
37386 #include <math.h>
37387 #ifdef HAVE_IEEEFP_H
37388 #include <ieeefp.h>
37389 #endif
37392 main ()
37394 _log10l(0);
37396 return 0;
37398 _ACEOF
37399 if ac_fn_cxx_try_compile "$LINENO"; then :
37400 glibcxx_cv_func__log10l_use=yes
37401 else
37402 glibcxx_cv_func__log10l_use=no
37404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37405 ac_ext=c
37406 ac_cpp='$CPP $CPPFLAGS'
37407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
37416 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
37418 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
37419 for ac_func in _log10l
37420 do :
37421 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
37422 if test "x$ac_cv_func__log10l" = x""yes; then :
37423 cat >>confdefs.h <<_ACEOF
37424 #define HAVE__LOG10L 1
37425 _ACEOF
37428 done
37437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
37438 $as_echo_n "checking for modfl declaration... " >&6; }
37439 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
37440 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
37441 $as_echo_n "(cached) " >&6
37442 else
37445 ac_ext=cpp
37446 ac_cpp='$CXXCPP $CPPFLAGS'
37447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37452 /* end confdefs.h. */
37453 #include <math.h>
37455 main ()
37457 modfl(0, 0);
37459 return 0;
37461 _ACEOF
37462 if ac_fn_cxx_try_compile "$LINENO"; then :
37463 glibcxx_cv_func_modfl_use=yes
37464 else
37465 glibcxx_cv_func_modfl_use=no
37467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37468 ac_ext=c
37469 ac_cpp='$CPP $CPPFLAGS'
37470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
37479 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
37481 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
37482 for ac_func in modfl
37483 do :
37484 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
37485 if test "x$ac_cv_func_modfl" = x""yes; then :
37486 cat >>confdefs.h <<_ACEOF
37487 #define HAVE_MODFL 1
37488 _ACEOF
37491 done
37493 else
37495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
37496 $as_echo_n "checking for _modfl declaration... " >&6; }
37497 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
37498 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
37499 $as_echo_n "(cached) " >&6
37500 else
37503 ac_ext=cpp
37504 ac_cpp='$CXXCPP $CPPFLAGS'
37505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37510 /* end confdefs.h. */
37511 #include <math.h>
37513 main ()
37515 _modfl(0, 0);
37517 return 0;
37519 _ACEOF
37520 if ac_fn_cxx_try_compile "$LINENO"; then :
37521 glibcxx_cv_func__modfl_use=yes
37522 else
37523 glibcxx_cv_func__modfl_use=no
37525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37526 ac_ext=c
37527 ac_cpp='$CPP $CPPFLAGS'
37528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
37537 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
37539 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
37540 for ac_func in _modfl
37541 do :
37542 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
37543 if test "x$ac_cv_func__modfl" = x""yes; then :
37544 cat >>confdefs.h <<_ACEOF
37545 #define HAVE__MODFL 1
37546 _ACEOF
37549 done
37558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
37559 $as_echo_n "checking for powl declaration... " >&6; }
37560 if test x${glibcxx_cv_func_powl_use+set} != xset; then
37561 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
37562 $as_echo_n "(cached) " >&6
37563 else
37566 ac_ext=cpp
37567 ac_cpp='$CXXCPP $CPPFLAGS'
37568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37573 /* end confdefs.h. */
37574 #include <math.h>
37576 main ()
37578 powl(0, 0);
37580 return 0;
37582 _ACEOF
37583 if ac_fn_cxx_try_compile "$LINENO"; then :
37584 glibcxx_cv_func_powl_use=yes
37585 else
37586 glibcxx_cv_func_powl_use=no
37588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37589 ac_ext=c
37590 ac_cpp='$CPP $CPPFLAGS'
37591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
37600 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
37602 if test x$glibcxx_cv_func_powl_use = x"yes"; then
37603 for ac_func in powl
37604 do :
37605 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
37606 if test "x$ac_cv_func_powl" = x""yes; then :
37607 cat >>confdefs.h <<_ACEOF
37608 #define HAVE_POWL 1
37609 _ACEOF
37612 done
37614 else
37616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
37617 $as_echo_n "checking for _powl declaration... " >&6; }
37618 if test x${glibcxx_cv_func__powl_use+set} != xset; then
37619 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
37620 $as_echo_n "(cached) " >&6
37621 else
37624 ac_ext=cpp
37625 ac_cpp='$CXXCPP $CPPFLAGS'
37626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37631 /* end confdefs.h. */
37632 #include <math.h>
37634 main ()
37636 _powl(0, 0);
37638 return 0;
37640 _ACEOF
37641 if ac_fn_cxx_try_compile "$LINENO"; then :
37642 glibcxx_cv_func__powl_use=yes
37643 else
37644 glibcxx_cv_func__powl_use=no
37646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37647 ac_ext=c
37648 ac_cpp='$CPP $CPPFLAGS'
37649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
37658 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
37660 if test x$glibcxx_cv_func__powl_use = x"yes"; then
37661 for ac_func in _powl
37662 do :
37663 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
37664 if test "x$ac_cv_func__powl" = x""yes; then :
37665 cat >>confdefs.h <<_ACEOF
37666 #define HAVE__POWL 1
37667 _ACEOF
37670 done
37679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
37680 $as_echo_n "checking for sqrtl declaration... " >&6; }
37681 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
37682 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
37683 $as_echo_n "(cached) " >&6
37684 else
37687 ac_ext=cpp
37688 ac_cpp='$CXXCPP $CPPFLAGS'
37689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37694 /* end confdefs.h. */
37695 #include <math.h>
37696 #ifdef HAVE_IEEEFP_H
37697 #include <ieeefp.h>
37698 #endif
37701 main ()
37703 sqrtl(0);
37705 return 0;
37707 _ACEOF
37708 if ac_fn_cxx_try_compile "$LINENO"; then :
37709 glibcxx_cv_func_sqrtl_use=yes
37710 else
37711 glibcxx_cv_func_sqrtl_use=no
37713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37714 ac_ext=c
37715 ac_cpp='$CPP $CPPFLAGS'
37716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
37725 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
37727 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
37728 for ac_func in sqrtl
37729 do :
37730 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
37731 if test "x$ac_cv_func_sqrtl" = x""yes; then :
37732 cat >>confdefs.h <<_ACEOF
37733 #define HAVE_SQRTL 1
37734 _ACEOF
37737 done
37739 else
37741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
37742 $as_echo_n "checking for _sqrtl declaration... " >&6; }
37743 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
37744 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
37745 $as_echo_n "(cached) " >&6
37746 else
37749 ac_ext=cpp
37750 ac_cpp='$CXXCPP $CPPFLAGS'
37751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37756 /* end confdefs.h. */
37757 #include <math.h>
37758 #ifdef HAVE_IEEEFP_H
37759 #include <ieeefp.h>
37760 #endif
37763 main ()
37765 _sqrtl(0);
37767 return 0;
37769 _ACEOF
37770 if ac_fn_cxx_try_compile "$LINENO"; then :
37771 glibcxx_cv_func__sqrtl_use=yes
37772 else
37773 glibcxx_cv_func__sqrtl_use=no
37775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37776 ac_ext=c
37777 ac_cpp='$CPP $CPPFLAGS'
37778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
37787 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
37789 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
37790 for ac_func in _sqrtl
37791 do :
37792 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
37793 if test "x$ac_cv_func__sqrtl" = x""yes; then :
37794 cat >>confdefs.h <<_ACEOF
37795 #define HAVE__SQRTL 1
37796 _ACEOF
37799 done
37808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
37809 $as_echo_n "checking for sincosl declaration... " >&6; }
37810 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
37811 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
37812 $as_echo_n "(cached) " >&6
37813 else
37816 ac_ext=cpp
37817 ac_cpp='$CXXCPP $CPPFLAGS'
37818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37823 /* end confdefs.h. */
37824 #include <math.h>
37826 main ()
37828 sincosl(0, 0, 0);
37830 return 0;
37832 _ACEOF
37833 if ac_fn_cxx_try_compile "$LINENO"; then :
37834 glibcxx_cv_func_sincosl_use=yes
37835 else
37836 glibcxx_cv_func_sincosl_use=no
37838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37839 ac_ext=c
37840 ac_cpp='$CPP $CPPFLAGS'
37841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
37850 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
37852 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
37853 for ac_func in sincosl
37854 do :
37855 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
37856 if test "x$ac_cv_func_sincosl" = x""yes; then :
37857 cat >>confdefs.h <<_ACEOF
37858 #define HAVE_SINCOSL 1
37859 _ACEOF
37862 done
37864 else
37866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
37867 $as_echo_n "checking for _sincosl declaration... " >&6; }
37868 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
37869 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
37870 $as_echo_n "(cached) " >&6
37871 else
37874 ac_ext=cpp
37875 ac_cpp='$CXXCPP $CPPFLAGS'
37876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37881 /* end confdefs.h. */
37882 #include <math.h>
37884 main ()
37886 _sincosl(0, 0, 0);
37888 return 0;
37890 _ACEOF
37891 if ac_fn_cxx_try_compile "$LINENO"; then :
37892 glibcxx_cv_func__sincosl_use=yes
37893 else
37894 glibcxx_cv_func__sincosl_use=no
37896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37897 ac_ext=c
37898 ac_cpp='$CPP $CPPFLAGS'
37899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
37908 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
37910 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
37911 for ac_func in _sincosl
37912 do :
37913 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
37914 if test "x$ac_cv_func__sincosl" = x""yes; then :
37915 cat >>confdefs.h <<_ACEOF
37916 #define HAVE__SINCOSL 1
37917 _ACEOF
37920 done
37929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
37930 $as_echo_n "checking for finitel declaration... " >&6; }
37931 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
37932 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
37933 $as_echo_n "(cached) " >&6
37934 else
37937 ac_ext=cpp
37938 ac_cpp='$CXXCPP $CPPFLAGS'
37939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37944 /* end confdefs.h. */
37945 #include <math.h>
37946 #ifdef HAVE_IEEEFP_H
37947 #include <ieeefp.h>
37948 #endif
37951 main ()
37953 finitel(0);
37955 return 0;
37957 _ACEOF
37958 if ac_fn_cxx_try_compile "$LINENO"; then :
37959 glibcxx_cv_func_finitel_use=yes
37960 else
37961 glibcxx_cv_func_finitel_use=no
37963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37964 ac_ext=c
37965 ac_cpp='$CPP $CPPFLAGS'
37966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
37975 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
37977 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
37978 for ac_func in finitel
37979 do :
37980 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
37981 if test "x$ac_cv_func_finitel" = x""yes; then :
37982 cat >>confdefs.h <<_ACEOF
37983 #define HAVE_FINITEL 1
37984 _ACEOF
37987 done
37989 else
37991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
37992 $as_echo_n "checking for _finitel declaration... " >&6; }
37993 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
37994 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
37995 $as_echo_n "(cached) " >&6
37996 else
37999 ac_ext=cpp
38000 ac_cpp='$CXXCPP $CPPFLAGS'
38001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38006 /* end confdefs.h. */
38007 #include <math.h>
38008 #ifdef HAVE_IEEEFP_H
38009 #include <ieeefp.h>
38010 #endif
38013 main ()
38015 _finitel(0);
38017 return 0;
38019 _ACEOF
38020 if ac_fn_cxx_try_compile "$LINENO"; then :
38021 glibcxx_cv_func__finitel_use=yes
38022 else
38023 glibcxx_cv_func__finitel_use=no
38025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38026 ac_ext=c
38027 ac_cpp='$CPP $CPPFLAGS'
38028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
38037 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
38039 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
38040 for ac_func in _finitel
38041 do :
38042 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
38043 if test "x$ac_cv_func__finitel" = x""yes; then :
38044 cat >>confdefs.h <<_ACEOF
38045 #define HAVE__FINITEL 1
38046 _ACEOF
38049 done
38057 LIBS="$ac_save_LIBS"
38058 CXXFLAGS="$ac_save_CXXFLAGS"
38061 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38062 ac_save_CXXFLAGS="$CXXFLAGS"
38063 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
38067 $as_echo_n "checking for strtold declaration... " >&6; }
38068 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38069 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
38070 $as_echo_n "(cached) " >&6
38071 else
38074 ac_ext=cpp
38075 ac_cpp='$CXXCPP $CPPFLAGS'
38076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38081 /* end confdefs.h. */
38082 #include <stdlib.h>
38084 main ()
38086 strtold(0, 0);
38088 return 0;
38090 _ACEOF
38091 if ac_fn_cxx_try_compile "$LINENO"; then :
38092 glibcxx_cv_func_strtold_use=yes
38093 else
38094 glibcxx_cv_func_strtold_use=no
38096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38097 ac_ext=c
38098 ac_cpp='$CPP $CPPFLAGS'
38099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38108 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38109 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38110 for ac_func in strtold
38111 do :
38112 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38113 if test "x$ac_cv_func_strtold" = x""yes; then :
38114 cat >>confdefs.h <<_ACEOF
38115 #define HAVE_STRTOLD 1
38116 _ACEOF
38119 done
38126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38127 $as_echo_n "checking for strtof declaration... " >&6; }
38128 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38129 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38130 $as_echo_n "(cached) " >&6
38131 else
38134 ac_ext=cpp
38135 ac_cpp='$CXXCPP $CPPFLAGS'
38136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38141 /* end confdefs.h. */
38142 #include <stdlib.h>
38144 main ()
38146 strtof(0, 0);
38148 return 0;
38150 _ACEOF
38151 if ac_fn_cxx_try_compile "$LINENO"; then :
38152 glibcxx_cv_func_strtof_use=yes
38153 else
38154 glibcxx_cv_func_strtof_use=no
38156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38157 ac_ext=c
38158 ac_cpp='$CPP $CPPFLAGS'
38159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38168 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38169 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38170 for ac_func in strtof
38171 do :
38172 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38173 if test "x$ac_cv_func_strtof" = x""yes; then :
38174 cat >>confdefs.h <<_ACEOF
38175 #define HAVE_STRTOF 1
38176 _ACEOF
38179 done
38186 CXXFLAGS="$ac_save_CXXFLAGS"
38188 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38190 # We don't yet support AIX's TLS ABI.
38191 #GCC_CHECK_TLS
38197 am_save_CPPFLAGS="$CPPFLAGS"
38199 for element in $INCICONV; do
38200 haveit=
38201 for x in $CPPFLAGS; do
38203 acl_save_prefix="$prefix"
38204 prefix="$acl_final_prefix"
38205 acl_save_exec_prefix="$exec_prefix"
38206 exec_prefix="$acl_final_exec_prefix"
38207 eval x=\"$x\"
38208 exec_prefix="$acl_save_exec_prefix"
38209 prefix="$acl_save_prefix"
38211 if test "X$x" = "X$element"; then
38212 haveit=yes
38213 break
38215 done
38216 if test -z "$haveit"; then
38217 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38219 done
38222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
38223 $as_echo_n "checking for iconv... " >&6; }
38224 if test "${am_cv_func_iconv+set}" = set; then :
38225 $as_echo_n "(cached) " >&6
38226 else
38228 am_cv_func_iconv="no, consider installing GNU libiconv"
38229 am_cv_lib_iconv=no
38230 if test x$gcc_no_link = xyes; then
38231 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38234 /* end confdefs.h. */
38235 #include <stdlib.h>
38236 #include <iconv.h>
38238 main ()
38240 iconv_t cd = iconv_open("","");
38241 iconv(cd,NULL,NULL,NULL,NULL);
38242 iconv_close(cd);
38244 return 0;
38246 _ACEOF
38247 if ac_fn_c_try_link "$LINENO"; then :
38248 am_cv_func_iconv=yes
38250 rm -f core conftest.err conftest.$ac_objext \
38251 conftest$ac_exeext conftest.$ac_ext
38252 if test "$am_cv_func_iconv" != yes; then
38253 am_save_LIBS="$LIBS"
38254 LIBS="$LIBS $LIBICONV"
38255 if test x$gcc_no_link = xyes; then
38256 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38259 /* end confdefs.h. */
38260 #include <stdlib.h>
38261 #include <iconv.h>
38263 main ()
38265 iconv_t cd = iconv_open("","");
38266 iconv(cd,NULL,NULL,NULL,NULL);
38267 iconv_close(cd);
38269 return 0;
38271 _ACEOF
38272 if ac_fn_c_try_link "$LINENO"; then :
38273 am_cv_lib_iconv=yes
38274 am_cv_func_iconv=yes
38276 rm -f core conftest.err conftest.$ac_objext \
38277 conftest$ac_exeext conftest.$ac_ext
38278 LIBS="$am_save_LIBS"
38282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
38283 $as_echo "$am_cv_func_iconv" >&6; }
38284 if test "$am_cv_func_iconv" = yes; then
38286 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
38289 if test "$am_cv_lib_iconv" = yes; then
38290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
38291 $as_echo_n "checking how to link with libiconv... " >&6; }
38292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
38293 $as_echo "$LIBICONV" >&6; }
38294 else
38295 CPPFLAGS="$am_save_CPPFLAGS"
38296 LIBICONV=
38297 LTLIBICONV=
38302 if test "$am_cv_func_iconv" = yes; then
38303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
38304 $as_echo_n "checking for iconv declaration... " >&6; }
38305 if test "${am_cv_proto_iconv+set}" = set; then :
38306 $as_echo_n "(cached) " >&6
38307 else
38309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38310 /* end confdefs.h. */
38312 #include <stdlib.h>
38313 #include <iconv.h>
38314 extern
38315 #ifdef __cplusplus
38317 #endif
38318 #if defined(__STDC__) || defined(__cplusplus)
38319 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38320 #else
38321 size_t iconv();
38322 #endif
38325 main ()
38329 return 0;
38331 _ACEOF
38332 if ac_fn_c_try_compile "$LINENO"; then :
38333 am_cv_proto_iconv_arg1=""
38334 else
38335 am_cv_proto_iconv_arg1="const"
38337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38338 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);"
38341 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
38342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
38343 }$am_cv_proto_iconv" >&5
38344 $as_echo "${ac_t:-
38345 }$am_cv_proto_iconv" >&6; }
38347 cat >>confdefs.h <<_ACEOF
38348 #define ICONV_CONST $am_cv_proto_iconv_arg1
38349 _ACEOF
38355 *-darwin*)
38356 # Darwin versions vary, but the linker should work in a cross environment,
38357 # so we just check for all the features here.
38358 # Check for available headers.
38360 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
38362 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38363 ac_save_CXXFLAGS="$CXXFLAGS"
38364 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
38367 $as_echo_n "checking for sin in -lm... " >&6; }
38368 if test "${ac_cv_lib_m_sin+set}" = set; then :
38369 $as_echo_n "(cached) " >&6
38370 else
38371 ac_check_lib_save_LIBS=$LIBS
38372 LIBS="-lm $LIBS"
38373 if test x$gcc_no_link = xyes; then
38374 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38377 /* end confdefs.h. */
38379 /* Override any GCC internal prototype to avoid an error.
38380 Use char because int might match the return type of a GCC
38381 builtin and then its argument prototype would still apply. */
38382 #ifdef __cplusplus
38383 extern "C"
38384 #endif
38385 char sin ();
38387 main ()
38389 return sin ();
38391 return 0;
38393 _ACEOF
38394 if ac_fn_c_try_link "$LINENO"; then :
38395 ac_cv_lib_m_sin=yes
38396 else
38397 ac_cv_lib_m_sin=no
38399 rm -f core conftest.err conftest.$ac_objext \
38400 conftest$ac_exeext conftest.$ac_ext
38401 LIBS=$ac_check_lib_save_LIBS
38403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
38404 $as_echo "$ac_cv_lib_m_sin" >&6; }
38405 if test "x$ac_cv_lib_m_sin" = x""yes; then :
38406 libm="-lm"
38409 ac_save_LIBS="$LIBS"
38410 LIBS="$LIBS $libm"
38414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
38415 $as_echo_n "checking for isinf declaration... " >&6; }
38416 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
38417 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
38418 $as_echo_n "(cached) " >&6
38419 else
38422 ac_ext=cpp
38423 ac_cpp='$CXXCPP $CPPFLAGS'
38424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38429 /* end confdefs.h. */
38430 #include <math.h>
38431 #ifdef HAVE_IEEEFP_H
38432 #include <ieeefp.h>
38433 #endif
38436 main ()
38438 isinf(0);
38440 return 0;
38442 _ACEOF
38443 if ac_fn_cxx_try_compile "$LINENO"; then :
38444 glibcxx_cv_func_isinf_use=yes
38445 else
38446 glibcxx_cv_func_isinf_use=no
38448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38449 ac_ext=c
38450 ac_cpp='$CPP $CPPFLAGS'
38451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
38460 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
38462 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
38463 for ac_func in isinf
38464 do :
38465 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
38466 if test "x$ac_cv_func_isinf" = x""yes; then :
38467 cat >>confdefs.h <<_ACEOF
38468 #define HAVE_ISINF 1
38469 _ACEOF
38472 done
38474 else
38476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
38477 $as_echo_n "checking for _isinf declaration... " >&6; }
38478 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
38479 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
38480 $as_echo_n "(cached) " >&6
38481 else
38484 ac_ext=cpp
38485 ac_cpp='$CXXCPP $CPPFLAGS'
38486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38491 /* end confdefs.h. */
38492 #include <math.h>
38493 #ifdef HAVE_IEEEFP_H
38494 #include <ieeefp.h>
38495 #endif
38498 main ()
38500 _isinf(0);
38502 return 0;
38504 _ACEOF
38505 if ac_fn_cxx_try_compile "$LINENO"; then :
38506 glibcxx_cv_func__isinf_use=yes
38507 else
38508 glibcxx_cv_func__isinf_use=no
38510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38511 ac_ext=c
38512 ac_cpp='$CPP $CPPFLAGS'
38513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
38522 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
38524 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
38525 for ac_func in _isinf
38526 do :
38527 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
38528 if test "x$ac_cv_func__isinf" = x""yes; then :
38529 cat >>confdefs.h <<_ACEOF
38530 #define HAVE__ISINF 1
38531 _ACEOF
38534 done
38543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
38544 $as_echo_n "checking for isnan declaration... " >&6; }
38545 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
38546 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
38547 $as_echo_n "(cached) " >&6
38548 else
38551 ac_ext=cpp
38552 ac_cpp='$CXXCPP $CPPFLAGS'
38553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38558 /* end confdefs.h. */
38559 #include <math.h>
38560 #ifdef HAVE_IEEEFP_H
38561 #include <ieeefp.h>
38562 #endif
38565 main ()
38567 isnan(0);
38569 return 0;
38571 _ACEOF
38572 if ac_fn_cxx_try_compile "$LINENO"; then :
38573 glibcxx_cv_func_isnan_use=yes
38574 else
38575 glibcxx_cv_func_isnan_use=no
38577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38578 ac_ext=c
38579 ac_cpp='$CPP $CPPFLAGS'
38580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
38589 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
38591 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
38592 for ac_func in isnan
38593 do :
38594 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
38595 if test "x$ac_cv_func_isnan" = x""yes; then :
38596 cat >>confdefs.h <<_ACEOF
38597 #define HAVE_ISNAN 1
38598 _ACEOF
38601 done
38603 else
38605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
38606 $as_echo_n "checking for _isnan declaration... " >&6; }
38607 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
38608 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
38609 $as_echo_n "(cached) " >&6
38610 else
38613 ac_ext=cpp
38614 ac_cpp='$CXXCPP $CPPFLAGS'
38615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38620 /* end confdefs.h. */
38621 #include <math.h>
38622 #ifdef HAVE_IEEEFP_H
38623 #include <ieeefp.h>
38624 #endif
38627 main ()
38629 _isnan(0);
38631 return 0;
38633 _ACEOF
38634 if ac_fn_cxx_try_compile "$LINENO"; then :
38635 glibcxx_cv_func__isnan_use=yes
38636 else
38637 glibcxx_cv_func__isnan_use=no
38639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38640 ac_ext=c
38641 ac_cpp='$CPP $CPPFLAGS'
38642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
38651 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
38653 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
38654 for ac_func in _isnan
38655 do :
38656 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
38657 if test "x$ac_cv_func__isnan" = x""yes; then :
38658 cat >>confdefs.h <<_ACEOF
38659 #define HAVE__ISNAN 1
38660 _ACEOF
38663 done
38672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
38673 $as_echo_n "checking for finite declaration... " >&6; }
38674 if test x${glibcxx_cv_func_finite_use+set} != xset; then
38675 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
38676 $as_echo_n "(cached) " >&6
38677 else
38680 ac_ext=cpp
38681 ac_cpp='$CXXCPP $CPPFLAGS'
38682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38687 /* end confdefs.h. */
38688 #include <math.h>
38689 #ifdef HAVE_IEEEFP_H
38690 #include <ieeefp.h>
38691 #endif
38694 main ()
38696 finite(0);
38698 return 0;
38700 _ACEOF
38701 if ac_fn_cxx_try_compile "$LINENO"; then :
38702 glibcxx_cv_func_finite_use=yes
38703 else
38704 glibcxx_cv_func_finite_use=no
38706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38707 ac_ext=c
38708 ac_cpp='$CPP $CPPFLAGS'
38709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
38718 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
38720 if test x$glibcxx_cv_func_finite_use = x"yes"; then
38721 for ac_func in finite
38722 do :
38723 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
38724 if test "x$ac_cv_func_finite" = x""yes; then :
38725 cat >>confdefs.h <<_ACEOF
38726 #define HAVE_FINITE 1
38727 _ACEOF
38730 done
38732 else
38734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
38735 $as_echo_n "checking for _finite declaration... " >&6; }
38736 if test x${glibcxx_cv_func__finite_use+set} != xset; then
38737 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
38738 $as_echo_n "(cached) " >&6
38739 else
38742 ac_ext=cpp
38743 ac_cpp='$CXXCPP $CPPFLAGS'
38744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38749 /* end confdefs.h. */
38750 #include <math.h>
38751 #ifdef HAVE_IEEEFP_H
38752 #include <ieeefp.h>
38753 #endif
38756 main ()
38758 _finite(0);
38760 return 0;
38762 _ACEOF
38763 if ac_fn_cxx_try_compile "$LINENO"; then :
38764 glibcxx_cv_func__finite_use=yes
38765 else
38766 glibcxx_cv_func__finite_use=no
38768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38769 ac_ext=c
38770 ac_cpp='$CPP $CPPFLAGS'
38771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
38780 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
38782 if test x$glibcxx_cv_func__finite_use = x"yes"; then
38783 for ac_func in _finite
38784 do :
38785 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
38786 if test "x$ac_cv_func__finite" = x""yes; then :
38787 cat >>confdefs.h <<_ACEOF
38788 #define HAVE__FINITE 1
38789 _ACEOF
38792 done
38801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
38802 $as_echo_n "checking for sincos declaration... " >&6; }
38803 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
38804 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
38805 $as_echo_n "(cached) " >&6
38806 else
38809 ac_ext=cpp
38810 ac_cpp='$CXXCPP $CPPFLAGS'
38811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38816 /* end confdefs.h. */
38817 #include <math.h>
38819 main ()
38821 sincos(0, 0, 0);
38823 return 0;
38825 _ACEOF
38826 if ac_fn_cxx_try_compile "$LINENO"; then :
38827 glibcxx_cv_func_sincos_use=yes
38828 else
38829 glibcxx_cv_func_sincos_use=no
38831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38832 ac_ext=c
38833 ac_cpp='$CPP $CPPFLAGS'
38834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
38843 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
38845 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
38846 for ac_func in sincos
38847 do :
38848 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
38849 if test "x$ac_cv_func_sincos" = x""yes; then :
38850 cat >>confdefs.h <<_ACEOF
38851 #define HAVE_SINCOS 1
38852 _ACEOF
38855 done
38857 else
38859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
38860 $as_echo_n "checking for _sincos declaration... " >&6; }
38861 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
38862 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
38863 $as_echo_n "(cached) " >&6
38864 else
38867 ac_ext=cpp
38868 ac_cpp='$CXXCPP $CPPFLAGS'
38869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38874 /* end confdefs.h. */
38875 #include <math.h>
38877 main ()
38879 _sincos(0, 0, 0);
38881 return 0;
38883 _ACEOF
38884 if ac_fn_cxx_try_compile "$LINENO"; then :
38885 glibcxx_cv_func__sincos_use=yes
38886 else
38887 glibcxx_cv_func__sincos_use=no
38889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38890 ac_ext=c
38891 ac_cpp='$CPP $CPPFLAGS'
38892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
38901 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
38903 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
38904 for ac_func in _sincos
38905 do :
38906 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
38907 if test "x$ac_cv_func__sincos" = x""yes; then :
38908 cat >>confdefs.h <<_ACEOF
38909 #define HAVE__SINCOS 1
38910 _ACEOF
38913 done
38922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
38923 $as_echo_n "checking for fpclass declaration... " >&6; }
38924 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
38925 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
38926 $as_echo_n "(cached) " >&6
38927 else
38930 ac_ext=cpp
38931 ac_cpp='$CXXCPP $CPPFLAGS'
38932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38937 /* end confdefs.h. */
38938 #include <math.h>
38939 #ifdef HAVE_IEEEFP_H
38940 #include <ieeefp.h>
38941 #endif
38944 main ()
38946 fpclass(0);
38948 return 0;
38950 _ACEOF
38951 if ac_fn_cxx_try_compile "$LINENO"; then :
38952 glibcxx_cv_func_fpclass_use=yes
38953 else
38954 glibcxx_cv_func_fpclass_use=no
38956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38957 ac_ext=c
38958 ac_cpp='$CPP $CPPFLAGS'
38959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
38968 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
38970 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
38971 for ac_func in fpclass
38972 do :
38973 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
38974 if test "x$ac_cv_func_fpclass" = x""yes; then :
38975 cat >>confdefs.h <<_ACEOF
38976 #define HAVE_FPCLASS 1
38977 _ACEOF
38980 done
38982 else
38984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
38985 $as_echo_n "checking for _fpclass declaration... " >&6; }
38986 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
38987 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
38988 $as_echo_n "(cached) " >&6
38989 else
38992 ac_ext=cpp
38993 ac_cpp='$CXXCPP $CPPFLAGS'
38994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38999 /* end confdefs.h. */
39000 #include <math.h>
39001 #ifdef HAVE_IEEEFP_H
39002 #include <ieeefp.h>
39003 #endif
39006 main ()
39008 _fpclass(0);
39010 return 0;
39012 _ACEOF
39013 if ac_fn_cxx_try_compile "$LINENO"; then :
39014 glibcxx_cv_func__fpclass_use=yes
39015 else
39016 glibcxx_cv_func__fpclass_use=no
39018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39019 ac_ext=c
39020 ac_cpp='$CPP $CPPFLAGS'
39021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
39030 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
39032 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
39033 for ac_func in _fpclass
39034 do :
39035 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
39036 if test "x$ac_cv_func__fpclass" = x""yes; then :
39037 cat >>confdefs.h <<_ACEOF
39038 #define HAVE__FPCLASS 1
39039 _ACEOF
39042 done
39051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
39052 $as_echo_n "checking for qfpclass declaration... " >&6; }
39053 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
39054 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
39055 $as_echo_n "(cached) " >&6
39056 else
39059 ac_ext=cpp
39060 ac_cpp='$CXXCPP $CPPFLAGS'
39061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39066 /* end confdefs.h. */
39067 #include <math.h>
39068 #ifdef HAVE_IEEEFP_H
39069 #include <ieeefp.h>
39070 #endif
39073 main ()
39075 qfpclass(0);
39077 return 0;
39079 _ACEOF
39080 if ac_fn_cxx_try_compile "$LINENO"; then :
39081 glibcxx_cv_func_qfpclass_use=yes
39082 else
39083 glibcxx_cv_func_qfpclass_use=no
39085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39086 ac_ext=c
39087 ac_cpp='$CPP $CPPFLAGS'
39088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39097 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39099 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39100 for ac_func in qfpclass
39101 do :
39102 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39103 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39104 cat >>confdefs.h <<_ACEOF
39105 #define HAVE_QFPCLASS 1
39106 _ACEOF
39109 done
39111 else
39113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39114 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39115 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39116 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39117 $as_echo_n "(cached) " >&6
39118 else
39121 ac_ext=cpp
39122 ac_cpp='$CXXCPP $CPPFLAGS'
39123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39128 /* end confdefs.h. */
39129 #include <math.h>
39130 #ifdef HAVE_IEEEFP_H
39131 #include <ieeefp.h>
39132 #endif
39135 main ()
39137 _qfpclass(0);
39139 return 0;
39141 _ACEOF
39142 if ac_fn_cxx_try_compile "$LINENO"; then :
39143 glibcxx_cv_func__qfpclass_use=yes
39144 else
39145 glibcxx_cv_func__qfpclass_use=no
39147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39148 ac_ext=c
39149 ac_cpp='$CPP $CPPFLAGS'
39150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39159 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39161 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39162 for ac_func in _qfpclass
39163 do :
39164 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39165 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39166 cat >>confdefs.h <<_ACEOF
39167 #define HAVE__QFPCLASS 1
39168 _ACEOF
39171 done
39180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39181 $as_echo_n "checking for hypot declaration... " >&6; }
39182 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39183 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39184 $as_echo_n "(cached) " >&6
39185 else
39188 ac_ext=cpp
39189 ac_cpp='$CXXCPP $CPPFLAGS'
39190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39195 /* end confdefs.h. */
39196 #include <math.h>
39198 main ()
39200 hypot(0, 0);
39202 return 0;
39204 _ACEOF
39205 if ac_fn_cxx_try_compile "$LINENO"; then :
39206 glibcxx_cv_func_hypot_use=yes
39207 else
39208 glibcxx_cv_func_hypot_use=no
39210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39211 ac_ext=c
39212 ac_cpp='$CPP $CPPFLAGS'
39213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
39222 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
39224 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
39225 for ac_func in hypot
39226 do :
39227 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
39228 if test "x$ac_cv_func_hypot" = x""yes; then :
39229 cat >>confdefs.h <<_ACEOF
39230 #define HAVE_HYPOT 1
39231 _ACEOF
39234 done
39236 else
39238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
39239 $as_echo_n "checking for _hypot declaration... " >&6; }
39240 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
39241 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
39242 $as_echo_n "(cached) " >&6
39243 else
39246 ac_ext=cpp
39247 ac_cpp='$CXXCPP $CPPFLAGS'
39248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39253 /* end confdefs.h. */
39254 #include <math.h>
39256 main ()
39258 _hypot(0, 0);
39260 return 0;
39262 _ACEOF
39263 if ac_fn_cxx_try_compile "$LINENO"; then :
39264 glibcxx_cv_func__hypot_use=yes
39265 else
39266 glibcxx_cv_func__hypot_use=no
39268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39269 ac_ext=c
39270 ac_cpp='$CPP $CPPFLAGS'
39271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
39280 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
39282 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
39283 for ac_func in _hypot
39284 do :
39285 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
39286 if test "x$ac_cv_func__hypot" = x""yes; then :
39287 cat >>confdefs.h <<_ACEOF
39288 #define HAVE__HYPOT 1
39289 _ACEOF
39292 done
39301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
39302 $as_echo_n "checking for float trig functions... " >&6; }
39303 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
39304 $as_echo_n "(cached) " >&6
39305 else
39308 ac_ext=cpp
39309 ac_cpp='$CXXCPP $CPPFLAGS'
39310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39315 /* end confdefs.h. */
39316 #include <math.h>
39318 main ()
39320 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
39322 return 0;
39324 _ACEOF
39325 if ac_fn_cxx_try_compile "$LINENO"; then :
39326 glibcxx_cv_func_float_trig_use=yes
39327 else
39328 glibcxx_cv_func_float_trig_use=no
39330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39331 ac_ext=c
39332 ac_cpp='$CPP $CPPFLAGS'
39333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
39340 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
39341 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
39342 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
39343 do :
39344 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39345 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39346 eval as_val=\$$as_ac_var
39347 if test "x$as_val" = x""yes; then :
39348 cat >>confdefs.h <<_ACEOF
39349 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39350 _ACEOF
39353 done
39355 else
39356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
39357 $as_echo_n "checking for _float trig functions... " >&6; }
39358 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
39359 $as_echo_n "(cached) " >&6
39360 else
39363 ac_ext=cpp
39364 ac_cpp='$CXXCPP $CPPFLAGS'
39365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39370 /* end confdefs.h. */
39371 #include <math.h>
39373 main ()
39375 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
39377 return 0;
39379 _ACEOF
39380 if ac_fn_cxx_try_compile "$LINENO"; then :
39381 glibcxx_cv_func__float_trig_use=yes
39382 else
39383 glibcxx_cv_func__float_trig_use=no
39385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39386 ac_ext=c
39387 ac_cpp='$CPP $CPPFLAGS'
39388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
39395 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
39396 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
39397 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
39398 do :
39399 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39400 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39401 eval as_val=\$$as_ac_var
39402 if test "x$as_val" = x""yes; then :
39403 cat >>confdefs.h <<_ACEOF
39404 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39405 _ACEOF
39408 done
39417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
39418 $as_echo_n "checking for float round functions... " >&6; }
39419 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
39420 $as_echo_n "(cached) " >&6
39421 else
39424 ac_ext=cpp
39425 ac_cpp='$CXXCPP $CPPFLAGS'
39426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39431 /* end confdefs.h. */
39432 #include <math.h>
39434 main ()
39436 ceilf (0); floorf (0);
39438 return 0;
39440 _ACEOF
39441 if ac_fn_cxx_try_compile "$LINENO"; then :
39442 glibcxx_cv_func_float_round_use=yes
39443 else
39444 glibcxx_cv_func_float_round_use=no
39446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39447 ac_ext=c
39448 ac_cpp='$CPP $CPPFLAGS'
39449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
39456 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
39457 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
39458 for ac_func in ceilf floorf
39459 do :
39460 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39461 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39462 eval as_val=\$$as_ac_var
39463 if test "x$as_val" = x""yes; then :
39464 cat >>confdefs.h <<_ACEOF
39465 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39466 _ACEOF
39469 done
39471 else
39472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
39473 $as_echo_n "checking for _float round functions... " >&6; }
39474 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
39475 $as_echo_n "(cached) " >&6
39476 else
39479 ac_ext=cpp
39480 ac_cpp='$CXXCPP $CPPFLAGS'
39481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39486 /* end confdefs.h. */
39487 #include <math.h>
39489 main ()
39491 _ceilf (0); _floorf (0);
39493 return 0;
39495 _ACEOF
39496 if ac_fn_cxx_try_compile "$LINENO"; then :
39497 glibcxx_cv_func__float_round_use=yes
39498 else
39499 glibcxx_cv_func__float_round_use=no
39501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39502 ac_ext=c
39503 ac_cpp='$CPP $CPPFLAGS'
39504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
39511 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
39512 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
39513 for ac_func in _ceilf _floorf
39514 do :
39515 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39516 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39517 eval as_val=\$$as_ac_var
39518 if test "x$as_val" = x""yes; then :
39519 cat >>confdefs.h <<_ACEOF
39520 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39521 _ACEOF
39524 done
39534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
39535 $as_echo_n "checking for expf declaration... " >&6; }
39536 if test x${glibcxx_cv_func_expf_use+set} != xset; then
39537 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
39538 $as_echo_n "(cached) " >&6
39539 else
39542 ac_ext=cpp
39543 ac_cpp='$CXXCPP $CPPFLAGS'
39544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39549 /* end confdefs.h. */
39550 #include <math.h>
39551 #ifdef HAVE_IEEEFP_H
39552 #include <ieeefp.h>
39553 #endif
39556 main ()
39558 expf(0);
39560 return 0;
39562 _ACEOF
39563 if ac_fn_cxx_try_compile "$LINENO"; then :
39564 glibcxx_cv_func_expf_use=yes
39565 else
39566 glibcxx_cv_func_expf_use=no
39568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39569 ac_ext=c
39570 ac_cpp='$CPP $CPPFLAGS'
39571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
39580 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
39582 if test x$glibcxx_cv_func_expf_use = x"yes"; then
39583 for ac_func in expf
39584 do :
39585 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
39586 if test "x$ac_cv_func_expf" = x""yes; then :
39587 cat >>confdefs.h <<_ACEOF
39588 #define HAVE_EXPF 1
39589 _ACEOF
39592 done
39594 else
39596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
39597 $as_echo_n "checking for _expf declaration... " >&6; }
39598 if test x${glibcxx_cv_func__expf_use+set} != xset; then
39599 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
39600 $as_echo_n "(cached) " >&6
39601 else
39604 ac_ext=cpp
39605 ac_cpp='$CXXCPP $CPPFLAGS'
39606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39611 /* end confdefs.h. */
39612 #include <math.h>
39613 #ifdef HAVE_IEEEFP_H
39614 #include <ieeefp.h>
39615 #endif
39618 main ()
39620 _expf(0);
39622 return 0;
39624 _ACEOF
39625 if ac_fn_cxx_try_compile "$LINENO"; then :
39626 glibcxx_cv_func__expf_use=yes
39627 else
39628 glibcxx_cv_func__expf_use=no
39630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39631 ac_ext=c
39632 ac_cpp='$CPP $CPPFLAGS'
39633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
39642 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
39644 if test x$glibcxx_cv_func__expf_use = x"yes"; then
39645 for ac_func in _expf
39646 do :
39647 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
39648 if test "x$ac_cv_func__expf" = x""yes; then :
39649 cat >>confdefs.h <<_ACEOF
39650 #define HAVE__EXPF 1
39651 _ACEOF
39654 done
39663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
39664 $as_echo_n "checking for isnanf declaration... " >&6; }
39665 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
39666 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
39667 $as_echo_n "(cached) " >&6
39668 else
39671 ac_ext=cpp
39672 ac_cpp='$CXXCPP $CPPFLAGS'
39673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39678 /* end confdefs.h. */
39679 #include <math.h>
39680 #ifdef HAVE_IEEEFP_H
39681 #include <ieeefp.h>
39682 #endif
39685 main ()
39687 isnanf(0);
39689 return 0;
39691 _ACEOF
39692 if ac_fn_cxx_try_compile "$LINENO"; then :
39693 glibcxx_cv_func_isnanf_use=yes
39694 else
39695 glibcxx_cv_func_isnanf_use=no
39697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39698 ac_ext=c
39699 ac_cpp='$CPP $CPPFLAGS'
39700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
39709 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
39711 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
39712 for ac_func in isnanf
39713 do :
39714 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
39715 if test "x$ac_cv_func_isnanf" = x""yes; then :
39716 cat >>confdefs.h <<_ACEOF
39717 #define HAVE_ISNANF 1
39718 _ACEOF
39721 done
39723 else
39725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
39726 $as_echo_n "checking for _isnanf declaration... " >&6; }
39727 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
39728 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
39729 $as_echo_n "(cached) " >&6
39730 else
39733 ac_ext=cpp
39734 ac_cpp='$CXXCPP $CPPFLAGS'
39735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39740 /* end confdefs.h. */
39741 #include <math.h>
39742 #ifdef HAVE_IEEEFP_H
39743 #include <ieeefp.h>
39744 #endif
39747 main ()
39749 _isnanf(0);
39751 return 0;
39753 _ACEOF
39754 if ac_fn_cxx_try_compile "$LINENO"; then :
39755 glibcxx_cv_func__isnanf_use=yes
39756 else
39757 glibcxx_cv_func__isnanf_use=no
39759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39760 ac_ext=c
39761 ac_cpp='$CPP $CPPFLAGS'
39762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
39771 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
39773 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
39774 for ac_func in _isnanf
39775 do :
39776 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
39777 if test "x$ac_cv_func__isnanf" = x""yes; then :
39778 cat >>confdefs.h <<_ACEOF
39779 #define HAVE__ISNANF 1
39780 _ACEOF
39783 done
39792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
39793 $as_echo_n "checking for isinff declaration... " >&6; }
39794 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
39795 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
39796 $as_echo_n "(cached) " >&6
39797 else
39800 ac_ext=cpp
39801 ac_cpp='$CXXCPP $CPPFLAGS'
39802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39807 /* end confdefs.h. */
39808 #include <math.h>
39809 #ifdef HAVE_IEEEFP_H
39810 #include <ieeefp.h>
39811 #endif
39814 main ()
39816 isinff(0);
39818 return 0;
39820 _ACEOF
39821 if ac_fn_cxx_try_compile "$LINENO"; then :
39822 glibcxx_cv_func_isinff_use=yes
39823 else
39824 glibcxx_cv_func_isinff_use=no
39826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39827 ac_ext=c
39828 ac_cpp='$CPP $CPPFLAGS'
39829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
39838 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
39840 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
39841 for ac_func in isinff
39842 do :
39843 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
39844 if test "x$ac_cv_func_isinff" = x""yes; then :
39845 cat >>confdefs.h <<_ACEOF
39846 #define HAVE_ISINFF 1
39847 _ACEOF
39850 done
39852 else
39854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
39855 $as_echo_n "checking for _isinff declaration... " >&6; }
39856 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
39857 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
39858 $as_echo_n "(cached) " >&6
39859 else
39862 ac_ext=cpp
39863 ac_cpp='$CXXCPP $CPPFLAGS'
39864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39869 /* end confdefs.h. */
39870 #include <math.h>
39871 #ifdef HAVE_IEEEFP_H
39872 #include <ieeefp.h>
39873 #endif
39876 main ()
39878 _isinff(0);
39880 return 0;
39882 _ACEOF
39883 if ac_fn_cxx_try_compile "$LINENO"; then :
39884 glibcxx_cv_func__isinff_use=yes
39885 else
39886 glibcxx_cv_func__isinff_use=no
39888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39889 ac_ext=c
39890 ac_cpp='$CPP $CPPFLAGS'
39891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
39900 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
39902 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
39903 for ac_func in _isinff
39904 do :
39905 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
39906 if test "x$ac_cv_func__isinff" = x""yes; then :
39907 cat >>confdefs.h <<_ACEOF
39908 #define HAVE__ISINFF 1
39909 _ACEOF
39912 done
39921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
39922 $as_echo_n "checking for atan2f declaration... " >&6; }
39923 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
39924 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
39925 $as_echo_n "(cached) " >&6
39926 else
39929 ac_ext=cpp
39930 ac_cpp='$CXXCPP $CPPFLAGS'
39931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39936 /* end confdefs.h. */
39937 #include <math.h>
39939 main ()
39941 atan2f(0, 0);
39943 return 0;
39945 _ACEOF
39946 if ac_fn_cxx_try_compile "$LINENO"; then :
39947 glibcxx_cv_func_atan2f_use=yes
39948 else
39949 glibcxx_cv_func_atan2f_use=no
39951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39952 ac_ext=c
39953 ac_cpp='$CPP $CPPFLAGS'
39954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
39963 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
39965 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
39966 for ac_func in atan2f
39967 do :
39968 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
39969 if test "x$ac_cv_func_atan2f" = x""yes; then :
39970 cat >>confdefs.h <<_ACEOF
39971 #define HAVE_ATAN2F 1
39972 _ACEOF
39975 done
39977 else
39979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
39980 $as_echo_n "checking for _atan2f declaration... " >&6; }
39981 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
39982 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
39983 $as_echo_n "(cached) " >&6
39984 else
39987 ac_ext=cpp
39988 ac_cpp='$CXXCPP $CPPFLAGS'
39989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39994 /* end confdefs.h. */
39995 #include <math.h>
39997 main ()
39999 _atan2f(0, 0);
40001 return 0;
40003 _ACEOF
40004 if ac_fn_cxx_try_compile "$LINENO"; then :
40005 glibcxx_cv_func__atan2f_use=yes
40006 else
40007 glibcxx_cv_func__atan2f_use=no
40009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40010 ac_ext=c
40011 ac_cpp='$CPP $CPPFLAGS'
40012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
40021 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
40023 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
40024 for ac_func in _atan2f
40025 do :
40026 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
40027 if test "x$ac_cv_func__atan2f" = x""yes; then :
40028 cat >>confdefs.h <<_ACEOF
40029 #define HAVE__ATAN2F 1
40030 _ACEOF
40033 done
40042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
40043 $as_echo_n "checking for fabsf declaration... " >&6; }
40044 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
40045 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
40046 $as_echo_n "(cached) " >&6
40047 else
40050 ac_ext=cpp
40051 ac_cpp='$CXXCPP $CPPFLAGS'
40052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40057 /* end confdefs.h. */
40058 #include <math.h>
40059 #ifdef HAVE_IEEEFP_H
40060 #include <ieeefp.h>
40061 #endif
40064 main ()
40066 fabsf(0);
40068 return 0;
40070 _ACEOF
40071 if ac_fn_cxx_try_compile "$LINENO"; then :
40072 glibcxx_cv_func_fabsf_use=yes
40073 else
40074 glibcxx_cv_func_fabsf_use=no
40076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40077 ac_ext=c
40078 ac_cpp='$CPP $CPPFLAGS'
40079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40088 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40090 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40091 for ac_func in fabsf
40092 do :
40093 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40094 if test "x$ac_cv_func_fabsf" = x""yes; then :
40095 cat >>confdefs.h <<_ACEOF
40096 #define HAVE_FABSF 1
40097 _ACEOF
40100 done
40102 else
40104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40105 $as_echo_n "checking for _fabsf declaration... " >&6; }
40106 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40107 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40108 $as_echo_n "(cached) " >&6
40109 else
40112 ac_ext=cpp
40113 ac_cpp='$CXXCPP $CPPFLAGS'
40114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40119 /* end confdefs.h. */
40120 #include <math.h>
40121 #ifdef HAVE_IEEEFP_H
40122 #include <ieeefp.h>
40123 #endif
40126 main ()
40128 _fabsf(0);
40130 return 0;
40132 _ACEOF
40133 if ac_fn_cxx_try_compile "$LINENO"; then :
40134 glibcxx_cv_func__fabsf_use=yes
40135 else
40136 glibcxx_cv_func__fabsf_use=no
40138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40139 ac_ext=c
40140 ac_cpp='$CPP $CPPFLAGS'
40141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40150 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40152 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40153 for ac_func in _fabsf
40154 do :
40155 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40156 if test "x$ac_cv_func__fabsf" = x""yes; then :
40157 cat >>confdefs.h <<_ACEOF
40158 #define HAVE__FABSF 1
40159 _ACEOF
40162 done
40171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40172 $as_echo_n "checking for fmodf declaration... " >&6; }
40173 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40174 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40175 $as_echo_n "(cached) " >&6
40176 else
40179 ac_ext=cpp
40180 ac_cpp='$CXXCPP $CPPFLAGS'
40181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40186 /* end confdefs.h. */
40187 #include <math.h>
40189 main ()
40191 fmodf(0, 0);
40193 return 0;
40195 _ACEOF
40196 if ac_fn_cxx_try_compile "$LINENO"; then :
40197 glibcxx_cv_func_fmodf_use=yes
40198 else
40199 glibcxx_cv_func_fmodf_use=no
40201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40202 ac_ext=c
40203 ac_cpp='$CPP $CPPFLAGS'
40204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
40213 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40215 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40216 for ac_func in fmodf
40217 do :
40218 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40219 if test "x$ac_cv_func_fmodf" = x""yes; then :
40220 cat >>confdefs.h <<_ACEOF
40221 #define HAVE_FMODF 1
40222 _ACEOF
40225 done
40227 else
40229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
40230 $as_echo_n "checking for _fmodf declaration... " >&6; }
40231 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
40232 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
40233 $as_echo_n "(cached) " >&6
40234 else
40237 ac_ext=cpp
40238 ac_cpp='$CXXCPP $CPPFLAGS'
40239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40244 /* end confdefs.h. */
40245 #include <math.h>
40247 main ()
40249 _fmodf(0, 0);
40251 return 0;
40253 _ACEOF
40254 if ac_fn_cxx_try_compile "$LINENO"; then :
40255 glibcxx_cv_func__fmodf_use=yes
40256 else
40257 glibcxx_cv_func__fmodf_use=no
40259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40260 ac_ext=c
40261 ac_cpp='$CPP $CPPFLAGS'
40262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
40271 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
40273 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
40274 for ac_func in _fmodf
40275 do :
40276 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
40277 if test "x$ac_cv_func__fmodf" = x""yes; then :
40278 cat >>confdefs.h <<_ACEOF
40279 #define HAVE__FMODF 1
40280 _ACEOF
40283 done
40292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
40293 $as_echo_n "checking for frexpf declaration... " >&6; }
40294 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
40295 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
40296 $as_echo_n "(cached) " >&6
40297 else
40300 ac_ext=cpp
40301 ac_cpp='$CXXCPP $CPPFLAGS'
40302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40307 /* end confdefs.h. */
40308 #include <math.h>
40310 main ()
40312 frexpf(0, 0);
40314 return 0;
40316 _ACEOF
40317 if ac_fn_cxx_try_compile "$LINENO"; then :
40318 glibcxx_cv_func_frexpf_use=yes
40319 else
40320 glibcxx_cv_func_frexpf_use=no
40322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40323 ac_ext=c
40324 ac_cpp='$CPP $CPPFLAGS'
40325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
40334 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
40336 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
40337 for ac_func in frexpf
40338 do :
40339 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
40340 if test "x$ac_cv_func_frexpf" = x""yes; then :
40341 cat >>confdefs.h <<_ACEOF
40342 #define HAVE_FREXPF 1
40343 _ACEOF
40346 done
40348 else
40350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
40351 $as_echo_n "checking for _frexpf declaration... " >&6; }
40352 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
40353 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
40354 $as_echo_n "(cached) " >&6
40355 else
40358 ac_ext=cpp
40359 ac_cpp='$CXXCPP $CPPFLAGS'
40360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40365 /* end confdefs.h. */
40366 #include <math.h>
40368 main ()
40370 _frexpf(0, 0);
40372 return 0;
40374 _ACEOF
40375 if ac_fn_cxx_try_compile "$LINENO"; then :
40376 glibcxx_cv_func__frexpf_use=yes
40377 else
40378 glibcxx_cv_func__frexpf_use=no
40380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40381 ac_ext=c
40382 ac_cpp='$CPP $CPPFLAGS'
40383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
40392 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
40394 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
40395 for ac_func in _frexpf
40396 do :
40397 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
40398 if test "x$ac_cv_func__frexpf" = x""yes; then :
40399 cat >>confdefs.h <<_ACEOF
40400 #define HAVE__FREXPF 1
40401 _ACEOF
40404 done
40413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
40414 $as_echo_n "checking for hypotf declaration... " >&6; }
40415 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
40416 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
40417 $as_echo_n "(cached) " >&6
40418 else
40421 ac_ext=cpp
40422 ac_cpp='$CXXCPP $CPPFLAGS'
40423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40428 /* end confdefs.h. */
40429 #include <math.h>
40431 main ()
40433 hypotf(0, 0);
40435 return 0;
40437 _ACEOF
40438 if ac_fn_cxx_try_compile "$LINENO"; then :
40439 glibcxx_cv_func_hypotf_use=yes
40440 else
40441 glibcxx_cv_func_hypotf_use=no
40443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40444 ac_ext=c
40445 ac_cpp='$CPP $CPPFLAGS'
40446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
40455 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
40457 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
40458 for ac_func in hypotf
40459 do :
40460 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
40461 if test "x$ac_cv_func_hypotf" = x""yes; then :
40462 cat >>confdefs.h <<_ACEOF
40463 #define HAVE_HYPOTF 1
40464 _ACEOF
40467 done
40469 else
40471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
40472 $as_echo_n "checking for _hypotf declaration... " >&6; }
40473 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
40474 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
40475 $as_echo_n "(cached) " >&6
40476 else
40479 ac_ext=cpp
40480 ac_cpp='$CXXCPP $CPPFLAGS'
40481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40486 /* end confdefs.h. */
40487 #include <math.h>
40489 main ()
40491 _hypotf(0, 0);
40493 return 0;
40495 _ACEOF
40496 if ac_fn_cxx_try_compile "$LINENO"; then :
40497 glibcxx_cv_func__hypotf_use=yes
40498 else
40499 glibcxx_cv_func__hypotf_use=no
40501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40502 ac_ext=c
40503 ac_cpp='$CPP $CPPFLAGS'
40504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
40513 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
40515 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
40516 for ac_func in _hypotf
40517 do :
40518 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
40519 if test "x$ac_cv_func__hypotf" = x""yes; then :
40520 cat >>confdefs.h <<_ACEOF
40521 #define HAVE__HYPOTF 1
40522 _ACEOF
40525 done
40534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
40535 $as_echo_n "checking for ldexpf declaration... " >&6; }
40536 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
40537 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
40538 $as_echo_n "(cached) " >&6
40539 else
40542 ac_ext=cpp
40543 ac_cpp='$CXXCPP $CPPFLAGS'
40544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40549 /* end confdefs.h. */
40550 #include <math.h>
40552 main ()
40554 ldexpf(0, 0);
40556 return 0;
40558 _ACEOF
40559 if ac_fn_cxx_try_compile "$LINENO"; then :
40560 glibcxx_cv_func_ldexpf_use=yes
40561 else
40562 glibcxx_cv_func_ldexpf_use=no
40564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40565 ac_ext=c
40566 ac_cpp='$CPP $CPPFLAGS'
40567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
40576 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
40578 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
40579 for ac_func in ldexpf
40580 do :
40581 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
40582 if test "x$ac_cv_func_ldexpf" = x""yes; then :
40583 cat >>confdefs.h <<_ACEOF
40584 #define HAVE_LDEXPF 1
40585 _ACEOF
40588 done
40590 else
40592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
40593 $as_echo_n "checking for _ldexpf declaration... " >&6; }
40594 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
40595 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
40596 $as_echo_n "(cached) " >&6
40597 else
40600 ac_ext=cpp
40601 ac_cpp='$CXXCPP $CPPFLAGS'
40602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40607 /* end confdefs.h. */
40608 #include <math.h>
40610 main ()
40612 _ldexpf(0, 0);
40614 return 0;
40616 _ACEOF
40617 if ac_fn_cxx_try_compile "$LINENO"; then :
40618 glibcxx_cv_func__ldexpf_use=yes
40619 else
40620 glibcxx_cv_func__ldexpf_use=no
40622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40623 ac_ext=c
40624 ac_cpp='$CPP $CPPFLAGS'
40625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
40634 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
40636 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
40637 for ac_func in _ldexpf
40638 do :
40639 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
40640 if test "x$ac_cv_func__ldexpf" = x""yes; then :
40641 cat >>confdefs.h <<_ACEOF
40642 #define HAVE__LDEXPF 1
40643 _ACEOF
40646 done
40655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
40656 $as_echo_n "checking for logf declaration... " >&6; }
40657 if test x${glibcxx_cv_func_logf_use+set} != xset; then
40658 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
40659 $as_echo_n "(cached) " >&6
40660 else
40663 ac_ext=cpp
40664 ac_cpp='$CXXCPP $CPPFLAGS'
40665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40670 /* end confdefs.h. */
40671 #include <math.h>
40672 #ifdef HAVE_IEEEFP_H
40673 #include <ieeefp.h>
40674 #endif
40677 main ()
40679 logf(0);
40681 return 0;
40683 _ACEOF
40684 if ac_fn_cxx_try_compile "$LINENO"; then :
40685 glibcxx_cv_func_logf_use=yes
40686 else
40687 glibcxx_cv_func_logf_use=no
40689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40690 ac_ext=c
40691 ac_cpp='$CPP $CPPFLAGS'
40692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
40701 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
40703 if test x$glibcxx_cv_func_logf_use = x"yes"; then
40704 for ac_func in logf
40705 do :
40706 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
40707 if test "x$ac_cv_func_logf" = x""yes; then :
40708 cat >>confdefs.h <<_ACEOF
40709 #define HAVE_LOGF 1
40710 _ACEOF
40713 done
40715 else
40717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
40718 $as_echo_n "checking for _logf declaration... " >&6; }
40719 if test x${glibcxx_cv_func__logf_use+set} != xset; then
40720 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
40721 $as_echo_n "(cached) " >&6
40722 else
40725 ac_ext=cpp
40726 ac_cpp='$CXXCPP $CPPFLAGS'
40727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40732 /* end confdefs.h. */
40733 #include <math.h>
40734 #ifdef HAVE_IEEEFP_H
40735 #include <ieeefp.h>
40736 #endif
40739 main ()
40741 _logf(0);
40743 return 0;
40745 _ACEOF
40746 if ac_fn_cxx_try_compile "$LINENO"; then :
40747 glibcxx_cv_func__logf_use=yes
40748 else
40749 glibcxx_cv_func__logf_use=no
40751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40752 ac_ext=c
40753 ac_cpp='$CPP $CPPFLAGS'
40754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
40763 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
40765 if test x$glibcxx_cv_func__logf_use = x"yes"; then
40766 for ac_func in _logf
40767 do :
40768 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
40769 if test "x$ac_cv_func__logf" = x""yes; then :
40770 cat >>confdefs.h <<_ACEOF
40771 #define HAVE__LOGF 1
40772 _ACEOF
40775 done
40784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
40785 $as_echo_n "checking for log10f declaration... " >&6; }
40786 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
40787 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
40788 $as_echo_n "(cached) " >&6
40789 else
40792 ac_ext=cpp
40793 ac_cpp='$CXXCPP $CPPFLAGS'
40794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40799 /* end confdefs.h. */
40800 #include <math.h>
40801 #ifdef HAVE_IEEEFP_H
40802 #include <ieeefp.h>
40803 #endif
40806 main ()
40808 log10f(0);
40810 return 0;
40812 _ACEOF
40813 if ac_fn_cxx_try_compile "$LINENO"; then :
40814 glibcxx_cv_func_log10f_use=yes
40815 else
40816 glibcxx_cv_func_log10f_use=no
40818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40819 ac_ext=c
40820 ac_cpp='$CPP $CPPFLAGS'
40821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
40830 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
40832 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
40833 for ac_func in log10f
40834 do :
40835 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
40836 if test "x$ac_cv_func_log10f" = x""yes; then :
40837 cat >>confdefs.h <<_ACEOF
40838 #define HAVE_LOG10F 1
40839 _ACEOF
40842 done
40844 else
40846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
40847 $as_echo_n "checking for _log10f declaration... " >&6; }
40848 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
40849 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
40850 $as_echo_n "(cached) " >&6
40851 else
40854 ac_ext=cpp
40855 ac_cpp='$CXXCPP $CPPFLAGS'
40856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40861 /* end confdefs.h. */
40862 #include <math.h>
40863 #ifdef HAVE_IEEEFP_H
40864 #include <ieeefp.h>
40865 #endif
40868 main ()
40870 _log10f(0);
40872 return 0;
40874 _ACEOF
40875 if ac_fn_cxx_try_compile "$LINENO"; then :
40876 glibcxx_cv_func__log10f_use=yes
40877 else
40878 glibcxx_cv_func__log10f_use=no
40880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40881 ac_ext=c
40882 ac_cpp='$CPP $CPPFLAGS'
40883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
40892 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
40894 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
40895 for ac_func in _log10f
40896 do :
40897 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
40898 if test "x$ac_cv_func__log10f" = x""yes; then :
40899 cat >>confdefs.h <<_ACEOF
40900 #define HAVE__LOG10F 1
40901 _ACEOF
40904 done
40913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
40914 $as_echo_n "checking for modff declaration... " >&6; }
40915 if test x${glibcxx_cv_func_modff_use+set} != xset; then
40916 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
40917 $as_echo_n "(cached) " >&6
40918 else
40921 ac_ext=cpp
40922 ac_cpp='$CXXCPP $CPPFLAGS'
40923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40928 /* end confdefs.h. */
40929 #include <math.h>
40931 main ()
40933 modff(0, 0);
40935 return 0;
40937 _ACEOF
40938 if ac_fn_cxx_try_compile "$LINENO"; then :
40939 glibcxx_cv_func_modff_use=yes
40940 else
40941 glibcxx_cv_func_modff_use=no
40943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40944 ac_ext=c
40945 ac_cpp='$CPP $CPPFLAGS'
40946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
40955 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
40957 if test x$glibcxx_cv_func_modff_use = x"yes"; then
40958 for ac_func in modff
40959 do :
40960 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
40961 if test "x$ac_cv_func_modff" = x""yes; then :
40962 cat >>confdefs.h <<_ACEOF
40963 #define HAVE_MODFF 1
40964 _ACEOF
40967 done
40969 else
40971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
40972 $as_echo_n "checking for _modff declaration... " >&6; }
40973 if test x${glibcxx_cv_func__modff_use+set} != xset; then
40974 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
40975 $as_echo_n "(cached) " >&6
40976 else
40979 ac_ext=cpp
40980 ac_cpp='$CXXCPP $CPPFLAGS'
40981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40986 /* end confdefs.h. */
40987 #include <math.h>
40989 main ()
40991 _modff(0, 0);
40993 return 0;
40995 _ACEOF
40996 if ac_fn_cxx_try_compile "$LINENO"; then :
40997 glibcxx_cv_func__modff_use=yes
40998 else
40999 glibcxx_cv_func__modff_use=no
41001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41002 ac_ext=c
41003 ac_cpp='$CPP $CPPFLAGS'
41004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
41013 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
41015 if test x$glibcxx_cv_func__modff_use = x"yes"; then
41016 for ac_func in _modff
41017 do :
41018 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
41019 if test "x$ac_cv_func__modff" = x""yes; then :
41020 cat >>confdefs.h <<_ACEOF
41021 #define HAVE__MODFF 1
41022 _ACEOF
41025 done
41034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
41035 $as_echo_n "checking for modf declaration... " >&6; }
41036 if test x${glibcxx_cv_func_modf_use+set} != xset; then
41037 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
41038 $as_echo_n "(cached) " >&6
41039 else
41042 ac_ext=cpp
41043 ac_cpp='$CXXCPP $CPPFLAGS'
41044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41049 /* end confdefs.h. */
41050 #include <math.h>
41052 main ()
41054 modf(0, 0);
41056 return 0;
41058 _ACEOF
41059 if ac_fn_cxx_try_compile "$LINENO"; then :
41060 glibcxx_cv_func_modf_use=yes
41061 else
41062 glibcxx_cv_func_modf_use=no
41064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41065 ac_ext=c
41066 ac_cpp='$CPP $CPPFLAGS'
41067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41076 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41078 if test x$glibcxx_cv_func_modf_use = x"yes"; then
41079 for ac_func in modf
41080 do :
41081 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41082 if test "x$ac_cv_func_modf" = x""yes; then :
41083 cat >>confdefs.h <<_ACEOF
41084 #define HAVE_MODF 1
41085 _ACEOF
41088 done
41090 else
41092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41093 $as_echo_n "checking for _modf declaration... " >&6; }
41094 if test x${glibcxx_cv_func__modf_use+set} != xset; then
41095 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41096 $as_echo_n "(cached) " >&6
41097 else
41100 ac_ext=cpp
41101 ac_cpp='$CXXCPP $CPPFLAGS'
41102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41107 /* end confdefs.h. */
41108 #include <math.h>
41110 main ()
41112 _modf(0, 0);
41114 return 0;
41116 _ACEOF
41117 if ac_fn_cxx_try_compile "$LINENO"; then :
41118 glibcxx_cv_func__modf_use=yes
41119 else
41120 glibcxx_cv_func__modf_use=no
41122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41123 ac_ext=c
41124 ac_cpp='$CPP $CPPFLAGS'
41125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41134 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41136 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41137 for ac_func in _modf
41138 do :
41139 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41140 if test "x$ac_cv_func__modf" = x""yes; then :
41141 cat >>confdefs.h <<_ACEOF
41142 #define HAVE__MODF 1
41143 _ACEOF
41146 done
41155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41156 $as_echo_n "checking for powf declaration... " >&6; }
41157 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41158 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41159 $as_echo_n "(cached) " >&6
41160 else
41163 ac_ext=cpp
41164 ac_cpp='$CXXCPP $CPPFLAGS'
41165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41170 /* end confdefs.h. */
41171 #include <math.h>
41173 main ()
41175 powf(0, 0);
41177 return 0;
41179 _ACEOF
41180 if ac_fn_cxx_try_compile "$LINENO"; then :
41181 glibcxx_cv_func_powf_use=yes
41182 else
41183 glibcxx_cv_func_powf_use=no
41185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41186 ac_ext=c
41187 ac_cpp='$CPP $CPPFLAGS'
41188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41197 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41199 if test x$glibcxx_cv_func_powf_use = x"yes"; then
41200 for ac_func in powf
41201 do :
41202 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41203 if test "x$ac_cv_func_powf" = x""yes; then :
41204 cat >>confdefs.h <<_ACEOF
41205 #define HAVE_POWF 1
41206 _ACEOF
41209 done
41211 else
41213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41214 $as_echo_n "checking for _powf declaration... " >&6; }
41215 if test x${glibcxx_cv_func__powf_use+set} != xset; then
41216 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41217 $as_echo_n "(cached) " >&6
41218 else
41221 ac_ext=cpp
41222 ac_cpp='$CXXCPP $CPPFLAGS'
41223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41228 /* end confdefs.h. */
41229 #include <math.h>
41231 main ()
41233 _powf(0, 0);
41235 return 0;
41237 _ACEOF
41238 if ac_fn_cxx_try_compile "$LINENO"; then :
41239 glibcxx_cv_func__powf_use=yes
41240 else
41241 glibcxx_cv_func__powf_use=no
41243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41244 ac_ext=c
41245 ac_cpp='$CPP $CPPFLAGS'
41246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
41255 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
41257 if test x$glibcxx_cv_func__powf_use = x"yes"; then
41258 for ac_func in _powf
41259 do :
41260 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
41261 if test "x$ac_cv_func__powf" = x""yes; then :
41262 cat >>confdefs.h <<_ACEOF
41263 #define HAVE__POWF 1
41264 _ACEOF
41267 done
41276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
41277 $as_echo_n "checking for sqrtf declaration... " >&6; }
41278 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41279 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
41280 $as_echo_n "(cached) " >&6
41281 else
41284 ac_ext=cpp
41285 ac_cpp='$CXXCPP $CPPFLAGS'
41286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41291 /* end confdefs.h. */
41292 #include <math.h>
41293 #ifdef HAVE_IEEEFP_H
41294 #include <ieeefp.h>
41295 #endif
41298 main ()
41300 sqrtf(0);
41302 return 0;
41304 _ACEOF
41305 if ac_fn_cxx_try_compile "$LINENO"; then :
41306 glibcxx_cv_func_sqrtf_use=yes
41307 else
41308 glibcxx_cv_func_sqrtf_use=no
41310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41311 ac_ext=c
41312 ac_cpp='$CPP $CPPFLAGS'
41313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
41322 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
41324 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41325 for ac_func in sqrtf
41326 do :
41327 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
41328 if test "x$ac_cv_func_sqrtf" = x""yes; then :
41329 cat >>confdefs.h <<_ACEOF
41330 #define HAVE_SQRTF 1
41331 _ACEOF
41334 done
41336 else
41338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
41339 $as_echo_n "checking for _sqrtf declaration... " >&6; }
41340 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41341 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
41342 $as_echo_n "(cached) " >&6
41343 else
41346 ac_ext=cpp
41347 ac_cpp='$CXXCPP $CPPFLAGS'
41348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41353 /* end confdefs.h. */
41354 #include <math.h>
41355 #ifdef HAVE_IEEEFP_H
41356 #include <ieeefp.h>
41357 #endif
41360 main ()
41362 _sqrtf(0);
41364 return 0;
41366 _ACEOF
41367 if ac_fn_cxx_try_compile "$LINENO"; then :
41368 glibcxx_cv_func__sqrtf_use=yes
41369 else
41370 glibcxx_cv_func__sqrtf_use=no
41372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41373 ac_ext=c
41374 ac_cpp='$CPP $CPPFLAGS'
41375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
41384 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
41386 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41387 for ac_func in _sqrtf
41388 do :
41389 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
41390 if test "x$ac_cv_func__sqrtf" = x""yes; then :
41391 cat >>confdefs.h <<_ACEOF
41392 #define HAVE__SQRTF 1
41393 _ACEOF
41396 done
41405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
41406 $as_echo_n "checking for sincosf declaration... " >&6; }
41407 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
41408 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
41409 $as_echo_n "(cached) " >&6
41410 else
41413 ac_ext=cpp
41414 ac_cpp='$CXXCPP $CPPFLAGS'
41415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41420 /* end confdefs.h. */
41421 #include <math.h>
41423 main ()
41425 sincosf(0, 0, 0);
41427 return 0;
41429 _ACEOF
41430 if ac_fn_cxx_try_compile "$LINENO"; then :
41431 glibcxx_cv_func_sincosf_use=yes
41432 else
41433 glibcxx_cv_func_sincosf_use=no
41435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41436 ac_ext=c
41437 ac_cpp='$CPP $CPPFLAGS'
41438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
41447 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
41449 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
41450 for ac_func in sincosf
41451 do :
41452 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
41453 if test "x$ac_cv_func_sincosf" = x""yes; then :
41454 cat >>confdefs.h <<_ACEOF
41455 #define HAVE_SINCOSF 1
41456 _ACEOF
41459 done
41461 else
41463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
41464 $as_echo_n "checking for _sincosf declaration... " >&6; }
41465 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
41466 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
41467 $as_echo_n "(cached) " >&6
41468 else
41471 ac_ext=cpp
41472 ac_cpp='$CXXCPP $CPPFLAGS'
41473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41478 /* end confdefs.h. */
41479 #include <math.h>
41481 main ()
41483 _sincosf(0, 0, 0);
41485 return 0;
41487 _ACEOF
41488 if ac_fn_cxx_try_compile "$LINENO"; then :
41489 glibcxx_cv_func__sincosf_use=yes
41490 else
41491 glibcxx_cv_func__sincosf_use=no
41493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41494 ac_ext=c
41495 ac_cpp='$CPP $CPPFLAGS'
41496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
41505 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
41507 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
41508 for ac_func in _sincosf
41509 do :
41510 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
41511 if test "x$ac_cv_func__sincosf" = x""yes; then :
41512 cat >>confdefs.h <<_ACEOF
41513 #define HAVE__SINCOSF 1
41514 _ACEOF
41517 done
41526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
41527 $as_echo_n "checking for finitef declaration... " >&6; }
41528 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
41529 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
41530 $as_echo_n "(cached) " >&6
41531 else
41534 ac_ext=cpp
41535 ac_cpp='$CXXCPP $CPPFLAGS'
41536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41541 /* end confdefs.h. */
41542 #include <math.h>
41543 #ifdef HAVE_IEEEFP_H
41544 #include <ieeefp.h>
41545 #endif
41548 main ()
41550 finitef(0);
41552 return 0;
41554 _ACEOF
41555 if ac_fn_cxx_try_compile "$LINENO"; then :
41556 glibcxx_cv_func_finitef_use=yes
41557 else
41558 glibcxx_cv_func_finitef_use=no
41560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41561 ac_ext=c
41562 ac_cpp='$CPP $CPPFLAGS'
41563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
41572 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
41574 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
41575 for ac_func in finitef
41576 do :
41577 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
41578 if test "x$ac_cv_func_finitef" = x""yes; then :
41579 cat >>confdefs.h <<_ACEOF
41580 #define HAVE_FINITEF 1
41581 _ACEOF
41584 done
41586 else
41588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
41589 $as_echo_n "checking for _finitef declaration... " >&6; }
41590 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
41591 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
41592 $as_echo_n "(cached) " >&6
41593 else
41596 ac_ext=cpp
41597 ac_cpp='$CXXCPP $CPPFLAGS'
41598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41603 /* end confdefs.h. */
41604 #include <math.h>
41605 #ifdef HAVE_IEEEFP_H
41606 #include <ieeefp.h>
41607 #endif
41610 main ()
41612 _finitef(0);
41614 return 0;
41616 _ACEOF
41617 if ac_fn_cxx_try_compile "$LINENO"; then :
41618 glibcxx_cv_func__finitef_use=yes
41619 else
41620 glibcxx_cv_func__finitef_use=no
41622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41623 ac_ext=c
41624 ac_cpp='$CPP $CPPFLAGS'
41625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
41634 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
41636 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
41637 for ac_func in _finitef
41638 do :
41639 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
41640 if test "x$ac_cv_func__finitef" = x""yes; then :
41641 cat >>confdefs.h <<_ACEOF
41642 #define HAVE__FINITEF 1
41643 _ACEOF
41646 done
41655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
41656 $as_echo_n "checking for long double trig functions... " >&6; }
41657 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
41658 $as_echo_n "(cached) " >&6
41659 else
41662 ac_ext=cpp
41663 ac_cpp='$CXXCPP $CPPFLAGS'
41664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41669 /* end confdefs.h. */
41670 #include <math.h>
41672 main ()
41674 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
41676 return 0;
41678 _ACEOF
41679 if ac_fn_cxx_try_compile "$LINENO"; then :
41680 glibcxx_cv_func_long_double_trig_use=yes
41681 else
41682 glibcxx_cv_func_long_double_trig_use=no
41684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41685 ac_ext=c
41686 ac_cpp='$CPP $CPPFLAGS'
41687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
41694 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
41695 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
41696 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
41697 do :
41698 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41699 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41700 eval as_val=\$$as_ac_var
41701 if test "x$as_val" = x""yes; then :
41702 cat >>confdefs.h <<_ACEOF
41703 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41704 _ACEOF
41707 done
41709 else
41710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
41711 $as_echo_n "checking for _long double trig functions... " >&6; }
41712 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
41713 $as_echo_n "(cached) " >&6
41714 else
41717 ac_ext=cpp
41718 ac_cpp='$CXXCPP $CPPFLAGS'
41719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41724 /* end confdefs.h. */
41725 #include <math.h>
41727 main ()
41729 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
41731 return 0;
41733 _ACEOF
41734 if ac_fn_cxx_try_compile "$LINENO"; then :
41735 glibcxx_cv_func__long_double_trig_use=yes
41736 else
41737 glibcxx_cv_func__long_double_trig_use=no
41739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41740 ac_ext=c
41741 ac_cpp='$CPP $CPPFLAGS'
41742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
41749 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
41750 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
41751 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
41752 do :
41753 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41754 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41755 eval as_val=\$$as_ac_var
41756 if test "x$as_val" = x""yes; then :
41757 cat >>confdefs.h <<_ACEOF
41758 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41759 _ACEOF
41762 done
41771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
41772 $as_echo_n "checking for long double round functions... " >&6; }
41773 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
41774 $as_echo_n "(cached) " >&6
41775 else
41778 ac_ext=cpp
41779 ac_cpp='$CXXCPP $CPPFLAGS'
41780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41785 /* end confdefs.h. */
41786 #include <math.h>
41788 main ()
41790 ceill (0); floorl (0);
41792 return 0;
41794 _ACEOF
41795 if ac_fn_cxx_try_compile "$LINENO"; then :
41796 glibcxx_cv_func_long_double_round_use=yes
41797 else
41798 glibcxx_cv_func_long_double_round_use=no
41800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41801 ac_ext=c
41802 ac_cpp='$CPP $CPPFLAGS'
41803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
41810 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
41811 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41812 for ac_func in ceill floorl
41813 do :
41814 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41815 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41816 eval as_val=\$$as_ac_var
41817 if test "x$as_val" = x""yes; then :
41818 cat >>confdefs.h <<_ACEOF
41819 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41820 _ACEOF
41823 done
41825 else
41826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
41827 $as_echo_n "checking for _long double round functions... " >&6; }
41828 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
41829 $as_echo_n "(cached) " >&6
41830 else
41833 ac_ext=cpp
41834 ac_cpp='$CXXCPP $CPPFLAGS'
41835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41840 /* end confdefs.h. */
41841 #include <math.h>
41843 main ()
41845 _ceill (0); _floorl (0);
41847 return 0;
41849 _ACEOF
41850 if ac_fn_cxx_try_compile "$LINENO"; then :
41851 glibcxx_cv_func__long_double_round_use=yes
41852 else
41853 glibcxx_cv_func__long_double_round_use=no
41855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41856 ac_ext=c
41857 ac_cpp='$CPP $CPPFLAGS'
41858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
41865 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
41866 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
41867 for ac_func in _ceill _floorl
41868 do :
41869 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41870 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41871 eval as_val=\$$as_ac_var
41872 if test "x$as_val" = x""yes; then :
41873 cat >>confdefs.h <<_ACEOF
41874 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41875 _ACEOF
41878 done
41888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
41889 $as_echo_n "checking for isnanl declaration... " >&6; }
41890 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
41891 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
41892 $as_echo_n "(cached) " >&6
41893 else
41896 ac_ext=cpp
41897 ac_cpp='$CXXCPP $CPPFLAGS'
41898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41903 /* end confdefs.h. */
41904 #include <math.h>
41905 #ifdef HAVE_IEEEFP_H
41906 #include <ieeefp.h>
41907 #endif
41910 main ()
41912 isnanl(0);
41914 return 0;
41916 _ACEOF
41917 if ac_fn_cxx_try_compile "$LINENO"; then :
41918 glibcxx_cv_func_isnanl_use=yes
41919 else
41920 glibcxx_cv_func_isnanl_use=no
41922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41923 ac_ext=c
41924 ac_cpp='$CPP $CPPFLAGS'
41925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
41934 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
41936 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
41937 for ac_func in isnanl
41938 do :
41939 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
41940 if test "x$ac_cv_func_isnanl" = x""yes; then :
41941 cat >>confdefs.h <<_ACEOF
41942 #define HAVE_ISNANL 1
41943 _ACEOF
41946 done
41948 else
41950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
41951 $as_echo_n "checking for _isnanl declaration... " >&6; }
41952 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
41953 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
41954 $as_echo_n "(cached) " >&6
41955 else
41958 ac_ext=cpp
41959 ac_cpp='$CXXCPP $CPPFLAGS'
41960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41965 /* end confdefs.h. */
41966 #include <math.h>
41967 #ifdef HAVE_IEEEFP_H
41968 #include <ieeefp.h>
41969 #endif
41972 main ()
41974 _isnanl(0);
41976 return 0;
41978 _ACEOF
41979 if ac_fn_cxx_try_compile "$LINENO"; then :
41980 glibcxx_cv_func__isnanl_use=yes
41981 else
41982 glibcxx_cv_func__isnanl_use=no
41984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41985 ac_ext=c
41986 ac_cpp='$CPP $CPPFLAGS'
41987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
41996 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
41998 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
41999 for ac_func in _isnanl
42000 do :
42001 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
42002 if test "x$ac_cv_func__isnanl" = x""yes; then :
42003 cat >>confdefs.h <<_ACEOF
42004 #define HAVE__ISNANL 1
42005 _ACEOF
42008 done
42017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
42018 $as_echo_n "checking for isinfl declaration... " >&6; }
42019 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42020 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
42021 $as_echo_n "(cached) " >&6
42022 else
42025 ac_ext=cpp
42026 ac_cpp='$CXXCPP $CPPFLAGS'
42027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42032 /* end confdefs.h. */
42033 #include <math.h>
42034 #ifdef HAVE_IEEEFP_H
42035 #include <ieeefp.h>
42036 #endif
42039 main ()
42041 isinfl(0);
42043 return 0;
42045 _ACEOF
42046 if ac_fn_cxx_try_compile "$LINENO"; then :
42047 glibcxx_cv_func_isinfl_use=yes
42048 else
42049 glibcxx_cv_func_isinfl_use=no
42051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42052 ac_ext=c
42053 ac_cpp='$CPP $CPPFLAGS'
42054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
42063 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
42065 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42066 for ac_func in isinfl
42067 do :
42068 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
42069 if test "x$ac_cv_func_isinfl" = x""yes; then :
42070 cat >>confdefs.h <<_ACEOF
42071 #define HAVE_ISINFL 1
42072 _ACEOF
42075 done
42077 else
42079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42080 $as_echo_n "checking for _isinfl declaration... " >&6; }
42081 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42082 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42083 $as_echo_n "(cached) " >&6
42084 else
42087 ac_ext=cpp
42088 ac_cpp='$CXXCPP $CPPFLAGS'
42089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42094 /* end confdefs.h. */
42095 #include <math.h>
42096 #ifdef HAVE_IEEEFP_H
42097 #include <ieeefp.h>
42098 #endif
42101 main ()
42103 _isinfl(0);
42105 return 0;
42107 _ACEOF
42108 if ac_fn_cxx_try_compile "$LINENO"; then :
42109 glibcxx_cv_func__isinfl_use=yes
42110 else
42111 glibcxx_cv_func__isinfl_use=no
42113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42114 ac_ext=c
42115 ac_cpp='$CPP $CPPFLAGS'
42116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42125 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42127 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42128 for ac_func in _isinfl
42129 do :
42130 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42131 if test "x$ac_cv_func__isinfl" = x""yes; then :
42132 cat >>confdefs.h <<_ACEOF
42133 #define HAVE__ISINFL 1
42134 _ACEOF
42137 done
42146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42147 $as_echo_n "checking for atan2l declaration... " >&6; }
42148 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42149 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42150 $as_echo_n "(cached) " >&6
42151 else
42154 ac_ext=cpp
42155 ac_cpp='$CXXCPP $CPPFLAGS'
42156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42161 /* end confdefs.h. */
42162 #include <math.h>
42164 main ()
42166 atan2l(0, 0);
42168 return 0;
42170 _ACEOF
42171 if ac_fn_cxx_try_compile "$LINENO"; then :
42172 glibcxx_cv_func_atan2l_use=yes
42173 else
42174 glibcxx_cv_func_atan2l_use=no
42176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42177 ac_ext=c
42178 ac_cpp='$CPP $CPPFLAGS'
42179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42188 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42190 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42191 for ac_func in atan2l
42192 do :
42193 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42194 if test "x$ac_cv_func_atan2l" = x""yes; then :
42195 cat >>confdefs.h <<_ACEOF
42196 #define HAVE_ATAN2L 1
42197 _ACEOF
42200 done
42202 else
42204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42205 $as_echo_n "checking for _atan2l declaration... " >&6; }
42206 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42207 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42208 $as_echo_n "(cached) " >&6
42209 else
42212 ac_ext=cpp
42213 ac_cpp='$CXXCPP $CPPFLAGS'
42214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42219 /* end confdefs.h. */
42220 #include <math.h>
42222 main ()
42224 _atan2l(0, 0);
42226 return 0;
42228 _ACEOF
42229 if ac_fn_cxx_try_compile "$LINENO"; then :
42230 glibcxx_cv_func__atan2l_use=yes
42231 else
42232 glibcxx_cv_func__atan2l_use=no
42234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42235 ac_ext=c
42236 ac_cpp='$CPP $CPPFLAGS'
42237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
42246 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
42248 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42249 for ac_func in _atan2l
42250 do :
42251 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
42252 if test "x$ac_cv_func__atan2l" = x""yes; then :
42253 cat >>confdefs.h <<_ACEOF
42254 #define HAVE__ATAN2L 1
42255 _ACEOF
42258 done
42267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
42268 $as_echo_n "checking for expl declaration... " >&6; }
42269 if test x${glibcxx_cv_func_expl_use+set} != xset; then
42270 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
42271 $as_echo_n "(cached) " >&6
42272 else
42275 ac_ext=cpp
42276 ac_cpp='$CXXCPP $CPPFLAGS'
42277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42282 /* end confdefs.h. */
42283 #include <math.h>
42284 #ifdef HAVE_IEEEFP_H
42285 #include <ieeefp.h>
42286 #endif
42289 main ()
42291 expl(0);
42293 return 0;
42295 _ACEOF
42296 if ac_fn_cxx_try_compile "$LINENO"; then :
42297 glibcxx_cv_func_expl_use=yes
42298 else
42299 glibcxx_cv_func_expl_use=no
42301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42302 ac_ext=c
42303 ac_cpp='$CPP $CPPFLAGS'
42304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
42313 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
42315 if test x$glibcxx_cv_func_expl_use = x"yes"; then
42316 for ac_func in expl
42317 do :
42318 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
42319 if test "x$ac_cv_func_expl" = x""yes; then :
42320 cat >>confdefs.h <<_ACEOF
42321 #define HAVE_EXPL 1
42322 _ACEOF
42325 done
42327 else
42329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
42330 $as_echo_n "checking for _expl declaration... " >&6; }
42331 if test x${glibcxx_cv_func__expl_use+set} != xset; then
42332 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
42333 $as_echo_n "(cached) " >&6
42334 else
42337 ac_ext=cpp
42338 ac_cpp='$CXXCPP $CPPFLAGS'
42339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42344 /* end confdefs.h. */
42345 #include <math.h>
42346 #ifdef HAVE_IEEEFP_H
42347 #include <ieeefp.h>
42348 #endif
42351 main ()
42353 _expl(0);
42355 return 0;
42357 _ACEOF
42358 if ac_fn_cxx_try_compile "$LINENO"; then :
42359 glibcxx_cv_func__expl_use=yes
42360 else
42361 glibcxx_cv_func__expl_use=no
42363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42364 ac_ext=c
42365 ac_cpp='$CPP $CPPFLAGS'
42366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
42375 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
42377 if test x$glibcxx_cv_func__expl_use = x"yes"; then
42378 for ac_func in _expl
42379 do :
42380 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
42381 if test "x$ac_cv_func__expl" = x""yes; then :
42382 cat >>confdefs.h <<_ACEOF
42383 #define HAVE__EXPL 1
42384 _ACEOF
42387 done
42396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
42397 $as_echo_n "checking for fabsl declaration... " >&6; }
42398 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
42399 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
42400 $as_echo_n "(cached) " >&6
42401 else
42404 ac_ext=cpp
42405 ac_cpp='$CXXCPP $CPPFLAGS'
42406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42411 /* end confdefs.h. */
42412 #include <math.h>
42413 #ifdef HAVE_IEEEFP_H
42414 #include <ieeefp.h>
42415 #endif
42418 main ()
42420 fabsl(0);
42422 return 0;
42424 _ACEOF
42425 if ac_fn_cxx_try_compile "$LINENO"; then :
42426 glibcxx_cv_func_fabsl_use=yes
42427 else
42428 glibcxx_cv_func_fabsl_use=no
42430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42431 ac_ext=c
42432 ac_cpp='$CPP $CPPFLAGS'
42433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
42442 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
42444 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
42445 for ac_func in fabsl
42446 do :
42447 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
42448 if test "x$ac_cv_func_fabsl" = x""yes; then :
42449 cat >>confdefs.h <<_ACEOF
42450 #define HAVE_FABSL 1
42451 _ACEOF
42454 done
42456 else
42458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
42459 $as_echo_n "checking for _fabsl declaration... " >&6; }
42460 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
42461 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
42462 $as_echo_n "(cached) " >&6
42463 else
42466 ac_ext=cpp
42467 ac_cpp='$CXXCPP $CPPFLAGS'
42468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42473 /* end confdefs.h. */
42474 #include <math.h>
42475 #ifdef HAVE_IEEEFP_H
42476 #include <ieeefp.h>
42477 #endif
42480 main ()
42482 _fabsl(0);
42484 return 0;
42486 _ACEOF
42487 if ac_fn_cxx_try_compile "$LINENO"; then :
42488 glibcxx_cv_func__fabsl_use=yes
42489 else
42490 glibcxx_cv_func__fabsl_use=no
42492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42493 ac_ext=c
42494 ac_cpp='$CPP $CPPFLAGS'
42495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
42504 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
42506 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
42507 for ac_func in _fabsl
42508 do :
42509 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
42510 if test "x$ac_cv_func__fabsl" = x""yes; then :
42511 cat >>confdefs.h <<_ACEOF
42512 #define HAVE__FABSL 1
42513 _ACEOF
42516 done
42525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
42526 $as_echo_n "checking for fmodl declaration... " >&6; }
42527 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
42528 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
42529 $as_echo_n "(cached) " >&6
42530 else
42533 ac_ext=cpp
42534 ac_cpp='$CXXCPP $CPPFLAGS'
42535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42540 /* end confdefs.h. */
42541 #include <math.h>
42543 main ()
42545 fmodl(0, 0);
42547 return 0;
42549 _ACEOF
42550 if ac_fn_cxx_try_compile "$LINENO"; then :
42551 glibcxx_cv_func_fmodl_use=yes
42552 else
42553 glibcxx_cv_func_fmodl_use=no
42555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42556 ac_ext=c
42557 ac_cpp='$CPP $CPPFLAGS'
42558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
42567 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
42569 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
42570 for ac_func in fmodl
42571 do :
42572 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
42573 if test "x$ac_cv_func_fmodl" = x""yes; then :
42574 cat >>confdefs.h <<_ACEOF
42575 #define HAVE_FMODL 1
42576 _ACEOF
42579 done
42581 else
42583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
42584 $as_echo_n "checking for _fmodl declaration... " >&6; }
42585 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
42586 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
42587 $as_echo_n "(cached) " >&6
42588 else
42591 ac_ext=cpp
42592 ac_cpp='$CXXCPP $CPPFLAGS'
42593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42598 /* end confdefs.h. */
42599 #include <math.h>
42601 main ()
42603 _fmodl(0, 0);
42605 return 0;
42607 _ACEOF
42608 if ac_fn_cxx_try_compile "$LINENO"; then :
42609 glibcxx_cv_func__fmodl_use=yes
42610 else
42611 glibcxx_cv_func__fmodl_use=no
42613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42614 ac_ext=c
42615 ac_cpp='$CPP $CPPFLAGS'
42616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
42625 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
42627 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
42628 for ac_func in _fmodl
42629 do :
42630 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
42631 if test "x$ac_cv_func__fmodl" = x""yes; then :
42632 cat >>confdefs.h <<_ACEOF
42633 #define HAVE__FMODL 1
42634 _ACEOF
42637 done
42646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
42647 $as_echo_n "checking for frexpl declaration... " >&6; }
42648 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
42649 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
42650 $as_echo_n "(cached) " >&6
42651 else
42654 ac_ext=cpp
42655 ac_cpp='$CXXCPP $CPPFLAGS'
42656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42661 /* end confdefs.h. */
42662 #include <math.h>
42664 main ()
42666 frexpl(0, 0);
42668 return 0;
42670 _ACEOF
42671 if ac_fn_cxx_try_compile "$LINENO"; then :
42672 glibcxx_cv_func_frexpl_use=yes
42673 else
42674 glibcxx_cv_func_frexpl_use=no
42676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42677 ac_ext=c
42678 ac_cpp='$CPP $CPPFLAGS'
42679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
42688 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
42690 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
42691 for ac_func in frexpl
42692 do :
42693 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
42694 if test "x$ac_cv_func_frexpl" = x""yes; then :
42695 cat >>confdefs.h <<_ACEOF
42696 #define HAVE_FREXPL 1
42697 _ACEOF
42700 done
42702 else
42704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
42705 $as_echo_n "checking for _frexpl declaration... " >&6; }
42706 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
42707 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
42708 $as_echo_n "(cached) " >&6
42709 else
42712 ac_ext=cpp
42713 ac_cpp='$CXXCPP $CPPFLAGS'
42714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42719 /* end confdefs.h. */
42720 #include <math.h>
42722 main ()
42724 _frexpl(0, 0);
42726 return 0;
42728 _ACEOF
42729 if ac_fn_cxx_try_compile "$LINENO"; then :
42730 glibcxx_cv_func__frexpl_use=yes
42731 else
42732 glibcxx_cv_func__frexpl_use=no
42734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42735 ac_ext=c
42736 ac_cpp='$CPP $CPPFLAGS'
42737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
42746 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
42748 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
42749 for ac_func in _frexpl
42750 do :
42751 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
42752 if test "x$ac_cv_func__frexpl" = x""yes; then :
42753 cat >>confdefs.h <<_ACEOF
42754 #define HAVE__FREXPL 1
42755 _ACEOF
42758 done
42767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
42768 $as_echo_n "checking for hypotl declaration... " >&6; }
42769 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
42770 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
42771 $as_echo_n "(cached) " >&6
42772 else
42775 ac_ext=cpp
42776 ac_cpp='$CXXCPP $CPPFLAGS'
42777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42782 /* end confdefs.h. */
42783 #include <math.h>
42785 main ()
42787 hypotl(0, 0);
42789 return 0;
42791 _ACEOF
42792 if ac_fn_cxx_try_compile "$LINENO"; then :
42793 glibcxx_cv_func_hypotl_use=yes
42794 else
42795 glibcxx_cv_func_hypotl_use=no
42797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42798 ac_ext=c
42799 ac_cpp='$CPP $CPPFLAGS'
42800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
42809 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
42811 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
42812 for ac_func in hypotl
42813 do :
42814 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
42815 if test "x$ac_cv_func_hypotl" = x""yes; then :
42816 cat >>confdefs.h <<_ACEOF
42817 #define HAVE_HYPOTL 1
42818 _ACEOF
42821 done
42823 else
42825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
42826 $as_echo_n "checking for _hypotl declaration... " >&6; }
42827 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
42828 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
42829 $as_echo_n "(cached) " >&6
42830 else
42833 ac_ext=cpp
42834 ac_cpp='$CXXCPP $CPPFLAGS'
42835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42840 /* end confdefs.h. */
42841 #include <math.h>
42843 main ()
42845 _hypotl(0, 0);
42847 return 0;
42849 _ACEOF
42850 if ac_fn_cxx_try_compile "$LINENO"; then :
42851 glibcxx_cv_func__hypotl_use=yes
42852 else
42853 glibcxx_cv_func__hypotl_use=no
42855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42856 ac_ext=c
42857 ac_cpp='$CPP $CPPFLAGS'
42858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
42867 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
42869 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
42870 for ac_func in _hypotl
42871 do :
42872 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
42873 if test "x$ac_cv_func__hypotl" = x""yes; then :
42874 cat >>confdefs.h <<_ACEOF
42875 #define HAVE__HYPOTL 1
42876 _ACEOF
42879 done
42888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
42889 $as_echo_n "checking for ldexpl declaration... " >&6; }
42890 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
42891 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
42892 $as_echo_n "(cached) " >&6
42893 else
42896 ac_ext=cpp
42897 ac_cpp='$CXXCPP $CPPFLAGS'
42898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42903 /* end confdefs.h. */
42904 #include <math.h>
42906 main ()
42908 ldexpl(0, 0);
42910 return 0;
42912 _ACEOF
42913 if ac_fn_cxx_try_compile "$LINENO"; then :
42914 glibcxx_cv_func_ldexpl_use=yes
42915 else
42916 glibcxx_cv_func_ldexpl_use=no
42918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42919 ac_ext=c
42920 ac_cpp='$CPP $CPPFLAGS'
42921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
42930 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
42932 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
42933 for ac_func in ldexpl
42934 do :
42935 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
42936 if test "x$ac_cv_func_ldexpl" = x""yes; then :
42937 cat >>confdefs.h <<_ACEOF
42938 #define HAVE_LDEXPL 1
42939 _ACEOF
42942 done
42944 else
42946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
42947 $as_echo_n "checking for _ldexpl declaration... " >&6; }
42948 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
42949 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
42950 $as_echo_n "(cached) " >&6
42951 else
42954 ac_ext=cpp
42955 ac_cpp='$CXXCPP $CPPFLAGS'
42956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42961 /* end confdefs.h. */
42962 #include <math.h>
42964 main ()
42966 _ldexpl(0, 0);
42968 return 0;
42970 _ACEOF
42971 if ac_fn_cxx_try_compile "$LINENO"; then :
42972 glibcxx_cv_func__ldexpl_use=yes
42973 else
42974 glibcxx_cv_func__ldexpl_use=no
42976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42977 ac_ext=c
42978 ac_cpp='$CPP $CPPFLAGS'
42979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
42988 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
42990 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
42991 for ac_func in _ldexpl
42992 do :
42993 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
42994 if test "x$ac_cv_func__ldexpl" = x""yes; then :
42995 cat >>confdefs.h <<_ACEOF
42996 #define HAVE__LDEXPL 1
42997 _ACEOF
43000 done
43009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
43010 $as_echo_n "checking for logl declaration... " >&6; }
43011 if test x${glibcxx_cv_func_logl_use+set} != xset; then
43012 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
43013 $as_echo_n "(cached) " >&6
43014 else
43017 ac_ext=cpp
43018 ac_cpp='$CXXCPP $CPPFLAGS'
43019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43024 /* end confdefs.h. */
43025 #include <math.h>
43026 #ifdef HAVE_IEEEFP_H
43027 #include <ieeefp.h>
43028 #endif
43031 main ()
43033 logl(0);
43035 return 0;
43037 _ACEOF
43038 if ac_fn_cxx_try_compile "$LINENO"; then :
43039 glibcxx_cv_func_logl_use=yes
43040 else
43041 glibcxx_cv_func_logl_use=no
43043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43044 ac_ext=c
43045 ac_cpp='$CPP $CPPFLAGS'
43046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
43055 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
43057 if test x$glibcxx_cv_func_logl_use = x"yes"; then
43058 for ac_func in logl
43059 do :
43060 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
43061 if test "x$ac_cv_func_logl" = x""yes; then :
43062 cat >>confdefs.h <<_ACEOF
43063 #define HAVE_LOGL 1
43064 _ACEOF
43067 done
43069 else
43071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
43072 $as_echo_n "checking for _logl declaration... " >&6; }
43073 if test x${glibcxx_cv_func__logl_use+set} != xset; then
43074 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43075 $as_echo_n "(cached) " >&6
43076 else
43079 ac_ext=cpp
43080 ac_cpp='$CXXCPP $CPPFLAGS'
43081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43086 /* end confdefs.h. */
43087 #include <math.h>
43088 #ifdef HAVE_IEEEFP_H
43089 #include <ieeefp.h>
43090 #endif
43093 main ()
43095 _logl(0);
43097 return 0;
43099 _ACEOF
43100 if ac_fn_cxx_try_compile "$LINENO"; then :
43101 glibcxx_cv_func__logl_use=yes
43102 else
43103 glibcxx_cv_func__logl_use=no
43105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43106 ac_ext=c
43107 ac_cpp='$CPP $CPPFLAGS'
43108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43117 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43119 if test x$glibcxx_cv_func__logl_use = x"yes"; then
43120 for ac_func in _logl
43121 do :
43122 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43123 if test "x$ac_cv_func__logl" = x""yes; then :
43124 cat >>confdefs.h <<_ACEOF
43125 #define HAVE__LOGL 1
43126 _ACEOF
43129 done
43138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43139 $as_echo_n "checking for log10l declaration... " >&6; }
43140 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43141 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43142 $as_echo_n "(cached) " >&6
43143 else
43146 ac_ext=cpp
43147 ac_cpp='$CXXCPP $CPPFLAGS'
43148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43153 /* end confdefs.h. */
43154 #include <math.h>
43155 #ifdef HAVE_IEEEFP_H
43156 #include <ieeefp.h>
43157 #endif
43160 main ()
43162 log10l(0);
43164 return 0;
43166 _ACEOF
43167 if ac_fn_cxx_try_compile "$LINENO"; then :
43168 glibcxx_cv_func_log10l_use=yes
43169 else
43170 glibcxx_cv_func_log10l_use=no
43172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43173 ac_ext=c
43174 ac_cpp='$CPP $CPPFLAGS'
43175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
43184 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43186 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43187 for ac_func in log10l
43188 do :
43189 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43190 if test "x$ac_cv_func_log10l" = x""yes; then :
43191 cat >>confdefs.h <<_ACEOF
43192 #define HAVE_LOG10L 1
43193 _ACEOF
43196 done
43198 else
43200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43201 $as_echo_n "checking for _log10l declaration... " >&6; }
43202 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43203 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43204 $as_echo_n "(cached) " >&6
43205 else
43208 ac_ext=cpp
43209 ac_cpp='$CXXCPP $CPPFLAGS'
43210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43215 /* end confdefs.h. */
43216 #include <math.h>
43217 #ifdef HAVE_IEEEFP_H
43218 #include <ieeefp.h>
43219 #endif
43222 main ()
43224 _log10l(0);
43226 return 0;
43228 _ACEOF
43229 if ac_fn_cxx_try_compile "$LINENO"; then :
43230 glibcxx_cv_func__log10l_use=yes
43231 else
43232 glibcxx_cv_func__log10l_use=no
43234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43235 ac_ext=c
43236 ac_cpp='$CPP $CPPFLAGS'
43237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
43246 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
43248 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
43249 for ac_func in _log10l
43250 do :
43251 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
43252 if test "x$ac_cv_func__log10l" = x""yes; then :
43253 cat >>confdefs.h <<_ACEOF
43254 #define HAVE__LOG10L 1
43255 _ACEOF
43258 done
43267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
43268 $as_echo_n "checking for modfl declaration... " >&6; }
43269 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
43270 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
43271 $as_echo_n "(cached) " >&6
43272 else
43275 ac_ext=cpp
43276 ac_cpp='$CXXCPP $CPPFLAGS'
43277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43282 /* end confdefs.h. */
43283 #include <math.h>
43285 main ()
43287 modfl(0, 0);
43289 return 0;
43291 _ACEOF
43292 if ac_fn_cxx_try_compile "$LINENO"; then :
43293 glibcxx_cv_func_modfl_use=yes
43294 else
43295 glibcxx_cv_func_modfl_use=no
43297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43298 ac_ext=c
43299 ac_cpp='$CPP $CPPFLAGS'
43300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
43309 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
43311 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
43312 for ac_func in modfl
43313 do :
43314 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
43315 if test "x$ac_cv_func_modfl" = x""yes; then :
43316 cat >>confdefs.h <<_ACEOF
43317 #define HAVE_MODFL 1
43318 _ACEOF
43321 done
43323 else
43325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
43326 $as_echo_n "checking for _modfl declaration... " >&6; }
43327 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
43328 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
43329 $as_echo_n "(cached) " >&6
43330 else
43333 ac_ext=cpp
43334 ac_cpp='$CXXCPP $CPPFLAGS'
43335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43340 /* end confdefs.h. */
43341 #include <math.h>
43343 main ()
43345 _modfl(0, 0);
43347 return 0;
43349 _ACEOF
43350 if ac_fn_cxx_try_compile "$LINENO"; then :
43351 glibcxx_cv_func__modfl_use=yes
43352 else
43353 glibcxx_cv_func__modfl_use=no
43355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43356 ac_ext=c
43357 ac_cpp='$CPP $CPPFLAGS'
43358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
43367 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
43369 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
43370 for ac_func in _modfl
43371 do :
43372 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
43373 if test "x$ac_cv_func__modfl" = x""yes; then :
43374 cat >>confdefs.h <<_ACEOF
43375 #define HAVE__MODFL 1
43376 _ACEOF
43379 done
43388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
43389 $as_echo_n "checking for powl declaration... " >&6; }
43390 if test x${glibcxx_cv_func_powl_use+set} != xset; then
43391 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
43392 $as_echo_n "(cached) " >&6
43393 else
43396 ac_ext=cpp
43397 ac_cpp='$CXXCPP $CPPFLAGS'
43398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43403 /* end confdefs.h. */
43404 #include <math.h>
43406 main ()
43408 powl(0, 0);
43410 return 0;
43412 _ACEOF
43413 if ac_fn_cxx_try_compile "$LINENO"; then :
43414 glibcxx_cv_func_powl_use=yes
43415 else
43416 glibcxx_cv_func_powl_use=no
43418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43419 ac_ext=c
43420 ac_cpp='$CPP $CPPFLAGS'
43421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
43430 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
43432 if test x$glibcxx_cv_func_powl_use = x"yes"; then
43433 for ac_func in powl
43434 do :
43435 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
43436 if test "x$ac_cv_func_powl" = x""yes; then :
43437 cat >>confdefs.h <<_ACEOF
43438 #define HAVE_POWL 1
43439 _ACEOF
43442 done
43444 else
43446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
43447 $as_echo_n "checking for _powl declaration... " >&6; }
43448 if test x${glibcxx_cv_func__powl_use+set} != xset; then
43449 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
43450 $as_echo_n "(cached) " >&6
43451 else
43454 ac_ext=cpp
43455 ac_cpp='$CXXCPP $CPPFLAGS'
43456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43461 /* end confdefs.h. */
43462 #include <math.h>
43464 main ()
43466 _powl(0, 0);
43468 return 0;
43470 _ACEOF
43471 if ac_fn_cxx_try_compile "$LINENO"; then :
43472 glibcxx_cv_func__powl_use=yes
43473 else
43474 glibcxx_cv_func__powl_use=no
43476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43477 ac_ext=c
43478 ac_cpp='$CPP $CPPFLAGS'
43479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
43488 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
43490 if test x$glibcxx_cv_func__powl_use = x"yes"; then
43491 for ac_func in _powl
43492 do :
43493 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
43494 if test "x$ac_cv_func__powl" = x""yes; then :
43495 cat >>confdefs.h <<_ACEOF
43496 #define HAVE__POWL 1
43497 _ACEOF
43500 done
43509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
43510 $as_echo_n "checking for sqrtl declaration... " >&6; }
43511 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
43512 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
43513 $as_echo_n "(cached) " >&6
43514 else
43517 ac_ext=cpp
43518 ac_cpp='$CXXCPP $CPPFLAGS'
43519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43524 /* end confdefs.h. */
43525 #include <math.h>
43526 #ifdef HAVE_IEEEFP_H
43527 #include <ieeefp.h>
43528 #endif
43531 main ()
43533 sqrtl(0);
43535 return 0;
43537 _ACEOF
43538 if ac_fn_cxx_try_compile "$LINENO"; then :
43539 glibcxx_cv_func_sqrtl_use=yes
43540 else
43541 glibcxx_cv_func_sqrtl_use=no
43543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43544 ac_ext=c
43545 ac_cpp='$CPP $CPPFLAGS'
43546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
43555 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
43557 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
43558 for ac_func in sqrtl
43559 do :
43560 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
43561 if test "x$ac_cv_func_sqrtl" = x""yes; then :
43562 cat >>confdefs.h <<_ACEOF
43563 #define HAVE_SQRTL 1
43564 _ACEOF
43567 done
43569 else
43571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
43572 $as_echo_n "checking for _sqrtl declaration... " >&6; }
43573 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
43574 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
43575 $as_echo_n "(cached) " >&6
43576 else
43579 ac_ext=cpp
43580 ac_cpp='$CXXCPP $CPPFLAGS'
43581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43586 /* end confdefs.h. */
43587 #include <math.h>
43588 #ifdef HAVE_IEEEFP_H
43589 #include <ieeefp.h>
43590 #endif
43593 main ()
43595 _sqrtl(0);
43597 return 0;
43599 _ACEOF
43600 if ac_fn_cxx_try_compile "$LINENO"; then :
43601 glibcxx_cv_func__sqrtl_use=yes
43602 else
43603 glibcxx_cv_func__sqrtl_use=no
43605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43606 ac_ext=c
43607 ac_cpp='$CPP $CPPFLAGS'
43608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
43617 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
43619 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
43620 for ac_func in _sqrtl
43621 do :
43622 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
43623 if test "x$ac_cv_func__sqrtl" = x""yes; then :
43624 cat >>confdefs.h <<_ACEOF
43625 #define HAVE__SQRTL 1
43626 _ACEOF
43629 done
43638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
43639 $as_echo_n "checking for sincosl declaration... " >&6; }
43640 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
43641 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
43642 $as_echo_n "(cached) " >&6
43643 else
43646 ac_ext=cpp
43647 ac_cpp='$CXXCPP $CPPFLAGS'
43648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43653 /* end confdefs.h. */
43654 #include <math.h>
43656 main ()
43658 sincosl(0, 0, 0);
43660 return 0;
43662 _ACEOF
43663 if ac_fn_cxx_try_compile "$LINENO"; then :
43664 glibcxx_cv_func_sincosl_use=yes
43665 else
43666 glibcxx_cv_func_sincosl_use=no
43668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43669 ac_ext=c
43670 ac_cpp='$CPP $CPPFLAGS'
43671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
43680 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
43682 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
43683 for ac_func in sincosl
43684 do :
43685 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
43686 if test "x$ac_cv_func_sincosl" = x""yes; then :
43687 cat >>confdefs.h <<_ACEOF
43688 #define HAVE_SINCOSL 1
43689 _ACEOF
43692 done
43694 else
43696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
43697 $as_echo_n "checking for _sincosl declaration... " >&6; }
43698 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
43699 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
43700 $as_echo_n "(cached) " >&6
43701 else
43704 ac_ext=cpp
43705 ac_cpp='$CXXCPP $CPPFLAGS'
43706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43711 /* end confdefs.h. */
43712 #include <math.h>
43714 main ()
43716 _sincosl(0, 0, 0);
43718 return 0;
43720 _ACEOF
43721 if ac_fn_cxx_try_compile "$LINENO"; then :
43722 glibcxx_cv_func__sincosl_use=yes
43723 else
43724 glibcxx_cv_func__sincosl_use=no
43726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43727 ac_ext=c
43728 ac_cpp='$CPP $CPPFLAGS'
43729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
43738 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
43740 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
43741 for ac_func in _sincosl
43742 do :
43743 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
43744 if test "x$ac_cv_func__sincosl" = x""yes; then :
43745 cat >>confdefs.h <<_ACEOF
43746 #define HAVE__SINCOSL 1
43747 _ACEOF
43750 done
43759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
43760 $as_echo_n "checking for finitel declaration... " >&6; }
43761 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
43762 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
43763 $as_echo_n "(cached) " >&6
43764 else
43767 ac_ext=cpp
43768 ac_cpp='$CXXCPP $CPPFLAGS'
43769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43774 /* end confdefs.h. */
43775 #include <math.h>
43776 #ifdef HAVE_IEEEFP_H
43777 #include <ieeefp.h>
43778 #endif
43781 main ()
43783 finitel(0);
43785 return 0;
43787 _ACEOF
43788 if ac_fn_cxx_try_compile "$LINENO"; then :
43789 glibcxx_cv_func_finitel_use=yes
43790 else
43791 glibcxx_cv_func_finitel_use=no
43793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43794 ac_ext=c
43795 ac_cpp='$CPP $CPPFLAGS'
43796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
43805 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
43807 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
43808 for ac_func in finitel
43809 do :
43810 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
43811 if test "x$ac_cv_func_finitel" = x""yes; then :
43812 cat >>confdefs.h <<_ACEOF
43813 #define HAVE_FINITEL 1
43814 _ACEOF
43817 done
43819 else
43821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
43822 $as_echo_n "checking for _finitel declaration... " >&6; }
43823 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
43824 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
43825 $as_echo_n "(cached) " >&6
43826 else
43829 ac_ext=cpp
43830 ac_cpp='$CXXCPP $CPPFLAGS'
43831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43836 /* end confdefs.h. */
43837 #include <math.h>
43838 #ifdef HAVE_IEEEFP_H
43839 #include <ieeefp.h>
43840 #endif
43843 main ()
43845 _finitel(0);
43847 return 0;
43849 _ACEOF
43850 if ac_fn_cxx_try_compile "$LINENO"; then :
43851 glibcxx_cv_func__finitel_use=yes
43852 else
43853 glibcxx_cv_func__finitel_use=no
43855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43856 ac_ext=c
43857 ac_cpp='$CPP $CPPFLAGS'
43858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
43867 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
43869 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
43870 for ac_func in _finitel
43871 do :
43872 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
43873 if test "x$ac_cv_func__finitel" = x""yes; then :
43874 cat >>confdefs.h <<_ACEOF
43875 #define HAVE__FINITEL 1
43876 _ACEOF
43879 done
43887 LIBS="$ac_save_LIBS"
43888 CXXFLAGS="$ac_save_CXXFLAGS"
43891 ac_test_CXXFLAGS="${CXXFLAGS+set}"
43892 ac_save_CXXFLAGS="$CXXFLAGS"
43893 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
43897 $as_echo_n "checking for strtold declaration... " >&6; }
43898 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
43899 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
43900 $as_echo_n "(cached) " >&6
43901 else
43904 ac_ext=cpp
43905 ac_cpp='$CXXCPP $CPPFLAGS'
43906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43911 /* end confdefs.h. */
43912 #include <stdlib.h>
43914 main ()
43916 strtold(0, 0);
43918 return 0;
43920 _ACEOF
43921 if ac_fn_cxx_try_compile "$LINENO"; then :
43922 glibcxx_cv_func_strtold_use=yes
43923 else
43924 glibcxx_cv_func_strtold_use=no
43926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43927 ac_ext=c
43928 ac_cpp='$CPP $CPPFLAGS'
43929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
43938 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
43939 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
43940 for ac_func in strtold
43941 do :
43942 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
43943 if test "x$ac_cv_func_strtold" = x""yes; then :
43944 cat >>confdefs.h <<_ACEOF
43945 #define HAVE_STRTOLD 1
43946 _ACEOF
43949 done
43956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
43957 $as_echo_n "checking for strtof declaration... " >&6; }
43958 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
43959 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
43960 $as_echo_n "(cached) " >&6
43961 else
43964 ac_ext=cpp
43965 ac_cpp='$CXXCPP $CPPFLAGS'
43966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43971 /* end confdefs.h. */
43972 #include <stdlib.h>
43974 main ()
43976 strtof(0, 0);
43978 return 0;
43980 _ACEOF
43981 if ac_fn_cxx_try_compile "$LINENO"; then :
43982 glibcxx_cv_func_strtof_use=yes
43983 else
43984 glibcxx_cv_func_strtof_use=no
43986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43987 ac_ext=c
43988 ac_cpp='$CPP $CPPFLAGS'
43989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
43998 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
43999 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
44000 for ac_func in strtof
44001 do :
44002 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
44003 if test "x$ac_cv_func_strtof" = x""yes; then :
44004 cat >>confdefs.h <<_ACEOF
44005 #define HAVE_STRTOF 1
44006 _ACEOF
44009 done
44016 CXXFLAGS="$ac_save_CXXFLAGS"
44020 *djgpp)
44021 # GLIBCXX_CHECK_MATH_SUPPORT
44022 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44024 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44026 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44028 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
44030 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44034 *-freebsd*)
44035 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44038 # If we're not using GNU ld, then there's no point in even trying these
44039 # tests. Check for that first. We should have already tested for gld
44040 # by now (in libtool), but require it now just to be safe...
44041 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44042 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44046 # The name set by libtool depends on the version of libtool. Shame on us
44047 # for depending on an impl detail, but c'est la vie. Older versions used
44048 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44049 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44050 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44051 # set (hence we're using an older libtool), then set it.
44052 if test x${with_gnu_ld+set} != xset; then
44053 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44054 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44055 with_gnu_ld=no
44056 else
44057 with_gnu_ld=$ac_cv_prog_gnu_ld
44061 # Start by getting the version number. I think the libtool test already
44062 # does some of this, but throws away the result.
44063 glibcxx_ld_is_gold=no
44064 if test x"$with_gnu_ld" = x"yes"; then
44065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44066 $as_echo_n "checking for ld version... " >&6; }
44068 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44069 glibcxx_ld_is_gold=yes
44071 ldver=`$LD --version 2>/dev/null |
44072 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'`
44074 glibcxx_gnu_ld_version=`echo $ldver | \
44075 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44077 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44080 # Set --gc-sections.
44081 glibcxx_have_gc_sections=no
44082 if test "$glibcxx_ld_is_gold" = "yes"; then
44083 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44084 glibcxx_have_gc_sections=yes
44086 else
44087 glibcxx_gcsections_min_ld=21602
44088 if test x"$with_gnu_ld" = x"yes" &&
44089 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44090 glibcxx_have_gc_sections=yes
44093 if test "$glibcxx_have_gc_sections" = "yes"; then
44094 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44095 # NB: This flag only works reliably after 2.16.1. Configure tests
44096 # for this are difficult, so hard wire a value that should work.
44098 ac_test_CFLAGS="${CFLAGS+set}"
44099 ac_save_CFLAGS="$CFLAGS"
44100 CFLAGS='-Wl,--gc-sections'
44102 # Check for -Wl,--gc-sections
44103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44104 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44105 if test x$gcc_no_link = xyes; then
44106 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44109 /* end confdefs.h. */
44110 int one(void) { return 1; }
44111 int two(void) { return 2; }
44114 main ()
44116 two();
44118 return 0;
44120 _ACEOF
44121 if ac_fn_c_try_link "$LINENO"; then :
44122 ac_gcsections=yes
44123 else
44124 ac_gcsections=no
44126 rm -f core conftest.err conftest.$ac_objext \
44127 conftest$ac_exeext conftest.$ac_ext
44128 if test "$ac_gcsections" = "yes"; then
44129 rm -f conftest.c
44130 touch conftest.c
44131 if $CC -c conftest.c; then
44132 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44133 grep "Warning: gc-sections option ignored" > /dev/null; then
44134 ac_gcsections=no
44137 rm -f conftest.c conftest.o conftest
44139 if test "$ac_gcsections" = "yes"; then
44140 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44143 $as_echo "$ac_gcsections" >&6; }
44145 if test "$ac_test_CFLAGS" = set; then
44146 CFLAGS="$ac_save_CFLAGS"
44147 else
44148 # this is the suspicious part
44149 CFLAGS=''
44153 # Set -z,relro.
44154 # Note this is only for shared objects.
44155 ac_ld_relro=no
44156 if test x"$with_gnu_ld" = x"yes"; then
44157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44158 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44159 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44160 if test -n "$cxx_z_relo"; then
44161 OPT_LDFLAGS="-Wl,-z,relro"
44162 ac_ld_relro=yes
44164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44165 $as_echo "$ac_ld_relro" >&6; }
44168 # Set linker optimization flags.
44169 if test x"$with_gnu_ld" = x"yes"; then
44170 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44176 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44178 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44180 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44182 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44184 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44186 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44188 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44190 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44192 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44195 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44197 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44199 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44201 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44203 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44205 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44207 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44209 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44211 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44213 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44215 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44217 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44219 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44221 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44223 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44225 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
44227 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44229 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44231 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44233 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44235 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44237 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44239 if test x"long_double_math_on_this_cpu" = x"yes"; then
44240 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
44242 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
44244 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
44248 *-hpux*)
44249 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44252 # If we're not using GNU ld, then there's no point in even trying these
44253 # tests. Check for that first. We should have already tested for gld
44254 # by now (in libtool), but require it now just to be safe...
44255 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44256 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44260 # The name set by libtool depends on the version of libtool. Shame on us
44261 # for depending on an impl detail, but c'est la vie. Older versions used
44262 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44263 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44264 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44265 # set (hence we're using an older libtool), then set it.
44266 if test x${with_gnu_ld+set} != xset; then
44267 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44268 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44269 with_gnu_ld=no
44270 else
44271 with_gnu_ld=$ac_cv_prog_gnu_ld
44275 # Start by getting the version number. I think the libtool test already
44276 # does some of this, but throws away the result.
44277 glibcxx_ld_is_gold=no
44278 if test x"$with_gnu_ld" = x"yes"; then
44279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44280 $as_echo_n "checking for ld version... " >&6; }
44282 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44283 glibcxx_ld_is_gold=yes
44285 ldver=`$LD --version 2>/dev/null |
44286 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'`
44288 glibcxx_gnu_ld_version=`echo $ldver | \
44289 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44291 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44294 # Set --gc-sections.
44295 glibcxx_have_gc_sections=no
44296 if test "$glibcxx_ld_is_gold" = "yes"; then
44297 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44298 glibcxx_have_gc_sections=yes
44300 else
44301 glibcxx_gcsections_min_ld=21602
44302 if test x"$with_gnu_ld" = x"yes" &&
44303 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44304 glibcxx_have_gc_sections=yes
44307 if test "$glibcxx_have_gc_sections" = "yes"; then
44308 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44309 # NB: This flag only works reliably after 2.16.1. Configure tests
44310 # for this are difficult, so hard wire a value that should work.
44312 ac_test_CFLAGS="${CFLAGS+set}"
44313 ac_save_CFLAGS="$CFLAGS"
44314 CFLAGS='-Wl,--gc-sections'
44316 # Check for -Wl,--gc-sections
44317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44318 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44319 if test x$gcc_no_link = xyes; then
44320 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44323 /* end confdefs.h. */
44324 int one(void) { return 1; }
44325 int two(void) { return 2; }
44328 main ()
44330 two();
44332 return 0;
44334 _ACEOF
44335 if ac_fn_c_try_link "$LINENO"; then :
44336 ac_gcsections=yes
44337 else
44338 ac_gcsections=no
44340 rm -f core conftest.err conftest.$ac_objext \
44341 conftest$ac_exeext conftest.$ac_ext
44342 if test "$ac_gcsections" = "yes"; then
44343 rm -f conftest.c
44344 touch conftest.c
44345 if $CC -c conftest.c; then
44346 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44347 grep "Warning: gc-sections option ignored" > /dev/null; then
44348 ac_gcsections=no
44351 rm -f conftest.c conftest.o conftest
44353 if test "$ac_gcsections" = "yes"; then
44354 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44357 $as_echo "$ac_gcsections" >&6; }
44359 if test "$ac_test_CFLAGS" = set; then
44360 CFLAGS="$ac_save_CFLAGS"
44361 else
44362 # this is the suspicious part
44363 CFLAGS=''
44367 # Set -z,relro.
44368 # Note this is only for shared objects.
44369 ac_ld_relro=no
44370 if test x"$with_gnu_ld" = x"yes"; then
44371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44372 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44373 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44374 if test -n "$cxx_z_relo"; then
44375 OPT_LDFLAGS="-Wl,-z,relro"
44376 ac_ld_relro=yes
44378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44379 $as_echo "$ac_ld_relro" >&6; }
44382 # Set linker optimization flags.
44383 if test x"$with_gnu_ld" = x"yes"; then
44384 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44391 # GLIBCXX_CHECK_MATH_SUPPORT
44392 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44394 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44396 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44398 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44400 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44402 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44404 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44406 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44408 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44410 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44412 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44414 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44416 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44418 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44420 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44422 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44424 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44426 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44428 $as_echo "#define HAVE_MODF 1" >>confdefs.h
44430 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44432 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44435 # GLIBCXX_CHECK_STDLIB_SUPPORT
44436 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
44441 # Check whether --enable-tls was given.
44442 if test "${enable_tls+set}" = set; then :
44443 enableval=$enable_tls;
44444 case "$enableval" in
44445 yes|no) ;;
44446 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
44447 esac
44449 else
44450 enable_tls=yes
44454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
44455 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
44456 if test "${gcc_cv_have_tls+set}" = set; then :
44457 $as_echo_n "(cached) " >&6
44458 else
44460 if test "$cross_compiling" = yes; then :
44461 if test x$gcc_no_link = xyes; then
44462 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44465 /* end confdefs.h. */
44466 __thread int a; int b; int main() { return a = b; }
44467 _ACEOF
44468 if ac_fn_c_try_link "$LINENO"; then :
44469 chktls_save_LDFLAGS="$LDFLAGS"
44470 case $host in
44471 *-*-linux*)
44472 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
44474 esac
44475 chktls_save_CFLAGS="$CFLAGS"
44476 CFLAGS="-fPIC $CFLAGS"
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 f() { return 0; }
44483 _ACEOF
44484 if ac_fn_c_try_link "$LINENO"; then :
44485 if test x$gcc_no_link = xyes; then
44486 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44489 /* end confdefs.h. */
44490 __thread int a; int b; int f() { return a = b; }
44491 _ACEOF
44492 if ac_fn_c_try_link "$LINENO"; then :
44493 gcc_cv_have_tls=yes
44494 else
44495 gcc_cv_have_tls=no
44497 rm -f core conftest.err conftest.$ac_objext \
44498 conftest$ac_exeext conftest.$ac_ext
44499 else
44500 gcc_cv_have_tls=yes
44502 rm -f core conftest.err conftest.$ac_objext \
44503 conftest$ac_exeext conftest.$ac_ext
44504 CFLAGS="$chktls_save_CFLAGS"
44505 LDFLAGS="$chktls_save_LDFLAGS"
44506 else
44507 gcc_cv_have_tls=no
44509 rm -f core conftest.err conftest.$ac_objext \
44510 conftest$ac_exeext conftest.$ac_ext
44513 else
44514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44515 /* end confdefs.h. */
44516 __thread int a; int b; int main() { return a = b; }
44517 _ACEOF
44518 if ac_fn_c_try_run "$LINENO"; then :
44519 chktls_save_LDFLAGS="$LDFLAGS"
44520 LDFLAGS="-static $LDFLAGS"
44521 if test x$gcc_no_link = xyes; then
44522 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44525 /* end confdefs.h. */
44526 int main() { return 0; }
44527 _ACEOF
44528 if ac_fn_c_try_link "$LINENO"; then :
44529 if test "$cross_compiling" = yes; then :
44530 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44531 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44532 as_fn_error "cannot run test program while cross compiling
44533 See \`config.log' for more details." "$LINENO" 5; }
44534 else
44535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44536 /* end confdefs.h. */
44537 __thread int a; int b; int main() { return a = b; }
44538 _ACEOF
44539 if ac_fn_c_try_run "$LINENO"; then :
44540 gcc_cv_have_tls=yes
44541 else
44542 gcc_cv_have_tls=no
44544 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44545 conftest.$ac_objext conftest.beam conftest.$ac_ext
44548 else
44549 gcc_cv_have_tls=yes
44551 rm -f core conftest.err conftest.$ac_objext \
44552 conftest$ac_exeext conftest.$ac_ext
44553 LDFLAGS="$chktls_save_LDFLAGS"
44554 if test $gcc_cv_have_tls = yes; then
44555 chktls_save_CFLAGS="$CFLAGS"
44556 thread_CFLAGS=failed
44557 for flag in '' '-pthread' '-lpthread'; do
44558 CFLAGS="$flag $chktls_save_CFLAGS"
44559 if test x$gcc_no_link = xyes; then
44560 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44563 /* end confdefs.h. */
44564 #include <pthread.h>
44565 void *g(void *d) { return NULL; }
44567 main ()
44569 pthread_t t; pthread_create(&t,NULL,g,NULL);
44571 return 0;
44573 _ACEOF
44574 if ac_fn_c_try_link "$LINENO"; then :
44575 thread_CFLAGS="$flag"
44577 rm -f core conftest.err conftest.$ac_objext \
44578 conftest$ac_exeext conftest.$ac_ext
44579 if test "X$thread_CFLAGS" != Xfailed; then
44580 break
44582 done
44583 CFLAGS="$chktls_save_CFLAGS"
44584 if test "X$thread_CFLAGS" != Xfailed; then
44585 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
44586 if test "$cross_compiling" = yes; then :
44587 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44588 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44589 as_fn_error "cannot run test program while cross compiling
44590 See \`config.log' for more details." "$LINENO" 5; }
44591 else
44592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44593 /* end confdefs.h. */
44594 #include <pthread.h>
44595 __thread int a;
44596 static int *volatile a_in_other_thread;
44597 static void *
44598 thread_func (void *arg)
44600 a_in_other_thread = &a;
44601 return (void *)0;
44604 main ()
44606 pthread_t thread;
44607 void *thread_retval;
44608 int *volatile a_in_main_thread;
44609 a_in_main_thread = &a;
44610 if (pthread_create (&thread, (pthread_attr_t *)0,
44611 thread_func, (void *)0))
44612 return 0;
44613 if (pthread_join (thread, &thread_retval))
44614 return 0;
44615 return (a_in_other_thread == a_in_main_thread);
44617 return 0;
44619 _ACEOF
44620 if ac_fn_c_try_run "$LINENO"; then :
44621 gcc_cv_have_tls=yes
44622 else
44623 gcc_cv_have_tls=no
44625 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44626 conftest.$ac_objext conftest.beam conftest.$ac_ext
44629 CFLAGS="$chktls_save_CFLAGS"
44632 else
44633 gcc_cv_have_tls=no
44635 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44636 conftest.$ac_objext conftest.beam conftest.$ac_ext
44640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
44641 $as_echo "$gcc_cv_have_tls" >&6; }
44642 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
44644 $as_echo "#define HAVE_TLS 1" >>confdefs.h
44647 case "$target" in
44648 *-hpux10*)
44649 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44651 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
44653 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44655 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44657 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44660 esac
44662 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
44664 # All these tests are for C++; save the language and the compiler flags.
44665 # The CXXFLAGS thing is suspicious, but based on similar bits previously
44666 # found in GLIBCXX_CONFIGURE.
44668 ac_ext=cpp
44669 ac_cpp='$CXXCPP $CPPFLAGS'
44670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44674 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44675 ac_save_CXXFLAGS="$CXXFLAGS"
44677 # Check for maintainer-mode bits.
44678 if test x"$USE_MAINTAINER_MODE" = xno; then
44679 WERROR=''
44680 else
44681 WERROR='-Werror'
44684 # Check for -ffunction-sections -fdata-sections
44685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
44686 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
44687 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
44688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44689 /* end confdefs.h. */
44690 int foo; void bar() { };
44692 main ()
44696 return 0;
44698 _ACEOF
44699 if ac_fn_cxx_try_compile "$LINENO"; then :
44700 ac_fdsections=yes
44701 else
44702 ac_fdsections=no
44704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44705 if test "$ac_test_CXXFLAGS" = set; then
44706 CXXFLAGS="$ac_save_CXXFLAGS"
44707 else
44708 # this is the suspicious part
44709 CXXFLAGS=''
44711 if test x"$ac_fdsections" = x"yes"; then
44712 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
44715 $as_echo "$ac_fdsections" >&6; }
44717 ac_ext=c
44718 ac_cpp='$CPP $CPPFLAGS'
44719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44727 # If we're not using GNU ld, then there's no point in even trying these
44728 # tests. Check for that first. We should have already tested for gld
44729 # by now (in libtool), but require it now just to be safe...
44730 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44731 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44735 # The name set by libtool depends on the version of libtool. Shame on us
44736 # for depending on an impl detail, but c'est la vie. Older versions used
44737 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44738 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44739 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44740 # set (hence we're using an older libtool), then set it.
44741 if test x${with_gnu_ld+set} != xset; then
44742 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44743 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44744 with_gnu_ld=no
44745 else
44746 with_gnu_ld=$ac_cv_prog_gnu_ld
44750 # Start by getting the version number. I think the libtool test already
44751 # does some of this, but throws away the result.
44752 glibcxx_ld_is_gold=no
44753 if test x"$with_gnu_ld" = x"yes"; then
44754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44755 $as_echo_n "checking for ld version... " >&6; }
44757 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44758 glibcxx_ld_is_gold=yes
44760 ldver=`$LD --version 2>/dev/null |
44761 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'`
44763 glibcxx_gnu_ld_version=`echo $ldver | \
44764 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44766 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44769 # Set --gc-sections.
44770 glibcxx_have_gc_sections=no
44771 if test "$glibcxx_ld_is_gold" = "yes"; then
44772 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44773 glibcxx_have_gc_sections=yes
44775 else
44776 glibcxx_gcsections_min_ld=21602
44777 if test x"$with_gnu_ld" = x"yes" &&
44778 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44779 glibcxx_have_gc_sections=yes
44782 if test "$glibcxx_have_gc_sections" = "yes"; then
44783 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44784 # NB: This flag only works reliably after 2.16.1. Configure tests
44785 # for this are difficult, so hard wire a value that should work.
44787 ac_test_CFLAGS="${CFLAGS+set}"
44788 ac_save_CFLAGS="$CFLAGS"
44789 CFLAGS='-Wl,--gc-sections'
44791 # Check for -Wl,--gc-sections
44792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44793 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44794 if test x$gcc_no_link = xyes; then
44795 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44798 /* end confdefs.h. */
44799 int one(void) { return 1; }
44800 int two(void) { return 2; }
44803 main ()
44805 two();
44807 return 0;
44809 _ACEOF
44810 if ac_fn_c_try_link "$LINENO"; then :
44811 ac_gcsections=yes
44812 else
44813 ac_gcsections=no
44815 rm -f core conftest.err conftest.$ac_objext \
44816 conftest$ac_exeext conftest.$ac_ext
44817 if test "$ac_gcsections" = "yes"; then
44818 rm -f conftest.c
44819 touch conftest.c
44820 if $CC -c conftest.c; then
44821 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44822 grep "Warning: gc-sections option ignored" > /dev/null; then
44823 ac_gcsections=no
44826 rm -f conftest.c conftest.o conftest
44828 if test "$ac_gcsections" = "yes"; then
44829 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44832 $as_echo "$ac_gcsections" >&6; }
44834 if test "$ac_test_CFLAGS" = set; then
44835 CFLAGS="$ac_save_CFLAGS"
44836 else
44837 # this is the suspicious part
44838 CFLAGS=''
44842 # Set -z,relro.
44843 # Note this is only for shared objects.
44844 ac_ld_relro=no
44845 if test x"$with_gnu_ld" = x"yes"; then
44846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44847 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44848 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44849 if test -n "$cxx_z_relo"; then
44850 OPT_LDFLAGS="-Wl,-z,relro"
44851 ac_ld_relro=yes
44853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44854 $as_echo "$ac_ld_relro" >&6; }
44857 # Set linker optimization flags.
44858 if test x"$with_gnu_ld" = x"yes"; then
44859 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44866 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44867 ac_save_CXXFLAGS="$CXXFLAGS"
44868 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
44871 $as_echo_n "checking for sin in -lm... " >&6; }
44872 if test "${ac_cv_lib_m_sin+set}" = set; then :
44873 $as_echo_n "(cached) " >&6
44874 else
44875 ac_check_lib_save_LIBS=$LIBS
44876 LIBS="-lm $LIBS"
44877 if test x$gcc_no_link = xyes; then
44878 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44881 /* end confdefs.h. */
44883 /* Override any GCC internal prototype to avoid an error.
44884 Use char because int might match the return type of a GCC
44885 builtin and then its argument prototype would still apply. */
44886 #ifdef __cplusplus
44887 extern "C"
44888 #endif
44889 char sin ();
44891 main ()
44893 return sin ();
44895 return 0;
44897 _ACEOF
44898 if ac_fn_c_try_link "$LINENO"; then :
44899 ac_cv_lib_m_sin=yes
44900 else
44901 ac_cv_lib_m_sin=no
44903 rm -f core conftest.err conftest.$ac_objext \
44904 conftest$ac_exeext conftest.$ac_ext
44905 LIBS=$ac_check_lib_save_LIBS
44907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
44908 $as_echo "$ac_cv_lib_m_sin" >&6; }
44909 if test "x$ac_cv_lib_m_sin" = x""yes; then :
44910 libm="-lm"
44913 ac_save_LIBS="$LIBS"
44914 LIBS="$LIBS $libm"
44918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
44919 $as_echo_n "checking for isinf declaration... " >&6; }
44920 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
44921 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
44922 $as_echo_n "(cached) " >&6
44923 else
44926 ac_ext=cpp
44927 ac_cpp='$CXXCPP $CPPFLAGS'
44928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44933 /* end confdefs.h. */
44934 #include <math.h>
44935 #ifdef HAVE_IEEEFP_H
44936 #include <ieeefp.h>
44937 #endif
44940 main ()
44942 isinf(0);
44944 return 0;
44946 _ACEOF
44947 if ac_fn_cxx_try_compile "$LINENO"; then :
44948 glibcxx_cv_func_isinf_use=yes
44949 else
44950 glibcxx_cv_func_isinf_use=no
44952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44953 ac_ext=c
44954 ac_cpp='$CPP $CPPFLAGS'
44955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
44964 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
44966 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
44967 for ac_func in isinf
44968 do :
44969 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
44970 if test "x$ac_cv_func_isinf" = x""yes; then :
44971 cat >>confdefs.h <<_ACEOF
44972 #define HAVE_ISINF 1
44973 _ACEOF
44976 done
44978 else
44980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
44981 $as_echo_n "checking for _isinf declaration... " >&6; }
44982 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
44983 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
44984 $as_echo_n "(cached) " >&6
44985 else
44988 ac_ext=cpp
44989 ac_cpp='$CXXCPP $CPPFLAGS'
44990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44995 /* end confdefs.h. */
44996 #include <math.h>
44997 #ifdef HAVE_IEEEFP_H
44998 #include <ieeefp.h>
44999 #endif
45002 main ()
45004 _isinf(0);
45006 return 0;
45008 _ACEOF
45009 if ac_fn_cxx_try_compile "$LINENO"; then :
45010 glibcxx_cv_func__isinf_use=yes
45011 else
45012 glibcxx_cv_func__isinf_use=no
45014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45015 ac_ext=c
45016 ac_cpp='$CPP $CPPFLAGS'
45017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
45026 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
45028 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
45029 for ac_func in _isinf
45030 do :
45031 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
45032 if test "x$ac_cv_func__isinf" = x""yes; then :
45033 cat >>confdefs.h <<_ACEOF
45034 #define HAVE__ISINF 1
45035 _ACEOF
45038 done
45047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
45048 $as_echo_n "checking for isnan declaration... " >&6; }
45049 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
45050 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
45051 $as_echo_n "(cached) " >&6
45052 else
45055 ac_ext=cpp
45056 ac_cpp='$CXXCPP $CPPFLAGS'
45057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45062 /* end confdefs.h. */
45063 #include <math.h>
45064 #ifdef HAVE_IEEEFP_H
45065 #include <ieeefp.h>
45066 #endif
45069 main ()
45071 isnan(0);
45073 return 0;
45075 _ACEOF
45076 if ac_fn_cxx_try_compile "$LINENO"; then :
45077 glibcxx_cv_func_isnan_use=yes
45078 else
45079 glibcxx_cv_func_isnan_use=no
45081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45082 ac_ext=c
45083 ac_cpp='$CPP $CPPFLAGS'
45084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45093 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45095 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45096 for ac_func in isnan
45097 do :
45098 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45099 if test "x$ac_cv_func_isnan" = x""yes; then :
45100 cat >>confdefs.h <<_ACEOF
45101 #define HAVE_ISNAN 1
45102 _ACEOF
45105 done
45107 else
45109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45110 $as_echo_n "checking for _isnan declaration... " >&6; }
45111 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45112 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45113 $as_echo_n "(cached) " >&6
45114 else
45117 ac_ext=cpp
45118 ac_cpp='$CXXCPP $CPPFLAGS'
45119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45124 /* end confdefs.h. */
45125 #include <math.h>
45126 #ifdef HAVE_IEEEFP_H
45127 #include <ieeefp.h>
45128 #endif
45131 main ()
45133 _isnan(0);
45135 return 0;
45137 _ACEOF
45138 if ac_fn_cxx_try_compile "$LINENO"; then :
45139 glibcxx_cv_func__isnan_use=yes
45140 else
45141 glibcxx_cv_func__isnan_use=no
45143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45144 ac_ext=c
45145 ac_cpp='$CPP $CPPFLAGS'
45146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45155 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45157 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45158 for ac_func in _isnan
45159 do :
45160 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45161 if test "x$ac_cv_func__isnan" = x""yes; then :
45162 cat >>confdefs.h <<_ACEOF
45163 #define HAVE__ISNAN 1
45164 _ACEOF
45167 done
45176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45177 $as_echo_n "checking for finite declaration... " >&6; }
45178 if test x${glibcxx_cv_func_finite_use+set} != xset; then
45179 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45180 $as_echo_n "(cached) " >&6
45181 else
45184 ac_ext=cpp
45185 ac_cpp='$CXXCPP $CPPFLAGS'
45186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45191 /* end confdefs.h. */
45192 #include <math.h>
45193 #ifdef HAVE_IEEEFP_H
45194 #include <ieeefp.h>
45195 #endif
45198 main ()
45200 finite(0);
45202 return 0;
45204 _ACEOF
45205 if ac_fn_cxx_try_compile "$LINENO"; then :
45206 glibcxx_cv_func_finite_use=yes
45207 else
45208 glibcxx_cv_func_finite_use=no
45210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45211 ac_ext=c
45212 ac_cpp='$CPP $CPPFLAGS'
45213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
45222 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
45224 if test x$glibcxx_cv_func_finite_use = x"yes"; then
45225 for ac_func in finite
45226 do :
45227 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
45228 if test "x$ac_cv_func_finite" = x""yes; then :
45229 cat >>confdefs.h <<_ACEOF
45230 #define HAVE_FINITE 1
45231 _ACEOF
45234 done
45236 else
45238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
45239 $as_echo_n "checking for _finite declaration... " >&6; }
45240 if test x${glibcxx_cv_func__finite_use+set} != xset; then
45241 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
45242 $as_echo_n "(cached) " >&6
45243 else
45246 ac_ext=cpp
45247 ac_cpp='$CXXCPP $CPPFLAGS'
45248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45253 /* end confdefs.h. */
45254 #include <math.h>
45255 #ifdef HAVE_IEEEFP_H
45256 #include <ieeefp.h>
45257 #endif
45260 main ()
45262 _finite(0);
45264 return 0;
45266 _ACEOF
45267 if ac_fn_cxx_try_compile "$LINENO"; then :
45268 glibcxx_cv_func__finite_use=yes
45269 else
45270 glibcxx_cv_func__finite_use=no
45272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45273 ac_ext=c
45274 ac_cpp='$CPP $CPPFLAGS'
45275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
45284 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
45286 if test x$glibcxx_cv_func__finite_use = x"yes"; then
45287 for ac_func in _finite
45288 do :
45289 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
45290 if test "x$ac_cv_func__finite" = x""yes; then :
45291 cat >>confdefs.h <<_ACEOF
45292 #define HAVE__FINITE 1
45293 _ACEOF
45296 done
45305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
45306 $as_echo_n "checking for sincos declaration... " >&6; }
45307 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45308 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
45309 $as_echo_n "(cached) " >&6
45310 else
45313 ac_ext=cpp
45314 ac_cpp='$CXXCPP $CPPFLAGS'
45315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45320 /* end confdefs.h. */
45321 #include <math.h>
45323 main ()
45325 sincos(0, 0, 0);
45327 return 0;
45329 _ACEOF
45330 if ac_fn_cxx_try_compile "$LINENO"; then :
45331 glibcxx_cv_func_sincos_use=yes
45332 else
45333 glibcxx_cv_func_sincos_use=no
45335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45336 ac_ext=c
45337 ac_cpp='$CPP $CPPFLAGS'
45338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
45347 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
45349 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45350 for ac_func in sincos
45351 do :
45352 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
45353 if test "x$ac_cv_func_sincos" = x""yes; then :
45354 cat >>confdefs.h <<_ACEOF
45355 #define HAVE_SINCOS 1
45356 _ACEOF
45359 done
45361 else
45363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
45364 $as_echo_n "checking for _sincos declaration... " >&6; }
45365 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45366 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
45367 $as_echo_n "(cached) " >&6
45368 else
45371 ac_ext=cpp
45372 ac_cpp='$CXXCPP $CPPFLAGS'
45373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45378 /* end confdefs.h. */
45379 #include <math.h>
45381 main ()
45383 _sincos(0, 0, 0);
45385 return 0;
45387 _ACEOF
45388 if ac_fn_cxx_try_compile "$LINENO"; then :
45389 glibcxx_cv_func__sincos_use=yes
45390 else
45391 glibcxx_cv_func__sincos_use=no
45393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45394 ac_ext=c
45395 ac_cpp='$CPP $CPPFLAGS'
45396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
45405 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
45407 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45408 for ac_func in _sincos
45409 do :
45410 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
45411 if test "x$ac_cv_func__sincos" = x""yes; then :
45412 cat >>confdefs.h <<_ACEOF
45413 #define HAVE__SINCOS 1
45414 _ACEOF
45417 done
45426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
45427 $as_echo_n "checking for fpclass declaration... " >&6; }
45428 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45429 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
45430 $as_echo_n "(cached) " >&6
45431 else
45434 ac_ext=cpp
45435 ac_cpp='$CXXCPP $CPPFLAGS'
45436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45441 /* end confdefs.h. */
45442 #include <math.h>
45443 #ifdef HAVE_IEEEFP_H
45444 #include <ieeefp.h>
45445 #endif
45448 main ()
45450 fpclass(0);
45452 return 0;
45454 _ACEOF
45455 if ac_fn_cxx_try_compile "$LINENO"; then :
45456 glibcxx_cv_func_fpclass_use=yes
45457 else
45458 glibcxx_cv_func_fpclass_use=no
45460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45461 ac_ext=c
45462 ac_cpp='$CPP $CPPFLAGS'
45463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
45472 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
45474 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45475 for ac_func in fpclass
45476 do :
45477 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
45478 if test "x$ac_cv_func_fpclass" = x""yes; then :
45479 cat >>confdefs.h <<_ACEOF
45480 #define HAVE_FPCLASS 1
45481 _ACEOF
45484 done
45486 else
45488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
45489 $as_echo_n "checking for _fpclass declaration... " >&6; }
45490 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45491 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
45492 $as_echo_n "(cached) " >&6
45493 else
45496 ac_ext=cpp
45497 ac_cpp='$CXXCPP $CPPFLAGS'
45498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45503 /* end confdefs.h. */
45504 #include <math.h>
45505 #ifdef HAVE_IEEEFP_H
45506 #include <ieeefp.h>
45507 #endif
45510 main ()
45512 _fpclass(0);
45514 return 0;
45516 _ACEOF
45517 if ac_fn_cxx_try_compile "$LINENO"; then :
45518 glibcxx_cv_func__fpclass_use=yes
45519 else
45520 glibcxx_cv_func__fpclass_use=no
45522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45523 ac_ext=c
45524 ac_cpp='$CPP $CPPFLAGS'
45525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
45534 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
45536 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45537 for ac_func in _fpclass
45538 do :
45539 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
45540 if test "x$ac_cv_func__fpclass" = x""yes; then :
45541 cat >>confdefs.h <<_ACEOF
45542 #define HAVE__FPCLASS 1
45543 _ACEOF
45546 done
45555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
45556 $as_echo_n "checking for qfpclass declaration... " >&6; }
45557 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45558 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
45559 $as_echo_n "(cached) " >&6
45560 else
45563 ac_ext=cpp
45564 ac_cpp='$CXXCPP $CPPFLAGS'
45565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45570 /* end confdefs.h. */
45571 #include <math.h>
45572 #ifdef HAVE_IEEEFP_H
45573 #include <ieeefp.h>
45574 #endif
45577 main ()
45579 qfpclass(0);
45581 return 0;
45583 _ACEOF
45584 if ac_fn_cxx_try_compile "$LINENO"; then :
45585 glibcxx_cv_func_qfpclass_use=yes
45586 else
45587 glibcxx_cv_func_qfpclass_use=no
45589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45590 ac_ext=c
45591 ac_cpp='$CPP $CPPFLAGS'
45592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
45601 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
45603 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45604 for ac_func in qfpclass
45605 do :
45606 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
45607 if test "x$ac_cv_func_qfpclass" = x""yes; then :
45608 cat >>confdefs.h <<_ACEOF
45609 #define HAVE_QFPCLASS 1
45610 _ACEOF
45613 done
45615 else
45617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
45618 $as_echo_n "checking for _qfpclass declaration... " >&6; }
45619 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45620 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
45621 $as_echo_n "(cached) " >&6
45622 else
45625 ac_ext=cpp
45626 ac_cpp='$CXXCPP $CPPFLAGS'
45627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45632 /* end confdefs.h. */
45633 #include <math.h>
45634 #ifdef HAVE_IEEEFP_H
45635 #include <ieeefp.h>
45636 #endif
45639 main ()
45641 _qfpclass(0);
45643 return 0;
45645 _ACEOF
45646 if ac_fn_cxx_try_compile "$LINENO"; then :
45647 glibcxx_cv_func__qfpclass_use=yes
45648 else
45649 glibcxx_cv_func__qfpclass_use=no
45651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45652 ac_ext=c
45653 ac_cpp='$CPP $CPPFLAGS'
45654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
45663 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
45665 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
45666 for ac_func in _qfpclass
45667 do :
45668 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
45669 if test "x$ac_cv_func__qfpclass" = x""yes; then :
45670 cat >>confdefs.h <<_ACEOF
45671 #define HAVE__QFPCLASS 1
45672 _ACEOF
45675 done
45684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
45685 $as_echo_n "checking for hypot declaration... " >&6; }
45686 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
45687 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
45688 $as_echo_n "(cached) " >&6
45689 else
45692 ac_ext=cpp
45693 ac_cpp='$CXXCPP $CPPFLAGS'
45694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45699 /* end confdefs.h. */
45700 #include <math.h>
45702 main ()
45704 hypot(0, 0);
45706 return 0;
45708 _ACEOF
45709 if ac_fn_cxx_try_compile "$LINENO"; then :
45710 glibcxx_cv_func_hypot_use=yes
45711 else
45712 glibcxx_cv_func_hypot_use=no
45714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45715 ac_ext=c
45716 ac_cpp='$CPP $CPPFLAGS'
45717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
45726 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
45728 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
45729 for ac_func in hypot
45730 do :
45731 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
45732 if test "x$ac_cv_func_hypot" = x""yes; then :
45733 cat >>confdefs.h <<_ACEOF
45734 #define HAVE_HYPOT 1
45735 _ACEOF
45738 done
45740 else
45742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
45743 $as_echo_n "checking for _hypot declaration... " >&6; }
45744 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
45745 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
45746 $as_echo_n "(cached) " >&6
45747 else
45750 ac_ext=cpp
45751 ac_cpp='$CXXCPP $CPPFLAGS'
45752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45757 /* end confdefs.h. */
45758 #include <math.h>
45760 main ()
45762 _hypot(0, 0);
45764 return 0;
45766 _ACEOF
45767 if ac_fn_cxx_try_compile "$LINENO"; then :
45768 glibcxx_cv_func__hypot_use=yes
45769 else
45770 glibcxx_cv_func__hypot_use=no
45772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45773 ac_ext=c
45774 ac_cpp='$CPP $CPPFLAGS'
45775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
45784 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
45786 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
45787 for ac_func in _hypot
45788 do :
45789 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
45790 if test "x$ac_cv_func__hypot" = x""yes; then :
45791 cat >>confdefs.h <<_ACEOF
45792 #define HAVE__HYPOT 1
45793 _ACEOF
45796 done
45805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
45806 $as_echo_n "checking for float trig functions... " >&6; }
45807 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
45808 $as_echo_n "(cached) " >&6
45809 else
45812 ac_ext=cpp
45813 ac_cpp='$CXXCPP $CPPFLAGS'
45814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45819 /* end confdefs.h. */
45820 #include <math.h>
45822 main ()
45824 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
45826 return 0;
45828 _ACEOF
45829 if ac_fn_cxx_try_compile "$LINENO"; then :
45830 glibcxx_cv_func_float_trig_use=yes
45831 else
45832 glibcxx_cv_func_float_trig_use=no
45834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45835 ac_ext=c
45836 ac_cpp='$CPP $CPPFLAGS'
45837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
45844 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
45845 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
45846 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
45847 do :
45848 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45849 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45850 eval as_val=\$$as_ac_var
45851 if test "x$as_val" = x""yes; then :
45852 cat >>confdefs.h <<_ACEOF
45853 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45854 _ACEOF
45857 done
45859 else
45860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
45861 $as_echo_n "checking for _float trig functions... " >&6; }
45862 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
45863 $as_echo_n "(cached) " >&6
45864 else
45867 ac_ext=cpp
45868 ac_cpp='$CXXCPP $CPPFLAGS'
45869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45874 /* end confdefs.h. */
45875 #include <math.h>
45877 main ()
45879 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
45881 return 0;
45883 _ACEOF
45884 if ac_fn_cxx_try_compile "$LINENO"; then :
45885 glibcxx_cv_func__float_trig_use=yes
45886 else
45887 glibcxx_cv_func__float_trig_use=no
45889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45890 ac_ext=c
45891 ac_cpp='$CPP $CPPFLAGS'
45892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
45899 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
45900 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
45901 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
45902 do :
45903 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45904 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45905 eval as_val=\$$as_ac_var
45906 if test "x$as_val" = x""yes; then :
45907 cat >>confdefs.h <<_ACEOF
45908 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45909 _ACEOF
45912 done
45921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
45922 $as_echo_n "checking for float round functions... " >&6; }
45923 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
45924 $as_echo_n "(cached) " >&6
45925 else
45928 ac_ext=cpp
45929 ac_cpp='$CXXCPP $CPPFLAGS'
45930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45935 /* end confdefs.h. */
45936 #include <math.h>
45938 main ()
45940 ceilf (0); floorf (0);
45942 return 0;
45944 _ACEOF
45945 if ac_fn_cxx_try_compile "$LINENO"; then :
45946 glibcxx_cv_func_float_round_use=yes
45947 else
45948 glibcxx_cv_func_float_round_use=no
45950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45951 ac_ext=c
45952 ac_cpp='$CPP $CPPFLAGS'
45953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
45960 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
45961 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
45962 for ac_func in ceilf floorf
45963 do :
45964 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45965 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45966 eval as_val=\$$as_ac_var
45967 if test "x$as_val" = x""yes; then :
45968 cat >>confdefs.h <<_ACEOF
45969 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45970 _ACEOF
45973 done
45975 else
45976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
45977 $as_echo_n "checking for _float round functions... " >&6; }
45978 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
45979 $as_echo_n "(cached) " >&6
45980 else
45983 ac_ext=cpp
45984 ac_cpp='$CXXCPP $CPPFLAGS'
45985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45990 /* end confdefs.h. */
45991 #include <math.h>
45993 main ()
45995 _ceilf (0); _floorf (0);
45997 return 0;
45999 _ACEOF
46000 if ac_fn_cxx_try_compile "$LINENO"; then :
46001 glibcxx_cv_func__float_round_use=yes
46002 else
46003 glibcxx_cv_func__float_round_use=no
46005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46006 ac_ext=c
46007 ac_cpp='$CPP $CPPFLAGS'
46008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
46015 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
46016 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46017 for ac_func in _ceilf _floorf
46018 do :
46019 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46020 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46021 eval as_val=\$$as_ac_var
46022 if test "x$as_val" = x""yes; then :
46023 cat >>confdefs.h <<_ACEOF
46024 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46025 _ACEOF
46028 done
46038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
46039 $as_echo_n "checking for expf declaration... " >&6; }
46040 if test x${glibcxx_cv_func_expf_use+set} != xset; then
46041 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
46042 $as_echo_n "(cached) " >&6
46043 else
46046 ac_ext=cpp
46047 ac_cpp='$CXXCPP $CPPFLAGS'
46048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46053 /* end confdefs.h. */
46054 #include <math.h>
46055 #ifdef HAVE_IEEEFP_H
46056 #include <ieeefp.h>
46057 #endif
46060 main ()
46062 expf(0);
46064 return 0;
46066 _ACEOF
46067 if ac_fn_cxx_try_compile "$LINENO"; then :
46068 glibcxx_cv_func_expf_use=yes
46069 else
46070 glibcxx_cv_func_expf_use=no
46072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46073 ac_ext=c
46074 ac_cpp='$CPP $CPPFLAGS'
46075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46084 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46086 if test x$glibcxx_cv_func_expf_use = x"yes"; then
46087 for ac_func in expf
46088 do :
46089 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46090 if test "x$ac_cv_func_expf" = x""yes; then :
46091 cat >>confdefs.h <<_ACEOF
46092 #define HAVE_EXPF 1
46093 _ACEOF
46096 done
46098 else
46100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46101 $as_echo_n "checking for _expf declaration... " >&6; }
46102 if test x${glibcxx_cv_func__expf_use+set} != xset; then
46103 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46104 $as_echo_n "(cached) " >&6
46105 else
46108 ac_ext=cpp
46109 ac_cpp='$CXXCPP $CPPFLAGS'
46110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46115 /* end confdefs.h. */
46116 #include <math.h>
46117 #ifdef HAVE_IEEEFP_H
46118 #include <ieeefp.h>
46119 #endif
46122 main ()
46124 _expf(0);
46126 return 0;
46128 _ACEOF
46129 if ac_fn_cxx_try_compile "$LINENO"; then :
46130 glibcxx_cv_func__expf_use=yes
46131 else
46132 glibcxx_cv_func__expf_use=no
46134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46135 ac_ext=c
46136 ac_cpp='$CPP $CPPFLAGS'
46137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46146 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46148 if test x$glibcxx_cv_func__expf_use = x"yes"; then
46149 for ac_func in _expf
46150 do :
46151 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46152 if test "x$ac_cv_func__expf" = x""yes; then :
46153 cat >>confdefs.h <<_ACEOF
46154 #define HAVE__EXPF 1
46155 _ACEOF
46158 done
46167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46168 $as_echo_n "checking for isnanf declaration... " >&6; }
46169 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46170 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46171 $as_echo_n "(cached) " >&6
46172 else
46175 ac_ext=cpp
46176 ac_cpp='$CXXCPP $CPPFLAGS'
46177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46182 /* end confdefs.h. */
46183 #include <math.h>
46184 #ifdef HAVE_IEEEFP_H
46185 #include <ieeefp.h>
46186 #endif
46189 main ()
46191 isnanf(0);
46193 return 0;
46195 _ACEOF
46196 if ac_fn_cxx_try_compile "$LINENO"; then :
46197 glibcxx_cv_func_isnanf_use=yes
46198 else
46199 glibcxx_cv_func_isnanf_use=no
46201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46202 ac_ext=c
46203 ac_cpp='$CPP $CPPFLAGS'
46204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46213 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46215 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46216 for ac_func in isnanf
46217 do :
46218 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46219 if test "x$ac_cv_func_isnanf" = x""yes; then :
46220 cat >>confdefs.h <<_ACEOF
46221 #define HAVE_ISNANF 1
46222 _ACEOF
46225 done
46227 else
46229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
46230 $as_echo_n "checking for _isnanf declaration... " >&6; }
46231 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46232 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
46233 $as_echo_n "(cached) " >&6
46234 else
46237 ac_ext=cpp
46238 ac_cpp='$CXXCPP $CPPFLAGS'
46239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46244 /* end confdefs.h. */
46245 #include <math.h>
46246 #ifdef HAVE_IEEEFP_H
46247 #include <ieeefp.h>
46248 #endif
46251 main ()
46253 _isnanf(0);
46255 return 0;
46257 _ACEOF
46258 if ac_fn_cxx_try_compile "$LINENO"; then :
46259 glibcxx_cv_func__isnanf_use=yes
46260 else
46261 glibcxx_cv_func__isnanf_use=no
46263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46264 ac_ext=c
46265 ac_cpp='$CPP $CPPFLAGS'
46266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
46275 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
46277 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46278 for ac_func in _isnanf
46279 do :
46280 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
46281 if test "x$ac_cv_func__isnanf" = x""yes; then :
46282 cat >>confdefs.h <<_ACEOF
46283 #define HAVE__ISNANF 1
46284 _ACEOF
46287 done
46296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
46297 $as_echo_n "checking for isinff declaration... " >&6; }
46298 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46299 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
46300 $as_echo_n "(cached) " >&6
46301 else
46304 ac_ext=cpp
46305 ac_cpp='$CXXCPP $CPPFLAGS'
46306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46311 /* end confdefs.h. */
46312 #include <math.h>
46313 #ifdef HAVE_IEEEFP_H
46314 #include <ieeefp.h>
46315 #endif
46318 main ()
46320 isinff(0);
46322 return 0;
46324 _ACEOF
46325 if ac_fn_cxx_try_compile "$LINENO"; then :
46326 glibcxx_cv_func_isinff_use=yes
46327 else
46328 glibcxx_cv_func_isinff_use=no
46330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46331 ac_ext=c
46332 ac_cpp='$CPP $CPPFLAGS'
46333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
46342 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
46344 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
46345 for ac_func in isinff
46346 do :
46347 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
46348 if test "x$ac_cv_func_isinff" = x""yes; then :
46349 cat >>confdefs.h <<_ACEOF
46350 #define HAVE_ISINFF 1
46351 _ACEOF
46354 done
46356 else
46358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
46359 $as_echo_n "checking for _isinff declaration... " >&6; }
46360 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
46361 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
46362 $as_echo_n "(cached) " >&6
46363 else
46366 ac_ext=cpp
46367 ac_cpp='$CXXCPP $CPPFLAGS'
46368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46373 /* end confdefs.h. */
46374 #include <math.h>
46375 #ifdef HAVE_IEEEFP_H
46376 #include <ieeefp.h>
46377 #endif
46380 main ()
46382 _isinff(0);
46384 return 0;
46386 _ACEOF
46387 if ac_fn_cxx_try_compile "$LINENO"; then :
46388 glibcxx_cv_func__isinff_use=yes
46389 else
46390 glibcxx_cv_func__isinff_use=no
46392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46393 ac_ext=c
46394 ac_cpp='$CPP $CPPFLAGS'
46395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
46404 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
46406 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
46407 for ac_func in _isinff
46408 do :
46409 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
46410 if test "x$ac_cv_func__isinff" = x""yes; then :
46411 cat >>confdefs.h <<_ACEOF
46412 #define HAVE__ISINFF 1
46413 _ACEOF
46416 done
46425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
46426 $as_echo_n "checking for atan2f declaration... " >&6; }
46427 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
46428 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
46429 $as_echo_n "(cached) " >&6
46430 else
46433 ac_ext=cpp
46434 ac_cpp='$CXXCPP $CPPFLAGS'
46435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46440 /* end confdefs.h. */
46441 #include <math.h>
46443 main ()
46445 atan2f(0, 0);
46447 return 0;
46449 _ACEOF
46450 if ac_fn_cxx_try_compile "$LINENO"; then :
46451 glibcxx_cv_func_atan2f_use=yes
46452 else
46453 glibcxx_cv_func_atan2f_use=no
46455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46456 ac_ext=c
46457 ac_cpp='$CPP $CPPFLAGS'
46458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
46467 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
46469 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
46470 for ac_func in atan2f
46471 do :
46472 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
46473 if test "x$ac_cv_func_atan2f" = x""yes; then :
46474 cat >>confdefs.h <<_ACEOF
46475 #define HAVE_ATAN2F 1
46476 _ACEOF
46479 done
46481 else
46483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
46484 $as_echo_n "checking for _atan2f declaration... " >&6; }
46485 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
46486 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
46487 $as_echo_n "(cached) " >&6
46488 else
46491 ac_ext=cpp
46492 ac_cpp='$CXXCPP $CPPFLAGS'
46493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46498 /* end confdefs.h. */
46499 #include <math.h>
46501 main ()
46503 _atan2f(0, 0);
46505 return 0;
46507 _ACEOF
46508 if ac_fn_cxx_try_compile "$LINENO"; then :
46509 glibcxx_cv_func__atan2f_use=yes
46510 else
46511 glibcxx_cv_func__atan2f_use=no
46513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46514 ac_ext=c
46515 ac_cpp='$CPP $CPPFLAGS'
46516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
46525 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
46527 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
46528 for ac_func in _atan2f
46529 do :
46530 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
46531 if test "x$ac_cv_func__atan2f" = x""yes; then :
46532 cat >>confdefs.h <<_ACEOF
46533 #define HAVE__ATAN2F 1
46534 _ACEOF
46537 done
46546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
46547 $as_echo_n "checking for fabsf declaration... " >&6; }
46548 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
46549 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
46550 $as_echo_n "(cached) " >&6
46551 else
46554 ac_ext=cpp
46555 ac_cpp='$CXXCPP $CPPFLAGS'
46556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46561 /* end confdefs.h. */
46562 #include <math.h>
46563 #ifdef HAVE_IEEEFP_H
46564 #include <ieeefp.h>
46565 #endif
46568 main ()
46570 fabsf(0);
46572 return 0;
46574 _ACEOF
46575 if ac_fn_cxx_try_compile "$LINENO"; then :
46576 glibcxx_cv_func_fabsf_use=yes
46577 else
46578 glibcxx_cv_func_fabsf_use=no
46580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46581 ac_ext=c
46582 ac_cpp='$CPP $CPPFLAGS'
46583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
46592 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
46594 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
46595 for ac_func in fabsf
46596 do :
46597 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
46598 if test "x$ac_cv_func_fabsf" = x""yes; then :
46599 cat >>confdefs.h <<_ACEOF
46600 #define HAVE_FABSF 1
46601 _ACEOF
46604 done
46606 else
46608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
46609 $as_echo_n "checking for _fabsf declaration... " >&6; }
46610 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
46611 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
46612 $as_echo_n "(cached) " >&6
46613 else
46616 ac_ext=cpp
46617 ac_cpp='$CXXCPP $CPPFLAGS'
46618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46623 /* end confdefs.h. */
46624 #include <math.h>
46625 #ifdef HAVE_IEEEFP_H
46626 #include <ieeefp.h>
46627 #endif
46630 main ()
46632 _fabsf(0);
46634 return 0;
46636 _ACEOF
46637 if ac_fn_cxx_try_compile "$LINENO"; then :
46638 glibcxx_cv_func__fabsf_use=yes
46639 else
46640 glibcxx_cv_func__fabsf_use=no
46642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46643 ac_ext=c
46644 ac_cpp='$CPP $CPPFLAGS'
46645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
46654 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
46656 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
46657 for ac_func in _fabsf
46658 do :
46659 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
46660 if test "x$ac_cv_func__fabsf" = x""yes; then :
46661 cat >>confdefs.h <<_ACEOF
46662 #define HAVE__FABSF 1
46663 _ACEOF
46666 done
46675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
46676 $as_echo_n "checking for fmodf declaration... " >&6; }
46677 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
46678 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
46679 $as_echo_n "(cached) " >&6
46680 else
46683 ac_ext=cpp
46684 ac_cpp='$CXXCPP $CPPFLAGS'
46685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46690 /* end confdefs.h. */
46691 #include <math.h>
46693 main ()
46695 fmodf(0, 0);
46697 return 0;
46699 _ACEOF
46700 if ac_fn_cxx_try_compile "$LINENO"; then :
46701 glibcxx_cv_func_fmodf_use=yes
46702 else
46703 glibcxx_cv_func_fmodf_use=no
46705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46706 ac_ext=c
46707 ac_cpp='$CPP $CPPFLAGS'
46708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
46717 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
46719 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
46720 for ac_func in fmodf
46721 do :
46722 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
46723 if test "x$ac_cv_func_fmodf" = x""yes; then :
46724 cat >>confdefs.h <<_ACEOF
46725 #define HAVE_FMODF 1
46726 _ACEOF
46729 done
46731 else
46733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
46734 $as_echo_n "checking for _fmodf declaration... " >&6; }
46735 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
46736 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
46737 $as_echo_n "(cached) " >&6
46738 else
46741 ac_ext=cpp
46742 ac_cpp='$CXXCPP $CPPFLAGS'
46743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46748 /* end confdefs.h. */
46749 #include <math.h>
46751 main ()
46753 _fmodf(0, 0);
46755 return 0;
46757 _ACEOF
46758 if ac_fn_cxx_try_compile "$LINENO"; then :
46759 glibcxx_cv_func__fmodf_use=yes
46760 else
46761 glibcxx_cv_func__fmodf_use=no
46763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46764 ac_ext=c
46765 ac_cpp='$CPP $CPPFLAGS'
46766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
46775 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
46777 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
46778 for ac_func in _fmodf
46779 do :
46780 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
46781 if test "x$ac_cv_func__fmodf" = x""yes; then :
46782 cat >>confdefs.h <<_ACEOF
46783 #define HAVE__FMODF 1
46784 _ACEOF
46787 done
46796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
46797 $as_echo_n "checking for frexpf declaration... " >&6; }
46798 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
46799 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
46800 $as_echo_n "(cached) " >&6
46801 else
46804 ac_ext=cpp
46805 ac_cpp='$CXXCPP $CPPFLAGS'
46806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46811 /* end confdefs.h. */
46812 #include <math.h>
46814 main ()
46816 frexpf(0, 0);
46818 return 0;
46820 _ACEOF
46821 if ac_fn_cxx_try_compile "$LINENO"; then :
46822 glibcxx_cv_func_frexpf_use=yes
46823 else
46824 glibcxx_cv_func_frexpf_use=no
46826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46827 ac_ext=c
46828 ac_cpp='$CPP $CPPFLAGS'
46829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
46838 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
46840 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
46841 for ac_func in frexpf
46842 do :
46843 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
46844 if test "x$ac_cv_func_frexpf" = x""yes; then :
46845 cat >>confdefs.h <<_ACEOF
46846 #define HAVE_FREXPF 1
46847 _ACEOF
46850 done
46852 else
46854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
46855 $as_echo_n "checking for _frexpf declaration... " >&6; }
46856 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
46857 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
46858 $as_echo_n "(cached) " >&6
46859 else
46862 ac_ext=cpp
46863 ac_cpp='$CXXCPP $CPPFLAGS'
46864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46869 /* end confdefs.h. */
46870 #include <math.h>
46872 main ()
46874 _frexpf(0, 0);
46876 return 0;
46878 _ACEOF
46879 if ac_fn_cxx_try_compile "$LINENO"; then :
46880 glibcxx_cv_func__frexpf_use=yes
46881 else
46882 glibcxx_cv_func__frexpf_use=no
46884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46885 ac_ext=c
46886 ac_cpp='$CPP $CPPFLAGS'
46887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
46896 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
46898 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
46899 for ac_func in _frexpf
46900 do :
46901 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
46902 if test "x$ac_cv_func__frexpf" = x""yes; then :
46903 cat >>confdefs.h <<_ACEOF
46904 #define HAVE__FREXPF 1
46905 _ACEOF
46908 done
46917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
46918 $as_echo_n "checking for hypotf declaration... " >&6; }
46919 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
46920 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
46921 $as_echo_n "(cached) " >&6
46922 else
46925 ac_ext=cpp
46926 ac_cpp='$CXXCPP $CPPFLAGS'
46927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46932 /* end confdefs.h. */
46933 #include <math.h>
46935 main ()
46937 hypotf(0, 0);
46939 return 0;
46941 _ACEOF
46942 if ac_fn_cxx_try_compile "$LINENO"; then :
46943 glibcxx_cv_func_hypotf_use=yes
46944 else
46945 glibcxx_cv_func_hypotf_use=no
46947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46948 ac_ext=c
46949 ac_cpp='$CPP $CPPFLAGS'
46950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
46959 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
46961 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
46962 for ac_func in hypotf
46963 do :
46964 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
46965 if test "x$ac_cv_func_hypotf" = x""yes; then :
46966 cat >>confdefs.h <<_ACEOF
46967 #define HAVE_HYPOTF 1
46968 _ACEOF
46971 done
46973 else
46975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
46976 $as_echo_n "checking for _hypotf declaration... " >&6; }
46977 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
46978 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
46979 $as_echo_n "(cached) " >&6
46980 else
46983 ac_ext=cpp
46984 ac_cpp='$CXXCPP $CPPFLAGS'
46985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46990 /* end confdefs.h. */
46991 #include <math.h>
46993 main ()
46995 _hypotf(0, 0);
46997 return 0;
46999 _ACEOF
47000 if ac_fn_cxx_try_compile "$LINENO"; then :
47001 glibcxx_cv_func__hypotf_use=yes
47002 else
47003 glibcxx_cv_func__hypotf_use=no
47005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47006 ac_ext=c
47007 ac_cpp='$CPP $CPPFLAGS'
47008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
47017 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
47019 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
47020 for ac_func in _hypotf
47021 do :
47022 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
47023 if test "x$ac_cv_func__hypotf" = x""yes; then :
47024 cat >>confdefs.h <<_ACEOF
47025 #define HAVE__HYPOTF 1
47026 _ACEOF
47029 done
47038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
47039 $as_echo_n "checking for ldexpf declaration... " >&6; }
47040 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
47041 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
47042 $as_echo_n "(cached) " >&6
47043 else
47046 ac_ext=cpp
47047 ac_cpp='$CXXCPP $CPPFLAGS'
47048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47053 /* end confdefs.h. */
47054 #include <math.h>
47056 main ()
47058 ldexpf(0, 0);
47060 return 0;
47062 _ACEOF
47063 if ac_fn_cxx_try_compile "$LINENO"; then :
47064 glibcxx_cv_func_ldexpf_use=yes
47065 else
47066 glibcxx_cv_func_ldexpf_use=no
47068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47069 ac_ext=c
47070 ac_cpp='$CPP $CPPFLAGS'
47071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47080 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47082 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47083 for ac_func in ldexpf
47084 do :
47085 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47086 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47087 cat >>confdefs.h <<_ACEOF
47088 #define HAVE_LDEXPF 1
47089 _ACEOF
47092 done
47094 else
47096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47097 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47098 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47099 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47100 $as_echo_n "(cached) " >&6
47101 else
47104 ac_ext=cpp
47105 ac_cpp='$CXXCPP $CPPFLAGS'
47106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47111 /* end confdefs.h. */
47112 #include <math.h>
47114 main ()
47116 _ldexpf(0, 0);
47118 return 0;
47120 _ACEOF
47121 if ac_fn_cxx_try_compile "$LINENO"; then :
47122 glibcxx_cv_func__ldexpf_use=yes
47123 else
47124 glibcxx_cv_func__ldexpf_use=no
47126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47127 ac_ext=c
47128 ac_cpp='$CPP $CPPFLAGS'
47129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47138 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47140 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47141 for ac_func in _ldexpf
47142 do :
47143 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47144 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47145 cat >>confdefs.h <<_ACEOF
47146 #define HAVE__LDEXPF 1
47147 _ACEOF
47150 done
47159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47160 $as_echo_n "checking for logf declaration... " >&6; }
47161 if test x${glibcxx_cv_func_logf_use+set} != xset; then
47162 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47163 $as_echo_n "(cached) " >&6
47164 else
47167 ac_ext=cpp
47168 ac_cpp='$CXXCPP $CPPFLAGS'
47169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47174 /* end confdefs.h. */
47175 #include <math.h>
47176 #ifdef HAVE_IEEEFP_H
47177 #include <ieeefp.h>
47178 #endif
47181 main ()
47183 logf(0);
47185 return 0;
47187 _ACEOF
47188 if ac_fn_cxx_try_compile "$LINENO"; then :
47189 glibcxx_cv_func_logf_use=yes
47190 else
47191 glibcxx_cv_func_logf_use=no
47193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47194 ac_ext=c
47195 ac_cpp='$CPP $CPPFLAGS'
47196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47205 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47207 if test x$glibcxx_cv_func_logf_use = x"yes"; then
47208 for ac_func in logf
47209 do :
47210 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47211 if test "x$ac_cv_func_logf" = x""yes; then :
47212 cat >>confdefs.h <<_ACEOF
47213 #define HAVE_LOGF 1
47214 _ACEOF
47217 done
47219 else
47221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
47222 $as_echo_n "checking for _logf declaration... " >&6; }
47223 if test x${glibcxx_cv_func__logf_use+set} != xset; then
47224 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
47225 $as_echo_n "(cached) " >&6
47226 else
47229 ac_ext=cpp
47230 ac_cpp='$CXXCPP $CPPFLAGS'
47231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47236 /* end confdefs.h. */
47237 #include <math.h>
47238 #ifdef HAVE_IEEEFP_H
47239 #include <ieeefp.h>
47240 #endif
47243 main ()
47245 _logf(0);
47247 return 0;
47249 _ACEOF
47250 if ac_fn_cxx_try_compile "$LINENO"; then :
47251 glibcxx_cv_func__logf_use=yes
47252 else
47253 glibcxx_cv_func__logf_use=no
47255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47256 ac_ext=c
47257 ac_cpp='$CPP $CPPFLAGS'
47258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
47267 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
47269 if test x$glibcxx_cv_func__logf_use = x"yes"; then
47270 for ac_func in _logf
47271 do :
47272 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
47273 if test "x$ac_cv_func__logf" = x""yes; then :
47274 cat >>confdefs.h <<_ACEOF
47275 #define HAVE__LOGF 1
47276 _ACEOF
47279 done
47288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
47289 $as_echo_n "checking for log10f declaration... " >&6; }
47290 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
47291 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
47292 $as_echo_n "(cached) " >&6
47293 else
47296 ac_ext=cpp
47297 ac_cpp='$CXXCPP $CPPFLAGS'
47298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47303 /* end confdefs.h. */
47304 #include <math.h>
47305 #ifdef HAVE_IEEEFP_H
47306 #include <ieeefp.h>
47307 #endif
47310 main ()
47312 log10f(0);
47314 return 0;
47316 _ACEOF
47317 if ac_fn_cxx_try_compile "$LINENO"; then :
47318 glibcxx_cv_func_log10f_use=yes
47319 else
47320 glibcxx_cv_func_log10f_use=no
47322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47323 ac_ext=c
47324 ac_cpp='$CPP $CPPFLAGS'
47325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
47334 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
47336 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
47337 for ac_func in log10f
47338 do :
47339 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
47340 if test "x$ac_cv_func_log10f" = x""yes; then :
47341 cat >>confdefs.h <<_ACEOF
47342 #define HAVE_LOG10F 1
47343 _ACEOF
47346 done
47348 else
47350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
47351 $as_echo_n "checking for _log10f declaration... " >&6; }
47352 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
47353 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
47354 $as_echo_n "(cached) " >&6
47355 else
47358 ac_ext=cpp
47359 ac_cpp='$CXXCPP $CPPFLAGS'
47360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47365 /* end confdefs.h. */
47366 #include <math.h>
47367 #ifdef HAVE_IEEEFP_H
47368 #include <ieeefp.h>
47369 #endif
47372 main ()
47374 _log10f(0);
47376 return 0;
47378 _ACEOF
47379 if ac_fn_cxx_try_compile "$LINENO"; then :
47380 glibcxx_cv_func__log10f_use=yes
47381 else
47382 glibcxx_cv_func__log10f_use=no
47384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47385 ac_ext=c
47386 ac_cpp='$CPP $CPPFLAGS'
47387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
47396 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
47398 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
47399 for ac_func in _log10f
47400 do :
47401 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
47402 if test "x$ac_cv_func__log10f" = x""yes; then :
47403 cat >>confdefs.h <<_ACEOF
47404 #define HAVE__LOG10F 1
47405 _ACEOF
47408 done
47417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
47418 $as_echo_n "checking for modff declaration... " >&6; }
47419 if test x${glibcxx_cv_func_modff_use+set} != xset; then
47420 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
47421 $as_echo_n "(cached) " >&6
47422 else
47425 ac_ext=cpp
47426 ac_cpp='$CXXCPP $CPPFLAGS'
47427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47432 /* end confdefs.h. */
47433 #include <math.h>
47435 main ()
47437 modff(0, 0);
47439 return 0;
47441 _ACEOF
47442 if ac_fn_cxx_try_compile "$LINENO"; then :
47443 glibcxx_cv_func_modff_use=yes
47444 else
47445 glibcxx_cv_func_modff_use=no
47447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47448 ac_ext=c
47449 ac_cpp='$CPP $CPPFLAGS'
47450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
47459 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
47461 if test x$glibcxx_cv_func_modff_use = x"yes"; then
47462 for ac_func in modff
47463 do :
47464 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
47465 if test "x$ac_cv_func_modff" = x""yes; then :
47466 cat >>confdefs.h <<_ACEOF
47467 #define HAVE_MODFF 1
47468 _ACEOF
47471 done
47473 else
47475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
47476 $as_echo_n "checking for _modff declaration... " >&6; }
47477 if test x${glibcxx_cv_func__modff_use+set} != xset; then
47478 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
47479 $as_echo_n "(cached) " >&6
47480 else
47483 ac_ext=cpp
47484 ac_cpp='$CXXCPP $CPPFLAGS'
47485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47490 /* end confdefs.h. */
47491 #include <math.h>
47493 main ()
47495 _modff(0, 0);
47497 return 0;
47499 _ACEOF
47500 if ac_fn_cxx_try_compile "$LINENO"; then :
47501 glibcxx_cv_func__modff_use=yes
47502 else
47503 glibcxx_cv_func__modff_use=no
47505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47506 ac_ext=c
47507 ac_cpp='$CPP $CPPFLAGS'
47508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
47517 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
47519 if test x$glibcxx_cv_func__modff_use = x"yes"; then
47520 for ac_func in _modff
47521 do :
47522 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
47523 if test "x$ac_cv_func__modff" = x""yes; then :
47524 cat >>confdefs.h <<_ACEOF
47525 #define HAVE__MODFF 1
47526 _ACEOF
47529 done
47538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
47539 $as_echo_n "checking for modf declaration... " >&6; }
47540 if test x${glibcxx_cv_func_modf_use+set} != xset; then
47541 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
47542 $as_echo_n "(cached) " >&6
47543 else
47546 ac_ext=cpp
47547 ac_cpp='$CXXCPP $CPPFLAGS'
47548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47553 /* end confdefs.h. */
47554 #include <math.h>
47556 main ()
47558 modf(0, 0);
47560 return 0;
47562 _ACEOF
47563 if ac_fn_cxx_try_compile "$LINENO"; then :
47564 glibcxx_cv_func_modf_use=yes
47565 else
47566 glibcxx_cv_func_modf_use=no
47568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47569 ac_ext=c
47570 ac_cpp='$CPP $CPPFLAGS'
47571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
47580 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
47582 if test x$glibcxx_cv_func_modf_use = x"yes"; then
47583 for ac_func in modf
47584 do :
47585 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
47586 if test "x$ac_cv_func_modf" = x""yes; then :
47587 cat >>confdefs.h <<_ACEOF
47588 #define HAVE_MODF 1
47589 _ACEOF
47592 done
47594 else
47596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
47597 $as_echo_n "checking for _modf declaration... " >&6; }
47598 if test x${glibcxx_cv_func__modf_use+set} != xset; then
47599 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
47600 $as_echo_n "(cached) " >&6
47601 else
47604 ac_ext=cpp
47605 ac_cpp='$CXXCPP $CPPFLAGS'
47606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47611 /* end confdefs.h. */
47612 #include <math.h>
47614 main ()
47616 _modf(0, 0);
47618 return 0;
47620 _ACEOF
47621 if ac_fn_cxx_try_compile "$LINENO"; then :
47622 glibcxx_cv_func__modf_use=yes
47623 else
47624 glibcxx_cv_func__modf_use=no
47626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47627 ac_ext=c
47628 ac_cpp='$CPP $CPPFLAGS'
47629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
47638 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
47640 if test x$glibcxx_cv_func__modf_use = x"yes"; then
47641 for ac_func in _modf
47642 do :
47643 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
47644 if test "x$ac_cv_func__modf" = x""yes; then :
47645 cat >>confdefs.h <<_ACEOF
47646 #define HAVE__MODF 1
47647 _ACEOF
47650 done
47659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
47660 $as_echo_n "checking for powf declaration... " >&6; }
47661 if test x${glibcxx_cv_func_powf_use+set} != xset; then
47662 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
47663 $as_echo_n "(cached) " >&6
47664 else
47667 ac_ext=cpp
47668 ac_cpp='$CXXCPP $CPPFLAGS'
47669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47674 /* end confdefs.h. */
47675 #include <math.h>
47677 main ()
47679 powf(0, 0);
47681 return 0;
47683 _ACEOF
47684 if ac_fn_cxx_try_compile "$LINENO"; then :
47685 glibcxx_cv_func_powf_use=yes
47686 else
47687 glibcxx_cv_func_powf_use=no
47689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47690 ac_ext=c
47691 ac_cpp='$CPP $CPPFLAGS'
47692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
47701 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
47703 if test x$glibcxx_cv_func_powf_use = x"yes"; then
47704 for ac_func in powf
47705 do :
47706 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
47707 if test "x$ac_cv_func_powf" = x""yes; then :
47708 cat >>confdefs.h <<_ACEOF
47709 #define HAVE_POWF 1
47710 _ACEOF
47713 done
47715 else
47717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
47718 $as_echo_n "checking for _powf declaration... " >&6; }
47719 if test x${glibcxx_cv_func__powf_use+set} != xset; then
47720 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
47721 $as_echo_n "(cached) " >&6
47722 else
47725 ac_ext=cpp
47726 ac_cpp='$CXXCPP $CPPFLAGS'
47727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47732 /* end confdefs.h. */
47733 #include <math.h>
47735 main ()
47737 _powf(0, 0);
47739 return 0;
47741 _ACEOF
47742 if ac_fn_cxx_try_compile "$LINENO"; then :
47743 glibcxx_cv_func__powf_use=yes
47744 else
47745 glibcxx_cv_func__powf_use=no
47747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47748 ac_ext=c
47749 ac_cpp='$CPP $CPPFLAGS'
47750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
47759 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
47761 if test x$glibcxx_cv_func__powf_use = x"yes"; then
47762 for ac_func in _powf
47763 do :
47764 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
47765 if test "x$ac_cv_func__powf" = x""yes; then :
47766 cat >>confdefs.h <<_ACEOF
47767 #define HAVE__POWF 1
47768 _ACEOF
47771 done
47780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
47781 $as_echo_n "checking for sqrtf declaration... " >&6; }
47782 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
47783 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
47784 $as_echo_n "(cached) " >&6
47785 else
47788 ac_ext=cpp
47789 ac_cpp='$CXXCPP $CPPFLAGS'
47790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47795 /* end confdefs.h. */
47796 #include <math.h>
47797 #ifdef HAVE_IEEEFP_H
47798 #include <ieeefp.h>
47799 #endif
47802 main ()
47804 sqrtf(0);
47806 return 0;
47808 _ACEOF
47809 if ac_fn_cxx_try_compile "$LINENO"; then :
47810 glibcxx_cv_func_sqrtf_use=yes
47811 else
47812 glibcxx_cv_func_sqrtf_use=no
47814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47815 ac_ext=c
47816 ac_cpp='$CPP $CPPFLAGS'
47817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
47826 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
47828 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
47829 for ac_func in sqrtf
47830 do :
47831 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
47832 if test "x$ac_cv_func_sqrtf" = x""yes; then :
47833 cat >>confdefs.h <<_ACEOF
47834 #define HAVE_SQRTF 1
47835 _ACEOF
47838 done
47840 else
47842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
47843 $as_echo_n "checking for _sqrtf declaration... " >&6; }
47844 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
47845 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
47846 $as_echo_n "(cached) " >&6
47847 else
47850 ac_ext=cpp
47851 ac_cpp='$CXXCPP $CPPFLAGS'
47852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47857 /* end confdefs.h. */
47858 #include <math.h>
47859 #ifdef HAVE_IEEEFP_H
47860 #include <ieeefp.h>
47861 #endif
47864 main ()
47866 _sqrtf(0);
47868 return 0;
47870 _ACEOF
47871 if ac_fn_cxx_try_compile "$LINENO"; then :
47872 glibcxx_cv_func__sqrtf_use=yes
47873 else
47874 glibcxx_cv_func__sqrtf_use=no
47876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47877 ac_ext=c
47878 ac_cpp='$CPP $CPPFLAGS'
47879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
47888 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
47890 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
47891 for ac_func in _sqrtf
47892 do :
47893 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
47894 if test "x$ac_cv_func__sqrtf" = x""yes; then :
47895 cat >>confdefs.h <<_ACEOF
47896 #define HAVE__SQRTF 1
47897 _ACEOF
47900 done
47909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
47910 $as_echo_n "checking for sincosf declaration... " >&6; }
47911 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
47912 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
47913 $as_echo_n "(cached) " >&6
47914 else
47917 ac_ext=cpp
47918 ac_cpp='$CXXCPP $CPPFLAGS'
47919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47924 /* end confdefs.h. */
47925 #include <math.h>
47927 main ()
47929 sincosf(0, 0, 0);
47931 return 0;
47933 _ACEOF
47934 if ac_fn_cxx_try_compile "$LINENO"; then :
47935 glibcxx_cv_func_sincosf_use=yes
47936 else
47937 glibcxx_cv_func_sincosf_use=no
47939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47940 ac_ext=c
47941 ac_cpp='$CPP $CPPFLAGS'
47942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
47951 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
47953 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
47954 for ac_func in sincosf
47955 do :
47956 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
47957 if test "x$ac_cv_func_sincosf" = x""yes; then :
47958 cat >>confdefs.h <<_ACEOF
47959 #define HAVE_SINCOSF 1
47960 _ACEOF
47963 done
47965 else
47967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
47968 $as_echo_n "checking for _sincosf declaration... " >&6; }
47969 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
47970 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
47971 $as_echo_n "(cached) " >&6
47972 else
47975 ac_ext=cpp
47976 ac_cpp='$CXXCPP $CPPFLAGS'
47977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47982 /* end confdefs.h. */
47983 #include <math.h>
47985 main ()
47987 _sincosf(0, 0, 0);
47989 return 0;
47991 _ACEOF
47992 if ac_fn_cxx_try_compile "$LINENO"; then :
47993 glibcxx_cv_func__sincosf_use=yes
47994 else
47995 glibcxx_cv_func__sincosf_use=no
47997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47998 ac_ext=c
47999 ac_cpp='$CPP $CPPFLAGS'
48000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
48009 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
48011 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
48012 for ac_func in _sincosf
48013 do :
48014 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
48015 if test "x$ac_cv_func__sincosf" = x""yes; then :
48016 cat >>confdefs.h <<_ACEOF
48017 #define HAVE__SINCOSF 1
48018 _ACEOF
48021 done
48030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
48031 $as_echo_n "checking for finitef declaration... " >&6; }
48032 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
48033 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
48034 $as_echo_n "(cached) " >&6
48035 else
48038 ac_ext=cpp
48039 ac_cpp='$CXXCPP $CPPFLAGS'
48040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48045 /* end confdefs.h. */
48046 #include <math.h>
48047 #ifdef HAVE_IEEEFP_H
48048 #include <ieeefp.h>
48049 #endif
48052 main ()
48054 finitef(0);
48056 return 0;
48058 _ACEOF
48059 if ac_fn_cxx_try_compile "$LINENO"; then :
48060 glibcxx_cv_func_finitef_use=yes
48061 else
48062 glibcxx_cv_func_finitef_use=no
48064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48065 ac_ext=c
48066 ac_cpp='$CPP $CPPFLAGS'
48067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48076 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48078 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48079 for ac_func in finitef
48080 do :
48081 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48082 if test "x$ac_cv_func_finitef" = x""yes; then :
48083 cat >>confdefs.h <<_ACEOF
48084 #define HAVE_FINITEF 1
48085 _ACEOF
48088 done
48090 else
48092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48093 $as_echo_n "checking for _finitef declaration... " >&6; }
48094 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48095 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48096 $as_echo_n "(cached) " >&6
48097 else
48100 ac_ext=cpp
48101 ac_cpp='$CXXCPP $CPPFLAGS'
48102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48107 /* end confdefs.h. */
48108 #include <math.h>
48109 #ifdef HAVE_IEEEFP_H
48110 #include <ieeefp.h>
48111 #endif
48114 main ()
48116 _finitef(0);
48118 return 0;
48120 _ACEOF
48121 if ac_fn_cxx_try_compile "$LINENO"; then :
48122 glibcxx_cv_func__finitef_use=yes
48123 else
48124 glibcxx_cv_func__finitef_use=no
48126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48127 ac_ext=c
48128 ac_cpp='$CPP $CPPFLAGS'
48129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48138 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48140 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48141 for ac_func in _finitef
48142 do :
48143 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48144 if test "x$ac_cv_func__finitef" = x""yes; then :
48145 cat >>confdefs.h <<_ACEOF
48146 #define HAVE__FINITEF 1
48147 _ACEOF
48150 done
48159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48160 $as_echo_n "checking for long double trig functions... " >&6; }
48161 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48162 $as_echo_n "(cached) " >&6
48163 else
48166 ac_ext=cpp
48167 ac_cpp='$CXXCPP $CPPFLAGS'
48168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48173 /* end confdefs.h. */
48174 #include <math.h>
48176 main ()
48178 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48180 return 0;
48182 _ACEOF
48183 if ac_fn_cxx_try_compile "$LINENO"; then :
48184 glibcxx_cv_func_long_double_trig_use=yes
48185 else
48186 glibcxx_cv_func_long_double_trig_use=no
48188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48189 ac_ext=c
48190 ac_cpp='$CPP $CPPFLAGS'
48191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48198 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48199 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48200 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48201 do :
48202 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48203 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48204 eval as_val=\$$as_ac_var
48205 if test "x$as_val" = x""yes; then :
48206 cat >>confdefs.h <<_ACEOF
48207 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48208 _ACEOF
48211 done
48213 else
48214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48215 $as_echo_n "checking for _long double trig functions... " >&6; }
48216 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
48217 $as_echo_n "(cached) " >&6
48218 else
48221 ac_ext=cpp
48222 ac_cpp='$CXXCPP $CPPFLAGS'
48223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48228 /* end confdefs.h. */
48229 #include <math.h>
48231 main ()
48233 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
48235 return 0;
48237 _ACEOF
48238 if ac_fn_cxx_try_compile "$LINENO"; then :
48239 glibcxx_cv_func__long_double_trig_use=yes
48240 else
48241 glibcxx_cv_func__long_double_trig_use=no
48243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48244 ac_ext=c
48245 ac_cpp='$CPP $CPPFLAGS'
48246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
48253 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
48254 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
48255 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
48256 do :
48257 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48258 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48259 eval as_val=\$$as_ac_var
48260 if test "x$as_val" = x""yes; then :
48261 cat >>confdefs.h <<_ACEOF
48262 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48263 _ACEOF
48266 done
48275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
48276 $as_echo_n "checking for long double round functions... " >&6; }
48277 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
48278 $as_echo_n "(cached) " >&6
48279 else
48282 ac_ext=cpp
48283 ac_cpp='$CXXCPP $CPPFLAGS'
48284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48289 /* end confdefs.h. */
48290 #include <math.h>
48292 main ()
48294 ceill (0); floorl (0);
48296 return 0;
48298 _ACEOF
48299 if ac_fn_cxx_try_compile "$LINENO"; then :
48300 glibcxx_cv_func_long_double_round_use=yes
48301 else
48302 glibcxx_cv_func_long_double_round_use=no
48304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48305 ac_ext=c
48306 ac_cpp='$CPP $CPPFLAGS'
48307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
48314 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
48315 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
48316 for ac_func in ceill floorl
48317 do :
48318 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48319 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48320 eval as_val=\$$as_ac_var
48321 if test "x$as_val" = x""yes; then :
48322 cat >>confdefs.h <<_ACEOF
48323 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48324 _ACEOF
48327 done
48329 else
48330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
48331 $as_echo_n "checking for _long double round functions... " >&6; }
48332 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
48333 $as_echo_n "(cached) " >&6
48334 else
48337 ac_ext=cpp
48338 ac_cpp='$CXXCPP $CPPFLAGS'
48339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48344 /* end confdefs.h. */
48345 #include <math.h>
48347 main ()
48349 _ceill (0); _floorl (0);
48351 return 0;
48353 _ACEOF
48354 if ac_fn_cxx_try_compile "$LINENO"; then :
48355 glibcxx_cv_func__long_double_round_use=yes
48356 else
48357 glibcxx_cv_func__long_double_round_use=no
48359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48360 ac_ext=c
48361 ac_cpp='$CPP $CPPFLAGS'
48362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
48369 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
48370 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48371 for ac_func in _ceill _floorl
48372 do :
48373 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48374 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48375 eval as_val=\$$as_ac_var
48376 if test "x$as_val" = x""yes; then :
48377 cat >>confdefs.h <<_ACEOF
48378 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48379 _ACEOF
48382 done
48392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
48393 $as_echo_n "checking for isnanl declaration... " >&6; }
48394 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
48395 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
48396 $as_echo_n "(cached) " >&6
48397 else
48400 ac_ext=cpp
48401 ac_cpp='$CXXCPP $CPPFLAGS'
48402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48407 /* end confdefs.h. */
48408 #include <math.h>
48409 #ifdef HAVE_IEEEFP_H
48410 #include <ieeefp.h>
48411 #endif
48414 main ()
48416 isnanl(0);
48418 return 0;
48420 _ACEOF
48421 if ac_fn_cxx_try_compile "$LINENO"; then :
48422 glibcxx_cv_func_isnanl_use=yes
48423 else
48424 glibcxx_cv_func_isnanl_use=no
48426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48427 ac_ext=c
48428 ac_cpp='$CPP $CPPFLAGS'
48429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
48438 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
48440 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
48441 for ac_func in isnanl
48442 do :
48443 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
48444 if test "x$ac_cv_func_isnanl" = x""yes; then :
48445 cat >>confdefs.h <<_ACEOF
48446 #define HAVE_ISNANL 1
48447 _ACEOF
48450 done
48452 else
48454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
48455 $as_echo_n "checking for _isnanl declaration... " >&6; }
48456 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
48457 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
48458 $as_echo_n "(cached) " >&6
48459 else
48462 ac_ext=cpp
48463 ac_cpp='$CXXCPP $CPPFLAGS'
48464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48469 /* end confdefs.h. */
48470 #include <math.h>
48471 #ifdef HAVE_IEEEFP_H
48472 #include <ieeefp.h>
48473 #endif
48476 main ()
48478 _isnanl(0);
48480 return 0;
48482 _ACEOF
48483 if ac_fn_cxx_try_compile "$LINENO"; then :
48484 glibcxx_cv_func__isnanl_use=yes
48485 else
48486 glibcxx_cv_func__isnanl_use=no
48488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48489 ac_ext=c
48490 ac_cpp='$CPP $CPPFLAGS'
48491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
48500 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
48502 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
48503 for ac_func in _isnanl
48504 do :
48505 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
48506 if test "x$ac_cv_func__isnanl" = x""yes; then :
48507 cat >>confdefs.h <<_ACEOF
48508 #define HAVE__ISNANL 1
48509 _ACEOF
48512 done
48521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
48522 $as_echo_n "checking for isinfl declaration... " >&6; }
48523 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
48524 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
48525 $as_echo_n "(cached) " >&6
48526 else
48529 ac_ext=cpp
48530 ac_cpp='$CXXCPP $CPPFLAGS'
48531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48536 /* end confdefs.h. */
48537 #include <math.h>
48538 #ifdef HAVE_IEEEFP_H
48539 #include <ieeefp.h>
48540 #endif
48543 main ()
48545 isinfl(0);
48547 return 0;
48549 _ACEOF
48550 if ac_fn_cxx_try_compile "$LINENO"; then :
48551 glibcxx_cv_func_isinfl_use=yes
48552 else
48553 glibcxx_cv_func_isinfl_use=no
48555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48556 ac_ext=c
48557 ac_cpp='$CPP $CPPFLAGS'
48558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
48567 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
48569 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
48570 for ac_func in isinfl
48571 do :
48572 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
48573 if test "x$ac_cv_func_isinfl" = x""yes; then :
48574 cat >>confdefs.h <<_ACEOF
48575 #define HAVE_ISINFL 1
48576 _ACEOF
48579 done
48581 else
48583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
48584 $as_echo_n "checking for _isinfl declaration... " >&6; }
48585 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
48586 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
48587 $as_echo_n "(cached) " >&6
48588 else
48591 ac_ext=cpp
48592 ac_cpp='$CXXCPP $CPPFLAGS'
48593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48598 /* end confdefs.h. */
48599 #include <math.h>
48600 #ifdef HAVE_IEEEFP_H
48601 #include <ieeefp.h>
48602 #endif
48605 main ()
48607 _isinfl(0);
48609 return 0;
48611 _ACEOF
48612 if ac_fn_cxx_try_compile "$LINENO"; then :
48613 glibcxx_cv_func__isinfl_use=yes
48614 else
48615 glibcxx_cv_func__isinfl_use=no
48617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48618 ac_ext=c
48619 ac_cpp='$CPP $CPPFLAGS'
48620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
48629 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
48631 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
48632 for ac_func in _isinfl
48633 do :
48634 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
48635 if test "x$ac_cv_func__isinfl" = x""yes; then :
48636 cat >>confdefs.h <<_ACEOF
48637 #define HAVE__ISINFL 1
48638 _ACEOF
48641 done
48650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
48651 $as_echo_n "checking for atan2l declaration... " >&6; }
48652 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
48653 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
48654 $as_echo_n "(cached) " >&6
48655 else
48658 ac_ext=cpp
48659 ac_cpp='$CXXCPP $CPPFLAGS'
48660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48665 /* end confdefs.h. */
48666 #include <math.h>
48668 main ()
48670 atan2l(0, 0);
48672 return 0;
48674 _ACEOF
48675 if ac_fn_cxx_try_compile "$LINENO"; then :
48676 glibcxx_cv_func_atan2l_use=yes
48677 else
48678 glibcxx_cv_func_atan2l_use=no
48680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48681 ac_ext=c
48682 ac_cpp='$CPP $CPPFLAGS'
48683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
48692 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
48694 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
48695 for ac_func in atan2l
48696 do :
48697 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
48698 if test "x$ac_cv_func_atan2l" = x""yes; then :
48699 cat >>confdefs.h <<_ACEOF
48700 #define HAVE_ATAN2L 1
48701 _ACEOF
48704 done
48706 else
48708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
48709 $as_echo_n "checking for _atan2l declaration... " >&6; }
48710 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
48711 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
48712 $as_echo_n "(cached) " >&6
48713 else
48716 ac_ext=cpp
48717 ac_cpp='$CXXCPP $CPPFLAGS'
48718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48723 /* end confdefs.h. */
48724 #include <math.h>
48726 main ()
48728 _atan2l(0, 0);
48730 return 0;
48732 _ACEOF
48733 if ac_fn_cxx_try_compile "$LINENO"; then :
48734 glibcxx_cv_func__atan2l_use=yes
48735 else
48736 glibcxx_cv_func__atan2l_use=no
48738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48739 ac_ext=c
48740 ac_cpp='$CPP $CPPFLAGS'
48741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
48750 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
48752 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
48753 for ac_func in _atan2l
48754 do :
48755 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
48756 if test "x$ac_cv_func__atan2l" = x""yes; then :
48757 cat >>confdefs.h <<_ACEOF
48758 #define HAVE__ATAN2L 1
48759 _ACEOF
48762 done
48771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
48772 $as_echo_n "checking for expl declaration... " >&6; }
48773 if test x${glibcxx_cv_func_expl_use+set} != xset; then
48774 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
48775 $as_echo_n "(cached) " >&6
48776 else
48779 ac_ext=cpp
48780 ac_cpp='$CXXCPP $CPPFLAGS'
48781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48786 /* end confdefs.h. */
48787 #include <math.h>
48788 #ifdef HAVE_IEEEFP_H
48789 #include <ieeefp.h>
48790 #endif
48793 main ()
48795 expl(0);
48797 return 0;
48799 _ACEOF
48800 if ac_fn_cxx_try_compile "$LINENO"; then :
48801 glibcxx_cv_func_expl_use=yes
48802 else
48803 glibcxx_cv_func_expl_use=no
48805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48806 ac_ext=c
48807 ac_cpp='$CPP $CPPFLAGS'
48808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
48817 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
48819 if test x$glibcxx_cv_func_expl_use = x"yes"; then
48820 for ac_func in expl
48821 do :
48822 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
48823 if test "x$ac_cv_func_expl" = x""yes; then :
48824 cat >>confdefs.h <<_ACEOF
48825 #define HAVE_EXPL 1
48826 _ACEOF
48829 done
48831 else
48833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
48834 $as_echo_n "checking for _expl declaration... " >&6; }
48835 if test x${glibcxx_cv_func__expl_use+set} != xset; then
48836 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
48837 $as_echo_n "(cached) " >&6
48838 else
48841 ac_ext=cpp
48842 ac_cpp='$CXXCPP $CPPFLAGS'
48843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48848 /* end confdefs.h. */
48849 #include <math.h>
48850 #ifdef HAVE_IEEEFP_H
48851 #include <ieeefp.h>
48852 #endif
48855 main ()
48857 _expl(0);
48859 return 0;
48861 _ACEOF
48862 if ac_fn_cxx_try_compile "$LINENO"; then :
48863 glibcxx_cv_func__expl_use=yes
48864 else
48865 glibcxx_cv_func__expl_use=no
48867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48868 ac_ext=c
48869 ac_cpp='$CPP $CPPFLAGS'
48870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
48879 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
48881 if test x$glibcxx_cv_func__expl_use = x"yes"; then
48882 for ac_func in _expl
48883 do :
48884 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
48885 if test "x$ac_cv_func__expl" = x""yes; then :
48886 cat >>confdefs.h <<_ACEOF
48887 #define HAVE__EXPL 1
48888 _ACEOF
48891 done
48900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
48901 $as_echo_n "checking for fabsl declaration... " >&6; }
48902 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
48903 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
48904 $as_echo_n "(cached) " >&6
48905 else
48908 ac_ext=cpp
48909 ac_cpp='$CXXCPP $CPPFLAGS'
48910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48915 /* end confdefs.h. */
48916 #include <math.h>
48917 #ifdef HAVE_IEEEFP_H
48918 #include <ieeefp.h>
48919 #endif
48922 main ()
48924 fabsl(0);
48926 return 0;
48928 _ACEOF
48929 if ac_fn_cxx_try_compile "$LINENO"; then :
48930 glibcxx_cv_func_fabsl_use=yes
48931 else
48932 glibcxx_cv_func_fabsl_use=no
48934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48935 ac_ext=c
48936 ac_cpp='$CPP $CPPFLAGS'
48937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
48946 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
48948 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
48949 for ac_func in fabsl
48950 do :
48951 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
48952 if test "x$ac_cv_func_fabsl" = x""yes; then :
48953 cat >>confdefs.h <<_ACEOF
48954 #define HAVE_FABSL 1
48955 _ACEOF
48958 done
48960 else
48962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
48963 $as_echo_n "checking for _fabsl declaration... " >&6; }
48964 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
48965 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
48966 $as_echo_n "(cached) " >&6
48967 else
48970 ac_ext=cpp
48971 ac_cpp='$CXXCPP $CPPFLAGS'
48972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48977 /* end confdefs.h. */
48978 #include <math.h>
48979 #ifdef HAVE_IEEEFP_H
48980 #include <ieeefp.h>
48981 #endif
48984 main ()
48986 _fabsl(0);
48988 return 0;
48990 _ACEOF
48991 if ac_fn_cxx_try_compile "$LINENO"; then :
48992 glibcxx_cv_func__fabsl_use=yes
48993 else
48994 glibcxx_cv_func__fabsl_use=no
48996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48997 ac_ext=c
48998 ac_cpp='$CPP $CPPFLAGS'
48999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
49008 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
49010 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
49011 for ac_func in _fabsl
49012 do :
49013 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
49014 if test "x$ac_cv_func__fabsl" = x""yes; then :
49015 cat >>confdefs.h <<_ACEOF
49016 #define HAVE__FABSL 1
49017 _ACEOF
49020 done
49029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
49030 $as_echo_n "checking for fmodl declaration... " >&6; }
49031 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
49032 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
49033 $as_echo_n "(cached) " >&6
49034 else
49037 ac_ext=cpp
49038 ac_cpp='$CXXCPP $CPPFLAGS'
49039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49044 /* end confdefs.h. */
49045 #include <math.h>
49047 main ()
49049 fmodl(0, 0);
49051 return 0;
49053 _ACEOF
49054 if ac_fn_cxx_try_compile "$LINENO"; then :
49055 glibcxx_cv_func_fmodl_use=yes
49056 else
49057 glibcxx_cv_func_fmodl_use=no
49059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49060 ac_ext=c
49061 ac_cpp='$CPP $CPPFLAGS'
49062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49071 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49073 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
49074 for ac_func in fmodl
49075 do :
49076 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49077 if test "x$ac_cv_func_fmodl" = x""yes; then :
49078 cat >>confdefs.h <<_ACEOF
49079 #define HAVE_FMODL 1
49080 _ACEOF
49083 done
49085 else
49087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49088 $as_echo_n "checking for _fmodl declaration... " >&6; }
49089 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49090 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49091 $as_echo_n "(cached) " >&6
49092 else
49095 ac_ext=cpp
49096 ac_cpp='$CXXCPP $CPPFLAGS'
49097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49102 /* end confdefs.h. */
49103 #include <math.h>
49105 main ()
49107 _fmodl(0, 0);
49109 return 0;
49111 _ACEOF
49112 if ac_fn_cxx_try_compile "$LINENO"; then :
49113 glibcxx_cv_func__fmodl_use=yes
49114 else
49115 glibcxx_cv_func__fmodl_use=no
49117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49118 ac_ext=c
49119 ac_cpp='$CPP $CPPFLAGS'
49120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49129 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49131 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49132 for ac_func in _fmodl
49133 do :
49134 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49135 if test "x$ac_cv_func__fmodl" = x""yes; then :
49136 cat >>confdefs.h <<_ACEOF
49137 #define HAVE__FMODL 1
49138 _ACEOF
49141 done
49150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49151 $as_echo_n "checking for frexpl declaration... " >&6; }
49152 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49153 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49154 $as_echo_n "(cached) " >&6
49155 else
49158 ac_ext=cpp
49159 ac_cpp='$CXXCPP $CPPFLAGS'
49160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49165 /* end confdefs.h. */
49166 #include <math.h>
49168 main ()
49170 frexpl(0, 0);
49172 return 0;
49174 _ACEOF
49175 if ac_fn_cxx_try_compile "$LINENO"; then :
49176 glibcxx_cv_func_frexpl_use=yes
49177 else
49178 glibcxx_cv_func_frexpl_use=no
49180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49181 ac_ext=c
49182 ac_cpp='$CPP $CPPFLAGS'
49183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49192 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49194 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49195 for ac_func in frexpl
49196 do :
49197 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49198 if test "x$ac_cv_func_frexpl" = x""yes; then :
49199 cat >>confdefs.h <<_ACEOF
49200 #define HAVE_FREXPL 1
49201 _ACEOF
49204 done
49206 else
49208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49209 $as_echo_n "checking for _frexpl declaration... " >&6; }
49210 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49211 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
49212 $as_echo_n "(cached) " >&6
49213 else
49216 ac_ext=cpp
49217 ac_cpp='$CXXCPP $CPPFLAGS'
49218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49223 /* end confdefs.h. */
49224 #include <math.h>
49226 main ()
49228 _frexpl(0, 0);
49230 return 0;
49232 _ACEOF
49233 if ac_fn_cxx_try_compile "$LINENO"; then :
49234 glibcxx_cv_func__frexpl_use=yes
49235 else
49236 glibcxx_cv_func__frexpl_use=no
49238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49239 ac_ext=c
49240 ac_cpp='$CPP $CPPFLAGS'
49241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
49250 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
49252 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
49253 for ac_func in _frexpl
49254 do :
49255 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
49256 if test "x$ac_cv_func__frexpl" = x""yes; then :
49257 cat >>confdefs.h <<_ACEOF
49258 #define HAVE__FREXPL 1
49259 _ACEOF
49262 done
49271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
49272 $as_echo_n "checking for hypotl declaration... " >&6; }
49273 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
49274 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
49275 $as_echo_n "(cached) " >&6
49276 else
49279 ac_ext=cpp
49280 ac_cpp='$CXXCPP $CPPFLAGS'
49281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49286 /* end confdefs.h. */
49287 #include <math.h>
49289 main ()
49291 hypotl(0, 0);
49293 return 0;
49295 _ACEOF
49296 if ac_fn_cxx_try_compile "$LINENO"; then :
49297 glibcxx_cv_func_hypotl_use=yes
49298 else
49299 glibcxx_cv_func_hypotl_use=no
49301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49302 ac_ext=c
49303 ac_cpp='$CPP $CPPFLAGS'
49304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
49313 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
49315 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
49316 for ac_func in hypotl
49317 do :
49318 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
49319 if test "x$ac_cv_func_hypotl" = x""yes; then :
49320 cat >>confdefs.h <<_ACEOF
49321 #define HAVE_HYPOTL 1
49322 _ACEOF
49325 done
49327 else
49329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
49330 $as_echo_n "checking for _hypotl declaration... " >&6; }
49331 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
49332 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
49333 $as_echo_n "(cached) " >&6
49334 else
49337 ac_ext=cpp
49338 ac_cpp='$CXXCPP $CPPFLAGS'
49339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49344 /* end confdefs.h. */
49345 #include <math.h>
49347 main ()
49349 _hypotl(0, 0);
49351 return 0;
49353 _ACEOF
49354 if ac_fn_cxx_try_compile "$LINENO"; then :
49355 glibcxx_cv_func__hypotl_use=yes
49356 else
49357 glibcxx_cv_func__hypotl_use=no
49359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49360 ac_ext=c
49361 ac_cpp='$CPP $CPPFLAGS'
49362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
49371 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
49373 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
49374 for ac_func in _hypotl
49375 do :
49376 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
49377 if test "x$ac_cv_func__hypotl" = x""yes; then :
49378 cat >>confdefs.h <<_ACEOF
49379 #define HAVE__HYPOTL 1
49380 _ACEOF
49383 done
49392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
49393 $as_echo_n "checking for ldexpl declaration... " >&6; }
49394 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
49395 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
49396 $as_echo_n "(cached) " >&6
49397 else
49400 ac_ext=cpp
49401 ac_cpp='$CXXCPP $CPPFLAGS'
49402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49407 /* end confdefs.h. */
49408 #include <math.h>
49410 main ()
49412 ldexpl(0, 0);
49414 return 0;
49416 _ACEOF
49417 if ac_fn_cxx_try_compile "$LINENO"; then :
49418 glibcxx_cv_func_ldexpl_use=yes
49419 else
49420 glibcxx_cv_func_ldexpl_use=no
49422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49423 ac_ext=c
49424 ac_cpp='$CPP $CPPFLAGS'
49425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
49434 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
49436 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
49437 for ac_func in ldexpl
49438 do :
49439 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
49440 if test "x$ac_cv_func_ldexpl" = x""yes; then :
49441 cat >>confdefs.h <<_ACEOF
49442 #define HAVE_LDEXPL 1
49443 _ACEOF
49446 done
49448 else
49450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
49451 $as_echo_n "checking for _ldexpl declaration... " >&6; }
49452 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
49453 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
49454 $as_echo_n "(cached) " >&6
49455 else
49458 ac_ext=cpp
49459 ac_cpp='$CXXCPP $CPPFLAGS'
49460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49465 /* end confdefs.h. */
49466 #include <math.h>
49468 main ()
49470 _ldexpl(0, 0);
49472 return 0;
49474 _ACEOF
49475 if ac_fn_cxx_try_compile "$LINENO"; then :
49476 glibcxx_cv_func__ldexpl_use=yes
49477 else
49478 glibcxx_cv_func__ldexpl_use=no
49480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49481 ac_ext=c
49482 ac_cpp='$CPP $CPPFLAGS'
49483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
49492 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
49494 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
49495 for ac_func in _ldexpl
49496 do :
49497 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
49498 if test "x$ac_cv_func__ldexpl" = x""yes; then :
49499 cat >>confdefs.h <<_ACEOF
49500 #define HAVE__LDEXPL 1
49501 _ACEOF
49504 done
49513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
49514 $as_echo_n "checking for logl declaration... " >&6; }
49515 if test x${glibcxx_cv_func_logl_use+set} != xset; then
49516 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
49517 $as_echo_n "(cached) " >&6
49518 else
49521 ac_ext=cpp
49522 ac_cpp='$CXXCPP $CPPFLAGS'
49523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49528 /* end confdefs.h. */
49529 #include <math.h>
49530 #ifdef HAVE_IEEEFP_H
49531 #include <ieeefp.h>
49532 #endif
49535 main ()
49537 logl(0);
49539 return 0;
49541 _ACEOF
49542 if ac_fn_cxx_try_compile "$LINENO"; then :
49543 glibcxx_cv_func_logl_use=yes
49544 else
49545 glibcxx_cv_func_logl_use=no
49547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49548 ac_ext=c
49549 ac_cpp='$CPP $CPPFLAGS'
49550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
49559 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
49561 if test x$glibcxx_cv_func_logl_use = x"yes"; then
49562 for ac_func in logl
49563 do :
49564 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
49565 if test "x$ac_cv_func_logl" = x""yes; then :
49566 cat >>confdefs.h <<_ACEOF
49567 #define HAVE_LOGL 1
49568 _ACEOF
49571 done
49573 else
49575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
49576 $as_echo_n "checking for _logl declaration... " >&6; }
49577 if test x${glibcxx_cv_func__logl_use+set} != xset; then
49578 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
49579 $as_echo_n "(cached) " >&6
49580 else
49583 ac_ext=cpp
49584 ac_cpp='$CXXCPP $CPPFLAGS'
49585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49590 /* end confdefs.h. */
49591 #include <math.h>
49592 #ifdef HAVE_IEEEFP_H
49593 #include <ieeefp.h>
49594 #endif
49597 main ()
49599 _logl(0);
49601 return 0;
49603 _ACEOF
49604 if ac_fn_cxx_try_compile "$LINENO"; then :
49605 glibcxx_cv_func__logl_use=yes
49606 else
49607 glibcxx_cv_func__logl_use=no
49609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49610 ac_ext=c
49611 ac_cpp='$CPP $CPPFLAGS'
49612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
49621 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
49623 if test x$glibcxx_cv_func__logl_use = x"yes"; then
49624 for ac_func in _logl
49625 do :
49626 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
49627 if test "x$ac_cv_func__logl" = x""yes; then :
49628 cat >>confdefs.h <<_ACEOF
49629 #define HAVE__LOGL 1
49630 _ACEOF
49633 done
49642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
49643 $as_echo_n "checking for log10l declaration... " >&6; }
49644 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
49645 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
49646 $as_echo_n "(cached) " >&6
49647 else
49650 ac_ext=cpp
49651 ac_cpp='$CXXCPP $CPPFLAGS'
49652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49657 /* end confdefs.h. */
49658 #include <math.h>
49659 #ifdef HAVE_IEEEFP_H
49660 #include <ieeefp.h>
49661 #endif
49664 main ()
49666 log10l(0);
49668 return 0;
49670 _ACEOF
49671 if ac_fn_cxx_try_compile "$LINENO"; then :
49672 glibcxx_cv_func_log10l_use=yes
49673 else
49674 glibcxx_cv_func_log10l_use=no
49676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49677 ac_ext=c
49678 ac_cpp='$CPP $CPPFLAGS'
49679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
49688 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
49690 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
49691 for ac_func in log10l
49692 do :
49693 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
49694 if test "x$ac_cv_func_log10l" = x""yes; then :
49695 cat >>confdefs.h <<_ACEOF
49696 #define HAVE_LOG10L 1
49697 _ACEOF
49700 done
49702 else
49704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
49705 $as_echo_n "checking for _log10l declaration... " >&6; }
49706 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
49707 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
49708 $as_echo_n "(cached) " >&6
49709 else
49712 ac_ext=cpp
49713 ac_cpp='$CXXCPP $CPPFLAGS'
49714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49719 /* end confdefs.h. */
49720 #include <math.h>
49721 #ifdef HAVE_IEEEFP_H
49722 #include <ieeefp.h>
49723 #endif
49726 main ()
49728 _log10l(0);
49730 return 0;
49732 _ACEOF
49733 if ac_fn_cxx_try_compile "$LINENO"; then :
49734 glibcxx_cv_func__log10l_use=yes
49735 else
49736 glibcxx_cv_func__log10l_use=no
49738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49739 ac_ext=c
49740 ac_cpp='$CPP $CPPFLAGS'
49741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
49750 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
49752 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
49753 for ac_func in _log10l
49754 do :
49755 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
49756 if test "x$ac_cv_func__log10l" = x""yes; then :
49757 cat >>confdefs.h <<_ACEOF
49758 #define HAVE__LOG10L 1
49759 _ACEOF
49762 done
49771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
49772 $as_echo_n "checking for modfl declaration... " >&6; }
49773 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
49774 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
49775 $as_echo_n "(cached) " >&6
49776 else
49779 ac_ext=cpp
49780 ac_cpp='$CXXCPP $CPPFLAGS'
49781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49786 /* end confdefs.h. */
49787 #include <math.h>
49789 main ()
49791 modfl(0, 0);
49793 return 0;
49795 _ACEOF
49796 if ac_fn_cxx_try_compile "$LINENO"; then :
49797 glibcxx_cv_func_modfl_use=yes
49798 else
49799 glibcxx_cv_func_modfl_use=no
49801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49802 ac_ext=c
49803 ac_cpp='$CPP $CPPFLAGS'
49804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
49813 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
49815 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
49816 for ac_func in modfl
49817 do :
49818 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
49819 if test "x$ac_cv_func_modfl" = x""yes; then :
49820 cat >>confdefs.h <<_ACEOF
49821 #define HAVE_MODFL 1
49822 _ACEOF
49825 done
49827 else
49829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
49830 $as_echo_n "checking for _modfl declaration... " >&6; }
49831 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
49832 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
49833 $as_echo_n "(cached) " >&6
49834 else
49837 ac_ext=cpp
49838 ac_cpp='$CXXCPP $CPPFLAGS'
49839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49844 /* end confdefs.h. */
49845 #include <math.h>
49847 main ()
49849 _modfl(0, 0);
49851 return 0;
49853 _ACEOF
49854 if ac_fn_cxx_try_compile "$LINENO"; then :
49855 glibcxx_cv_func__modfl_use=yes
49856 else
49857 glibcxx_cv_func__modfl_use=no
49859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49860 ac_ext=c
49861 ac_cpp='$CPP $CPPFLAGS'
49862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
49871 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
49873 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
49874 for ac_func in _modfl
49875 do :
49876 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
49877 if test "x$ac_cv_func__modfl" = x""yes; then :
49878 cat >>confdefs.h <<_ACEOF
49879 #define HAVE__MODFL 1
49880 _ACEOF
49883 done
49892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
49893 $as_echo_n "checking for powl declaration... " >&6; }
49894 if test x${glibcxx_cv_func_powl_use+set} != xset; then
49895 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
49896 $as_echo_n "(cached) " >&6
49897 else
49900 ac_ext=cpp
49901 ac_cpp='$CXXCPP $CPPFLAGS'
49902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49907 /* end confdefs.h. */
49908 #include <math.h>
49910 main ()
49912 powl(0, 0);
49914 return 0;
49916 _ACEOF
49917 if ac_fn_cxx_try_compile "$LINENO"; then :
49918 glibcxx_cv_func_powl_use=yes
49919 else
49920 glibcxx_cv_func_powl_use=no
49922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49923 ac_ext=c
49924 ac_cpp='$CPP $CPPFLAGS'
49925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
49934 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
49936 if test x$glibcxx_cv_func_powl_use = x"yes"; then
49937 for ac_func in powl
49938 do :
49939 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
49940 if test "x$ac_cv_func_powl" = x""yes; then :
49941 cat >>confdefs.h <<_ACEOF
49942 #define HAVE_POWL 1
49943 _ACEOF
49946 done
49948 else
49950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
49951 $as_echo_n "checking for _powl declaration... " >&6; }
49952 if test x${glibcxx_cv_func__powl_use+set} != xset; then
49953 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
49954 $as_echo_n "(cached) " >&6
49955 else
49958 ac_ext=cpp
49959 ac_cpp='$CXXCPP $CPPFLAGS'
49960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49965 /* end confdefs.h. */
49966 #include <math.h>
49968 main ()
49970 _powl(0, 0);
49972 return 0;
49974 _ACEOF
49975 if ac_fn_cxx_try_compile "$LINENO"; then :
49976 glibcxx_cv_func__powl_use=yes
49977 else
49978 glibcxx_cv_func__powl_use=no
49980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49981 ac_ext=c
49982 ac_cpp='$CPP $CPPFLAGS'
49983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
49992 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
49994 if test x$glibcxx_cv_func__powl_use = x"yes"; then
49995 for ac_func in _powl
49996 do :
49997 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
49998 if test "x$ac_cv_func__powl" = x""yes; then :
49999 cat >>confdefs.h <<_ACEOF
50000 #define HAVE__POWL 1
50001 _ACEOF
50004 done
50013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
50014 $as_echo_n "checking for sqrtl declaration... " >&6; }
50015 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
50016 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
50017 $as_echo_n "(cached) " >&6
50018 else
50021 ac_ext=cpp
50022 ac_cpp='$CXXCPP $CPPFLAGS'
50023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50028 /* end confdefs.h. */
50029 #include <math.h>
50030 #ifdef HAVE_IEEEFP_H
50031 #include <ieeefp.h>
50032 #endif
50035 main ()
50037 sqrtl(0);
50039 return 0;
50041 _ACEOF
50042 if ac_fn_cxx_try_compile "$LINENO"; then :
50043 glibcxx_cv_func_sqrtl_use=yes
50044 else
50045 glibcxx_cv_func_sqrtl_use=no
50047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50048 ac_ext=c
50049 ac_cpp='$CPP $CPPFLAGS'
50050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
50059 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
50061 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
50062 for ac_func in sqrtl
50063 do :
50064 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
50065 if test "x$ac_cv_func_sqrtl" = x""yes; then :
50066 cat >>confdefs.h <<_ACEOF
50067 #define HAVE_SQRTL 1
50068 _ACEOF
50071 done
50073 else
50075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50076 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50077 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50078 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50079 $as_echo_n "(cached) " >&6
50080 else
50083 ac_ext=cpp
50084 ac_cpp='$CXXCPP $CPPFLAGS'
50085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50090 /* end confdefs.h. */
50091 #include <math.h>
50092 #ifdef HAVE_IEEEFP_H
50093 #include <ieeefp.h>
50094 #endif
50097 main ()
50099 _sqrtl(0);
50101 return 0;
50103 _ACEOF
50104 if ac_fn_cxx_try_compile "$LINENO"; then :
50105 glibcxx_cv_func__sqrtl_use=yes
50106 else
50107 glibcxx_cv_func__sqrtl_use=no
50109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50110 ac_ext=c
50111 ac_cpp='$CPP $CPPFLAGS'
50112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50121 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50123 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50124 for ac_func in _sqrtl
50125 do :
50126 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50127 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50128 cat >>confdefs.h <<_ACEOF
50129 #define HAVE__SQRTL 1
50130 _ACEOF
50133 done
50142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50143 $as_echo_n "checking for sincosl declaration... " >&6; }
50144 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50145 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50146 $as_echo_n "(cached) " >&6
50147 else
50150 ac_ext=cpp
50151 ac_cpp='$CXXCPP $CPPFLAGS'
50152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50157 /* end confdefs.h. */
50158 #include <math.h>
50160 main ()
50162 sincosl(0, 0, 0);
50164 return 0;
50166 _ACEOF
50167 if ac_fn_cxx_try_compile "$LINENO"; then :
50168 glibcxx_cv_func_sincosl_use=yes
50169 else
50170 glibcxx_cv_func_sincosl_use=no
50172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50173 ac_ext=c
50174 ac_cpp='$CPP $CPPFLAGS'
50175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50184 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50186 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50187 for ac_func in sincosl
50188 do :
50189 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50190 if test "x$ac_cv_func_sincosl" = x""yes; then :
50191 cat >>confdefs.h <<_ACEOF
50192 #define HAVE_SINCOSL 1
50193 _ACEOF
50196 done
50198 else
50200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50201 $as_echo_n "checking for _sincosl declaration... " >&6; }
50202 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50203 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50204 $as_echo_n "(cached) " >&6
50205 else
50208 ac_ext=cpp
50209 ac_cpp='$CXXCPP $CPPFLAGS'
50210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50215 /* end confdefs.h. */
50216 #include <math.h>
50218 main ()
50220 _sincosl(0, 0, 0);
50222 return 0;
50224 _ACEOF
50225 if ac_fn_cxx_try_compile "$LINENO"; then :
50226 glibcxx_cv_func__sincosl_use=yes
50227 else
50228 glibcxx_cv_func__sincosl_use=no
50230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50231 ac_ext=c
50232 ac_cpp='$CPP $CPPFLAGS'
50233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
50242 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
50244 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
50245 for ac_func in _sincosl
50246 do :
50247 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
50248 if test "x$ac_cv_func__sincosl" = x""yes; then :
50249 cat >>confdefs.h <<_ACEOF
50250 #define HAVE__SINCOSL 1
50251 _ACEOF
50254 done
50263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
50264 $as_echo_n "checking for finitel declaration... " >&6; }
50265 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
50266 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
50267 $as_echo_n "(cached) " >&6
50268 else
50271 ac_ext=cpp
50272 ac_cpp='$CXXCPP $CPPFLAGS'
50273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50278 /* end confdefs.h. */
50279 #include <math.h>
50280 #ifdef HAVE_IEEEFP_H
50281 #include <ieeefp.h>
50282 #endif
50285 main ()
50287 finitel(0);
50289 return 0;
50291 _ACEOF
50292 if ac_fn_cxx_try_compile "$LINENO"; then :
50293 glibcxx_cv_func_finitel_use=yes
50294 else
50295 glibcxx_cv_func_finitel_use=no
50297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50298 ac_ext=c
50299 ac_cpp='$CPP $CPPFLAGS'
50300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
50309 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
50311 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
50312 for ac_func in finitel
50313 do :
50314 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
50315 if test "x$ac_cv_func_finitel" = x""yes; then :
50316 cat >>confdefs.h <<_ACEOF
50317 #define HAVE_FINITEL 1
50318 _ACEOF
50321 done
50323 else
50325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
50326 $as_echo_n "checking for _finitel declaration... " >&6; }
50327 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
50328 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
50329 $as_echo_n "(cached) " >&6
50330 else
50333 ac_ext=cpp
50334 ac_cpp='$CXXCPP $CPPFLAGS'
50335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50340 /* end confdefs.h. */
50341 #include <math.h>
50342 #ifdef HAVE_IEEEFP_H
50343 #include <ieeefp.h>
50344 #endif
50347 main ()
50349 _finitel(0);
50351 return 0;
50353 _ACEOF
50354 if ac_fn_cxx_try_compile "$LINENO"; then :
50355 glibcxx_cv_func__finitel_use=yes
50356 else
50357 glibcxx_cv_func__finitel_use=no
50359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50360 ac_ext=c
50361 ac_cpp='$CPP $CPPFLAGS'
50362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
50371 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
50373 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
50374 for ac_func in _finitel
50375 do :
50376 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
50377 if test "x$ac_cv_func__finitel" = x""yes; then :
50378 cat >>confdefs.h <<_ACEOF
50379 #define HAVE__FINITEL 1
50380 _ACEOF
50383 done
50391 LIBS="$ac_save_LIBS"
50392 CXXFLAGS="$ac_save_CXXFLAGS"
50395 ac_test_CXXFLAGS="${CXXFLAGS+set}"
50396 ac_save_CXXFLAGS="$CXXFLAGS"
50397 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
50401 $as_echo_n "checking for strtold declaration... " >&6; }
50402 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
50403 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
50404 $as_echo_n "(cached) " >&6
50405 else
50408 ac_ext=cpp
50409 ac_cpp='$CXXCPP $CPPFLAGS'
50410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50415 /* end confdefs.h. */
50416 #include <stdlib.h>
50418 main ()
50420 strtold(0, 0);
50422 return 0;
50424 _ACEOF
50425 if ac_fn_cxx_try_compile "$LINENO"; then :
50426 glibcxx_cv_func_strtold_use=yes
50427 else
50428 glibcxx_cv_func_strtold_use=no
50430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50431 ac_ext=c
50432 ac_cpp='$CPP $CPPFLAGS'
50433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
50442 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
50443 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
50444 for ac_func in strtold
50445 do :
50446 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
50447 if test "x$ac_cv_func_strtold" = x""yes; then :
50448 cat >>confdefs.h <<_ACEOF
50449 #define HAVE_STRTOLD 1
50450 _ACEOF
50453 done
50460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
50461 $as_echo_n "checking for strtof declaration... " >&6; }
50462 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
50463 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
50464 $as_echo_n "(cached) " >&6
50465 else
50468 ac_ext=cpp
50469 ac_cpp='$CXXCPP $CPPFLAGS'
50470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50475 /* end confdefs.h. */
50476 #include <stdlib.h>
50478 main ()
50480 strtof(0, 0);
50482 return 0;
50484 _ACEOF
50485 if ac_fn_cxx_try_compile "$LINENO"; then :
50486 glibcxx_cv_func_strtof_use=yes
50487 else
50488 glibcxx_cv_func_strtof_use=no
50490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50491 ac_ext=c
50492 ac_cpp='$CPP $CPPFLAGS'
50493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
50502 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
50503 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
50504 for ac_func in strtof
50505 do :
50506 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
50507 if test "x$ac_cv_func_strtof" = x""yes; then :
50508 cat >>confdefs.h <<_ACEOF
50509 #define HAVE_STRTOF 1
50510 _ACEOF
50513 done
50520 CXXFLAGS="$ac_save_CXXFLAGS"
50522 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
50526 # Check whether --enable-tls was given.
50527 if test "${enable_tls+set}" = set; then :
50528 enableval=$enable_tls;
50529 case "$enableval" in
50530 yes|no) ;;
50531 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
50532 esac
50534 else
50535 enable_tls=yes
50539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
50540 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
50541 if test "${gcc_cv_have_tls+set}" = set; then :
50542 $as_echo_n "(cached) " >&6
50543 else
50545 if test "$cross_compiling" = yes; then :
50546 if test x$gcc_no_link = xyes; then
50547 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50550 /* end confdefs.h. */
50551 __thread int a; int b; int main() { return a = b; }
50552 _ACEOF
50553 if ac_fn_c_try_link "$LINENO"; then :
50554 chktls_save_LDFLAGS="$LDFLAGS"
50555 case $host in
50556 *-*-linux*)
50557 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
50559 esac
50560 chktls_save_CFLAGS="$CFLAGS"
50561 CFLAGS="-fPIC $CFLAGS"
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 f() { return 0; }
50568 _ACEOF
50569 if ac_fn_c_try_link "$LINENO"; then :
50570 if test x$gcc_no_link = xyes; then
50571 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50574 /* end confdefs.h. */
50575 __thread int a; int b; int f() { return a = b; }
50576 _ACEOF
50577 if ac_fn_c_try_link "$LINENO"; then :
50578 gcc_cv_have_tls=yes
50579 else
50580 gcc_cv_have_tls=no
50582 rm -f core conftest.err conftest.$ac_objext \
50583 conftest$ac_exeext conftest.$ac_ext
50584 else
50585 gcc_cv_have_tls=yes
50587 rm -f core conftest.err conftest.$ac_objext \
50588 conftest$ac_exeext conftest.$ac_ext
50589 CFLAGS="$chktls_save_CFLAGS"
50590 LDFLAGS="$chktls_save_LDFLAGS"
50591 else
50592 gcc_cv_have_tls=no
50594 rm -f core conftest.err conftest.$ac_objext \
50595 conftest$ac_exeext conftest.$ac_ext
50598 else
50599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50600 /* end confdefs.h. */
50601 __thread int a; int b; int main() { return a = b; }
50602 _ACEOF
50603 if ac_fn_c_try_run "$LINENO"; then :
50604 chktls_save_LDFLAGS="$LDFLAGS"
50605 LDFLAGS="-static $LDFLAGS"
50606 if test x$gcc_no_link = xyes; then
50607 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50610 /* end confdefs.h. */
50611 int main() { return 0; }
50612 _ACEOF
50613 if ac_fn_c_try_link "$LINENO"; then :
50614 if test "$cross_compiling" = yes; then :
50615 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50616 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50617 as_fn_error "cannot run test program while cross compiling
50618 See \`config.log' for more details." "$LINENO" 5; }
50619 else
50620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50621 /* end confdefs.h. */
50622 __thread int a; int b; int main() { return a = b; }
50623 _ACEOF
50624 if ac_fn_c_try_run "$LINENO"; then :
50625 gcc_cv_have_tls=yes
50626 else
50627 gcc_cv_have_tls=no
50629 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50630 conftest.$ac_objext conftest.beam conftest.$ac_ext
50633 else
50634 gcc_cv_have_tls=yes
50636 rm -f core conftest.err conftest.$ac_objext \
50637 conftest$ac_exeext conftest.$ac_ext
50638 LDFLAGS="$chktls_save_LDFLAGS"
50639 if test $gcc_cv_have_tls = yes; then
50640 chktls_save_CFLAGS="$CFLAGS"
50641 thread_CFLAGS=failed
50642 for flag in '' '-pthread' '-lpthread'; do
50643 CFLAGS="$flag $chktls_save_CFLAGS"
50644 if test x$gcc_no_link = xyes; then
50645 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50648 /* end confdefs.h. */
50649 #include <pthread.h>
50650 void *g(void *d) { return NULL; }
50652 main ()
50654 pthread_t t; pthread_create(&t,NULL,g,NULL);
50656 return 0;
50658 _ACEOF
50659 if ac_fn_c_try_link "$LINENO"; then :
50660 thread_CFLAGS="$flag"
50662 rm -f core conftest.err conftest.$ac_objext \
50663 conftest$ac_exeext conftest.$ac_ext
50664 if test "X$thread_CFLAGS" != Xfailed; then
50665 break
50667 done
50668 CFLAGS="$chktls_save_CFLAGS"
50669 if test "X$thread_CFLAGS" != Xfailed; then
50670 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
50671 if test "$cross_compiling" = yes; then :
50672 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50673 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50674 as_fn_error "cannot run test program while cross compiling
50675 See \`config.log' for more details." "$LINENO" 5; }
50676 else
50677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50678 /* end confdefs.h. */
50679 #include <pthread.h>
50680 __thread int a;
50681 static int *volatile a_in_other_thread;
50682 static void *
50683 thread_func (void *arg)
50685 a_in_other_thread = &a;
50686 return (void *)0;
50689 main ()
50691 pthread_t thread;
50692 void *thread_retval;
50693 int *volatile a_in_main_thread;
50694 a_in_main_thread = &a;
50695 if (pthread_create (&thread, (pthread_attr_t *)0,
50696 thread_func, (void *)0))
50697 return 0;
50698 if (pthread_join (thread, &thread_retval))
50699 return 0;
50700 return (a_in_other_thread == a_in_main_thread);
50702 return 0;
50704 _ACEOF
50705 if ac_fn_c_try_run "$LINENO"; then :
50706 gcc_cv_have_tls=yes
50707 else
50708 gcc_cv_have_tls=no
50710 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50711 conftest.$ac_objext conftest.beam conftest.$ac_ext
50714 CFLAGS="$chktls_save_CFLAGS"
50717 else
50718 gcc_cv_have_tls=no
50720 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50721 conftest.$ac_objext conftest.beam conftest.$ac_ext
50725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
50726 $as_echo "$gcc_cv_have_tls" >&6; }
50727 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
50729 $as_echo "#define HAVE_TLS 1" >>confdefs.h
50737 am_save_CPPFLAGS="$CPPFLAGS"
50739 for element in $INCICONV; do
50740 haveit=
50741 for x in $CPPFLAGS; do
50743 acl_save_prefix="$prefix"
50744 prefix="$acl_final_prefix"
50745 acl_save_exec_prefix="$exec_prefix"
50746 exec_prefix="$acl_final_exec_prefix"
50747 eval x=\"$x\"
50748 exec_prefix="$acl_save_exec_prefix"
50749 prefix="$acl_save_prefix"
50751 if test "X$x" = "X$element"; then
50752 haveit=yes
50753 break
50755 done
50756 if test -z "$haveit"; then
50757 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
50759 done
50762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
50763 $as_echo_n "checking for iconv... " >&6; }
50764 if test "${am_cv_func_iconv+set}" = set; then :
50765 $as_echo_n "(cached) " >&6
50766 else
50768 am_cv_func_iconv="no, consider installing GNU libiconv"
50769 am_cv_lib_iconv=no
50770 if test x$gcc_no_link = xyes; then
50771 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50774 /* end confdefs.h. */
50775 #include <stdlib.h>
50776 #include <iconv.h>
50778 main ()
50780 iconv_t cd = iconv_open("","");
50781 iconv(cd,NULL,NULL,NULL,NULL);
50782 iconv_close(cd);
50784 return 0;
50786 _ACEOF
50787 if ac_fn_c_try_link "$LINENO"; then :
50788 am_cv_func_iconv=yes
50790 rm -f core conftest.err conftest.$ac_objext \
50791 conftest$ac_exeext conftest.$ac_ext
50792 if test "$am_cv_func_iconv" != yes; then
50793 am_save_LIBS="$LIBS"
50794 LIBS="$LIBS $LIBICONV"
50795 if test x$gcc_no_link = xyes; then
50796 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50799 /* end confdefs.h. */
50800 #include <stdlib.h>
50801 #include <iconv.h>
50803 main ()
50805 iconv_t cd = iconv_open("","");
50806 iconv(cd,NULL,NULL,NULL,NULL);
50807 iconv_close(cd);
50809 return 0;
50811 _ACEOF
50812 if ac_fn_c_try_link "$LINENO"; then :
50813 am_cv_lib_iconv=yes
50814 am_cv_func_iconv=yes
50816 rm -f core conftest.err conftest.$ac_objext \
50817 conftest$ac_exeext conftest.$ac_ext
50818 LIBS="$am_save_LIBS"
50822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
50823 $as_echo "$am_cv_func_iconv" >&6; }
50824 if test "$am_cv_func_iconv" = yes; then
50826 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
50829 if test "$am_cv_lib_iconv" = yes; then
50830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
50831 $as_echo_n "checking how to link with libiconv... " >&6; }
50832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
50833 $as_echo "$LIBICONV" >&6; }
50834 else
50835 CPPFLAGS="$am_save_CPPFLAGS"
50836 LIBICONV=
50837 LTLIBICONV=
50842 if test "$am_cv_func_iconv" = yes; then
50843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
50844 $as_echo_n "checking for iconv declaration... " >&6; }
50845 if test "${am_cv_proto_iconv+set}" = set; then :
50846 $as_echo_n "(cached) " >&6
50847 else
50849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50850 /* end confdefs.h. */
50852 #include <stdlib.h>
50853 #include <iconv.h>
50854 extern
50855 #ifdef __cplusplus
50857 #endif
50858 #if defined(__STDC__) || defined(__cplusplus)
50859 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
50860 #else
50861 size_t iconv();
50862 #endif
50865 main ()
50869 return 0;
50871 _ACEOF
50872 if ac_fn_c_try_compile "$LINENO"; then :
50873 am_cv_proto_iconv_arg1=""
50874 else
50875 am_cv_proto_iconv_arg1="const"
50877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50878 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);"
50881 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
50882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
50883 }$am_cv_proto_iconv" >&5
50884 $as_echo "${ac_t:-
50885 }$am_cv_proto_iconv" >&6; }
50887 cat >>confdefs.h <<_ACEOF
50888 #define ICONV_CONST $am_cv_proto_iconv_arg1
50889 _ACEOF
50894 *-mingw32*)
50896 # If we're not using GNU ld, then there's no point in even trying these
50897 # tests. Check for that first. We should have already tested for gld
50898 # by now (in libtool), but require it now just to be safe...
50899 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
50900 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
50904 # The name set by libtool depends on the version of libtool. Shame on us
50905 # for depending on an impl detail, but c'est la vie. Older versions used
50906 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
50907 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
50908 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
50909 # set (hence we're using an older libtool), then set it.
50910 if test x${with_gnu_ld+set} != xset; then
50911 if test x${ac_cv_prog_gnu_ld+set} != xset; then
50912 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
50913 with_gnu_ld=no
50914 else
50915 with_gnu_ld=$ac_cv_prog_gnu_ld
50919 # Start by getting the version number. I think the libtool test already
50920 # does some of this, but throws away the result.
50921 glibcxx_ld_is_gold=no
50922 if test x"$with_gnu_ld" = x"yes"; then
50923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
50924 $as_echo_n "checking for ld version... " >&6; }
50926 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
50927 glibcxx_ld_is_gold=yes
50929 ldver=`$LD --version 2>/dev/null |
50930 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'`
50932 glibcxx_gnu_ld_version=`echo $ldver | \
50933 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
50934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
50935 $as_echo "$glibcxx_gnu_ld_version" >&6; }
50938 # Set --gc-sections.
50939 glibcxx_have_gc_sections=no
50940 if test "$glibcxx_ld_is_gold" = "yes"; then
50941 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
50942 glibcxx_have_gc_sections=yes
50944 else
50945 glibcxx_gcsections_min_ld=21602
50946 if test x"$with_gnu_ld" = x"yes" &&
50947 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
50948 glibcxx_have_gc_sections=yes
50951 if test "$glibcxx_have_gc_sections" = "yes"; then
50952 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
50953 # NB: This flag only works reliably after 2.16.1. Configure tests
50954 # for this are difficult, so hard wire a value that should work.
50956 ac_test_CFLAGS="${CFLAGS+set}"
50957 ac_save_CFLAGS="$CFLAGS"
50958 CFLAGS='-Wl,--gc-sections'
50960 # Check for -Wl,--gc-sections
50961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
50962 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
50963 if test x$gcc_no_link = xyes; then
50964 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50967 /* end confdefs.h. */
50968 int one(void) { return 1; }
50969 int two(void) { return 2; }
50972 main ()
50974 two();
50976 return 0;
50978 _ACEOF
50979 if ac_fn_c_try_link "$LINENO"; then :
50980 ac_gcsections=yes
50981 else
50982 ac_gcsections=no
50984 rm -f core conftest.err conftest.$ac_objext \
50985 conftest$ac_exeext conftest.$ac_ext
50986 if test "$ac_gcsections" = "yes"; then
50987 rm -f conftest.c
50988 touch conftest.c
50989 if $CC -c conftest.c; then
50990 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
50991 grep "Warning: gc-sections option ignored" > /dev/null; then
50992 ac_gcsections=no
50995 rm -f conftest.c conftest.o conftest
50997 if test "$ac_gcsections" = "yes"; then
50998 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51001 $as_echo "$ac_gcsections" >&6; }
51003 if test "$ac_test_CFLAGS" = set; then
51004 CFLAGS="$ac_save_CFLAGS"
51005 else
51006 # this is the suspicious part
51007 CFLAGS=''
51011 # Set -z,relro.
51012 # Note this is only for shared objects.
51013 ac_ld_relro=no
51014 if test x"$with_gnu_ld" = x"yes"; then
51015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51016 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51017 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51018 if test -n "$cxx_z_relo"; then
51019 OPT_LDFLAGS="-Wl,-z,relro"
51020 ac_ld_relro=yes
51022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51023 $as_echo "$ac_ld_relro" >&6; }
51026 # Set linker optimization flags.
51027 if test x"$with_gnu_ld" = x"yes"; then
51028 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51035 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51036 ac_save_CXXFLAGS="$CXXFLAGS"
51037 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
51040 $as_echo_n "checking for sin in -lm... " >&6; }
51041 if test "${ac_cv_lib_m_sin+set}" = set; then :
51042 $as_echo_n "(cached) " >&6
51043 else
51044 ac_check_lib_save_LIBS=$LIBS
51045 LIBS="-lm $LIBS"
51046 if test x$gcc_no_link = xyes; then
51047 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51050 /* end confdefs.h. */
51052 /* Override any GCC internal prototype to avoid an error.
51053 Use char because int might match the return type of a GCC
51054 builtin and then its argument prototype would still apply. */
51055 #ifdef __cplusplus
51056 extern "C"
51057 #endif
51058 char sin ();
51060 main ()
51062 return sin ();
51064 return 0;
51066 _ACEOF
51067 if ac_fn_c_try_link "$LINENO"; then :
51068 ac_cv_lib_m_sin=yes
51069 else
51070 ac_cv_lib_m_sin=no
51072 rm -f core conftest.err conftest.$ac_objext \
51073 conftest$ac_exeext conftest.$ac_ext
51074 LIBS=$ac_check_lib_save_LIBS
51076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51077 $as_echo "$ac_cv_lib_m_sin" >&6; }
51078 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51079 libm="-lm"
51082 ac_save_LIBS="$LIBS"
51083 LIBS="$LIBS $libm"
51087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51088 $as_echo_n "checking for isinf declaration... " >&6; }
51089 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51090 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51091 $as_echo_n "(cached) " >&6
51092 else
51095 ac_ext=cpp
51096 ac_cpp='$CXXCPP $CPPFLAGS'
51097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51102 /* end confdefs.h. */
51103 #include <math.h>
51104 #ifdef HAVE_IEEEFP_H
51105 #include <ieeefp.h>
51106 #endif
51109 main ()
51111 isinf(0);
51113 return 0;
51115 _ACEOF
51116 if ac_fn_cxx_try_compile "$LINENO"; then :
51117 glibcxx_cv_func_isinf_use=yes
51118 else
51119 glibcxx_cv_func_isinf_use=no
51121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51122 ac_ext=c
51123 ac_cpp='$CPP $CPPFLAGS'
51124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51133 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51135 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51136 for ac_func in isinf
51137 do :
51138 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51139 if test "x$ac_cv_func_isinf" = x""yes; then :
51140 cat >>confdefs.h <<_ACEOF
51141 #define HAVE_ISINF 1
51142 _ACEOF
51145 done
51147 else
51149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51150 $as_echo_n "checking for _isinf declaration... " >&6; }
51151 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51152 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51153 $as_echo_n "(cached) " >&6
51154 else
51157 ac_ext=cpp
51158 ac_cpp='$CXXCPP $CPPFLAGS'
51159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51164 /* end confdefs.h. */
51165 #include <math.h>
51166 #ifdef HAVE_IEEEFP_H
51167 #include <ieeefp.h>
51168 #endif
51171 main ()
51173 _isinf(0);
51175 return 0;
51177 _ACEOF
51178 if ac_fn_cxx_try_compile "$LINENO"; then :
51179 glibcxx_cv_func__isinf_use=yes
51180 else
51181 glibcxx_cv_func__isinf_use=no
51183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51184 ac_ext=c
51185 ac_cpp='$CPP $CPPFLAGS'
51186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
51195 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51197 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51198 for ac_func in _isinf
51199 do :
51200 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51201 if test "x$ac_cv_func__isinf" = x""yes; then :
51202 cat >>confdefs.h <<_ACEOF
51203 #define HAVE__ISINF 1
51204 _ACEOF
51207 done
51216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51217 $as_echo_n "checking for isnan declaration... " >&6; }
51218 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51219 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51220 $as_echo_n "(cached) " >&6
51221 else
51224 ac_ext=cpp
51225 ac_cpp='$CXXCPP $CPPFLAGS'
51226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51231 /* end confdefs.h. */
51232 #include <math.h>
51233 #ifdef HAVE_IEEEFP_H
51234 #include <ieeefp.h>
51235 #endif
51238 main ()
51240 isnan(0);
51242 return 0;
51244 _ACEOF
51245 if ac_fn_cxx_try_compile "$LINENO"; then :
51246 glibcxx_cv_func_isnan_use=yes
51247 else
51248 glibcxx_cv_func_isnan_use=no
51250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51251 ac_ext=c
51252 ac_cpp='$CPP $CPPFLAGS'
51253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
51262 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
51264 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
51265 for ac_func in isnan
51266 do :
51267 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
51268 if test "x$ac_cv_func_isnan" = x""yes; then :
51269 cat >>confdefs.h <<_ACEOF
51270 #define HAVE_ISNAN 1
51271 _ACEOF
51274 done
51276 else
51278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
51279 $as_echo_n "checking for _isnan declaration... " >&6; }
51280 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
51281 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
51282 $as_echo_n "(cached) " >&6
51283 else
51286 ac_ext=cpp
51287 ac_cpp='$CXXCPP $CPPFLAGS'
51288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51293 /* end confdefs.h. */
51294 #include <math.h>
51295 #ifdef HAVE_IEEEFP_H
51296 #include <ieeefp.h>
51297 #endif
51300 main ()
51302 _isnan(0);
51304 return 0;
51306 _ACEOF
51307 if ac_fn_cxx_try_compile "$LINENO"; then :
51308 glibcxx_cv_func__isnan_use=yes
51309 else
51310 glibcxx_cv_func__isnan_use=no
51312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51313 ac_ext=c
51314 ac_cpp='$CPP $CPPFLAGS'
51315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
51324 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
51326 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
51327 for ac_func in _isnan
51328 do :
51329 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
51330 if test "x$ac_cv_func__isnan" = x""yes; then :
51331 cat >>confdefs.h <<_ACEOF
51332 #define HAVE__ISNAN 1
51333 _ACEOF
51336 done
51345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
51346 $as_echo_n "checking for finite declaration... " >&6; }
51347 if test x${glibcxx_cv_func_finite_use+set} != xset; then
51348 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
51349 $as_echo_n "(cached) " >&6
51350 else
51353 ac_ext=cpp
51354 ac_cpp='$CXXCPP $CPPFLAGS'
51355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51360 /* end confdefs.h. */
51361 #include <math.h>
51362 #ifdef HAVE_IEEEFP_H
51363 #include <ieeefp.h>
51364 #endif
51367 main ()
51369 finite(0);
51371 return 0;
51373 _ACEOF
51374 if ac_fn_cxx_try_compile "$LINENO"; then :
51375 glibcxx_cv_func_finite_use=yes
51376 else
51377 glibcxx_cv_func_finite_use=no
51379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51380 ac_ext=c
51381 ac_cpp='$CPP $CPPFLAGS'
51382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
51391 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
51393 if test x$glibcxx_cv_func_finite_use = x"yes"; then
51394 for ac_func in finite
51395 do :
51396 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
51397 if test "x$ac_cv_func_finite" = x""yes; then :
51398 cat >>confdefs.h <<_ACEOF
51399 #define HAVE_FINITE 1
51400 _ACEOF
51403 done
51405 else
51407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
51408 $as_echo_n "checking for _finite declaration... " >&6; }
51409 if test x${glibcxx_cv_func__finite_use+set} != xset; then
51410 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
51411 $as_echo_n "(cached) " >&6
51412 else
51415 ac_ext=cpp
51416 ac_cpp='$CXXCPP $CPPFLAGS'
51417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51422 /* end confdefs.h. */
51423 #include <math.h>
51424 #ifdef HAVE_IEEEFP_H
51425 #include <ieeefp.h>
51426 #endif
51429 main ()
51431 _finite(0);
51433 return 0;
51435 _ACEOF
51436 if ac_fn_cxx_try_compile "$LINENO"; then :
51437 glibcxx_cv_func__finite_use=yes
51438 else
51439 glibcxx_cv_func__finite_use=no
51441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51442 ac_ext=c
51443 ac_cpp='$CPP $CPPFLAGS'
51444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
51453 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
51455 if test x$glibcxx_cv_func__finite_use = x"yes"; then
51456 for ac_func in _finite
51457 do :
51458 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
51459 if test "x$ac_cv_func__finite" = x""yes; then :
51460 cat >>confdefs.h <<_ACEOF
51461 #define HAVE__FINITE 1
51462 _ACEOF
51465 done
51474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
51475 $as_echo_n "checking for sincos declaration... " >&6; }
51476 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
51477 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
51478 $as_echo_n "(cached) " >&6
51479 else
51482 ac_ext=cpp
51483 ac_cpp='$CXXCPP $CPPFLAGS'
51484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51489 /* end confdefs.h. */
51490 #include <math.h>
51492 main ()
51494 sincos(0, 0, 0);
51496 return 0;
51498 _ACEOF
51499 if ac_fn_cxx_try_compile "$LINENO"; then :
51500 glibcxx_cv_func_sincos_use=yes
51501 else
51502 glibcxx_cv_func_sincos_use=no
51504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51505 ac_ext=c
51506 ac_cpp='$CPP $CPPFLAGS'
51507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
51516 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
51518 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
51519 for ac_func in sincos
51520 do :
51521 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
51522 if test "x$ac_cv_func_sincos" = x""yes; then :
51523 cat >>confdefs.h <<_ACEOF
51524 #define HAVE_SINCOS 1
51525 _ACEOF
51528 done
51530 else
51532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
51533 $as_echo_n "checking for _sincos declaration... " >&6; }
51534 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
51535 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
51536 $as_echo_n "(cached) " >&6
51537 else
51540 ac_ext=cpp
51541 ac_cpp='$CXXCPP $CPPFLAGS'
51542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51547 /* end confdefs.h. */
51548 #include <math.h>
51550 main ()
51552 _sincos(0, 0, 0);
51554 return 0;
51556 _ACEOF
51557 if ac_fn_cxx_try_compile "$LINENO"; then :
51558 glibcxx_cv_func__sincos_use=yes
51559 else
51560 glibcxx_cv_func__sincos_use=no
51562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51563 ac_ext=c
51564 ac_cpp='$CPP $CPPFLAGS'
51565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
51574 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
51576 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
51577 for ac_func in _sincos
51578 do :
51579 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
51580 if test "x$ac_cv_func__sincos" = x""yes; then :
51581 cat >>confdefs.h <<_ACEOF
51582 #define HAVE__SINCOS 1
51583 _ACEOF
51586 done
51595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
51596 $as_echo_n "checking for fpclass declaration... " >&6; }
51597 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
51598 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
51599 $as_echo_n "(cached) " >&6
51600 else
51603 ac_ext=cpp
51604 ac_cpp='$CXXCPP $CPPFLAGS'
51605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51610 /* end confdefs.h. */
51611 #include <math.h>
51612 #ifdef HAVE_IEEEFP_H
51613 #include <ieeefp.h>
51614 #endif
51617 main ()
51619 fpclass(0);
51621 return 0;
51623 _ACEOF
51624 if ac_fn_cxx_try_compile "$LINENO"; then :
51625 glibcxx_cv_func_fpclass_use=yes
51626 else
51627 glibcxx_cv_func_fpclass_use=no
51629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51630 ac_ext=c
51631 ac_cpp='$CPP $CPPFLAGS'
51632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
51641 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
51643 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
51644 for ac_func in fpclass
51645 do :
51646 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
51647 if test "x$ac_cv_func_fpclass" = x""yes; then :
51648 cat >>confdefs.h <<_ACEOF
51649 #define HAVE_FPCLASS 1
51650 _ACEOF
51653 done
51655 else
51657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
51658 $as_echo_n "checking for _fpclass declaration... " >&6; }
51659 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
51660 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
51661 $as_echo_n "(cached) " >&6
51662 else
51665 ac_ext=cpp
51666 ac_cpp='$CXXCPP $CPPFLAGS'
51667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51672 /* end confdefs.h. */
51673 #include <math.h>
51674 #ifdef HAVE_IEEEFP_H
51675 #include <ieeefp.h>
51676 #endif
51679 main ()
51681 _fpclass(0);
51683 return 0;
51685 _ACEOF
51686 if ac_fn_cxx_try_compile "$LINENO"; then :
51687 glibcxx_cv_func__fpclass_use=yes
51688 else
51689 glibcxx_cv_func__fpclass_use=no
51691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51692 ac_ext=c
51693 ac_cpp='$CPP $CPPFLAGS'
51694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
51703 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
51705 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
51706 for ac_func in _fpclass
51707 do :
51708 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
51709 if test "x$ac_cv_func__fpclass" = x""yes; then :
51710 cat >>confdefs.h <<_ACEOF
51711 #define HAVE__FPCLASS 1
51712 _ACEOF
51715 done
51724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
51725 $as_echo_n "checking for qfpclass declaration... " >&6; }
51726 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
51727 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
51728 $as_echo_n "(cached) " >&6
51729 else
51732 ac_ext=cpp
51733 ac_cpp='$CXXCPP $CPPFLAGS'
51734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51739 /* end confdefs.h. */
51740 #include <math.h>
51741 #ifdef HAVE_IEEEFP_H
51742 #include <ieeefp.h>
51743 #endif
51746 main ()
51748 qfpclass(0);
51750 return 0;
51752 _ACEOF
51753 if ac_fn_cxx_try_compile "$LINENO"; then :
51754 glibcxx_cv_func_qfpclass_use=yes
51755 else
51756 glibcxx_cv_func_qfpclass_use=no
51758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51759 ac_ext=c
51760 ac_cpp='$CPP $CPPFLAGS'
51761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
51770 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
51772 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
51773 for ac_func in qfpclass
51774 do :
51775 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
51776 if test "x$ac_cv_func_qfpclass" = x""yes; then :
51777 cat >>confdefs.h <<_ACEOF
51778 #define HAVE_QFPCLASS 1
51779 _ACEOF
51782 done
51784 else
51786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
51787 $as_echo_n "checking for _qfpclass declaration... " >&6; }
51788 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
51789 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
51790 $as_echo_n "(cached) " >&6
51791 else
51794 ac_ext=cpp
51795 ac_cpp='$CXXCPP $CPPFLAGS'
51796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51801 /* end confdefs.h. */
51802 #include <math.h>
51803 #ifdef HAVE_IEEEFP_H
51804 #include <ieeefp.h>
51805 #endif
51808 main ()
51810 _qfpclass(0);
51812 return 0;
51814 _ACEOF
51815 if ac_fn_cxx_try_compile "$LINENO"; then :
51816 glibcxx_cv_func__qfpclass_use=yes
51817 else
51818 glibcxx_cv_func__qfpclass_use=no
51820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51821 ac_ext=c
51822 ac_cpp='$CPP $CPPFLAGS'
51823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
51832 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
51834 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
51835 for ac_func in _qfpclass
51836 do :
51837 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
51838 if test "x$ac_cv_func__qfpclass" = x""yes; then :
51839 cat >>confdefs.h <<_ACEOF
51840 #define HAVE__QFPCLASS 1
51841 _ACEOF
51844 done
51853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
51854 $as_echo_n "checking for hypot declaration... " >&6; }
51855 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
51856 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
51857 $as_echo_n "(cached) " >&6
51858 else
51861 ac_ext=cpp
51862 ac_cpp='$CXXCPP $CPPFLAGS'
51863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51868 /* end confdefs.h. */
51869 #include <math.h>
51871 main ()
51873 hypot(0, 0);
51875 return 0;
51877 _ACEOF
51878 if ac_fn_cxx_try_compile "$LINENO"; then :
51879 glibcxx_cv_func_hypot_use=yes
51880 else
51881 glibcxx_cv_func_hypot_use=no
51883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51884 ac_ext=c
51885 ac_cpp='$CPP $CPPFLAGS'
51886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
51895 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
51897 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
51898 for ac_func in hypot
51899 do :
51900 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
51901 if test "x$ac_cv_func_hypot" = x""yes; then :
51902 cat >>confdefs.h <<_ACEOF
51903 #define HAVE_HYPOT 1
51904 _ACEOF
51907 done
51909 else
51911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
51912 $as_echo_n "checking for _hypot declaration... " >&6; }
51913 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
51914 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
51915 $as_echo_n "(cached) " >&6
51916 else
51919 ac_ext=cpp
51920 ac_cpp='$CXXCPP $CPPFLAGS'
51921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51926 /* end confdefs.h. */
51927 #include <math.h>
51929 main ()
51931 _hypot(0, 0);
51933 return 0;
51935 _ACEOF
51936 if ac_fn_cxx_try_compile "$LINENO"; then :
51937 glibcxx_cv_func__hypot_use=yes
51938 else
51939 glibcxx_cv_func__hypot_use=no
51941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51942 ac_ext=c
51943 ac_cpp='$CPP $CPPFLAGS'
51944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
51953 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
51955 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
51956 for ac_func in _hypot
51957 do :
51958 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
51959 if test "x$ac_cv_func__hypot" = x""yes; then :
51960 cat >>confdefs.h <<_ACEOF
51961 #define HAVE__HYPOT 1
51962 _ACEOF
51965 done
51974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
51975 $as_echo_n "checking for float trig functions... " >&6; }
51976 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
51977 $as_echo_n "(cached) " >&6
51978 else
51981 ac_ext=cpp
51982 ac_cpp='$CXXCPP $CPPFLAGS'
51983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51988 /* end confdefs.h. */
51989 #include <math.h>
51991 main ()
51993 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
51995 return 0;
51997 _ACEOF
51998 if ac_fn_cxx_try_compile "$LINENO"; then :
51999 glibcxx_cv_func_float_trig_use=yes
52000 else
52001 glibcxx_cv_func_float_trig_use=no
52003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52004 ac_ext=c
52005 ac_cpp='$CPP $CPPFLAGS'
52006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
52013 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
52014 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
52015 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
52016 do :
52017 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52018 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52019 eval as_val=\$$as_ac_var
52020 if test "x$as_val" = x""yes; then :
52021 cat >>confdefs.h <<_ACEOF
52022 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52023 _ACEOF
52026 done
52028 else
52029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
52030 $as_echo_n "checking for _float trig functions... " >&6; }
52031 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
52032 $as_echo_n "(cached) " >&6
52033 else
52036 ac_ext=cpp
52037 ac_cpp='$CXXCPP $CPPFLAGS'
52038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52043 /* end confdefs.h. */
52044 #include <math.h>
52046 main ()
52048 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
52050 return 0;
52052 _ACEOF
52053 if ac_fn_cxx_try_compile "$LINENO"; then :
52054 glibcxx_cv_func__float_trig_use=yes
52055 else
52056 glibcxx_cv_func__float_trig_use=no
52058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52059 ac_ext=c
52060 ac_cpp='$CPP $CPPFLAGS'
52061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
52068 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
52069 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
52070 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
52071 do :
52072 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52073 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52074 eval as_val=\$$as_ac_var
52075 if test "x$as_val" = x""yes; then :
52076 cat >>confdefs.h <<_ACEOF
52077 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52078 _ACEOF
52081 done
52090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52091 $as_echo_n "checking for float round functions... " >&6; }
52092 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52093 $as_echo_n "(cached) " >&6
52094 else
52097 ac_ext=cpp
52098 ac_cpp='$CXXCPP $CPPFLAGS'
52099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52104 /* end confdefs.h. */
52105 #include <math.h>
52107 main ()
52109 ceilf (0); floorf (0);
52111 return 0;
52113 _ACEOF
52114 if ac_fn_cxx_try_compile "$LINENO"; then :
52115 glibcxx_cv_func_float_round_use=yes
52116 else
52117 glibcxx_cv_func_float_round_use=no
52119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52120 ac_ext=c
52121 ac_cpp='$CPP $CPPFLAGS'
52122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52129 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52130 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52131 for ac_func in ceilf floorf
52132 do :
52133 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52134 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52135 eval as_val=\$$as_ac_var
52136 if test "x$as_val" = x""yes; then :
52137 cat >>confdefs.h <<_ACEOF
52138 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52139 _ACEOF
52142 done
52144 else
52145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52146 $as_echo_n "checking for _float round functions... " >&6; }
52147 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52148 $as_echo_n "(cached) " >&6
52149 else
52152 ac_ext=cpp
52153 ac_cpp='$CXXCPP $CPPFLAGS'
52154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52159 /* end confdefs.h. */
52160 #include <math.h>
52162 main ()
52164 _ceilf (0); _floorf (0);
52166 return 0;
52168 _ACEOF
52169 if ac_fn_cxx_try_compile "$LINENO"; then :
52170 glibcxx_cv_func__float_round_use=yes
52171 else
52172 glibcxx_cv_func__float_round_use=no
52174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52175 ac_ext=c
52176 ac_cpp='$CPP $CPPFLAGS'
52177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52184 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52185 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52186 for ac_func in _ceilf _floorf
52187 do :
52188 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52189 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52190 eval as_val=\$$as_ac_var
52191 if test "x$as_val" = x""yes; then :
52192 cat >>confdefs.h <<_ACEOF
52193 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52194 _ACEOF
52197 done
52207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52208 $as_echo_n "checking for expf declaration... " >&6; }
52209 if test x${glibcxx_cv_func_expf_use+set} != xset; then
52210 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52211 $as_echo_n "(cached) " >&6
52212 else
52215 ac_ext=cpp
52216 ac_cpp='$CXXCPP $CPPFLAGS'
52217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52222 /* end confdefs.h. */
52223 #include <math.h>
52224 #ifdef HAVE_IEEEFP_H
52225 #include <ieeefp.h>
52226 #endif
52229 main ()
52231 expf(0);
52233 return 0;
52235 _ACEOF
52236 if ac_fn_cxx_try_compile "$LINENO"; then :
52237 glibcxx_cv_func_expf_use=yes
52238 else
52239 glibcxx_cv_func_expf_use=no
52241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52242 ac_ext=c
52243 ac_cpp='$CPP $CPPFLAGS'
52244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
52253 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
52255 if test x$glibcxx_cv_func_expf_use = x"yes"; then
52256 for ac_func in expf
52257 do :
52258 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
52259 if test "x$ac_cv_func_expf" = x""yes; then :
52260 cat >>confdefs.h <<_ACEOF
52261 #define HAVE_EXPF 1
52262 _ACEOF
52265 done
52267 else
52269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
52270 $as_echo_n "checking for _expf declaration... " >&6; }
52271 if test x${glibcxx_cv_func__expf_use+set} != xset; then
52272 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
52273 $as_echo_n "(cached) " >&6
52274 else
52277 ac_ext=cpp
52278 ac_cpp='$CXXCPP $CPPFLAGS'
52279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52284 /* end confdefs.h. */
52285 #include <math.h>
52286 #ifdef HAVE_IEEEFP_H
52287 #include <ieeefp.h>
52288 #endif
52291 main ()
52293 _expf(0);
52295 return 0;
52297 _ACEOF
52298 if ac_fn_cxx_try_compile "$LINENO"; then :
52299 glibcxx_cv_func__expf_use=yes
52300 else
52301 glibcxx_cv_func__expf_use=no
52303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52304 ac_ext=c
52305 ac_cpp='$CPP $CPPFLAGS'
52306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
52315 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
52317 if test x$glibcxx_cv_func__expf_use = x"yes"; then
52318 for ac_func in _expf
52319 do :
52320 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
52321 if test "x$ac_cv_func__expf" = x""yes; then :
52322 cat >>confdefs.h <<_ACEOF
52323 #define HAVE__EXPF 1
52324 _ACEOF
52327 done
52336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
52337 $as_echo_n "checking for isnanf declaration... " >&6; }
52338 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
52339 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
52340 $as_echo_n "(cached) " >&6
52341 else
52344 ac_ext=cpp
52345 ac_cpp='$CXXCPP $CPPFLAGS'
52346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52351 /* end confdefs.h. */
52352 #include <math.h>
52353 #ifdef HAVE_IEEEFP_H
52354 #include <ieeefp.h>
52355 #endif
52358 main ()
52360 isnanf(0);
52362 return 0;
52364 _ACEOF
52365 if ac_fn_cxx_try_compile "$LINENO"; then :
52366 glibcxx_cv_func_isnanf_use=yes
52367 else
52368 glibcxx_cv_func_isnanf_use=no
52370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52371 ac_ext=c
52372 ac_cpp='$CPP $CPPFLAGS'
52373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
52382 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
52384 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
52385 for ac_func in isnanf
52386 do :
52387 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
52388 if test "x$ac_cv_func_isnanf" = x""yes; then :
52389 cat >>confdefs.h <<_ACEOF
52390 #define HAVE_ISNANF 1
52391 _ACEOF
52394 done
52396 else
52398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
52399 $as_echo_n "checking for _isnanf declaration... " >&6; }
52400 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
52401 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
52402 $as_echo_n "(cached) " >&6
52403 else
52406 ac_ext=cpp
52407 ac_cpp='$CXXCPP $CPPFLAGS'
52408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52413 /* end confdefs.h. */
52414 #include <math.h>
52415 #ifdef HAVE_IEEEFP_H
52416 #include <ieeefp.h>
52417 #endif
52420 main ()
52422 _isnanf(0);
52424 return 0;
52426 _ACEOF
52427 if ac_fn_cxx_try_compile "$LINENO"; then :
52428 glibcxx_cv_func__isnanf_use=yes
52429 else
52430 glibcxx_cv_func__isnanf_use=no
52432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52433 ac_ext=c
52434 ac_cpp='$CPP $CPPFLAGS'
52435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
52444 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
52446 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
52447 for ac_func in _isnanf
52448 do :
52449 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
52450 if test "x$ac_cv_func__isnanf" = x""yes; then :
52451 cat >>confdefs.h <<_ACEOF
52452 #define HAVE__ISNANF 1
52453 _ACEOF
52456 done
52465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
52466 $as_echo_n "checking for isinff declaration... " >&6; }
52467 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
52468 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
52469 $as_echo_n "(cached) " >&6
52470 else
52473 ac_ext=cpp
52474 ac_cpp='$CXXCPP $CPPFLAGS'
52475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52480 /* end confdefs.h. */
52481 #include <math.h>
52482 #ifdef HAVE_IEEEFP_H
52483 #include <ieeefp.h>
52484 #endif
52487 main ()
52489 isinff(0);
52491 return 0;
52493 _ACEOF
52494 if ac_fn_cxx_try_compile "$LINENO"; then :
52495 glibcxx_cv_func_isinff_use=yes
52496 else
52497 glibcxx_cv_func_isinff_use=no
52499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52500 ac_ext=c
52501 ac_cpp='$CPP $CPPFLAGS'
52502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
52511 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
52513 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
52514 for ac_func in isinff
52515 do :
52516 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
52517 if test "x$ac_cv_func_isinff" = x""yes; then :
52518 cat >>confdefs.h <<_ACEOF
52519 #define HAVE_ISINFF 1
52520 _ACEOF
52523 done
52525 else
52527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
52528 $as_echo_n "checking for _isinff declaration... " >&6; }
52529 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
52530 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
52531 $as_echo_n "(cached) " >&6
52532 else
52535 ac_ext=cpp
52536 ac_cpp='$CXXCPP $CPPFLAGS'
52537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52542 /* end confdefs.h. */
52543 #include <math.h>
52544 #ifdef HAVE_IEEEFP_H
52545 #include <ieeefp.h>
52546 #endif
52549 main ()
52551 _isinff(0);
52553 return 0;
52555 _ACEOF
52556 if ac_fn_cxx_try_compile "$LINENO"; then :
52557 glibcxx_cv_func__isinff_use=yes
52558 else
52559 glibcxx_cv_func__isinff_use=no
52561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52562 ac_ext=c
52563 ac_cpp='$CPP $CPPFLAGS'
52564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
52573 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
52575 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
52576 for ac_func in _isinff
52577 do :
52578 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
52579 if test "x$ac_cv_func__isinff" = x""yes; then :
52580 cat >>confdefs.h <<_ACEOF
52581 #define HAVE__ISINFF 1
52582 _ACEOF
52585 done
52594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
52595 $as_echo_n "checking for atan2f declaration... " >&6; }
52596 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
52597 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
52598 $as_echo_n "(cached) " >&6
52599 else
52602 ac_ext=cpp
52603 ac_cpp='$CXXCPP $CPPFLAGS'
52604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52609 /* end confdefs.h. */
52610 #include <math.h>
52612 main ()
52614 atan2f(0, 0);
52616 return 0;
52618 _ACEOF
52619 if ac_fn_cxx_try_compile "$LINENO"; then :
52620 glibcxx_cv_func_atan2f_use=yes
52621 else
52622 glibcxx_cv_func_atan2f_use=no
52624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52625 ac_ext=c
52626 ac_cpp='$CPP $CPPFLAGS'
52627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
52636 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
52638 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
52639 for ac_func in atan2f
52640 do :
52641 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
52642 if test "x$ac_cv_func_atan2f" = x""yes; then :
52643 cat >>confdefs.h <<_ACEOF
52644 #define HAVE_ATAN2F 1
52645 _ACEOF
52648 done
52650 else
52652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
52653 $as_echo_n "checking for _atan2f declaration... " >&6; }
52654 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
52655 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
52656 $as_echo_n "(cached) " >&6
52657 else
52660 ac_ext=cpp
52661 ac_cpp='$CXXCPP $CPPFLAGS'
52662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52667 /* end confdefs.h. */
52668 #include <math.h>
52670 main ()
52672 _atan2f(0, 0);
52674 return 0;
52676 _ACEOF
52677 if ac_fn_cxx_try_compile "$LINENO"; then :
52678 glibcxx_cv_func__atan2f_use=yes
52679 else
52680 glibcxx_cv_func__atan2f_use=no
52682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52683 ac_ext=c
52684 ac_cpp='$CPP $CPPFLAGS'
52685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
52694 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
52696 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
52697 for ac_func in _atan2f
52698 do :
52699 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
52700 if test "x$ac_cv_func__atan2f" = x""yes; then :
52701 cat >>confdefs.h <<_ACEOF
52702 #define HAVE__ATAN2F 1
52703 _ACEOF
52706 done
52715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
52716 $as_echo_n "checking for fabsf declaration... " >&6; }
52717 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
52718 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
52719 $as_echo_n "(cached) " >&6
52720 else
52723 ac_ext=cpp
52724 ac_cpp='$CXXCPP $CPPFLAGS'
52725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52730 /* end confdefs.h. */
52731 #include <math.h>
52732 #ifdef HAVE_IEEEFP_H
52733 #include <ieeefp.h>
52734 #endif
52737 main ()
52739 fabsf(0);
52741 return 0;
52743 _ACEOF
52744 if ac_fn_cxx_try_compile "$LINENO"; then :
52745 glibcxx_cv_func_fabsf_use=yes
52746 else
52747 glibcxx_cv_func_fabsf_use=no
52749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52750 ac_ext=c
52751 ac_cpp='$CPP $CPPFLAGS'
52752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
52761 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
52763 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
52764 for ac_func in fabsf
52765 do :
52766 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
52767 if test "x$ac_cv_func_fabsf" = x""yes; then :
52768 cat >>confdefs.h <<_ACEOF
52769 #define HAVE_FABSF 1
52770 _ACEOF
52773 done
52775 else
52777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
52778 $as_echo_n "checking for _fabsf declaration... " >&6; }
52779 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
52780 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
52781 $as_echo_n "(cached) " >&6
52782 else
52785 ac_ext=cpp
52786 ac_cpp='$CXXCPP $CPPFLAGS'
52787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52792 /* end confdefs.h. */
52793 #include <math.h>
52794 #ifdef HAVE_IEEEFP_H
52795 #include <ieeefp.h>
52796 #endif
52799 main ()
52801 _fabsf(0);
52803 return 0;
52805 _ACEOF
52806 if ac_fn_cxx_try_compile "$LINENO"; then :
52807 glibcxx_cv_func__fabsf_use=yes
52808 else
52809 glibcxx_cv_func__fabsf_use=no
52811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52812 ac_ext=c
52813 ac_cpp='$CPP $CPPFLAGS'
52814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
52823 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
52825 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
52826 for ac_func in _fabsf
52827 do :
52828 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
52829 if test "x$ac_cv_func__fabsf" = x""yes; then :
52830 cat >>confdefs.h <<_ACEOF
52831 #define HAVE__FABSF 1
52832 _ACEOF
52835 done
52844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
52845 $as_echo_n "checking for fmodf declaration... " >&6; }
52846 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
52847 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
52848 $as_echo_n "(cached) " >&6
52849 else
52852 ac_ext=cpp
52853 ac_cpp='$CXXCPP $CPPFLAGS'
52854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52859 /* end confdefs.h. */
52860 #include <math.h>
52862 main ()
52864 fmodf(0, 0);
52866 return 0;
52868 _ACEOF
52869 if ac_fn_cxx_try_compile "$LINENO"; then :
52870 glibcxx_cv_func_fmodf_use=yes
52871 else
52872 glibcxx_cv_func_fmodf_use=no
52874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52875 ac_ext=c
52876 ac_cpp='$CPP $CPPFLAGS'
52877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
52886 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
52888 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
52889 for ac_func in fmodf
52890 do :
52891 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
52892 if test "x$ac_cv_func_fmodf" = x""yes; then :
52893 cat >>confdefs.h <<_ACEOF
52894 #define HAVE_FMODF 1
52895 _ACEOF
52898 done
52900 else
52902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
52903 $as_echo_n "checking for _fmodf declaration... " >&6; }
52904 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
52905 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
52906 $as_echo_n "(cached) " >&6
52907 else
52910 ac_ext=cpp
52911 ac_cpp='$CXXCPP $CPPFLAGS'
52912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52917 /* end confdefs.h. */
52918 #include <math.h>
52920 main ()
52922 _fmodf(0, 0);
52924 return 0;
52926 _ACEOF
52927 if ac_fn_cxx_try_compile "$LINENO"; then :
52928 glibcxx_cv_func__fmodf_use=yes
52929 else
52930 glibcxx_cv_func__fmodf_use=no
52932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52933 ac_ext=c
52934 ac_cpp='$CPP $CPPFLAGS'
52935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
52944 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
52946 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
52947 for ac_func in _fmodf
52948 do :
52949 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
52950 if test "x$ac_cv_func__fmodf" = x""yes; then :
52951 cat >>confdefs.h <<_ACEOF
52952 #define HAVE__FMODF 1
52953 _ACEOF
52956 done
52965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
52966 $as_echo_n "checking for frexpf declaration... " >&6; }
52967 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
52968 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
52969 $as_echo_n "(cached) " >&6
52970 else
52973 ac_ext=cpp
52974 ac_cpp='$CXXCPP $CPPFLAGS'
52975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52980 /* end confdefs.h. */
52981 #include <math.h>
52983 main ()
52985 frexpf(0, 0);
52987 return 0;
52989 _ACEOF
52990 if ac_fn_cxx_try_compile "$LINENO"; then :
52991 glibcxx_cv_func_frexpf_use=yes
52992 else
52993 glibcxx_cv_func_frexpf_use=no
52995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52996 ac_ext=c
52997 ac_cpp='$CPP $CPPFLAGS'
52998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
53007 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
53009 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
53010 for ac_func in frexpf
53011 do :
53012 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
53013 if test "x$ac_cv_func_frexpf" = x""yes; then :
53014 cat >>confdefs.h <<_ACEOF
53015 #define HAVE_FREXPF 1
53016 _ACEOF
53019 done
53021 else
53023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
53024 $as_echo_n "checking for _frexpf declaration... " >&6; }
53025 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
53026 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
53027 $as_echo_n "(cached) " >&6
53028 else
53031 ac_ext=cpp
53032 ac_cpp='$CXXCPP $CPPFLAGS'
53033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53038 /* end confdefs.h. */
53039 #include <math.h>
53041 main ()
53043 _frexpf(0, 0);
53045 return 0;
53047 _ACEOF
53048 if ac_fn_cxx_try_compile "$LINENO"; then :
53049 glibcxx_cv_func__frexpf_use=yes
53050 else
53051 glibcxx_cv_func__frexpf_use=no
53053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53054 ac_ext=c
53055 ac_cpp='$CPP $CPPFLAGS'
53056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
53065 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
53067 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
53068 for ac_func in _frexpf
53069 do :
53070 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
53071 if test "x$ac_cv_func__frexpf" = x""yes; then :
53072 cat >>confdefs.h <<_ACEOF
53073 #define HAVE__FREXPF 1
53074 _ACEOF
53077 done
53086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53087 $as_echo_n "checking for hypotf declaration... " >&6; }
53088 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53089 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53090 $as_echo_n "(cached) " >&6
53091 else
53094 ac_ext=cpp
53095 ac_cpp='$CXXCPP $CPPFLAGS'
53096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53101 /* end confdefs.h. */
53102 #include <math.h>
53104 main ()
53106 hypotf(0, 0);
53108 return 0;
53110 _ACEOF
53111 if ac_fn_cxx_try_compile "$LINENO"; then :
53112 glibcxx_cv_func_hypotf_use=yes
53113 else
53114 glibcxx_cv_func_hypotf_use=no
53116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53117 ac_ext=c
53118 ac_cpp='$CPP $CPPFLAGS'
53119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53128 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53130 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53131 for ac_func in hypotf
53132 do :
53133 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53134 if test "x$ac_cv_func_hypotf" = x""yes; then :
53135 cat >>confdefs.h <<_ACEOF
53136 #define HAVE_HYPOTF 1
53137 _ACEOF
53140 done
53142 else
53144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53145 $as_echo_n "checking for _hypotf declaration... " >&6; }
53146 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53147 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53148 $as_echo_n "(cached) " >&6
53149 else
53152 ac_ext=cpp
53153 ac_cpp='$CXXCPP $CPPFLAGS'
53154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53159 /* end confdefs.h. */
53160 #include <math.h>
53162 main ()
53164 _hypotf(0, 0);
53166 return 0;
53168 _ACEOF
53169 if ac_fn_cxx_try_compile "$LINENO"; then :
53170 glibcxx_cv_func__hypotf_use=yes
53171 else
53172 glibcxx_cv_func__hypotf_use=no
53174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53175 ac_ext=c
53176 ac_cpp='$CPP $CPPFLAGS'
53177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
53186 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53188 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53189 for ac_func in _hypotf
53190 do :
53191 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53192 if test "x$ac_cv_func__hypotf" = x""yes; then :
53193 cat >>confdefs.h <<_ACEOF
53194 #define HAVE__HYPOTF 1
53195 _ACEOF
53198 done
53207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
53208 $as_echo_n "checking for ldexpf declaration... " >&6; }
53209 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53210 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
53211 $as_echo_n "(cached) " >&6
53212 else
53215 ac_ext=cpp
53216 ac_cpp='$CXXCPP $CPPFLAGS'
53217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53222 /* end confdefs.h. */
53223 #include <math.h>
53225 main ()
53227 ldexpf(0, 0);
53229 return 0;
53231 _ACEOF
53232 if ac_fn_cxx_try_compile "$LINENO"; then :
53233 glibcxx_cv_func_ldexpf_use=yes
53234 else
53235 glibcxx_cv_func_ldexpf_use=no
53237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53238 ac_ext=c
53239 ac_cpp='$CPP $CPPFLAGS'
53240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
53249 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
53251 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
53252 for ac_func in ldexpf
53253 do :
53254 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
53255 if test "x$ac_cv_func_ldexpf" = x""yes; then :
53256 cat >>confdefs.h <<_ACEOF
53257 #define HAVE_LDEXPF 1
53258 _ACEOF
53261 done
53263 else
53265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
53266 $as_echo_n "checking for _ldexpf declaration... " >&6; }
53267 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
53268 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
53269 $as_echo_n "(cached) " >&6
53270 else
53273 ac_ext=cpp
53274 ac_cpp='$CXXCPP $CPPFLAGS'
53275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53280 /* end confdefs.h. */
53281 #include <math.h>
53283 main ()
53285 _ldexpf(0, 0);
53287 return 0;
53289 _ACEOF
53290 if ac_fn_cxx_try_compile "$LINENO"; then :
53291 glibcxx_cv_func__ldexpf_use=yes
53292 else
53293 glibcxx_cv_func__ldexpf_use=no
53295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53296 ac_ext=c
53297 ac_cpp='$CPP $CPPFLAGS'
53298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
53307 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
53309 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
53310 for ac_func in _ldexpf
53311 do :
53312 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
53313 if test "x$ac_cv_func__ldexpf" = x""yes; then :
53314 cat >>confdefs.h <<_ACEOF
53315 #define HAVE__LDEXPF 1
53316 _ACEOF
53319 done
53328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
53329 $as_echo_n "checking for logf declaration... " >&6; }
53330 if test x${glibcxx_cv_func_logf_use+set} != xset; then
53331 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
53332 $as_echo_n "(cached) " >&6
53333 else
53336 ac_ext=cpp
53337 ac_cpp='$CXXCPP $CPPFLAGS'
53338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53343 /* end confdefs.h. */
53344 #include <math.h>
53345 #ifdef HAVE_IEEEFP_H
53346 #include <ieeefp.h>
53347 #endif
53350 main ()
53352 logf(0);
53354 return 0;
53356 _ACEOF
53357 if ac_fn_cxx_try_compile "$LINENO"; then :
53358 glibcxx_cv_func_logf_use=yes
53359 else
53360 glibcxx_cv_func_logf_use=no
53362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53363 ac_ext=c
53364 ac_cpp='$CPP $CPPFLAGS'
53365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
53374 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
53376 if test x$glibcxx_cv_func_logf_use = x"yes"; then
53377 for ac_func in logf
53378 do :
53379 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
53380 if test "x$ac_cv_func_logf" = x""yes; then :
53381 cat >>confdefs.h <<_ACEOF
53382 #define HAVE_LOGF 1
53383 _ACEOF
53386 done
53388 else
53390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
53391 $as_echo_n "checking for _logf declaration... " >&6; }
53392 if test x${glibcxx_cv_func__logf_use+set} != xset; then
53393 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
53394 $as_echo_n "(cached) " >&6
53395 else
53398 ac_ext=cpp
53399 ac_cpp='$CXXCPP $CPPFLAGS'
53400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53405 /* end confdefs.h. */
53406 #include <math.h>
53407 #ifdef HAVE_IEEEFP_H
53408 #include <ieeefp.h>
53409 #endif
53412 main ()
53414 _logf(0);
53416 return 0;
53418 _ACEOF
53419 if ac_fn_cxx_try_compile "$LINENO"; then :
53420 glibcxx_cv_func__logf_use=yes
53421 else
53422 glibcxx_cv_func__logf_use=no
53424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53425 ac_ext=c
53426 ac_cpp='$CPP $CPPFLAGS'
53427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
53436 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
53438 if test x$glibcxx_cv_func__logf_use = x"yes"; then
53439 for ac_func in _logf
53440 do :
53441 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
53442 if test "x$ac_cv_func__logf" = x""yes; then :
53443 cat >>confdefs.h <<_ACEOF
53444 #define HAVE__LOGF 1
53445 _ACEOF
53448 done
53457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
53458 $as_echo_n "checking for log10f declaration... " >&6; }
53459 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
53460 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
53461 $as_echo_n "(cached) " >&6
53462 else
53465 ac_ext=cpp
53466 ac_cpp='$CXXCPP $CPPFLAGS'
53467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53472 /* end confdefs.h. */
53473 #include <math.h>
53474 #ifdef HAVE_IEEEFP_H
53475 #include <ieeefp.h>
53476 #endif
53479 main ()
53481 log10f(0);
53483 return 0;
53485 _ACEOF
53486 if ac_fn_cxx_try_compile "$LINENO"; then :
53487 glibcxx_cv_func_log10f_use=yes
53488 else
53489 glibcxx_cv_func_log10f_use=no
53491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53492 ac_ext=c
53493 ac_cpp='$CPP $CPPFLAGS'
53494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
53503 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
53505 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
53506 for ac_func in log10f
53507 do :
53508 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
53509 if test "x$ac_cv_func_log10f" = x""yes; then :
53510 cat >>confdefs.h <<_ACEOF
53511 #define HAVE_LOG10F 1
53512 _ACEOF
53515 done
53517 else
53519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
53520 $as_echo_n "checking for _log10f declaration... " >&6; }
53521 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
53522 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
53523 $as_echo_n "(cached) " >&6
53524 else
53527 ac_ext=cpp
53528 ac_cpp='$CXXCPP $CPPFLAGS'
53529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53534 /* end confdefs.h. */
53535 #include <math.h>
53536 #ifdef HAVE_IEEEFP_H
53537 #include <ieeefp.h>
53538 #endif
53541 main ()
53543 _log10f(0);
53545 return 0;
53547 _ACEOF
53548 if ac_fn_cxx_try_compile "$LINENO"; then :
53549 glibcxx_cv_func__log10f_use=yes
53550 else
53551 glibcxx_cv_func__log10f_use=no
53553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53554 ac_ext=c
53555 ac_cpp='$CPP $CPPFLAGS'
53556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
53565 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
53567 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
53568 for ac_func in _log10f
53569 do :
53570 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
53571 if test "x$ac_cv_func__log10f" = x""yes; then :
53572 cat >>confdefs.h <<_ACEOF
53573 #define HAVE__LOG10F 1
53574 _ACEOF
53577 done
53586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
53587 $as_echo_n "checking for modff declaration... " >&6; }
53588 if test x${glibcxx_cv_func_modff_use+set} != xset; then
53589 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
53590 $as_echo_n "(cached) " >&6
53591 else
53594 ac_ext=cpp
53595 ac_cpp='$CXXCPP $CPPFLAGS'
53596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53601 /* end confdefs.h. */
53602 #include <math.h>
53604 main ()
53606 modff(0, 0);
53608 return 0;
53610 _ACEOF
53611 if ac_fn_cxx_try_compile "$LINENO"; then :
53612 glibcxx_cv_func_modff_use=yes
53613 else
53614 glibcxx_cv_func_modff_use=no
53616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53617 ac_ext=c
53618 ac_cpp='$CPP $CPPFLAGS'
53619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
53628 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
53630 if test x$glibcxx_cv_func_modff_use = x"yes"; then
53631 for ac_func in modff
53632 do :
53633 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
53634 if test "x$ac_cv_func_modff" = x""yes; then :
53635 cat >>confdefs.h <<_ACEOF
53636 #define HAVE_MODFF 1
53637 _ACEOF
53640 done
53642 else
53644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
53645 $as_echo_n "checking for _modff declaration... " >&6; }
53646 if test x${glibcxx_cv_func__modff_use+set} != xset; then
53647 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
53648 $as_echo_n "(cached) " >&6
53649 else
53652 ac_ext=cpp
53653 ac_cpp='$CXXCPP $CPPFLAGS'
53654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53659 /* end confdefs.h. */
53660 #include <math.h>
53662 main ()
53664 _modff(0, 0);
53666 return 0;
53668 _ACEOF
53669 if ac_fn_cxx_try_compile "$LINENO"; then :
53670 glibcxx_cv_func__modff_use=yes
53671 else
53672 glibcxx_cv_func__modff_use=no
53674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53675 ac_ext=c
53676 ac_cpp='$CPP $CPPFLAGS'
53677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
53686 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
53688 if test x$glibcxx_cv_func__modff_use = x"yes"; then
53689 for ac_func in _modff
53690 do :
53691 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
53692 if test "x$ac_cv_func__modff" = x""yes; then :
53693 cat >>confdefs.h <<_ACEOF
53694 #define HAVE__MODFF 1
53695 _ACEOF
53698 done
53707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
53708 $as_echo_n "checking for modf declaration... " >&6; }
53709 if test x${glibcxx_cv_func_modf_use+set} != xset; then
53710 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
53711 $as_echo_n "(cached) " >&6
53712 else
53715 ac_ext=cpp
53716 ac_cpp='$CXXCPP $CPPFLAGS'
53717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53722 /* end confdefs.h. */
53723 #include <math.h>
53725 main ()
53727 modf(0, 0);
53729 return 0;
53731 _ACEOF
53732 if ac_fn_cxx_try_compile "$LINENO"; then :
53733 glibcxx_cv_func_modf_use=yes
53734 else
53735 glibcxx_cv_func_modf_use=no
53737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53738 ac_ext=c
53739 ac_cpp='$CPP $CPPFLAGS'
53740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
53749 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
53751 if test x$glibcxx_cv_func_modf_use = x"yes"; then
53752 for ac_func in modf
53753 do :
53754 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
53755 if test "x$ac_cv_func_modf" = x""yes; then :
53756 cat >>confdefs.h <<_ACEOF
53757 #define HAVE_MODF 1
53758 _ACEOF
53761 done
53763 else
53765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
53766 $as_echo_n "checking for _modf declaration... " >&6; }
53767 if test x${glibcxx_cv_func__modf_use+set} != xset; then
53768 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
53769 $as_echo_n "(cached) " >&6
53770 else
53773 ac_ext=cpp
53774 ac_cpp='$CXXCPP $CPPFLAGS'
53775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53780 /* end confdefs.h. */
53781 #include <math.h>
53783 main ()
53785 _modf(0, 0);
53787 return 0;
53789 _ACEOF
53790 if ac_fn_cxx_try_compile "$LINENO"; then :
53791 glibcxx_cv_func__modf_use=yes
53792 else
53793 glibcxx_cv_func__modf_use=no
53795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53796 ac_ext=c
53797 ac_cpp='$CPP $CPPFLAGS'
53798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
53807 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
53809 if test x$glibcxx_cv_func__modf_use = x"yes"; then
53810 for ac_func in _modf
53811 do :
53812 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
53813 if test "x$ac_cv_func__modf" = x""yes; then :
53814 cat >>confdefs.h <<_ACEOF
53815 #define HAVE__MODF 1
53816 _ACEOF
53819 done
53828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
53829 $as_echo_n "checking for powf declaration... " >&6; }
53830 if test x${glibcxx_cv_func_powf_use+set} != xset; then
53831 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
53832 $as_echo_n "(cached) " >&6
53833 else
53836 ac_ext=cpp
53837 ac_cpp='$CXXCPP $CPPFLAGS'
53838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53843 /* end confdefs.h. */
53844 #include <math.h>
53846 main ()
53848 powf(0, 0);
53850 return 0;
53852 _ACEOF
53853 if ac_fn_cxx_try_compile "$LINENO"; then :
53854 glibcxx_cv_func_powf_use=yes
53855 else
53856 glibcxx_cv_func_powf_use=no
53858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53859 ac_ext=c
53860 ac_cpp='$CPP $CPPFLAGS'
53861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
53870 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
53872 if test x$glibcxx_cv_func_powf_use = x"yes"; then
53873 for ac_func in powf
53874 do :
53875 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
53876 if test "x$ac_cv_func_powf" = x""yes; then :
53877 cat >>confdefs.h <<_ACEOF
53878 #define HAVE_POWF 1
53879 _ACEOF
53882 done
53884 else
53886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
53887 $as_echo_n "checking for _powf declaration... " >&6; }
53888 if test x${glibcxx_cv_func__powf_use+set} != xset; then
53889 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
53890 $as_echo_n "(cached) " >&6
53891 else
53894 ac_ext=cpp
53895 ac_cpp='$CXXCPP $CPPFLAGS'
53896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53901 /* end confdefs.h. */
53902 #include <math.h>
53904 main ()
53906 _powf(0, 0);
53908 return 0;
53910 _ACEOF
53911 if ac_fn_cxx_try_compile "$LINENO"; then :
53912 glibcxx_cv_func__powf_use=yes
53913 else
53914 glibcxx_cv_func__powf_use=no
53916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53917 ac_ext=c
53918 ac_cpp='$CPP $CPPFLAGS'
53919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
53928 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
53930 if test x$glibcxx_cv_func__powf_use = x"yes"; then
53931 for ac_func in _powf
53932 do :
53933 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
53934 if test "x$ac_cv_func__powf" = x""yes; then :
53935 cat >>confdefs.h <<_ACEOF
53936 #define HAVE__POWF 1
53937 _ACEOF
53940 done
53949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
53950 $as_echo_n "checking for sqrtf declaration... " >&6; }
53951 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
53952 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
53953 $as_echo_n "(cached) " >&6
53954 else
53957 ac_ext=cpp
53958 ac_cpp='$CXXCPP $CPPFLAGS'
53959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53964 /* end confdefs.h. */
53965 #include <math.h>
53966 #ifdef HAVE_IEEEFP_H
53967 #include <ieeefp.h>
53968 #endif
53971 main ()
53973 sqrtf(0);
53975 return 0;
53977 _ACEOF
53978 if ac_fn_cxx_try_compile "$LINENO"; then :
53979 glibcxx_cv_func_sqrtf_use=yes
53980 else
53981 glibcxx_cv_func_sqrtf_use=no
53983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53984 ac_ext=c
53985 ac_cpp='$CPP $CPPFLAGS'
53986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
53995 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
53997 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
53998 for ac_func in sqrtf
53999 do :
54000 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
54001 if test "x$ac_cv_func_sqrtf" = x""yes; then :
54002 cat >>confdefs.h <<_ACEOF
54003 #define HAVE_SQRTF 1
54004 _ACEOF
54007 done
54009 else
54011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
54012 $as_echo_n "checking for _sqrtf declaration... " >&6; }
54013 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
54014 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
54015 $as_echo_n "(cached) " >&6
54016 else
54019 ac_ext=cpp
54020 ac_cpp='$CXXCPP $CPPFLAGS'
54021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54026 /* end confdefs.h. */
54027 #include <math.h>
54028 #ifdef HAVE_IEEEFP_H
54029 #include <ieeefp.h>
54030 #endif
54033 main ()
54035 _sqrtf(0);
54037 return 0;
54039 _ACEOF
54040 if ac_fn_cxx_try_compile "$LINENO"; then :
54041 glibcxx_cv_func__sqrtf_use=yes
54042 else
54043 glibcxx_cv_func__sqrtf_use=no
54045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54046 ac_ext=c
54047 ac_cpp='$CPP $CPPFLAGS'
54048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
54057 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
54059 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
54060 for ac_func in _sqrtf
54061 do :
54062 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
54063 if test "x$ac_cv_func__sqrtf" = x""yes; then :
54064 cat >>confdefs.h <<_ACEOF
54065 #define HAVE__SQRTF 1
54066 _ACEOF
54069 done
54078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54079 $as_echo_n "checking for sincosf declaration... " >&6; }
54080 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54081 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54082 $as_echo_n "(cached) " >&6
54083 else
54086 ac_ext=cpp
54087 ac_cpp='$CXXCPP $CPPFLAGS'
54088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54093 /* end confdefs.h. */
54094 #include <math.h>
54096 main ()
54098 sincosf(0, 0, 0);
54100 return 0;
54102 _ACEOF
54103 if ac_fn_cxx_try_compile "$LINENO"; then :
54104 glibcxx_cv_func_sincosf_use=yes
54105 else
54106 glibcxx_cv_func_sincosf_use=no
54108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54109 ac_ext=c
54110 ac_cpp='$CPP $CPPFLAGS'
54111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54120 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54122 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54123 for ac_func in sincosf
54124 do :
54125 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54126 if test "x$ac_cv_func_sincosf" = x""yes; then :
54127 cat >>confdefs.h <<_ACEOF
54128 #define HAVE_SINCOSF 1
54129 _ACEOF
54132 done
54134 else
54136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54137 $as_echo_n "checking for _sincosf declaration... " >&6; }
54138 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54139 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54140 $as_echo_n "(cached) " >&6
54141 else
54144 ac_ext=cpp
54145 ac_cpp='$CXXCPP $CPPFLAGS'
54146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54151 /* end confdefs.h. */
54152 #include <math.h>
54154 main ()
54156 _sincosf(0, 0, 0);
54158 return 0;
54160 _ACEOF
54161 if ac_fn_cxx_try_compile "$LINENO"; then :
54162 glibcxx_cv_func__sincosf_use=yes
54163 else
54164 glibcxx_cv_func__sincosf_use=no
54166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54167 ac_ext=c
54168 ac_cpp='$CPP $CPPFLAGS'
54169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54178 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54180 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54181 for ac_func in _sincosf
54182 do :
54183 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54184 if test "x$ac_cv_func__sincosf" = x""yes; then :
54185 cat >>confdefs.h <<_ACEOF
54186 #define HAVE__SINCOSF 1
54187 _ACEOF
54190 done
54199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54200 $as_echo_n "checking for finitef declaration... " >&6; }
54201 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54202 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54203 $as_echo_n "(cached) " >&6
54204 else
54207 ac_ext=cpp
54208 ac_cpp='$CXXCPP $CPPFLAGS'
54209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54214 /* end confdefs.h. */
54215 #include <math.h>
54216 #ifdef HAVE_IEEEFP_H
54217 #include <ieeefp.h>
54218 #endif
54221 main ()
54223 finitef(0);
54225 return 0;
54227 _ACEOF
54228 if ac_fn_cxx_try_compile "$LINENO"; then :
54229 glibcxx_cv_func_finitef_use=yes
54230 else
54231 glibcxx_cv_func_finitef_use=no
54233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54234 ac_ext=c
54235 ac_cpp='$CPP $CPPFLAGS'
54236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
54245 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
54247 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
54248 for ac_func in finitef
54249 do :
54250 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
54251 if test "x$ac_cv_func_finitef" = x""yes; then :
54252 cat >>confdefs.h <<_ACEOF
54253 #define HAVE_FINITEF 1
54254 _ACEOF
54257 done
54259 else
54261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
54262 $as_echo_n "checking for _finitef declaration... " >&6; }
54263 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
54264 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
54265 $as_echo_n "(cached) " >&6
54266 else
54269 ac_ext=cpp
54270 ac_cpp='$CXXCPP $CPPFLAGS'
54271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54276 /* end confdefs.h. */
54277 #include <math.h>
54278 #ifdef HAVE_IEEEFP_H
54279 #include <ieeefp.h>
54280 #endif
54283 main ()
54285 _finitef(0);
54287 return 0;
54289 _ACEOF
54290 if ac_fn_cxx_try_compile "$LINENO"; then :
54291 glibcxx_cv_func__finitef_use=yes
54292 else
54293 glibcxx_cv_func__finitef_use=no
54295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54296 ac_ext=c
54297 ac_cpp='$CPP $CPPFLAGS'
54298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
54307 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
54309 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
54310 for ac_func in _finitef
54311 do :
54312 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
54313 if test "x$ac_cv_func__finitef" = x""yes; then :
54314 cat >>confdefs.h <<_ACEOF
54315 #define HAVE__FINITEF 1
54316 _ACEOF
54319 done
54328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
54329 $as_echo_n "checking for long double trig functions... " >&6; }
54330 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
54331 $as_echo_n "(cached) " >&6
54332 else
54335 ac_ext=cpp
54336 ac_cpp='$CXXCPP $CPPFLAGS'
54337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54342 /* end confdefs.h. */
54343 #include <math.h>
54345 main ()
54347 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
54349 return 0;
54351 _ACEOF
54352 if ac_fn_cxx_try_compile "$LINENO"; then :
54353 glibcxx_cv_func_long_double_trig_use=yes
54354 else
54355 glibcxx_cv_func_long_double_trig_use=no
54357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54358 ac_ext=c
54359 ac_cpp='$CPP $CPPFLAGS'
54360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
54367 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
54368 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
54369 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
54370 do :
54371 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54372 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54373 eval as_val=\$$as_ac_var
54374 if test "x$as_val" = x""yes; then :
54375 cat >>confdefs.h <<_ACEOF
54376 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54377 _ACEOF
54380 done
54382 else
54383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
54384 $as_echo_n "checking for _long double trig functions... " >&6; }
54385 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
54386 $as_echo_n "(cached) " >&6
54387 else
54390 ac_ext=cpp
54391 ac_cpp='$CXXCPP $CPPFLAGS'
54392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54397 /* end confdefs.h. */
54398 #include <math.h>
54400 main ()
54402 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
54404 return 0;
54406 _ACEOF
54407 if ac_fn_cxx_try_compile "$LINENO"; then :
54408 glibcxx_cv_func__long_double_trig_use=yes
54409 else
54410 glibcxx_cv_func__long_double_trig_use=no
54412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54413 ac_ext=c
54414 ac_cpp='$CPP $CPPFLAGS'
54415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
54422 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
54423 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
54424 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
54425 do :
54426 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54427 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54428 eval as_val=\$$as_ac_var
54429 if test "x$as_val" = x""yes; then :
54430 cat >>confdefs.h <<_ACEOF
54431 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54432 _ACEOF
54435 done
54444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
54445 $as_echo_n "checking for long double round functions... " >&6; }
54446 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
54447 $as_echo_n "(cached) " >&6
54448 else
54451 ac_ext=cpp
54452 ac_cpp='$CXXCPP $CPPFLAGS'
54453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54458 /* end confdefs.h. */
54459 #include <math.h>
54461 main ()
54463 ceill (0); floorl (0);
54465 return 0;
54467 _ACEOF
54468 if ac_fn_cxx_try_compile "$LINENO"; then :
54469 glibcxx_cv_func_long_double_round_use=yes
54470 else
54471 glibcxx_cv_func_long_double_round_use=no
54473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54474 ac_ext=c
54475 ac_cpp='$CPP $CPPFLAGS'
54476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
54483 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
54484 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
54485 for ac_func in ceill floorl
54486 do :
54487 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54488 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54489 eval as_val=\$$as_ac_var
54490 if test "x$as_val" = x""yes; then :
54491 cat >>confdefs.h <<_ACEOF
54492 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54493 _ACEOF
54496 done
54498 else
54499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
54500 $as_echo_n "checking for _long double round functions... " >&6; }
54501 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
54502 $as_echo_n "(cached) " >&6
54503 else
54506 ac_ext=cpp
54507 ac_cpp='$CXXCPP $CPPFLAGS'
54508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54513 /* end confdefs.h. */
54514 #include <math.h>
54516 main ()
54518 _ceill (0); _floorl (0);
54520 return 0;
54522 _ACEOF
54523 if ac_fn_cxx_try_compile "$LINENO"; then :
54524 glibcxx_cv_func__long_double_round_use=yes
54525 else
54526 glibcxx_cv_func__long_double_round_use=no
54528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54529 ac_ext=c
54530 ac_cpp='$CPP $CPPFLAGS'
54531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
54538 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
54539 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54540 for ac_func in _ceill _floorl
54541 do :
54542 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54543 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54544 eval as_val=\$$as_ac_var
54545 if test "x$as_val" = x""yes; then :
54546 cat >>confdefs.h <<_ACEOF
54547 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54548 _ACEOF
54551 done
54561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
54562 $as_echo_n "checking for isnanl declaration... " >&6; }
54563 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54564 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
54565 $as_echo_n "(cached) " >&6
54566 else
54569 ac_ext=cpp
54570 ac_cpp='$CXXCPP $CPPFLAGS'
54571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54576 /* end confdefs.h. */
54577 #include <math.h>
54578 #ifdef HAVE_IEEEFP_H
54579 #include <ieeefp.h>
54580 #endif
54583 main ()
54585 isnanl(0);
54587 return 0;
54589 _ACEOF
54590 if ac_fn_cxx_try_compile "$LINENO"; then :
54591 glibcxx_cv_func_isnanl_use=yes
54592 else
54593 glibcxx_cv_func_isnanl_use=no
54595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54596 ac_ext=c
54597 ac_cpp='$CPP $CPPFLAGS'
54598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
54607 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
54609 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54610 for ac_func in isnanl
54611 do :
54612 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
54613 if test "x$ac_cv_func_isnanl" = x""yes; then :
54614 cat >>confdefs.h <<_ACEOF
54615 #define HAVE_ISNANL 1
54616 _ACEOF
54619 done
54621 else
54623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
54624 $as_echo_n "checking for _isnanl declaration... " >&6; }
54625 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54626 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
54627 $as_echo_n "(cached) " >&6
54628 else
54631 ac_ext=cpp
54632 ac_cpp='$CXXCPP $CPPFLAGS'
54633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54638 /* end confdefs.h. */
54639 #include <math.h>
54640 #ifdef HAVE_IEEEFP_H
54641 #include <ieeefp.h>
54642 #endif
54645 main ()
54647 _isnanl(0);
54649 return 0;
54651 _ACEOF
54652 if ac_fn_cxx_try_compile "$LINENO"; then :
54653 glibcxx_cv_func__isnanl_use=yes
54654 else
54655 glibcxx_cv_func__isnanl_use=no
54657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54658 ac_ext=c
54659 ac_cpp='$CPP $CPPFLAGS'
54660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
54669 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
54671 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54672 for ac_func in _isnanl
54673 do :
54674 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
54675 if test "x$ac_cv_func__isnanl" = x""yes; then :
54676 cat >>confdefs.h <<_ACEOF
54677 #define HAVE__ISNANL 1
54678 _ACEOF
54681 done
54690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
54691 $as_echo_n "checking for isinfl declaration... " >&6; }
54692 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54693 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
54694 $as_echo_n "(cached) " >&6
54695 else
54698 ac_ext=cpp
54699 ac_cpp='$CXXCPP $CPPFLAGS'
54700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54705 /* end confdefs.h. */
54706 #include <math.h>
54707 #ifdef HAVE_IEEEFP_H
54708 #include <ieeefp.h>
54709 #endif
54712 main ()
54714 isinfl(0);
54716 return 0;
54718 _ACEOF
54719 if ac_fn_cxx_try_compile "$LINENO"; then :
54720 glibcxx_cv_func_isinfl_use=yes
54721 else
54722 glibcxx_cv_func_isinfl_use=no
54724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54725 ac_ext=c
54726 ac_cpp='$CPP $CPPFLAGS'
54727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
54736 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
54738 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54739 for ac_func in isinfl
54740 do :
54741 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
54742 if test "x$ac_cv_func_isinfl" = x""yes; then :
54743 cat >>confdefs.h <<_ACEOF
54744 #define HAVE_ISINFL 1
54745 _ACEOF
54748 done
54750 else
54752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
54753 $as_echo_n "checking for _isinfl declaration... " >&6; }
54754 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
54755 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
54756 $as_echo_n "(cached) " >&6
54757 else
54760 ac_ext=cpp
54761 ac_cpp='$CXXCPP $CPPFLAGS'
54762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54767 /* end confdefs.h. */
54768 #include <math.h>
54769 #ifdef HAVE_IEEEFP_H
54770 #include <ieeefp.h>
54771 #endif
54774 main ()
54776 _isinfl(0);
54778 return 0;
54780 _ACEOF
54781 if ac_fn_cxx_try_compile "$LINENO"; then :
54782 glibcxx_cv_func__isinfl_use=yes
54783 else
54784 glibcxx_cv_func__isinfl_use=no
54786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54787 ac_ext=c
54788 ac_cpp='$CPP $CPPFLAGS'
54789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
54798 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
54800 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
54801 for ac_func in _isinfl
54802 do :
54803 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
54804 if test "x$ac_cv_func__isinfl" = x""yes; then :
54805 cat >>confdefs.h <<_ACEOF
54806 #define HAVE__ISINFL 1
54807 _ACEOF
54810 done
54819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
54820 $as_echo_n "checking for atan2l declaration... " >&6; }
54821 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
54822 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
54823 $as_echo_n "(cached) " >&6
54824 else
54827 ac_ext=cpp
54828 ac_cpp='$CXXCPP $CPPFLAGS'
54829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54834 /* end confdefs.h. */
54835 #include <math.h>
54837 main ()
54839 atan2l(0, 0);
54841 return 0;
54843 _ACEOF
54844 if ac_fn_cxx_try_compile "$LINENO"; then :
54845 glibcxx_cv_func_atan2l_use=yes
54846 else
54847 glibcxx_cv_func_atan2l_use=no
54849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54850 ac_ext=c
54851 ac_cpp='$CPP $CPPFLAGS'
54852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
54861 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
54863 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
54864 for ac_func in atan2l
54865 do :
54866 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
54867 if test "x$ac_cv_func_atan2l" = x""yes; then :
54868 cat >>confdefs.h <<_ACEOF
54869 #define HAVE_ATAN2L 1
54870 _ACEOF
54873 done
54875 else
54877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
54878 $as_echo_n "checking for _atan2l declaration... " >&6; }
54879 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
54880 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
54881 $as_echo_n "(cached) " >&6
54882 else
54885 ac_ext=cpp
54886 ac_cpp='$CXXCPP $CPPFLAGS'
54887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54892 /* end confdefs.h. */
54893 #include <math.h>
54895 main ()
54897 _atan2l(0, 0);
54899 return 0;
54901 _ACEOF
54902 if ac_fn_cxx_try_compile "$LINENO"; then :
54903 glibcxx_cv_func__atan2l_use=yes
54904 else
54905 glibcxx_cv_func__atan2l_use=no
54907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54908 ac_ext=c
54909 ac_cpp='$CPP $CPPFLAGS'
54910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
54919 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
54921 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
54922 for ac_func in _atan2l
54923 do :
54924 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
54925 if test "x$ac_cv_func__atan2l" = x""yes; then :
54926 cat >>confdefs.h <<_ACEOF
54927 #define HAVE__ATAN2L 1
54928 _ACEOF
54931 done
54940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
54941 $as_echo_n "checking for expl declaration... " >&6; }
54942 if test x${glibcxx_cv_func_expl_use+set} != xset; then
54943 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
54944 $as_echo_n "(cached) " >&6
54945 else
54948 ac_ext=cpp
54949 ac_cpp='$CXXCPP $CPPFLAGS'
54950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54955 /* end confdefs.h. */
54956 #include <math.h>
54957 #ifdef HAVE_IEEEFP_H
54958 #include <ieeefp.h>
54959 #endif
54962 main ()
54964 expl(0);
54966 return 0;
54968 _ACEOF
54969 if ac_fn_cxx_try_compile "$LINENO"; then :
54970 glibcxx_cv_func_expl_use=yes
54971 else
54972 glibcxx_cv_func_expl_use=no
54974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54975 ac_ext=c
54976 ac_cpp='$CPP $CPPFLAGS'
54977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
54986 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
54988 if test x$glibcxx_cv_func_expl_use = x"yes"; then
54989 for ac_func in expl
54990 do :
54991 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
54992 if test "x$ac_cv_func_expl" = x""yes; then :
54993 cat >>confdefs.h <<_ACEOF
54994 #define HAVE_EXPL 1
54995 _ACEOF
54998 done
55000 else
55002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
55003 $as_echo_n "checking for _expl declaration... " >&6; }
55004 if test x${glibcxx_cv_func__expl_use+set} != xset; then
55005 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
55006 $as_echo_n "(cached) " >&6
55007 else
55010 ac_ext=cpp
55011 ac_cpp='$CXXCPP $CPPFLAGS'
55012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55017 /* end confdefs.h. */
55018 #include <math.h>
55019 #ifdef HAVE_IEEEFP_H
55020 #include <ieeefp.h>
55021 #endif
55024 main ()
55026 _expl(0);
55028 return 0;
55030 _ACEOF
55031 if ac_fn_cxx_try_compile "$LINENO"; then :
55032 glibcxx_cv_func__expl_use=yes
55033 else
55034 glibcxx_cv_func__expl_use=no
55036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55037 ac_ext=c
55038 ac_cpp='$CPP $CPPFLAGS'
55039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
55048 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
55050 if test x$glibcxx_cv_func__expl_use = x"yes"; then
55051 for ac_func in _expl
55052 do :
55053 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
55054 if test "x$ac_cv_func__expl" = x""yes; then :
55055 cat >>confdefs.h <<_ACEOF
55056 #define HAVE__EXPL 1
55057 _ACEOF
55060 done
55069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
55070 $as_echo_n "checking for fabsl declaration... " >&6; }
55071 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55072 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
55073 $as_echo_n "(cached) " >&6
55074 else
55077 ac_ext=cpp
55078 ac_cpp='$CXXCPP $CPPFLAGS'
55079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55084 /* end confdefs.h. */
55085 #include <math.h>
55086 #ifdef HAVE_IEEEFP_H
55087 #include <ieeefp.h>
55088 #endif
55091 main ()
55093 fabsl(0);
55095 return 0;
55097 _ACEOF
55098 if ac_fn_cxx_try_compile "$LINENO"; then :
55099 glibcxx_cv_func_fabsl_use=yes
55100 else
55101 glibcxx_cv_func_fabsl_use=no
55103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55104 ac_ext=c
55105 ac_cpp='$CPP $CPPFLAGS'
55106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55115 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55117 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55118 for ac_func in fabsl
55119 do :
55120 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55121 if test "x$ac_cv_func_fabsl" = x""yes; then :
55122 cat >>confdefs.h <<_ACEOF
55123 #define HAVE_FABSL 1
55124 _ACEOF
55127 done
55129 else
55131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55132 $as_echo_n "checking for _fabsl declaration... " >&6; }
55133 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55134 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55135 $as_echo_n "(cached) " >&6
55136 else
55139 ac_ext=cpp
55140 ac_cpp='$CXXCPP $CPPFLAGS'
55141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55146 /* end confdefs.h. */
55147 #include <math.h>
55148 #ifdef HAVE_IEEEFP_H
55149 #include <ieeefp.h>
55150 #endif
55153 main ()
55155 _fabsl(0);
55157 return 0;
55159 _ACEOF
55160 if ac_fn_cxx_try_compile "$LINENO"; then :
55161 glibcxx_cv_func__fabsl_use=yes
55162 else
55163 glibcxx_cv_func__fabsl_use=no
55165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55166 ac_ext=c
55167 ac_cpp='$CPP $CPPFLAGS'
55168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55177 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55179 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55180 for ac_func in _fabsl
55181 do :
55182 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55183 if test "x$ac_cv_func__fabsl" = x""yes; then :
55184 cat >>confdefs.h <<_ACEOF
55185 #define HAVE__FABSL 1
55186 _ACEOF
55189 done
55198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55199 $as_echo_n "checking for fmodl declaration... " >&6; }
55200 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55201 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55202 $as_echo_n "(cached) " >&6
55203 else
55206 ac_ext=cpp
55207 ac_cpp='$CXXCPP $CPPFLAGS'
55208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55213 /* end confdefs.h. */
55214 #include <math.h>
55216 main ()
55218 fmodl(0, 0);
55220 return 0;
55222 _ACEOF
55223 if ac_fn_cxx_try_compile "$LINENO"; then :
55224 glibcxx_cv_func_fmodl_use=yes
55225 else
55226 glibcxx_cv_func_fmodl_use=no
55228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55229 ac_ext=c
55230 ac_cpp='$CPP $CPPFLAGS'
55231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
55240 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
55242 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55243 for ac_func in fmodl
55244 do :
55245 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
55246 if test "x$ac_cv_func_fmodl" = x""yes; then :
55247 cat >>confdefs.h <<_ACEOF
55248 #define HAVE_FMODL 1
55249 _ACEOF
55252 done
55254 else
55256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
55257 $as_echo_n "checking for _fmodl declaration... " >&6; }
55258 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55259 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
55260 $as_echo_n "(cached) " >&6
55261 else
55264 ac_ext=cpp
55265 ac_cpp='$CXXCPP $CPPFLAGS'
55266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55271 /* end confdefs.h. */
55272 #include <math.h>
55274 main ()
55276 _fmodl(0, 0);
55278 return 0;
55280 _ACEOF
55281 if ac_fn_cxx_try_compile "$LINENO"; then :
55282 glibcxx_cv_func__fmodl_use=yes
55283 else
55284 glibcxx_cv_func__fmodl_use=no
55286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55287 ac_ext=c
55288 ac_cpp='$CPP $CPPFLAGS'
55289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
55298 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
55300 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
55301 for ac_func in _fmodl
55302 do :
55303 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
55304 if test "x$ac_cv_func__fmodl" = x""yes; then :
55305 cat >>confdefs.h <<_ACEOF
55306 #define HAVE__FMODL 1
55307 _ACEOF
55310 done
55319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
55320 $as_echo_n "checking for frexpl declaration... " >&6; }
55321 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55322 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
55323 $as_echo_n "(cached) " >&6
55324 else
55327 ac_ext=cpp
55328 ac_cpp='$CXXCPP $CPPFLAGS'
55329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55334 /* end confdefs.h. */
55335 #include <math.h>
55337 main ()
55339 frexpl(0, 0);
55341 return 0;
55343 _ACEOF
55344 if ac_fn_cxx_try_compile "$LINENO"; then :
55345 glibcxx_cv_func_frexpl_use=yes
55346 else
55347 glibcxx_cv_func_frexpl_use=no
55349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55350 ac_ext=c
55351 ac_cpp='$CPP $CPPFLAGS'
55352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
55361 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
55363 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
55364 for ac_func in frexpl
55365 do :
55366 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
55367 if test "x$ac_cv_func_frexpl" = x""yes; then :
55368 cat >>confdefs.h <<_ACEOF
55369 #define HAVE_FREXPL 1
55370 _ACEOF
55373 done
55375 else
55377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
55378 $as_echo_n "checking for _frexpl declaration... " >&6; }
55379 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
55380 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
55381 $as_echo_n "(cached) " >&6
55382 else
55385 ac_ext=cpp
55386 ac_cpp='$CXXCPP $CPPFLAGS'
55387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55392 /* end confdefs.h. */
55393 #include <math.h>
55395 main ()
55397 _frexpl(0, 0);
55399 return 0;
55401 _ACEOF
55402 if ac_fn_cxx_try_compile "$LINENO"; then :
55403 glibcxx_cv_func__frexpl_use=yes
55404 else
55405 glibcxx_cv_func__frexpl_use=no
55407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55408 ac_ext=c
55409 ac_cpp='$CPP $CPPFLAGS'
55410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
55419 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
55421 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
55422 for ac_func in _frexpl
55423 do :
55424 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
55425 if test "x$ac_cv_func__frexpl" = x""yes; then :
55426 cat >>confdefs.h <<_ACEOF
55427 #define HAVE__FREXPL 1
55428 _ACEOF
55431 done
55440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
55441 $as_echo_n "checking for hypotl declaration... " >&6; }
55442 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
55443 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
55444 $as_echo_n "(cached) " >&6
55445 else
55448 ac_ext=cpp
55449 ac_cpp='$CXXCPP $CPPFLAGS'
55450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55455 /* end confdefs.h. */
55456 #include <math.h>
55458 main ()
55460 hypotl(0, 0);
55462 return 0;
55464 _ACEOF
55465 if ac_fn_cxx_try_compile "$LINENO"; then :
55466 glibcxx_cv_func_hypotl_use=yes
55467 else
55468 glibcxx_cv_func_hypotl_use=no
55470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55471 ac_ext=c
55472 ac_cpp='$CPP $CPPFLAGS'
55473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
55482 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
55484 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
55485 for ac_func in hypotl
55486 do :
55487 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
55488 if test "x$ac_cv_func_hypotl" = x""yes; then :
55489 cat >>confdefs.h <<_ACEOF
55490 #define HAVE_HYPOTL 1
55491 _ACEOF
55494 done
55496 else
55498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
55499 $as_echo_n "checking for _hypotl declaration... " >&6; }
55500 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
55501 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
55502 $as_echo_n "(cached) " >&6
55503 else
55506 ac_ext=cpp
55507 ac_cpp='$CXXCPP $CPPFLAGS'
55508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55513 /* end confdefs.h. */
55514 #include <math.h>
55516 main ()
55518 _hypotl(0, 0);
55520 return 0;
55522 _ACEOF
55523 if ac_fn_cxx_try_compile "$LINENO"; then :
55524 glibcxx_cv_func__hypotl_use=yes
55525 else
55526 glibcxx_cv_func__hypotl_use=no
55528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55529 ac_ext=c
55530 ac_cpp='$CPP $CPPFLAGS'
55531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
55540 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
55542 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
55543 for ac_func in _hypotl
55544 do :
55545 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
55546 if test "x$ac_cv_func__hypotl" = x""yes; then :
55547 cat >>confdefs.h <<_ACEOF
55548 #define HAVE__HYPOTL 1
55549 _ACEOF
55552 done
55561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
55562 $as_echo_n "checking for ldexpl declaration... " >&6; }
55563 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
55564 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
55565 $as_echo_n "(cached) " >&6
55566 else
55569 ac_ext=cpp
55570 ac_cpp='$CXXCPP $CPPFLAGS'
55571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55576 /* end confdefs.h. */
55577 #include <math.h>
55579 main ()
55581 ldexpl(0, 0);
55583 return 0;
55585 _ACEOF
55586 if ac_fn_cxx_try_compile "$LINENO"; then :
55587 glibcxx_cv_func_ldexpl_use=yes
55588 else
55589 glibcxx_cv_func_ldexpl_use=no
55591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55592 ac_ext=c
55593 ac_cpp='$CPP $CPPFLAGS'
55594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
55603 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
55605 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
55606 for ac_func in ldexpl
55607 do :
55608 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
55609 if test "x$ac_cv_func_ldexpl" = x""yes; then :
55610 cat >>confdefs.h <<_ACEOF
55611 #define HAVE_LDEXPL 1
55612 _ACEOF
55615 done
55617 else
55619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
55620 $as_echo_n "checking for _ldexpl declaration... " >&6; }
55621 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
55622 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
55623 $as_echo_n "(cached) " >&6
55624 else
55627 ac_ext=cpp
55628 ac_cpp='$CXXCPP $CPPFLAGS'
55629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55634 /* end confdefs.h. */
55635 #include <math.h>
55637 main ()
55639 _ldexpl(0, 0);
55641 return 0;
55643 _ACEOF
55644 if ac_fn_cxx_try_compile "$LINENO"; then :
55645 glibcxx_cv_func__ldexpl_use=yes
55646 else
55647 glibcxx_cv_func__ldexpl_use=no
55649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55650 ac_ext=c
55651 ac_cpp='$CPP $CPPFLAGS'
55652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
55661 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
55663 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
55664 for ac_func in _ldexpl
55665 do :
55666 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
55667 if test "x$ac_cv_func__ldexpl" = x""yes; then :
55668 cat >>confdefs.h <<_ACEOF
55669 #define HAVE__LDEXPL 1
55670 _ACEOF
55673 done
55682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
55683 $as_echo_n "checking for logl declaration... " >&6; }
55684 if test x${glibcxx_cv_func_logl_use+set} != xset; then
55685 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
55686 $as_echo_n "(cached) " >&6
55687 else
55690 ac_ext=cpp
55691 ac_cpp='$CXXCPP $CPPFLAGS'
55692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55697 /* end confdefs.h. */
55698 #include <math.h>
55699 #ifdef HAVE_IEEEFP_H
55700 #include <ieeefp.h>
55701 #endif
55704 main ()
55706 logl(0);
55708 return 0;
55710 _ACEOF
55711 if ac_fn_cxx_try_compile "$LINENO"; then :
55712 glibcxx_cv_func_logl_use=yes
55713 else
55714 glibcxx_cv_func_logl_use=no
55716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55717 ac_ext=c
55718 ac_cpp='$CPP $CPPFLAGS'
55719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
55728 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
55730 if test x$glibcxx_cv_func_logl_use = x"yes"; then
55731 for ac_func in logl
55732 do :
55733 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
55734 if test "x$ac_cv_func_logl" = x""yes; then :
55735 cat >>confdefs.h <<_ACEOF
55736 #define HAVE_LOGL 1
55737 _ACEOF
55740 done
55742 else
55744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
55745 $as_echo_n "checking for _logl declaration... " >&6; }
55746 if test x${glibcxx_cv_func__logl_use+set} != xset; then
55747 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
55748 $as_echo_n "(cached) " >&6
55749 else
55752 ac_ext=cpp
55753 ac_cpp='$CXXCPP $CPPFLAGS'
55754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55759 /* end confdefs.h. */
55760 #include <math.h>
55761 #ifdef HAVE_IEEEFP_H
55762 #include <ieeefp.h>
55763 #endif
55766 main ()
55768 _logl(0);
55770 return 0;
55772 _ACEOF
55773 if ac_fn_cxx_try_compile "$LINENO"; then :
55774 glibcxx_cv_func__logl_use=yes
55775 else
55776 glibcxx_cv_func__logl_use=no
55778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55779 ac_ext=c
55780 ac_cpp='$CPP $CPPFLAGS'
55781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
55790 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
55792 if test x$glibcxx_cv_func__logl_use = x"yes"; then
55793 for ac_func in _logl
55794 do :
55795 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
55796 if test "x$ac_cv_func__logl" = x""yes; then :
55797 cat >>confdefs.h <<_ACEOF
55798 #define HAVE__LOGL 1
55799 _ACEOF
55802 done
55811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
55812 $as_echo_n "checking for log10l declaration... " >&6; }
55813 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
55814 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
55815 $as_echo_n "(cached) " >&6
55816 else
55819 ac_ext=cpp
55820 ac_cpp='$CXXCPP $CPPFLAGS'
55821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55826 /* end confdefs.h. */
55827 #include <math.h>
55828 #ifdef HAVE_IEEEFP_H
55829 #include <ieeefp.h>
55830 #endif
55833 main ()
55835 log10l(0);
55837 return 0;
55839 _ACEOF
55840 if ac_fn_cxx_try_compile "$LINENO"; then :
55841 glibcxx_cv_func_log10l_use=yes
55842 else
55843 glibcxx_cv_func_log10l_use=no
55845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55846 ac_ext=c
55847 ac_cpp='$CPP $CPPFLAGS'
55848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
55857 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
55859 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
55860 for ac_func in log10l
55861 do :
55862 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
55863 if test "x$ac_cv_func_log10l" = x""yes; then :
55864 cat >>confdefs.h <<_ACEOF
55865 #define HAVE_LOG10L 1
55866 _ACEOF
55869 done
55871 else
55873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
55874 $as_echo_n "checking for _log10l declaration... " >&6; }
55875 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
55876 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
55877 $as_echo_n "(cached) " >&6
55878 else
55881 ac_ext=cpp
55882 ac_cpp='$CXXCPP $CPPFLAGS'
55883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55888 /* end confdefs.h. */
55889 #include <math.h>
55890 #ifdef HAVE_IEEEFP_H
55891 #include <ieeefp.h>
55892 #endif
55895 main ()
55897 _log10l(0);
55899 return 0;
55901 _ACEOF
55902 if ac_fn_cxx_try_compile "$LINENO"; then :
55903 glibcxx_cv_func__log10l_use=yes
55904 else
55905 glibcxx_cv_func__log10l_use=no
55907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55908 ac_ext=c
55909 ac_cpp='$CPP $CPPFLAGS'
55910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
55919 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
55921 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
55922 for ac_func in _log10l
55923 do :
55924 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
55925 if test "x$ac_cv_func__log10l" = x""yes; then :
55926 cat >>confdefs.h <<_ACEOF
55927 #define HAVE__LOG10L 1
55928 _ACEOF
55931 done
55940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
55941 $as_echo_n "checking for modfl declaration... " >&6; }
55942 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
55943 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
55944 $as_echo_n "(cached) " >&6
55945 else
55948 ac_ext=cpp
55949 ac_cpp='$CXXCPP $CPPFLAGS'
55950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55955 /* end confdefs.h. */
55956 #include <math.h>
55958 main ()
55960 modfl(0, 0);
55962 return 0;
55964 _ACEOF
55965 if ac_fn_cxx_try_compile "$LINENO"; then :
55966 glibcxx_cv_func_modfl_use=yes
55967 else
55968 glibcxx_cv_func_modfl_use=no
55970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55971 ac_ext=c
55972 ac_cpp='$CPP $CPPFLAGS'
55973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
55982 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
55984 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
55985 for ac_func in modfl
55986 do :
55987 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
55988 if test "x$ac_cv_func_modfl" = x""yes; then :
55989 cat >>confdefs.h <<_ACEOF
55990 #define HAVE_MODFL 1
55991 _ACEOF
55994 done
55996 else
55998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
55999 $as_echo_n "checking for _modfl declaration... " >&6; }
56000 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
56001 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
56002 $as_echo_n "(cached) " >&6
56003 else
56006 ac_ext=cpp
56007 ac_cpp='$CXXCPP $CPPFLAGS'
56008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56013 /* end confdefs.h. */
56014 #include <math.h>
56016 main ()
56018 _modfl(0, 0);
56020 return 0;
56022 _ACEOF
56023 if ac_fn_cxx_try_compile "$LINENO"; then :
56024 glibcxx_cv_func__modfl_use=yes
56025 else
56026 glibcxx_cv_func__modfl_use=no
56028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56029 ac_ext=c
56030 ac_cpp='$CPP $CPPFLAGS'
56031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
56040 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
56042 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
56043 for ac_func in _modfl
56044 do :
56045 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
56046 if test "x$ac_cv_func__modfl" = x""yes; then :
56047 cat >>confdefs.h <<_ACEOF
56048 #define HAVE__MODFL 1
56049 _ACEOF
56052 done
56061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
56062 $as_echo_n "checking for powl declaration... " >&6; }
56063 if test x${glibcxx_cv_func_powl_use+set} != xset; then
56064 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
56065 $as_echo_n "(cached) " >&6
56066 else
56069 ac_ext=cpp
56070 ac_cpp='$CXXCPP $CPPFLAGS'
56071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56076 /* end confdefs.h. */
56077 #include <math.h>
56079 main ()
56081 powl(0, 0);
56083 return 0;
56085 _ACEOF
56086 if ac_fn_cxx_try_compile "$LINENO"; then :
56087 glibcxx_cv_func_powl_use=yes
56088 else
56089 glibcxx_cv_func_powl_use=no
56091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56092 ac_ext=c
56093 ac_cpp='$CPP $CPPFLAGS'
56094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56103 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56105 if test x$glibcxx_cv_func_powl_use = x"yes"; then
56106 for ac_func in powl
56107 do :
56108 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56109 if test "x$ac_cv_func_powl" = x""yes; then :
56110 cat >>confdefs.h <<_ACEOF
56111 #define HAVE_POWL 1
56112 _ACEOF
56115 done
56117 else
56119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56120 $as_echo_n "checking for _powl declaration... " >&6; }
56121 if test x${glibcxx_cv_func__powl_use+set} != xset; then
56122 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56123 $as_echo_n "(cached) " >&6
56124 else
56127 ac_ext=cpp
56128 ac_cpp='$CXXCPP $CPPFLAGS'
56129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56134 /* end confdefs.h. */
56135 #include <math.h>
56137 main ()
56139 _powl(0, 0);
56141 return 0;
56143 _ACEOF
56144 if ac_fn_cxx_try_compile "$LINENO"; then :
56145 glibcxx_cv_func__powl_use=yes
56146 else
56147 glibcxx_cv_func__powl_use=no
56149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56150 ac_ext=c
56151 ac_cpp='$CPP $CPPFLAGS'
56152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56161 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56163 if test x$glibcxx_cv_func__powl_use = x"yes"; then
56164 for ac_func in _powl
56165 do :
56166 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56167 if test "x$ac_cv_func__powl" = x""yes; then :
56168 cat >>confdefs.h <<_ACEOF
56169 #define HAVE__POWL 1
56170 _ACEOF
56173 done
56182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56183 $as_echo_n "checking for sqrtl declaration... " >&6; }
56184 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56185 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56186 $as_echo_n "(cached) " >&6
56187 else
56190 ac_ext=cpp
56191 ac_cpp='$CXXCPP $CPPFLAGS'
56192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56197 /* end confdefs.h. */
56198 #include <math.h>
56199 #ifdef HAVE_IEEEFP_H
56200 #include <ieeefp.h>
56201 #endif
56204 main ()
56206 sqrtl(0);
56208 return 0;
56210 _ACEOF
56211 if ac_fn_cxx_try_compile "$LINENO"; then :
56212 glibcxx_cv_func_sqrtl_use=yes
56213 else
56214 glibcxx_cv_func_sqrtl_use=no
56216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56217 ac_ext=c
56218 ac_cpp='$CPP $CPPFLAGS'
56219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
56228 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
56230 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
56231 for ac_func in sqrtl
56232 do :
56233 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
56234 if test "x$ac_cv_func_sqrtl" = x""yes; then :
56235 cat >>confdefs.h <<_ACEOF
56236 #define HAVE_SQRTL 1
56237 _ACEOF
56240 done
56242 else
56244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
56245 $as_echo_n "checking for _sqrtl declaration... " >&6; }
56246 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
56247 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
56248 $as_echo_n "(cached) " >&6
56249 else
56252 ac_ext=cpp
56253 ac_cpp='$CXXCPP $CPPFLAGS'
56254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56259 /* end confdefs.h. */
56260 #include <math.h>
56261 #ifdef HAVE_IEEEFP_H
56262 #include <ieeefp.h>
56263 #endif
56266 main ()
56268 _sqrtl(0);
56270 return 0;
56272 _ACEOF
56273 if ac_fn_cxx_try_compile "$LINENO"; then :
56274 glibcxx_cv_func__sqrtl_use=yes
56275 else
56276 glibcxx_cv_func__sqrtl_use=no
56278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56279 ac_ext=c
56280 ac_cpp='$CPP $CPPFLAGS'
56281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
56290 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
56292 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
56293 for ac_func in _sqrtl
56294 do :
56295 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
56296 if test "x$ac_cv_func__sqrtl" = x""yes; then :
56297 cat >>confdefs.h <<_ACEOF
56298 #define HAVE__SQRTL 1
56299 _ACEOF
56302 done
56311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
56312 $as_echo_n "checking for sincosl declaration... " >&6; }
56313 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
56314 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
56315 $as_echo_n "(cached) " >&6
56316 else
56319 ac_ext=cpp
56320 ac_cpp='$CXXCPP $CPPFLAGS'
56321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56326 /* end confdefs.h. */
56327 #include <math.h>
56329 main ()
56331 sincosl(0, 0, 0);
56333 return 0;
56335 _ACEOF
56336 if ac_fn_cxx_try_compile "$LINENO"; then :
56337 glibcxx_cv_func_sincosl_use=yes
56338 else
56339 glibcxx_cv_func_sincosl_use=no
56341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56342 ac_ext=c
56343 ac_cpp='$CPP $CPPFLAGS'
56344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
56353 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
56355 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
56356 for ac_func in sincosl
56357 do :
56358 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
56359 if test "x$ac_cv_func_sincosl" = x""yes; then :
56360 cat >>confdefs.h <<_ACEOF
56361 #define HAVE_SINCOSL 1
56362 _ACEOF
56365 done
56367 else
56369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
56370 $as_echo_n "checking for _sincosl declaration... " >&6; }
56371 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
56372 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
56373 $as_echo_n "(cached) " >&6
56374 else
56377 ac_ext=cpp
56378 ac_cpp='$CXXCPP $CPPFLAGS'
56379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56384 /* end confdefs.h. */
56385 #include <math.h>
56387 main ()
56389 _sincosl(0, 0, 0);
56391 return 0;
56393 _ACEOF
56394 if ac_fn_cxx_try_compile "$LINENO"; then :
56395 glibcxx_cv_func__sincosl_use=yes
56396 else
56397 glibcxx_cv_func__sincosl_use=no
56399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56400 ac_ext=c
56401 ac_cpp='$CPP $CPPFLAGS'
56402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
56411 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
56413 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
56414 for ac_func in _sincosl
56415 do :
56416 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
56417 if test "x$ac_cv_func__sincosl" = x""yes; then :
56418 cat >>confdefs.h <<_ACEOF
56419 #define HAVE__SINCOSL 1
56420 _ACEOF
56423 done
56432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
56433 $as_echo_n "checking for finitel declaration... " >&6; }
56434 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
56435 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
56436 $as_echo_n "(cached) " >&6
56437 else
56440 ac_ext=cpp
56441 ac_cpp='$CXXCPP $CPPFLAGS'
56442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56447 /* end confdefs.h. */
56448 #include <math.h>
56449 #ifdef HAVE_IEEEFP_H
56450 #include <ieeefp.h>
56451 #endif
56454 main ()
56456 finitel(0);
56458 return 0;
56460 _ACEOF
56461 if ac_fn_cxx_try_compile "$LINENO"; then :
56462 glibcxx_cv_func_finitel_use=yes
56463 else
56464 glibcxx_cv_func_finitel_use=no
56466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56467 ac_ext=c
56468 ac_cpp='$CPP $CPPFLAGS'
56469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
56478 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
56480 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
56481 for ac_func in finitel
56482 do :
56483 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
56484 if test "x$ac_cv_func_finitel" = x""yes; then :
56485 cat >>confdefs.h <<_ACEOF
56486 #define HAVE_FINITEL 1
56487 _ACEOF
56490 done
56492 else
56494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
56495 $as_echo_n "checking for _finitel declaration... " >&6; }
56496 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
56497 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
56498 $as_echo_n "(cached) " >&6
56499 else
56502 ac_ext=cpp
56503 ac_cpp='$CXXCPP $CPPFLAGS'
56504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56509 /* end confdefs.h. */
56510 #include <math.h>
56511 #ifdef HAVE_IEEEFP_H
56512 #include <ieeefp.h>
56513 #endif
56516 main ()
56518 _finitel(0);
56520 return 0;
56522 _ACEOF
56523 if ac_fn_cxx_try_compile "$LINENO"; then :
56524 glibcxx_cv_func__finitel_use=yes
56525 else
56526 glibcxx_cv_func__finitel_use=no
56528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56529 ac_ext=c
56530 ac_cpp='$CPP $CPPFLAGS'
56531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
56540 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
56542 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
56543 for ac_func in _finitel
56544 do :
56545 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
56546 if test "x$ac_cv_func__finitel" = x""yes; then :
56547 cat >>confdefs.h <<_ACEOF
56548 #define HAVE__FINITEL 1
56549 _ACEOF
56552 done
56560 LIBS="$ac_save_LIBS"
56561 CXXFLAGS="$ac_save_CXXFLAGS"
56564 ac_test_CXXFLAGS="${CXXFLAGS+set}"
56565 ac_save_CXXFLAGS="$CXXFLAGS"
56566 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
56569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
56570 $as_echo_n "checking for strtold declaration... " >&6; }
56571 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
56572 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
56573 $as_echo_n "(cached) " >&6
56574 else
56577 ac_ext=cpp
56578 ac_cpp='$CXXCPP $CPPFLAGS'
56579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56584 /* end confdefs.h. */
56585 #include <stdlib.h>
56587 main ()
56589 strtold(0, 0);
56591 return 0;
56593 _ACEOF
56594 if ac_fn_cxx_try_compile "$LINENO"; then :
56595 glibcxx_cv_func_strtold_use=yes
56596 else
56597 glibcxx_cv_func_strtold_use=no
56599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56600 ac_ext=c
56601 ac_cpp='$CPP $CPPFLAGS'
56602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
56611 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
56612 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
56613 for ac_func in strtold
56614 do :
56615 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
56616 if test "x$ac_cv_func_strtold" = x""yes; then :
56617 cat >>confdefs.h <<_ACEOF
56618 #define HAVE_STRTOLD 1
56619 _ACEOF
56622 done
56629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
56630 $as_echo_n "checking for strtof declaration... " >&6; }
56631 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
56632 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
56633 $as_echo_n "(cached) " >&6
56634 else
56637 ac_ext=cpp
56638 ac_cpp='$CXXCPP $CPPFLAGS'
56639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56644 /* end confdefs.h. */
56645 #include <stdlib.h>
56647 main ()
56649 strtof(0, 0);
56651 return 0;
56653 _ACEOF
56654 if ac_fn_cxx_try_compile "$LINENO"; then :
56655 glibcxx_cv_func_strtof_use=yes
56656 else
56657 glibcxx_cv_func_strtof_use=no
56659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56660 ac_ext=c
56661 ac_cpp='$CPP $CPPFLAGS'
56662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
56671 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
56672 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
56673 for ac_func in strtof
56674 do :
56675 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
56676 if test "x$ac_cv_func_strtof" = x""yes; then :
56677 cat >>confdefs.h <<_ACEOF
56678 #define HAVE_STRTOF 1
56679 _ACEOF
56682 done
56689 CXXFLAGS="$ac_save_CXXFLAGS"
56692 *-netbsd*)
56693 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56696 # If we're not using GNU ld, then there's no point in even trying these
56697 # tests. Check for that first. We should have already tested for gld
56698 # by now (in libtool), but require it now just to be safe...
56699 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56700 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56704 # The name set by libtool depends on the version of libtool. Shame on us
56705 # for depending on an impl detail, but c'est la vie. Older versions used
56706 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56707 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56708 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56709 # set (hence we're using an older libtool), then set it.
56710 if test x${with_gnu_ld+set} != xset; then
56711 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56712 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56713 with_gnu_ld=no
56714 else
56715 with_gnu_ld=$ac_cv_prog_gnu_ld
56719 # Start by getting the version number. I think the libtool test already
56720 # does some of this, but throws away the result.
56721 glibcxx_ld_is_gold=no
56722 if test x"$with_gnu_ld" = x"yes"; then
56723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56724 $as_echo_n "checking for ld version... " >&6; }
56726 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56727 glibcxx_ld_is_gold=yes
56729 ldver=`$LD --version 2>/dev/null |
56730 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'`
56732 glibcxx_gnu_ld_version=`echo $ldver | \
56733 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56735 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56738 # Set --gc-sections.
56739 glibcxx_have_gc_sections=no
56740 if test "$glibcxx_ld_is_gold" = "yes"; then
56741 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56742 glibcxx_have_gc_sections=yes
56744 else
56745 glibcxx_gcsections_min_ld=21602
56746 if test x"$with_gnu_ld" = x"yes" &&
56747 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56748 glibcxx_have_gc_sections=yes
56751 if test "$glibcxx_have_gc_sections" = "yes"; then
56752 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56753 # NB: This flag only works reliably after 2.16.1. Configure tests
56754 # for this are difficult, so hard wire a value that should work.
56756 ac_test_CFLAGS="${CFLAGS+set}"
56757 ac_save_CFLAGS="$CFLAGS"
56758 CFLAGS='-Wl,--gc-sections'
56760 # Check for -Wl,--gc-sections
56761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56762 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56763 if test x$gcc_no_link = xyes; then
56764 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56767 /* end confdefs.h. */
56768 int one(void) { return 1; }
56769 int two(void) { return 2; }
56772 main ()
56774 two();
56776 return 0;
56778 _ACEOF
56779 if ac_fn_c_try_link "$LINENO"; then :
56780 ac_gcsections=yes
56781 else
56782 ac_gcsections=no
56784 rm -f core conftest.err conftest.$ac_objext \
56785 conftest$ac_exeext conftest.$ac_ext
56786 if test "$ac_gcsections" = "yes"; then
56787 rm -f conftest.c
56788 touch conftest.c
56789 if $CC -c conftest.c; then
56790 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56791 grep "Warning: gc-sections option ignored" > /dev/null; then
56792 ac_gcsections=no
56795 rm -f conftest.c conftest.o conftest
56797 if test "$ac_gcsections" = "yes"; then
56798 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56801 $as_echo "$ac_gcsections" >&6; }
56803 if test "$ac_test_CFLAGS" = set; then
56804 CFLAGS="$ac_save_CFLAGS"
56805 else
56806 # this is the suspicious part
56807 CFLAGS=''
56811 # Set -z,relro.
56812 # Note this is only for shared objects.
56813 ac_ld_relro=no
56814 if test x"$with_gnu_ld" = x"yes"; then
56815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56816 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56817 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56818 if test -n "$cxx_z_relo"; then
56819 OPT_LDFLAGS="-Wl,-z,relro"
56820 ac_ld_relro=yes
56822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56823 $as_echo "$ac_ld_relro" >&6; }
56826 # Set linker optimization flags.
56827 if test x"$with_gnu_ld" = x"yes"; then
56828 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56834 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
56836 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
56838 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
56840 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
56842 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56844 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
56846 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56848 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
56850 if test x"long_double_math_on_this_cpu" = x"yes"; then
56851 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
56853 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
56855 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
56859 *-netware)
56860 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56863 # If we're not using GNU ld, then there's no point in even trying these
56864 # tests. Check for that first. We should have already tested for gld
56865 # by now (in libtool), but require it now just to be safe...
56866 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56867 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56871 # The name set by libtool depends on the version of libtool. Shame on us
56872 # for depending on an impl detail, but c'est la vie. Older versions used
56873 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56874 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56875 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56876 # set (hence we're using an older libtool), then set it.
56877 if test x${with_gnu_ld+set} != xset; then
56878 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56879 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56880 with_gnu_ld=no
56881 else
56882 with_gnu_ld=$ac_cv_prog_gnu_ld
56886 # Start by getting the version number. I think the libtool test already
56887 # does some of this, but throws away the result.
56888 glibcxx_ld_is_gold=no
56889 if test x"$with_gnu_ld" = x"yes"; then
56890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56891 $as_echo_n "checking for ld version... " >&6; }
56893 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56894 glibcxx_ld_is_gold=yes
56896 ldver=`$LD --version 2>/dev/null |
56897 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'`
56899 glibcxx_gnu_ld_version=`echo $ldver | \
56900 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56902 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56905 # Set --gc-sections.
56906 glibcxx_have_gc_sections=no
56907 if test "$glibcxx_ld_is_gold" = "yes"; then
56908 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56909 glibcxx_have_gc_sections=yes
56911 else
56912 glibcxx_gcsections_min_ld=21602
56913 if test x"$with_gnu_ld" = x"yes" &&
56914 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56915 glibcxx_have_gc_sections=yes
56918 if test "$glibcxx_have_gc_sections" = "yes"; then
56919 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56920 # NB: This flag only works reliably after 2.16.1. Configure tests
56921 # for this are difficult, so hard wire a value that should work.
56923 ac_test_CFLAGS="${CFLAGS+set}"
56924 ac_save_CFLAGS="$CFLAGS"
56925 CFLAGS='-Wl,--gc-sections'
56927 # Check for -Wl,--gc-sections
56928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56929 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56930 if test x$gcc_no_link = xyes; then
56931 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56934 /* end confdefs.h. */
56935 int one(void) { return 1; }
56936 int two(void) { return 2; }
56939 main ()
56941 two();
56943 return 0;
56945 _ACEOF
56946 if ac_fn_c_try_link "$LINENO"; then :
56947 ac_gcsections=yes
56948 else
56949 ac_gcsections=no
56951 rm -f core conftest.err conftest.$ac_objext \
56952 conftest$ac_exeext conftest.$ac_ext
56953 if test "$ac_gcsections" = "yes"; then
56954 rm -f conftest.c
56955 touch conftest.c
56956 if $CC -c conftest.c; then
56957 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56958 grep "Warning: gc-sections option ignored" > /dev/null; then
56959 ac_gcsections=no
56962 rm -f conftest.c conftest.o conftest
56964 if test "$ac_gcsections" = "yes"; then
56965 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56968 $as_echo "$ac_gcsections" >&6; }
56970 if test "$ac_test_CFLAGS" = set; then
56971 CFLAGS="$ac_save_CFLAGS"
56972 else
56973 # this is the suspicious part
56974 CFLAGS=''
56978 # Set -z,relro.
56979 # Note this is only for shared objects.
56980 ac_ld_relro=no
56981 if test x"$with_gnu_ld" = x"yes"; then
56982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56983 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56984 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56985 if test -n "$cxx_z_relo"; then
56986 OPT_LDFLAGS="-Wl,-z,relro"
56987 ac_ld_relro=yes
56989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56990 $as_echo "$ac_ld_relro" >&6; }
56993 # Set linker optimization flags.
56994 if test x"$with_gnu_ld" = x"yes"; then
56995 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57001 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
57003 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57005 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57008 *-qnx6.1* | *-qnx6.2*)
57009 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57012 # If we're not using GNU ld, then there's no point in even trying these
57013 # tests. Check for that first. We should have already tested for gld
57014 # by now (in libtool), but require it now just to be safe...
57015 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57016 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57020 # The name set by libtool depends on the version of libtool. Shame on us
57021 # for depending on an impl detail, but c'est la vie. Older versions used
57022 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57023 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57024 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57025 # set (hence we're using an older libtool), then set it.
57026 if test x${with_gnu_ld+set} != xset; then
57027 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57028 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57029 with_gnu_ld=no
57030 else
57031 with_gnu_ld=$ac_cv_prog_gnu_ld
57035 # Start by getting the version number. I think the libtool test already
57036 # does some of this, but throws away the result.
57037 glibcxx_ld_is_gold=no
57038 if test x"$with_gnu_ld" = x"yes"; then
57039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57040 $as_echo_n "checking for ld version... " >&6; }
57042 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57043 glibcxx_ld_is_gold=yes
57045 ldver=`$LD --version 2>/dev/null |
57046 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'`
57048 glibcxx_gnu_ld_version=`echo $ldver | \
57049 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57051 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57054 # Set --gc-sections.
57055 glibcxx_have_gc_sections=no
57056 if test "$glibcxx_ld_is_gold" = "yes"; then
57057 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57058 glibcxx_have_gc_sections=yes
57060 else
57061 glibcxx_gcsections_min_ld=21602
57062 if test x"$with_gnu_ld" = x"yes" &&
57063 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57064 glibcxx_have_gc_sections=yes
57067 if test "$glibcxx_have_gc_sections" = "yes"; then
57068 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57069 # NB: This flag only works reliably after 2.16.1. Configure tests
57070 # for this are difficult, so hard wire a value that should work.
57072 ac_test_CFLAGS="${CFLAGS+set}"
57073 ac_save_CFLAGS="$CFLAGS"
57074 CFLAGS='-Wl,--gc-sections'
57076 # Check for -Wl,--gc-sections
57077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57078 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57079 if test x$gcc_no_link = xyes; then
57080 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57083 /* end confdefs.h. */
57084 int one(void) { return 1; }
57085 int two(void) { return 2; }
57088 main ()
57090 two();
57092 return 0;
57094 _ACEOF
57095 if ac_fn_c_try_link "$LINENO"; then :
57096 ac_gcsections=yes
57097 else
57098 ac_gcsections=no
57100 rm -f core conftest.err conftest.$ac_objext \
57101 conftest$ac_exeext conftest.$ac_ext
57102 if test "$ac_gcsections" = "yes"; then
57103 rm -f conftest.c
57104 touch conftest.c
57105 if $CC -c conftest.c; then
57106 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57107 grep "Warning: gc-sections option ignored" > /dev/null; then
57108 ac_gcsections=no
57111 rm -f conftest.c conftest.o conftest
57113 if test "$ac_gcsections" = "yes"; then
57114 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57117 $as_echo "$ac_gcsections" >&6; }
57119 if test "$ac_test_CFLAGS" = set; then
57120 CFLAGS="$ac_save_CFLAGS"
57121 else
57122 # this is the suspicious part
57123 CFLAGS=''
57127 # Set -z,relro.
57128 # Note this is only for shared objects.
57129 ac_ld_relro=no
57130 if test x"$with_gnu_ld" = x"yes"; then
57131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57132 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57133 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57134 if test -n "$cxx_z_relo"; then
57135 OPT_LDFLAGS="-Wl,-z,relro"
57136 ac_ld_relro=yes
57138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57139 $as_echo "$ac_ld_relro" >&6; }
57142 # Set linker optimization flags.
57143 if test x"$with_gnu_ld" = x"yes"; then
57144 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57150 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57152 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57154 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57156 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57158 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57160 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57162 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57164 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57166 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57168 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57170 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57172 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57175 *-rtems*)
57177 # All these tests are for C++; save the language and the compiler flags.
57178 # The CXXFLAGS thing is suspicious, but based on similar bits previously
57179 # found in GLIBCXX_CONFIGURE.
57181 ac_ext=cpp
57182 ac_cpp='$CXXCPP $CPPFLAGS'
57183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57187 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57188 ac_save_CXXFLAGS="$CXXFLAGS"
57190 # Check for maintainer-mode bits.
57191 if test x"$USE_MAINTAINER_MODE" = xno; then
57192 WERROR=''
57193 else
57194 WERROR='-Werror'
57197 # Check for -ffunction-sections -fdata-sections
57198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
57199 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
57200 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
57201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57202 /* end confdefs.h. */
57203 int foo; void bar() { };
57205 main ()
57209 return 0;
57211 _ACEOF
57212 if ac_fn_cxx_try_compile "$LINENO"; then :
57213 ac_fdsections=yes
57214 else
57215 ac_fdsections=no
57217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57218 if test "$ac_test_CXXFLAGS" = set; then
57219 CXXFLAGS="$ac_save_CXXFLAGS"
57220 else
57221 # this is the suspicious part
57222 CXXFLAGS=''
57224 if test x"$ac_fdsections" = x"yes"; then
57225 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
57228 $as_echo "$ac_fdsections" >&6; }
57230 ac_ext=c
57231 ac_cpp='$CPP $CPPFLAGS'
57232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57240 # If we're not using GNU ld, then there's no point in even trying these
57241 # tests. Check for that first. We should have already tested for gld
57242 # by now (in libtool), but require it now just to be safe...
57243 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57244 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57248 # The name set by libtool depends on the version of libtool. Shame on us
57249 # for depending on an impl detail, but c'est la vie. Older versions used
57250 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57251 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57252 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57253 # set (hence we're using an older libtool), then set it.
57254 if test x${with_gnu_ld+set} != xset; then
57255 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57256 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57257 with_gnu_ld=no
57258 else
57259 with_gnu_ld=$ac_cv_prog_gnu_ld
57263 # Start by getting the version number. I think the libtool test already
57264 # does some of this, but throws away the result.
57265 glibcxx_ld_is_gold=no
57266 if test x"$with_gnu_ld" = x"yes"; then
57267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57268 $as_echo_n "checking for ld version... " >&6; }
57270 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57271 glibcxx_ld_is_gold=yes
57273 ldver=`$LD --version 2>/dev/null |
57274 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'`
57276 glibcxx_gnu_ld_version=`echo $ldver | \
57277 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57279 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57282 # Set --gc-sections.
57283 glibcxx_have_gc_sections=no
57284 if test "$glibcxx_ld_is_gold" = "yes"; then
57285 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57286 glibcxx_have_gc_sections=yes
57288 else
57289 glibcxx_gcsections_min_ld=21602
57290 if test x"$with_gnu_ld" = x"yes" &&
57291 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57292 glibcxx_have_gc_sections=yes
57295 if test "$glibcxx_have_gc_sections" = "yes"; then
57296 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57297 # NB: This flag only works reliably after 2.16.1. Configure tests
57298 # for this are difficult, so hard wire a value that should work.
57300 ac_test_CFLAGS="${CFLAGS+set}"
57301 ac_save_CFLAGS="$CFLAGS"
57302 CFLAGS='-Wl,--gc-sections'
57304 # Check for -Wl,--gc-sections
57305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57306 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57307 if test x$gcc_no_link = xyes; then
57308 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57311 /* end confdefs.h. */
57312 int one(void) { return 1; }
57313 int two(void) { return 2; }
57316 main ()
57318 two();
57320 return 0;
57322 _ACEOF
57323 if ac_fn_c_try_link "$LINENO"; then :
57324 ac_gcsections=yes
57325 else
57326 ac_gcsections=no
57328 rm -f core conftest.err conftest.$ac_objext \
57329 conftest$ac_exeext conftest.$ac_ext
57330 if test "$ac_gcsections" = "yes"; then
57331 rm -f conftest.c
57332 touch conftest.c
57333 if $CC -c conftest.c; then
57334 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57335 grep "Warning: gc-sections option ignored" > /dev/null; then
57336 ac_gcsections=no
57339 rm -f conftest.c conftest.o conftest
57341 if test "$ac_gcsections" = "yes"; then
57342 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57345 $as_echo "$ac_gcsections" >&6; }
57347 if test "$ac_test_CFLAGS" = set; then
57348 CFLAGS="$ac_save_CFLAGS"
57349 else
57350 # this is the suspicious part
57351 CFLAGS=''
57355 # Set -z,relro.
57356 # Note this is only for shared objects.
57357 ac_ld_relro=no
57358 if test x"$with_gnu_ld" = x"yes"; then
57359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57360 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57361 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57362 if test -n "$cxx_z_relo"; then
57363 OPT_LDFLAGS="-Wl,-z,relro"
57364 ac_ld_relro=yes
57366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57367 $as_echo "$ac_ld_relro" >&6; }
57370 # Set linker optimization flags.
57371 if test x"$with_gnu_ld" = x"yes"; then
57372 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57379 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57380 ac_save_CXXFLAGS="$CXXFLAGS"
57381 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
57384 $as_echo_n "checking for sin in -lm... " >&6; }
57385 if test "${ac_cv_lib_m_sin+set}" = set; then :
57386 $as_echo_n "(cached) " >&6
57387 else
57388 ac_check_lib_save_LIBS=$LIBS
57389 LIBS="-lm $LIBS"
57390 if test x$gcc_no_link = xyes; then
57391 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57394 /* end confdefs.h. */
57396 /* Override any GCC internal prototype to avoid an error.
57397 Use char because int might match the return type of a GCC
57398 builtin and then its argument prototype would still apply. */
57399 #ifdef __cplusplus
57400 extern "C"
57401 #endif
57402 char sin ();
57404 main ()
57406 return sin ();
57408 return 0;
57410 _ACEOF
57411 if ac_fn_c_try_link "$LINENO"; then :
57412 ac_cv_lib_m_sin=yes
57413 else
57414 ac_cv_lib_m_sin=no
57416 rm -f core conftest.err conftest.$ac_objext \
57417 conftest$ac_exeext conftest.$ac_ext
57418 LIBS=$ac_check_lib_save_LIBS
57420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
57421 $as_echo "$ac_cv_lib_m_sin" >&6; }
57422 if test "x$ac_cv_lib_m_sin" = x""yes; then :
57423 libm="-lm"
57426 ac_save_LIBS="$LIBS"
57427 LIBS="$LIBS $libm"
57431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
57432 $as_echo_n "checking for isinf declaration... " >&6; }
57433 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
57434 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
57435 $as_echo_n "(cached) " >&6
57436 else
57439 ac_ext=cpp
57440 ac_cpp='$CXXCPP $CPPFLAGS'
57441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57446 /* end confdefs.h. */
57447 #include <math.h>
57448 #ifdef HAVE_IEEEFP_H
57449 #include <ieeefp.h>
57450 #endif
57453 main ()
57455 isinf(0);
57457 return 0;
57459 _ACEOF
57460 if ac_fn_cxx_try_compile "$LINENO"; then :
57461 glibcxx_cv_func_isinf_use=yes
57462 else
57463 glibcxx_cv_func_isinf_use=no
57465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57466 ac_ext=c
57467 ac_cpp='$CPP $CPPFLAGS'
57468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
57477 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
57479 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
57480 for ac_func in isinf
57481 do :
57482 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
57483 if test "x$ac_cv_func_isinf" = x""yes; then :
57484 cat >>confdefs.h <<_ACEOF
57485 #define HAVE_ISINF 1
57486 _ACEOF
57489 done
57491 else
57493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
57494 $as_echo_n "checking for _isinf declaration... " >&6; }
57495 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
57496 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
57497 $as_echo_n "(cached) " >&6
57498 else
57501 ac_ext=cpp
57502 ac_cpp='$CXXCPP $CPPFLAGS'
57503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57508 /* end confdefs.h. */
57509 #include <math.h>
57510 #ifdef HAVE_IEEEFP_H
57511 #include <ieeefp.h>
57512 #endif
57515 main ()
57517 _isinf(0);
57519 return 0;
57521 _ACEOF
57522 if ac_fn_cxx_try_compile "$LINENO"; then :
57523 glibcxx_cv_func__isinf_use=yes
57524 else
57525 glibcxx_cv_func__isinf_use=no
57527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57528 ac_ext=c
57529 ac_cpp='$CPP $CPPFLAGS'
57530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
57539 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
57541 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
57542 for ac_func in _isinf
57543 do :
57544 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
57545 if test "x$ac_cv_func__isinf" = x""yes; then :
57546 cat >>confdefs.h <<_ACEOF
57547 #define HAVE__ISINF 1
57548 _ACEOF
57551 done
57560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
57561 $as_echo_n "checking for isnan declaration... " >&6; }
57562 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
57563 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
57564 $as_echo_n "(cached) " >&6
57565 else
57568 ac_ext=cpp
57569 ac_cpp='$CXXCPP $CPPFLAGS'
57570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57575 /* end confdefs.h. */
57576 #include <math.h>
57577 #ifdef HAVE_IEEEFP_H
57578 #include <ieeefp.h>
57579 #endif
57582 main ()
57584 isnan(0);
57586 return 0;
57588 _ACEOF
57589 if ac_fn_cxx_try_compile "$LINENO"; then :
57590 glibcxx_cv_func_isnan_use=yes
57591 else
57592 glibcxx_cv_func_isnan_use=no
57594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57595 ac_ext=c
57596 ac_cpp='$CPP $CPPFLAGS'
57597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
57606 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
57608 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
57609 for ac_func in isnan
57610 do :
57611 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
57612 if test "x$ac_cv_func_isnan" = x""yes; then :
57613 cat >>confdefs.h <<_ACEOF
57614 #define HAVE_ISNAN 1
57615 _ACEOF
57618 done
57620 else
57622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
57623 $as_echo_n "checking for _isnan declaration... " >&6; }
57624 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
57625 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
57626 $as_echo_n "(cached) " >&6
57627 else
57630 ac_ext=cpp
57631 ac_cpp='$CXXCPP $CPPFLAGS'
57632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57637 /* end confdefs.h. */
57638 #include <math.h>
57639 #ifdef HAVE_IEEEFP_H
57640 #include <ieeefp.h>
57641 #endif
57644 main ()
57646 _isnan(0);
57648 return 0;
57650 _ACEOF
57651 if ac_fn_cxx_try_compile "$LINENO"; then :
57652 glibcxx_cv_func__isnan_use=yes
57653 else
57654 glibcxx_cv_func__isnan_use=no
57656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57657 ac_ext=c
57658 ac_cpp='$CPP $CPPFLAGS'
57659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
57668 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
57670 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
57671 for ac_func in _isnan
57672 do :
57673 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
57674 if test "x$ac_cv_func__isnan" = x""yes; then :
57675 cat >>confdefs.h <<_ACEOF
57676 #define HAVE__ISNAN 1
57677 _ACEOF
57680 done
57689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
57690 $as_echo_n "checking for finite declaration... " >&6; }
57691 if test x${glibcxx_cv_func_finite_use+set} != xset; then
57692 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
57693 $as_echo_n "(cached) " >&6
57694 else
57697 ac_ext=cpp
57698 ac_cpp='$CXXCPP $CPPFLAGS'
57699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57704 /* end confdefs.h. */
57705 #include <math.h>
57706 #ifdef HAVE_IEEEFP_H
57707 #include <ieeefp.h>
57708 #endif
57711 main ()
57713 finite(0);
57715 return 0;
57717 _ACEOF
57718 if ac_fn_cxx_try_compile "$LINENO"; then :
57719 glibcxx_cv_func_finite_use=yes
57720 else
57721 glibcxx_cv_func_finite_use=no
57723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57724 ac_ext=c
57725 ac_cpp='$CPP $CPPFLAGS'
57726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
57735 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
57737 if test x$glibcxx_cv_func_finite_use = x"yes"; then
57738 for ac_func in finite
57739 do :
57740 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
57741 if test "x$ac_cv_func_finite" = x""yes; then :
57742 cat >>confdefs.h <<_ACEOF
57743 #define HAVE_FINITE 1
57744 _ACEOF
57747 done
57749 else
57751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
57752 $as_echo_n "checking for _finite declaration... " >&6; }
57753 if test x${glibcxx_cv_func__finite_use+set} != xset; then
57754 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
57755 $as_echo_n "(cached) " >&6
57756 else
57759 ac_ext=cpp
57760 ac_cpp='$CXXCPP $CPPFLAGS'
57761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57766 /* end confdefs.h. */
57767 #include <math.h>
57768 #ifdef HAVE_IEEEFP_H
57769 #include <ieeefp.h>
57770 #endif
57773 main ()
57775 _finite(0);
57777 return 0;
57779 _ACEOF
57780 if ac_fn_cxx_try_compile "$LINENO"; then :
57781 glibcxx_cv_func__finite_use=yes
57782 else
57783 glibcxx_cv_func__finite_use=no
57785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57786 ac_ext=c
57787 ac_cpp='$CPP $CPPFLAGS'
57788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
57797 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
57799 if test x$glibcxx_cv_func__finite_use = x"yes"; then
57800 for ac_func in _finite
57801 do :
57802 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
57803 if test "x$ac_cv_func__finite" = x""yes; then :
57804 cat >>confdefs.h <<_ACEOF
57805 #define HAVE__FINITE 1
57806 _ACEOF
57809 done
57818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
57819 $as_echo_n "checking for sincos declaration... " >&6; }
57820 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
57821 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
57822 $as_echo_n "(cached) " >&6
57823 else
57826 ac_ext=cpp
57827 ac_cpp='$CXXCPP $CPPFLAGS'
57828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57833 /* end confdefs.h. */
57834 #include <math.h>
57836 main ()
57838 sincos(0, 0, 0);
57840 return 0;
57842 _ACEOF
57843 if ac_fn_cxx_try_compile "$LINENO"; then :
57844 glibcxx_cv_func_sincos_use=yes
57845 else
57846 glibcxx_cv_func_sincos_use=no
57848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57849 ac_ext=c
57850 ac_cpp='$CPP $CPPFLAGS'
57851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
57860 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
57862 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
57863 for ac_func in sincos
57864 do :
57865 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
57866 if test "x$ac_cv_func_sincos" = x""yes; then :
57867 cat >>confdefs.h <<_ACEOF
57868 #define HAVE_SINCOS 1
57869 _ACEOF
57872 done
57874 else
57876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
57877 $as_echo_n "checking for _sincos declaration... " >&6; }
57878 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
57879 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
57880 $as_echo_n "(cached) " >&6
57881 else
57884 ac_ext=cpp
57885 ac_cpp='$CXXCPP $CPPFLAGS'
57886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57891 /* end confdefs.h. */
57892 #include <math.h>
57894 main ()
57896 _sincos(0, 0, 0);
57898 return 0;
57900 _ACEOF
57901 if ac_fn_cxx_try_compile "$LINENO"; then :
57902 glibcxx_cv_func__sincos_use=yes
57903 else
57904 glibcxx_cv_func__sincos_use=no
57906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57907 ac_ext=c
57908 ac_cpp='$CPP $CPPFLAGS'
57909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
57918 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
57920 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
57921 for ac_func in _sincos
57922 do :
57923 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
57924 if test "x$ac_cv_func__sincos" = x""yes; then :
57925 cat >>confdefs.h <<_ACEOF
57926 #define HAVE__SINCOS 1
57927 _ACEOF
57930 done
57939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
57940 $as_echo_n "checking for fpclass declaration... " >&6; }
57941 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
57942 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
57943 $as_echo_n "(cached) " >&6
57944 else
57947 ac_ext=cpp
57948 ac_cpp='$CXXCPP $CPPFLAGS'
57949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57954 /* end confdefs.h. */
57955 #include <math.h>
57956 #ifdef HAVE_IEEEFP_H
57957 #include <ieeefp.h>
57958 #endif
57961 main ()
57963 fpclass(0);
57965 return 0;
57967 _ACEOF
57968 if ac_fn_cxx_try_compile "$LINENO"; then :
57969 glibcxx_cv_func_fpclass_use=yes
57970 else
57971 glibcxx_cv_func_fpclass_use=no
57973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57974 ac_ext=c
57975 ac_cpp='$CPP $CPPFLAGS'
57976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
57985 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
57987 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
57988 for ac_func in fpclass
57989 do :
57990 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
57991 if test "x$ac_cv_func_fpclass" = x""yes; then :
57992 cat >>confdefs.h <<_ACEOF
57993 #define HAVE_FPCLASS 1
57994 _ACEOF
57997 done
57999 else
58001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
58002 $as_echo_n "checking for _fpclass declaration... " >&6; }
58003 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
58004 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
58005 $as_echo_n "(cached) " >&6
58006 else
58009 ac_ext=cpp
58010 ac_cpp='$CXXCPP $CPPFLAGS'
58011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58016 /* end confdefs.h. */
58017 #include <math.h>
58018 #ifdef HAVE_IEEEFP_H
58019 #include <ieeefp.h>
58020 #endif
58023 main ()
58025 _fpclass(0);
58027 return 0;
58029 _ACEOF
58030 if ac_fn_cxx_try_compile "$LINENO"; then :
58031 glibcxx_cv_func__fpclass_use=yes
58032 else
58033 glibcxx_cv_func__fpclass_use=no
58035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58036 ac_ext=c
58037 ac_cpp='$CPP $CPPFLAGS'
58038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
58047 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
58049 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
58050 for ac_func in _fpclass
58051 do :
58052 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
58053 if test "x$ac_cv_func__fpclass" = x""yes; then :
58054 cat >>confdefs.h <<_ACEOF
58055 #define HAVE__FPCLASS 1
58056 _ACEOF
58059 done
58068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
58069 $as_echo_n "checking for qfpclass declaration... " >&6; }
58070 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
58071 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
58072 $as_echo_n "(cached) " >&6
58073 else
58076 ac_ext=cpp
58077 ac_cpp='$CXXCPP $CPPFLAGS'
58078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58083 /* end confdefs.h. */
58084 #include <math.h>
58085 #ifdef HAVE_IEEEFP_H
58086 #include <ieeefp.h>
58087 #endif
58090 main ()
58092 qfpclass(0);
58094 return 0;
58096 _ACEOF
58097 if ac_fn_cxx_try_compile "$LINENO"; then :
58098 glibcxx_cv_func_qfpclass_use=yes
58099 else
58100 glibcxx_cv_func_qfpclass_use=no
58102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58103 ac_ext=c
58104 ac_cpp='$CPP $CPPFLAGS'
58105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
58114 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
58116 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
58117 for ac_func in qfpclass
58118 do :
58119 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
58120 if test "x$ac_cv_func_qfpclass" = x""yes; then :
58121 cat >>confdefs.h <<_ACEOF
58122 #define HAVE_QFPCLASS 1
58123 _ACEOF
58126 done
58128 else
58130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
58131 $as_echo_n "checking for _qfpclass declaration... " >&6; }
58132 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
58133 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
58134 $as_echo_n "(cached) " >&6
58135 else
58138 ac_ext=cpp
58139 ac_cpp='$CXXCPP $CPPFLAGS'
58140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58145 /* end confdefs.h. */
58146 #include <math.h>
58147 #ifdef HAVE_IEEEFP_H
58148 #include <ieeefp.h>
58149 #endif
58152 main ()
58154 _qfpclass(0);
58156 return 0;
58158 _ACEOF
58159 if ac_fn_cxx_try_compile "$LINENO"; then :
58160 glibcxx_cv_func__qfpclass_use=yes
58161 else
58162 glibcxx_cv_func__qfpclass_use=no
58164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58165 ac_ext=c
58166 ac_cpp='$CPP $CPPFLAGS'
58167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
58176 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
58178 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
58179 for ac_func in _qfpclass
58180 do :
58181 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
58182 if test "x$ac_cv_func__qfpclass" = x""yes; then :
58183 cat >>confdefs.h <<_ACEOF
58184 #define HAVE__QFPCLASS 1
58185 _ACEOF
58188 done
58197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
58198 $as_echo_n "checking for hypot declaration... " >&6; }
58199 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
58200 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
58201 $as_echo_n "(cached) " >&6
58202 else
58205 ac_ext=cpp
58206 ac_cpp='$CXXCPP $CPPFLAGS'
58207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58212 /* end confdefs.h. */
58213 #include <math.h>
58215 main ()
58217 hypot(0, 0);
58219 return 0;
58221 _ACEOF
58222 if ac_fn_cxx_try_compile "$LINENO"; then :
58223 glibcxx_cv_func_hypot_use=yes
58224 else
58225 glibcxx_cv_func_hypot_use=no
58227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58228 ac_ext=c
58229 ac_cpp='$CPP $CPPFLAGS'
58230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
58239 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
58241 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
58242 for ac_func in hypot
58243 do :
58244 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
58245 if test "x$ac_cv_func_hypot" = x""yes; then :
58246 cat >>confdefs.h <<_ACEOF
58247 #define HAVE_HYPOT 1
58248 _ACEOF
58251 done
58253 else
58255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
58256 $as_echo_n "checking for _hypot declaration... " >&6; }
58257 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
58258 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
58259 $as_echo_n "(cached) " >&6
58260 else
58263 ac_ext=cpp
58264 ac_cpp='$CXXCPP $CPPFLAGS'
58265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58270 /* end confdefs.h. */
58271 #include <math.h>
58273 main ()
58275 _hypot(0, 0);
58277 return 0;
58279 _ACEOF
58280 if ac_fn_cxx_try_compile "$LINENO"; then :
58281 glibcxx_cv_func__hypot_use=yes
58282 else
58283 glibcxx_cv_func__hypot_use=no
58285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58286 ac_ext=c
58287 ac_cpp='$CPP $CPPFLAGS'
58288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
58297 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
58299 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
58300 for ac_func in _hypot
58301 do :
58302 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
58303 if test "x$ac_cv_func__hypot" = x""yes; then :
58304 cat >>confdefs.h <<_ACEOF
58305 #define HAVE__HYPOT 1
58306 _ACEOF
58309 done
58318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
58319 $as_echo_n "checking for float trig functions... " >&6; }
58320 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
58321 $as_echo_n "(cached) " >&6
58322 else
58325 ac_ext=cpp
58326 ac_cpp='$CXXCPP $CPPFLAGS'
58327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58332 /* end confdefs.h. */
58333 #include <math.h>
58335 main ()
58337 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
58339 return 0;
58341 _ACEOF
58342 if ac_fn_cxx_try_compile "$LINENO"; then :
58343 glibcxx_cv_func_float_trig_use=yes
58344 else
58345 glibcxx_cv_func_float_trig_use=no
58347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58348 ac_ext=c
58349 ac_cpp='$CPP $CPPFLAGS'
58350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
58357 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
58358 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
58359 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
58360 do :
58361 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58362 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58363 eval as_val=\$$as_ac_var
58364 if test "x$as_val" = x""yes; then :
58365 cat >>confdefs.h <<_ACEOF
58366 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58367 _ACEOF
58370 done
58372 else
58373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
58374 $as_echo_n "checking for _float trig functions... " >&6; }
58375 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
58376 $as_echo_n "(cached) " >&6
58377 else
58380 ac_ext=cpp
58381 ac_cpp='$CXXCPP $CPPFLAGS'
58382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58387 /* end confdefs.h. */
58388 #include <math.h>
58390 main ()
58392 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
58394 return 0;
58396 _ACEOF
58397 if ac_fn_cxx_try_compile "$LINENO"; then :
58398 glibcxx_cv_func__float_trig_use=yes
58399 else
58400 glibcxx_cv_func__float_trig_use=no
58402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58403 ac_ext=c
58404 ac_cpp='$CPP $CPPFLAGS'
58405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
58412 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
58413 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
58414 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
58415 do :
58416 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58417 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58418 eval as_val=\$$as_ac_var
58419 if test "x$as_val" = x""yes; then :
58420 cat >>confdefs.h <<_ACEOF
58421 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58422 _ACEOF
58425 done
58434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
58435 $as_echo_n "checking for float round functions... " >&6; }
58436 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
58437 $as_echo_n "(cached) " >&6
58438 else
58441 ac_ext=cpp
58442 ac_cpp='$CXXCPP $CPPFLAGS'
58443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58448 /* end confdefs.h. */
58449 #include <math.h>
58451 main ()
58453 ceilf (0); floorf (0);
58455 return 0;
58457 _ACEOF
58458 if ac_fn_cxx_try_compile "$LINENO"; then :
58459 glibcxx_cv_func_float_round_use=yes
58460 else
58461 glibcxx_cv_func_float_round_use=no
58463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58464 ac_ext=c
58465 ac_cpp='$CPP $CPPFLAGS'
58466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
58473 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
58474 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
58475 for ac_func in ceilf floorf
58476 do :
58477 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58478 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58479 eval as_val=\$$as_ac_var
58480 if test "x$as_val" = x""yes; then :
58481 cat >>confdefs.h <<_ACEOF
58482 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58483 _ACEOF
58486 done
58488 else
58489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
58490 $as_echo_n "checking for _float round functions... " >&6; }
58491 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
58492 $as_echo_n "(cached) " >&6
58493 else
58496 ac_ext=cpp
58497 ac_cpp='$CXXCPP $CPPFLAGS'
58498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58503 /* end confdefs.h. */
58504 #include <math.h>
58506 main ()
58508 _ceilf (0); _floorf (0);
58510 return 0;
58512 _ACEOF
58513 if ac_fn_cxx_try_compile "$LINENO"; then :
58514 glibcxx_cv_func__float_round_use=yes
58515 else
58516 glibcxx_cv_func__float_round_use=no
58518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58519 ac_ext=c
58520 ac_cpp='$CPP $CPPFLAGS'
58521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
58528 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
58529 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
58530 for ac_func in _ceilf _floorf
58531 do :
58532 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58533 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58534 eval as_val=\$$as_ac_var
58535 if test "x$as_val" = x""yes; then :
58536 cat >>confdefs.h <<_ACEOF
58537 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58538 _ACEOF
58541 done
58551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
58552 $as_echo_n "checking for expf declaration... " >&6; }
58553 if test x${glibcxx_cv_func_expf_use+set} != xset; then
58554 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
58555 $as_echo_n "(cached) " >&6
58556 else
58559 ac_ext=cpp
58560 ac_cpp='$CXXCPP $CPPFLAGS'
58561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58566 /* end confdefs.h. */
58567 #include <math.h>
58568 #ifdef HAVE_IEEEFP_H
58569 #include <ieeefp.h>
58570 #endif
58573 main ()
58575 expf(0);
58577 return 0;
58579 _ACEOF
58580 if ac_fn_cxx_try_compile "$LINENO"; then :
58581 glibcxx_cv_func_expf_use=yes
58582 else
58583 glibcxx_cv_func_expf_use=no
58585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58586 ac_ext=c
58587 ac_cpp='$CPP $CPPFLAGS'
58588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
58597 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
58599 if test x$glibcxx_cv_func_expf_use = x"yes"; then
58600 for ac_func in expf
58601 do :
58602 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
58603 if test "x$ac_cv_func_expf" = x""yes; then :
58604 cat >>confdefs.h <<_ACEOF
58605 #define HAVE_EXPF 1
58606 _ACEOF
58609 done
58611 else
58613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
58614 $as_echo_n "checking for _expf declaration... " >&6; }
58615 if test x${glibcxx_cv_func__expf_use+set} != xset; then
58616 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
58617 $as_echo_n "(cached) " >&6
58618 else
58621 ac_ext=cpp
58622 ac_cpp='$CXXCPP $CPPFLAGS'
58623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58628 /* end confdefs.h. */
58629 #include <math.h>
58630 #ifdef HAVE_IEEEFP_H
58631 #include <ieeefp.h>
58632 #endif
58635 main ()
58637 _expf(0);
58639 return 0;
58641 _ACEOF
58642 if ac_fn_cxx_try_compile "$LINENO"; then :
58643 glibcxx_cv_func__expf_use=yes
58644 else
58645 glibcxx_cv_func__expf_use=no
58647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58648 ac_ext=c
58649 ac_cpp='$CPP $CPPFLAGS'
58650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
58659 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
58661 if test x$glibcxx_cv_func__expf_use = x"yes"; then
58662 for ac_func in _expf
58663 do :
58664 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
58665 if test "x$ac_cv_func__expf" = x""yes; then :
58666 cat >>confdefs.h <<_ACEOF
58667 #define HAVE__EXPF 1
58668 _ACEOF
58671 done
58680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
58681 $as_echo_n "checking for isnanf declaration... " >&6; }
58682 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
58683 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
58684 $as_echo_n "(cached) " >&6
58685 else
58688 ac_ext=cpp
58689 ac_cpp='$CXXCPP $CPPFLAGS'
58690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58695 /* end confdefs.h. */
58696 #include <math.h>
58697 #ifdef HAVE_IEEEFP_H
58698 #include <ieeefp.h>
58699 #endif
58702 main ()
58704 isnanf(0);
58706 return 0;
58708 _ACEOF
58709 if ac_fn_cxx_try_compile "$LINENO"; then :
58710 glibcxx_cv_func_isnanf_use=yes
58711 else
58712 glibcxx_cv_func_isnanf_use=no
58714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58715 ac_ext=c
58716 ac_cpp='$CPP $CPPFLAGS'
58717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
58726 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
58728 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
58729 for ac_func in isnanf
58730 do :
58731 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
58732 if test "x$ac_cv_func_isnanf" = x""yes; then :
58733 cat >>confdefs.h <<_ACEOF
58734 #define HAVE_ISNANF 1
58735 _ACEOF
58738 done
58740 else
58742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
58743 $as_echo_n "checking for _isnanf declaration... " >&6; }
58744 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
58745 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
58746 $as_echo_n "(cached) " >&6
58747 else
58750 ac_ext=cpp
58751 ac_cpp='$CXXCPP $CPPFLAGS'
58752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58757 /* end confdefs.h. */
58758 #include <math.h>
58759 #ifdef HAVE_IEEEFP_H
58760 #include <ieeefp.h>
58761 #endif
58764 main ()
58766 _isnanf(0);
58768 return 0;
58770 _ACEOF
58771 if ac_fn_cxx_try_compile "$LINENO"; then :
58772 glibcxx_cv_func__isnanf_use=yes
58773 else
58774 glibcxx_cv_func__isnanf_use=no
58776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58777 ac_ext=c
58778 ac_cpp='$CPP $CPPFLAGS'
58779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
58788 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
58790 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
58791 for ac_func in _isnanf
58792 do :
58793 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
58794 if test "x$ac_cv_func__isnanf" = x""yes; then :
58795 cat >>confdefs.h <<_ACEOF
58796 #define HAVE__ISNANF 1
58797 _ACEOF
58800 done
58809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
58810 $as_echo_n "checking for isinff declaration... " >&6; }
58811 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
58812 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
58813 $as_echo_n "(cached) " >&6
58814 else
58817 ac_ext=cpp
58818 ac_cpp='$CXXCPP $CPPFLAGS'
58819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58824 /* end confdefs.h. */
58825 #include <math.h>
58826 #ifdef HAVE_IEEEFP_H
58827 #include <ieeefp.h>
58828 #endif
58831 main ()
58833 isinff(0);
58835 return 0;
58837 _ACEOF
58838 if ac_fn_cxx_try_compile "$LINENO"; then :
58839 glibcxx_cv_func_isinff_use=yes
58840 else
58841 glibcxx_cv_func_isinff_use=no
58843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58844 ac_ext=c
58845 ac_cpp='$CPP $CPPFLAGS'
58846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
58855 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
58857 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
58858 for ac_func in isinff
58859 do :
58860 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
58861 if test "x$ac_cv_func_isinff" = x""yes; then :
58862 cat >>confdefs.h <<_ACEOF
58863 #define HAVE_ISINFF 1
58864 _ACEOF
58867 done
58869 else
58871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
58872 $as_echo_n "checking for _isinff declaration... " >&6; }
58873 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
58874 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
58875 $as_echo_n "(cached) " >&6
58876 else
58879 ac_ext=cpp
58880 ac_cpp='$CXXCPP $CPPFLAGS'
58881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58886 /* end confdefs.h. */
58887 #include <math.h>
58888 #ifdef HAVE_IEEEFP_H
58889 #include <ieeefp.h>
58890 #endif
58893 main ()
58895 _isinff(0);
58897 return 0;
58899 _ACEOF
58900 if ac_fn_cxx_try_compile "$LINENO"; then :
58901 glibcxx_cv_func__isinff_use=yes
58902 else
58903 glibcxx_cv_func__isinff_use=no
58905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58906 ac_ext=c
58907 ac_cpp='$CPP $CPPFLAGS'
58908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
58917 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
58919 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
58920 for ac_func in _isinff
58921 do :
58922 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
58923 if test "x$ac_cv_func__isinff" = x""yes; then :
58924 cat >>confdefs.h <<_ACEOF
58925 #define HAVE__ISINFF 1
58926 _ACEOF
58929 done
58938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
58939 $as_echo_n "checking for atan2f declaration... " >&6; }
58940 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
58941 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
58942 $as_echo_n "(cached) " >&6
58943 else
58946 ac_ext=cpp
58947 ac_cpp='$CXXCPP $CPPFLAGS'
58948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58953 /* end confdefs.h. */
58954 #include <math.h>
58956 main ()
58958 atan2f(0, 0);
58960 return 0;
58962 _ACEOF
58963 if ac_fn_cxx_try_compile "$LINENO"; then :
58964 glibcxx_cv_func_atan2f_use=yes
58965 else
58966 glibcxx_cv_func_atan2f_use=no
58968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58969 ac_ext=c
58970 ac_cpp='$CPP $CPPFLAGS'
58971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
58980 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
58982 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
58983 for ac_func in atan2f
58984 do :
58985 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
58986 if test "x$ac_cv_func_atan2f" = x""yes; then :
58987 cat >>confdefs.h <<_ACEOF
58988 #define HAVE_ATAN2F 1
58989 _ACEOF
58992 done
58994 else
58996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
58997 $as_echo_n "checking for _atan2f declaration... " >&6; }
58998 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
58999 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
59000 $as_echo_n "(cached) " >&6
59001 else
59004 ac_ext=cpp
59005 ac_cpp='$CXXCPP $CPPFLAGS'
59006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59011 /* end confdefs.h. */
59012 #include <math.h>
59014 main ()
59016 _atan2f(0, 0);
59018 return 0;
59020 _ACEOF
59021 if ac_fn_cxx_try_compile "$LINENO"; then :
59022 glibcxx_cv_func__atan2f_use=yes
59023 else
59024 glibcxx_cv_func__atan2f_use=no
59026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59027 ac_ext=c
59028 ac_cpp='$CPP $CPPFLAGS'
59029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
59038 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
59040 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59041 for ac_func in _atan2f
59042 do :
59043 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
59044 if test "x$ac_cv_func__atan2f" = x""yes; then :
59045 cat >>confdefs.h <<_ACEOF
59046 #define HAVE__ATAN2F 1
59047 _ACEOF
59050 done
59059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
59060 $as_echo_n "checking for fabsf declaration... " >&6; }
59061 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59062 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
59063 $as_echo_n "(cached) " >&6
59064 else
59067 ac_ext=cpp
59068 ac_cpp='$CXXCPP $CPPFLAGS'
59069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59074 /* end confdefs.h. */
59075 #include <math.h>
59076 #ifdef HAVE_IEEEFP_H
59077 #include <ieeefp.h>
59078 #endif
59081 main ()
59083 fabsf(0);
59085 return 0;
59087 _ACEOF
59088 if ac_fn_cxx_try_compile "$LINENO"; then :
59089 glibcxx_cv_func_fabsf_use=yes
59090 else
59091 glibcxx_cv_func_fabsf_use=no
59093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59094 ac_ext=c
59095 ac_cpp='$CPP $CPPFLAGS'
59096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
59105 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
59107 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59108 for ac_func in fabsf
59109 do :
59110 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
59111 if test "x$ac_cv_func_fabsf" = x""yes; then :
59112 cat >>confdefs.h <<_ACEOF
59113 #define HAVE_FABSF 1
59114 _ACEOF
59117 done
59119 else
59121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
59122 $as_echo_n "checking for _fabsf declaration... " >&6; }
59123 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59124 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
59125 $as_echo_n "(cached) " >&6
59126 else
59129 ac_ext=cpp
59130 ac_cpp='$CXXCPP $CPPFLAGS'
59131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59136 /* end confdefs.h. */
59137 #include <math.h>
59138 #ifdef HAVE_IEEEFP_H
59139 #include <ieeefp.h>
59140 #endif
59143 main ()
59145 _fabsf(0);
59147 return 0;
59149 _ACEOF
59150 if ac_fn_cxx_try_compile "$LINENO"; then :
59151 glibcxx_cv_func__fabsf_use=yes
59152 else
59153 glibcxx_cv_func__fabsf_use=no
59155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59156 ac_ext=c
59157 ac_cpp='$CPP $CPPFLAGS'
59158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
59167 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
59169 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59170 for ac_func in _fabsf
59171 do :
59172 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
59173 if test "x$ac_cv_func__fabsf" = x""yes; then :
59174 cat >>confdefs.h <<_ACEOF
59175 #define HAVE__FABSF 1
59176 _ACEOF
59179 done
59188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
59189 $as_echo_n "checking for fmodf declaration... " >&6; }
59190 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
59191 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
59192 $as_echo_n "(cached) " >&6
59193 else
59196 ac_ext=cpp
59197 ac_cpp='$CXXCPP $CPPFLAGS'
59198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59203 /* end confdefs.h. */
59204 #include <math.h>
59206 main ()
59208 fmodf(0, 0);
59210 return 0;
59212 _ACEOF
59213 if ac_fn_cxx_try_compile "$LINENO"; then :
59214 glibcxx_cv_func_fmodf_use=yes
59215 else
59216 glibcxx_cv_func_fmodf_use=no
59218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59219 ac_ext=c
59220 ac_cpp='$CPP $CPPFLAGS'
59221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
59230 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
59232 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59233 for ac_func in fmodf
59234 do :
59235 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
59236 if test "x$ac_cv_func_fmodf" = x""yes; then :
59237 cat >>confdefs.h <<_ACEOF
59238 #define HAVE_FMODF 1
59239 _ACEOF
59242 done
59244 else
59246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
59247 $as_echo_n "checking for _fmodf declaration... " >&6; }
59248 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59249 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
59250 $as_echo_n "(cached) " >&6
59251 else
59254 ac_ext=cpp
59255 ac_cpp='$CXXCPP $CPPFLAGS'
59256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59261 /* end confdefs.h. */
59262 #include <math.h>
59264 main ()
59266 _fmodf(0, 0);
59268 return 0;
59270 _ACEOF
59271 if ac_fn_cxx_try_compile "$LINENO"; then :
59272 glibcxx_cv_func__fmodf_use=yes
59273 else
59274 glibcxx_cv_func__fmodf_use=no
59276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59277 ac_ext=c
59278 ac_cpp='$CPP $CPPFLAGS'
59279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
59288 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
59290 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59291 for ac_func in _fmodf
59292 do :
59293 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
59294 if test "x$ac_cv_func__fmodf" = x""yes; then :
59295 cat >>confdefs.h <<_ACEOF
59296 #define HAVE__FMODF 1
59297 _ACEOF
59300 done
59309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
59310 $as_echo_n "checking for frexpf declaration... " >&6; }
59311 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59312 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
59313 $as_echo_n "(cached) " >&6
59314 else
59317 ac_ext=cpp
59318 ac_cpp='$CXXCPP $CPPFLAGS'
59319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59324 /* end confdefs.h. */
59325 #include <math.h>
59327 main ()
59329 frexpf(0, 0);
59331 return 0;
59333 _ACEOF
59334 if ac_fn_cxx_try_compile "$LINENO"; then :
59335 glibcxx_cv_func_frexpf_use=yes
59336 else
59337 glibcxx_cv_func_frexpf_use=no
59339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59340 ac_ext=c
59341 ac_cpp='$CPP $CPPFLAGS'
59342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
59351 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
59353 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59354 for ac_func in frexpf
59355 do :
59356 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
59357 if test "x$ac_cv_func_frexpf" = x""yes; then :
59358 cat >>confdefs.h <<_ACEOF
59359 #define HAVE_FREXPF 1
59360 _ACEOF
59363 done
59365 else
59367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
59368 $as_echo_n "checking for _frexpf declaration... " >&6; }
59369 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59370 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
59371 $as_echo_n "(cached) " >&6
59372 else
59375 ac_ext=cpp
59376 ac_cpp='$CXXCPP $CPPFLAGS'
59377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59382 /* end confdefs.h. */
59383 #include <math.h>
59385 main ()
59387 _frexpf(0, 0);
59389 return 0;
59391 _ACEOF
59392 if ac_fn_cxx_try_compile "$LINENO"; then :
59393 glibcxx_cv_func__frexpf_use=yes
59394 else
59395 glibcxx_cv_func__frexpf_use=no
59397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59398 ac_ext=c
59399 ac_cpp='$CPP $CPPFLAGS'
59400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
59409 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
59411 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
59412 for ac_func in _frexpf
59413 do :
59414 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
59415 if test "x$ac_cv_func__frexpf" = x""yes; then :
59416 cat >>confdefs.h <<_ACEOF
59417 #define HAVE__FREXPF 1
59418 _ACEOF
59421 done
59430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
59431 $as_echo_n "checking for hypotf declaration... " >&6; }
59432 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
59433 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
59434 $as_echo_n "(cached) " >&6
59435 else
59438 ac_ext=cpp
59439 ac_cpp='$CXXCPP $CPPFLAGS'
59440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59445 /* end confdefs.h. */
59446 #include <math.h>
59448 main ()
59450 hypotf(0, 0);
59452 return 0;
59454 _ACEOF
59455 if ac_fn_cxx_try_compile "$LINENO"; then :
59456 glibcxx_cv_func_hypotf_use=yes
59457 else
59458 glibcxx_cv_func_hypotf_use=no
59460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59461 ac_ext=c
59462 ac_cpp='$CPP $CPPFLAGS'
59463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
59472 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
59474 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
59475 for ac_func in hypotf
59476 do :
59477 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
59478 if test "x$ac_cv_func_hypotf" = x""yes; then :
59479 cat >>confdefs.h <<_ACEOF
59480 #define HAVE_HYPOTF 1
59481 _ACEOF
59484 done
59486 else
59488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
59489 $as_echo_n "checking for _hypotf declaration... " >&6; }
59490 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
59491 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
59492 $as_echo_n "(cached) " >&6
59493 else
59496 ac_ext=cpp
59497 ac_cpp='$CXXCPP $CPPFLAGS'
59498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59503 /* end confdefs.h. */
59504 #include <math.h>
59506 main ()
59508 _hypotf(0, 0);
59510 return 0;
59512 _ACEOF
59513 if ac_fn_cxx_try_compile "$LINENO"; then :
59514 glibcxx_cv_func__hypotf_use=yes
59515 else
59516 glibcxx_cv_func__hypotf_use=no
59518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59519 ac_ext=c
59520 ac_cpp='$CPP $CPPFLAGS'
59521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
59530 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
59532 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
59533 for ac_func in _hypotf
59534 do :
59535 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
59536 if test "x$ac_cv_func__hypotf" = x""yes; then :
59537 cat >>confdefs.h <<_ACEOF
59538 #define HAVE__HYPOTF 1
59539 _ACEOF
59542 done
59551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
59552 $as_echo_n "checking for ldexpf declaration... " >&6; }
59553 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
59554 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
59555 $as_echo_n "(cached) " >&6
59556 else
59559 ac_ext=cpp
59560 ac_cpp='$CXXCPP $CPPFLAGS'
59561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59566 /* end confdefs.h. */
59567 #include <math.h>
59569 main ()
59571 ldexpf(0, 0);
59573 return 0;
59575 _ACEOF
59576 if ac_fn_cxx_try_compile "$LINENO"; then :
59577 glibcxx_cv_func_ldexpf_use=yes
59578 else
59579 glibcxx_cv_func_ldexpf_use=no
59581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59582 ac_ext=c
59583 ac_cpp='$CPP $CPPFLAGS'
59584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
59593 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
59595 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
59596 for ac_func in ldexpf
59597 do :
59598 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
59599 if test "x$ac_cv_func_ldexpf" = x""yes; then :
59600 cat >>confdefs.h <<_ACEOF
59601 #define HAVE_LDEXPF 1
59602 _ACEOF
59605 done
59607 else
59609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
59610 $as_echo_n "checking for _ldexpf declaration... " >&6; }
59611 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
59612 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
59613 $as_echo_n "(cached) " >&6
59614 else
59617 ac_ext=cpp
59618 ac_cpp='$CXXCPP $CPPFLAGS'
59619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59624 /* end confdefs.h. */
59625 #include <math.h>
59627 main ()
59629 _ldexpf(0, 0);
59631 return 0;
59633 _ACEOF
59634 if ac_fn_cxx_try_compile "$LINENO"; then :
59635 glibcxx_cv_func__ldexpf_use=yes
59636 else
59637 glibcxx_cv_func__ldexpf_use=no
59639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59640 ac_ext=c
59641 ac_cpp='$CPP $CPPFLAGS'
59642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
59651 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
59653 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
59654 for ac_func in _ldexpf
59655 do :
59656 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
59657 if test "x$ac_cv_func__ldexpf" = x""yes; then :
59658 cat >>confdefs.h <<_ACEOF
59659 #define HAVE__LDEXPF 1
59660 _ACEOF
59663 done
59672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
59673 $as_echo_n "checking for logf declaration... " >&6; }
59674 if test x${glibcxx_cv_func_logf_use+set} != xset; then
59675 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
59676 $as_echo_n "(cached) " >&6
59677 else
59680 ac_ext=cpp
59681 ac_cpp='$CXXCPP $CPPFLAGS'
59682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59687 /* end confdefs.h. */
59688 #include <math.h>
59689 #ifdef HAVE_IEEEFP_H
59690 #include <ieeefp.h>
59691 #endif
59694 main ()
59696 logf(0);
59698 return 0;
59700 _ACEOF
59701 if ac_fn_cxx_try_compile "$LINENO"; then :
59702 glibcxx_cv_func_logf_use=yes
59703 else
59704 glibcxx_cv_func_logf_use=no
59706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59707 ac_ext=c
59708 ac_cpp='$CPP $CPPFLAGS'
59709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
59718 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
59720 if test x$glibcxx_cv_func_logf_use = x"yes"; then
59721 for ac_func in logf
59722 do :
59723 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
59724 if test "x$ac_cv_func_logf" = x""yes; then :
59725 cat >>confdefs.h <<_ACEOF
59726 #define HAVE_LOGF 1
59727 _ACEOF
59730 done
59732 else
59734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
59735 $as_echo_n "checking for _logf declaration... " >&6; }
59736 if test x${glibcxx_cv_func__logf_use+set} != xset; then
59737 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
59738 $as_echo_n "(cached) " >&6
59739 else
59742 ac_ext=cpp
59743 ac_cpp='$CXXCPP $CPPFLAGS'
59744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59749 /* end confdefs.h. */
59750 #include <math.h>
59751 #ifdef HAVE_IEEEFP_H
59752 #include <ieeefp.h>
59753 #endif
59756 main ()
59758 _logf(0);
59760 return 0;
59762 _ACEOF
59763 if ac_fn_cxx_try_compile "$LINENO"; then :
59764 glibcxx_cv_func__logf_use=yes
59765 else
59766 glibcxx_cv_func__logf_use=no
59768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59769 ac_ext=c
59770 ac_cpp='$CPP $CPPFLAGS'
59771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
59780 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
59782 if test x$glibcxx_cv_func__logf_use = x"yes"; then
59783 for ac_func in _logf
59784 do :
59785 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
59786 if test "x$ac_cv_func__logf" = x""yes; then :
59787 cat >>confdefs.h <<_ACEOF
59788 #define HAVE__LOGF 1
59789 _ACEOF
59792 done
59801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
59802 $as_echo_n "checking for log10f declaration... " >&6; }
59803 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
59804 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
59805 $as_echo_n "(cached) " >&6
59806 else
59809 ac_ext=cpp
59810 ac_cpp='$CXXCPP $CPPFLAGS'
59811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59816 /* end confdefs.h. */
59817 #include <math.h>
59818 #ifdef HAVE_IEEEFP_H
59819 #include <ieeefp.h>
59820 #endif
59823 main ()
59825 log10f(0);
59827 return 0;
59829 _ACEOF
59830 if ac_fn_cxx_try_compile "$LINENO"; then :
59831 glibcxx_cv_func_log10f_use=yes
59832 else
59833 glibcxx_cv_func_log10f_use=no
59835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59836 ac_ext=c
59837 ac_cpp='$CPP $CPPFLAGS'
59838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
59847 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
59849 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
59850 for ac_func in log10f
59851 do :
59852 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
59853 if test "x$ac_cv_func_log10f" = x""yes; then :
59854 cat >>confdefs.h <<_ACEOF
59855 #define HAVE_LOG10F 1
59856 _ACEOF
59859 done
59861 else
59863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
59864 $as_echo_n "checking for _log10f declaration... " >&6; }
59865 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
59866 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
59867 $as_echo_n "(cached) " >&6
59868 else
59871 ac_ext=cpp
59872 ac_cpp='$CXXCPP $CPPFLAGS'
59873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59878 /* end confdefs.h. */
59879 #include <math.h>
59880 #ifdef HAVE_IEEEFP_H
59881 #include <ieeefp.h>
59882 #endif
59885 main ()
59887 _log10f(0);
59889 return 0;
59891 _ACEOF
59892 if ac_fn_cxx_try_compile "$LINENO"; then :
59893 glibcxx_cv_func__log10f_use=yes
59894 else
59895 glibcxx_cv_func__log10f_use=no
59897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59898 ac_ext=c
59899 ac_cpp='$CPP $CPPFLAGS'
59900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
59909 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
59911 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
59912 for ac_func in _log10f
59913 do :
59914 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
59915 if test "x$ac_cv_func__log10f" = x""yes; then :
59916 cat >>confdefs.h <<_ACEOF
59917 #define HAVE__LOG10F 1
59918 _ACEOF
59921 done
59930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
59931 $as_echo_n "checking for modff declaration... " >&6; }
59932 if test x${glibcxx_cv_func_modff_use+set} != xset; then
59933 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
59934 $as_echo_n "(cached) " >&6
59935 else
59938 ac_ext=cpp
59939 ac_cpp='$CXXCPP $CPPFLAGS'
59940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59945 /* end confdefs.h. */
59946 #include <math.h>
59948 main ()
59950 modff(0, 0);
59952 return 0;
59954 _ACEOF
59955 if ac_fn_cxx_try_compile "$LINENO"; then :
59956 glibcxx_cv_func_modff_use=yes
59957 else
59958 glibcxx_cv_func_modff_use=no
59960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59961 ac_ext=c
59962 ac_cpp='$CPP $CPPFLAGS'
59963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
59972 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
59974 if test x$glibcxx_cv_func_modff_use = x"yes"; then
59975 for ac_func in modff
59976 do :
59977 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
59978 if test "x$ac_cv_func_modff" = x""yes; then :
59979 cat >>confdefs.h <<_ACEOF
59980 #define HAVE_MODFF 1
59981 _ACEOF
59984 done
59986 else
59988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
59989 $as_echo_n "checking for _modff declaration... " >&6; }
59990 if test x${glibcxx_cv_func__modff_use+set} != xset; then
59991 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
59992 $as_echo_n "(cached) " >&6
59993 else
59996 ac_ext=cpp
59997 ac_cpp='$CXXCPP $CPPFLAGS'
59998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60003 /* end confdefs.h. */
60004 #include <math.h>
60006 main ()
60008 _modff(0, 0);
60010 return 0;
60012 _ACEOF
60013 if ac_fn_cxx_try_compile "$LINENO"; then :
60014 glibcxx_cv_func__modff_use=yes
60015 else
60016 glibcxx_cv_func__modff_use=no
60018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60019 ac_ext=c
60020 ac_cpp='$CPP $CPPFLAGS'
60021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
60030 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
60032 if test x$glibcxx_cv_func__modff_use = x"yes"; then
60033 for ac_func in _modff
60034 do :
60035 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
60036 if test "x$ac_cv_func__modff" = x""yes; then :
60037 cat >>confdefs.h <<_ACEOF
60038 #define HAVE__MODFF 1
60039 _ACEOF
60042 done
60051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
60052 $as_echo_n "checking for modf declaration... " >&6; }
60053 if test x${glibcxx_cv_func_modf_use+set} != xset; then
60054 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
60055 $as_echo_n "(cached) " >&6
60056 else
60059 ac_ext=cpp
60060 ac_cpp='$CXXCPP $CPPFLAGS'
60061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60066 /* end confdefs.h. */
60067 #include <math.h>
60069 main ()
60071 modf(0, 0);
60073 return 0;
60075 _ACEOF
60076 if ac_fn_cxx_try_compile "$LINENO"; then :
60077 glibcxx_cv_func_modf_use=yes
60078 else
60079 glibcxx_cv_func_modf_use=no
60081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60082 ac_ext=c
60083 ac_cpp='$CPP $CPPFLAGS'
60084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
60093 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
60095 if test x$glibcxx_cv_func_modf_use = x"yes"; then
60096 for ac_func in modf
60097 do :
60098 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
60099 if test "x$ac_cv_func_modf" = x""yes; then :
60100 cat >>confdefs.h <<_ACEOF
60101 #define HAVE_MODF 1
60102 _ACEOF
60105 done
60107 else
60109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
60110 $as_echo_n "checking for _modf declaration... " >&6; }
60111 if test x${glibcxx_cv_func__modf_use+set} != xset; then
60112 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
60113 $as_echo_n "(cached) " >&6
60114 else
60117 ac_ext=cpp
60118 ac_cpp='$CXXCPP $CPPFLAGS'
60119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60124 /* end confdefs.h. */
60125 #include <math.h>
60127 main ()
60129 _modf(0, 0);
60131 return 0;
60133 _ACEOF
60134 if ac_fn_cxx_try_compile "$LINENO"; then :
60135 glibcxx_cv_func__modf_use=yes
60136 else
60137 glibcxx_cv_func__modf_use=no
60139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60140 ac_ext=c
60141 ac_cpp='$CPP $CPPFLAGS'
60142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
60151 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
60153 if test x$glibcxx_cv_func__modf_use = x"yes"; then
60154 for ac_func in _modf
60155 do :
60156 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
60157 if test "x$ac_cv_func__modf" = x""yes; then :
60158 cat >>confdefs.h <<_ACEOF
60159 #define HAVE__MODF 1
60160 _ACEOF
60163 done
60172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
60173 $as_echo_n "checking for powf declaration... " >&6; }
60174 if test x${glibcxx_cv_func_powf_use+set} != xset; then
60175 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
60176 $as_echo_n "(cached) " >&6
60177 else
60180 ac_ext=cpp
60181 ac_cpp='$CXXCPP $CPPFLAGS'
60182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60187 /* end confdefs.h. */
60188 #include <math.h>
60190 main ()
60192 powf(0, 0);
60194 return 0;
60196 _ACEOF
60197 if ac_fn_cxx_try_compile "$LINENO"; then :
60198 glibcxx_cv_func_powf_use=yes
60199 else
60200 glibcxx_cv_func_powf_use=no
60202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60203 ac_ext=c
60204 ac_cpp='$CPP $CPPFLAGS'
60205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
60214 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
60216 if test x$glibcxx_cv_func_powf_use = x"yes"; then
60217 for ac_func in powf
60218 do :
60219 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
60220 if test "x$ac_cv_func_powf" = x""yes; then :
60221 cat >>confdefs.h <<_ACEOF
60222 #define HAVE_POWF 1
60223 _ACEOF
60226 done
60228 else
60230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
60231 $as_echo_n "checking for _powf declaration... " >&6; }
60232 if test x${glibcxx_cv_func__powf_use+set} != xset; then
60233 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
60234 $as_echo_n "(cached) " >&6
60235 else
60238 ac_ext=cpp
60239 ac_cpp='$CXXCPP $CPPFLAGS'
60240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60245 /* end confdefs.h. */
60246 #include <math.h>
60248 main ()
60250 _powf(0, 0);
60252 return 0;
60254 _ACEOF
60255 if ac_fn_cxx_try_compile "$LINENO"; then :
60256 glibcxx_cv_func__powf_use=yes
60257 else
60258 glibcxx_cv_func__powf_use=no
60260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60261 ac_ext=c
60262 ac_cpp='$CPP $CPPFLAGS'
60263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
60272 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
60274 if test x$glibcxx_cv_func__powf_use = x"yes"; then
60275 for ac_func in _powf
60276 do :
60277 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
60278 if test "x$ac_cv_func__powf" = x""yes; then :
60279 cat >>confdefs.h <<_ACEOF
60280 #define HAVE__POWF 1
60281 _ACEOF
60284 done
60293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
60294 $as_echo_n "checking for sqrtf declaration... " >&6; }
60295 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
60296 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
60297 $as_echo_n "(cached) " >&6
60298 else
60301 ac_ext=cpp
60302 ac_cpp='$CXXCPP $CPPFLAGS'
60303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60308 /* end confdefs.h. */
60309 #include <math.h>
60310 #ifdef HAVE_IEEEFP_H
60311 #include <ieeefp.h>
60312 #endif
60315 main ()
60317 sqrtf(0);
60319 return 0;
60321 _ACEOF
60322 if ac_fn_cxx_try_compile "$LINENO"; then :
60323 glibcxx_cv_func_sqrtf_use=yes
60324 else
60325 glibcxx_cv_func_sqrtf_use=no
60327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60328 ac_ext=c
60329 ac_cpp='$CPP $CPPFLAGS'
60330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
60339 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
60341 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
60342 for ac_func in sqrtf
60343 do :
60344 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
60345 if test "x$ac_cv_func_sqrtf" = x""yes; then :
60346 cat >>confdefs.h <<_ACEOF
60347 #define HAVE_SQRTF 1
60348 _ACEOF
60351 done
60353 else
60355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
60356 $as_echo_n "checking for _sqrtf declaration... " >&6; }
60357 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
60358 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
60359 $as_echo_n "(cached) " >&6
60360 else
60363 ac_ext=cpp
60364 ac_cpp='$CXXCPP $CPPFLAGS'
60365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60370 /* end confdefs.h. */
60371 #include <math.h>
60372 #ifdef HAVE_IEEEFP_H
60373 #include <ieeefp.h>
60374 #endif
60377 main ()
60379 _sqrtf(0);
60381 return 0;
60383 _ACEOF
60384 if ac_fn_cxx_try_compile "$LINENO"; then :
60385 glibcxx_cv_func__sqrtf_use=yes
60386 else
60387 glibcxx_cv_func__sqrtf_use=no
60389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60390 ac_ext=c
60391 ac_cpp='$CPP $CPPFLAGS'
60392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
60401 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
60403 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
60404 for ac_func in _sqrtf
60405 do :
60406 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
60407 if test "x$ac_cv_func__sqrtf" = x""yes; then :
60408 cat >>confdefs.h <<_ACEOF
60409 #define HAVE__SQRTF 1
60410 _ACEOF
60413 done
60422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
60423 $as_echo_n "checking for sincosf declaration... " >&6; }
60424 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
60425 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
60426 $as_echo_n "(cached) " >&6
60427 else
60430 ac_ext=cpp
60431 ac_cpp='$CXXCPP $CPPFLAGS'
60432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60437 /* end confdefs.h. */
60438 #include <math.h>
60440 main ()
60442 sincosf(0, 0, 0);
60444 return 0;
60446 _ACEOF
60447 if ac_fn_cxx_try_compile "$LINENO"; then :
60448 glibcxx_cv_func_sincosf_use=yes
60449 else
60450 glibcxx_cv_func_sincosf_use=no
60452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60453 ac_ext=c
60454 ac_cpp='$CPP $CPPFLAGS'
60455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
60464 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
60466 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
60467 for ac_func in sincosf
60468 do :
60469 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
60470 if test "x$ac_cv_func_sincosf" = x""yes; then :
60471 cat >>confdefs.h <<_ACEOF
60472 #define HAVE_SINCOSF 1
60473 _ACEOF
60476 done
60478 else
60480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
60481 $as_echo_n "checking for _sincosf declaration... " >&6; }
60482 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
60483 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
60484 $as_echo_n "(cached) " >&6
60485 else
60488 ac_ext=cpp
60489 ac_cpp='$CXXCPP $CPPFLAGS'
60490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60495 /* end confdefs.h. */
60496 #include <math.h>
60498 main ()
60500 _sincosf(0, 0, 0);
60502 return 0;
60504 _ACEOF
60505 if ac_fn_cxx_try_compile "$LINENO"; then :
60506 glibcxx_cv_func__sincosf_use=yes
60507 else
60508 glibcxx_cv_func__sincosf_use=no
60510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60511 ac_ext=c
60512 ac_cpp='$CPP $CPPFLAGS'
60513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
60522 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
60524 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
60525 for ac_func in _sincosf
60526 do :
60527 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
60528 if test "x$ac_cv_func__sincosf" = x""yes; then :
60529 cat >>confdefs.h <<_ACEOF
60530 #define HAVE__SINCOSF 1
60531 _ACEOF
60534 done
60543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
60544 $as_echo_n "checking for finitef declaration... " >&6; }
60545 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
60546 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
60547 $as_echo_n "(cached) " >&6
60548 else
60551 ac_ext=cpp
60552 ac_cpp='$CXXCPP $CPPFLAGS'
60553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60558 /* end confdefs.h. */
60559 #include <math.h>
60560 #ifdef HAVE_IEEEFP_H
60561 #include <ieeefp.h>
60562 #endif
60565 main ()
60567 finitef(0);
60569 return 0;
60571 _ACEOF
60572 if ac_fn_cxx_try_compile "$LINENO"; then :
60573 glibcxx_cv_func_finitef_use=yes
60574 else
60575 glibcxx_cv_func_finitef_use=no
60577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60578 ac_ext=c
60579 ac_cpp='$CPP $CPPFLAGS'
60580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
60589 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
60591 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
60592 for ac_func in finitef
60593 do :
60594 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
60595 if test "x$ac_cv_func_finitef" = x""yes; then :
60596 cat >>confdefs.h <<_ACEOF
60597 #define HAVE_FINITEF 1
60598 _ACEOF
60601 done
60603 else
60605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
60606 $as_echo_n "checking for _finitef declaration... " >&6; }
60607 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
60608 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
60609 $as_echo_n "(cached) " >&6
60610 else
60613 ac_ext=cpp
60614 ac_cpp='$CXXCPP $CPPFLAGS'
60615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60620 /* end confdefs.h. */
60621 #include <math.h>
60622 #ifdef HAVE_IEEEFP_H
60623 #include <ieeefp.h>
60624 #endif
60627 main ()
60629 _finitef(0);
60631 return 0;
60633 _ACEOF
60634 if ac_fn_cxx_try_compile "$LINENO"; then :
60635 glibcxx_cv_func__finitef_use=yes
60636 else
60637 glibcxx_cv_func__finitef_use=no
60639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60640 ac_ext=c
60641 ac_cpp='$CPP $CPPFLAGS'
60642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
60651 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
60653 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
60654 for ac_func in _finitef
60655 do :
60656 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
60657 if test "x$ac_cv_func__finitef" = x""yes; then :
60658 cat >>confdefs.h <<_ACEOF
60659 #define HAVE__FINITEF 1
60660 _ACEOF
60663 done
60672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
60673 $as_echo_n "checking for long double trig functions... " >&6; }
60674 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
60675 $as_echo_n "(cached) " >&6
60676 else
60679 ac_ext=cpp
60680 ac_cpp='$CXXCPP $CPPFLAGS'
60681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60686 /* end confdefs.h. */
60687 #include <math.h>
60689 main ()
60691 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
60693 return 0;
60695 _ACEOF
60696 if ac_fn_cxx_try_compile "$LINENO"; then :
60697 glibcxx_cv_func_long_double_trig_use=yes
60698 else
60699 glibcxx_cv_func_long_double_trig_use=no
60701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60702 ac_ext=c
60703 ac_cpp='$CPP $CPPFLAGS'
60704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
60711 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
60712 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
60713 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
60714 do :
60715 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60716 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60717 eval as_val=\$$as_ac_var
60718 if test "x$as_val" = x""yes; then :
60719 cat >>confdefs.h <<_ACEOF
60720 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60721 _ACEOF
60724 done
60726 else
60727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
60728 $as_echo_n "checking for _long double trig functions... " >&6; }
60729 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
60730 $as_echo_n "(cached) " >&6
60731 else
60734 ac_ext=cpp
60735 ac_cpp='$CXXCPP $CPPFLAGS'
60736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60741 /* end confdefs.h. */
60742 #include <math.h>
60744 main ()
60746 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
60748 return 0;
60750 _ACEOF
60751 if ac_fn_cxx_try_compile "$LINENO"; then :
60752 glibcxx_cv_func__long_double_trig_use=yes
60753 else
60754 glibcxx_cv_func__long_double_trig_use=no
60756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60757 ac_ext=c
60758 ac_cpp='$CPP $CPPFLAGS'
60759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
60766 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
60767 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
60768 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
60769 do :
60770 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60771 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60772 eval as_val=\$$as_ac_var
60773 if test "x$as_val" = x""yes; then :
60774 cat >>confdefs.h <<_ACEOF
60775 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60776 _ACEOF
60779 done
60788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
60789 $as_echo_n "checking for long double round functions... " >&6; }
60790 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
60791 $as_echo_n "(cached) " >&6
60792 else
60795 ac_ext=cpp
60796 ac_cpp='$CXXCPP $CPPFLAGS'
60797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60802 /* end confdefs.h. */
60803 #include <math.h>
60805 main ()
60807 ceill (0); floorl (0);
60809 return 0;
60811 _ACEOF
60812 if ac_fn_cxx_try_compile "$LINENO"; then :
60813 glibcxx_cv_func_long_double_round_use=yes
60814 else
60815 glibcxx_cv_func_long_double_round_use=no
60817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60818 ac_ext=c
60819 ac_cpp='$CPP $CPPFLAGS'
60820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
60827 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
60828 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
60829 for ac_func in ceill floorl
60830 do :
60831 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60832 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60833 eval as_val=\$$as_ac_var
60834 if test "x$as_val" = x""yes; then :
60835 cat >>confdefs.h <<_ACEOF
60836 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60837 _ACEOF
60840 done
60842 else
60843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
60844 $as_echo_n "checking for _long double round functions... " >&6; }
60845 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
60846 $as_echo_n "(cached) " >&6
60847 else
60850 ac_ext=cpp
60851 ac_cpp='$CXXCPP $CPPFLAGS'
60852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60857 /* end confdefs.h. */
60858 #include <math.h>
60860 main ()
60862 _ceill (0); _floorl (0);
60864 return 0;
60866 _ACEOF
60867 if ac_fn_cxx_try_compile "$LINENO"; then :
60868 glibcxx_cv_func__long_double_round_use=yes
60869 else
60870 glibcxx_cv_func__long_double_round_use=no
60872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60873 ac_ext=c
60874 ac_cpp='$CPP $CPPFLAGS'
60875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
60882 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
60883 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
60884 for ac_func in _ceill _floorl
60885 do :
60886 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60887 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60888 eval as_val=\$$as_ac_var
60889 if test "x$as_val" = x""yes; then :
60890 cat >>confdefs.h <<_ACEOF
60891 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60892 _ACEOF
60895 done
60905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
60906 $as_echo_n "checking for isnanl declaration... " >&6; }
60907 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
60908 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
60909 $as_echo_n "(cached) " >&6
60910 else
60913 ac_ext=cpp
60914 ac_cpp='$CXXCPP $CPPFLAGS'
60915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60920 /* end confdefs.h. */
60921 #include <math.h>
60922 #ifdef HAVE_IEEEFP_H
60923 #include <ieeefp.h>
60924 #endif
60927 main ()
60929 isnanl(0);
60931 return 0;
60933 _ACEOF
60934 if ac_fn_cxx_try_compile "$LINENO"; then :
60935 glibcxx_cv_func_isnanl_use=yes
60936 else
60937 glibcxx_cv_func_isnanl_use=no
60939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60940 ac_ext=c
60941 ac_cpp='$CPP $CPPFLAGS'
60942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
60951 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
60953 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
60954 for ac_func in isnanl
60955 do :
60956 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
60957 if test "x$ac_cv_func_isnanl" = x""yes; then :
60958 cat >>confdefs.h <<_ACEOF
60959 #define HAVE_ISNANL 1
60960 _ACEOF
60963 done
60965 else
60967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
60968 $as_echo_n "checking for _isnanl declaration... " >&6; }
60969 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
60970 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
60971 $as_echo_n "(cached) " >&6
60972 else
60975 ac_ext=cpp
60976 ac_cpp='$CXXCPP $CPPFLAGS'
60977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60982 /* end confdefs.h. */
60983 #include <math.h>
60984 #ifdef HAVE_IEEEFP_H
60985 #include <ieeefp.h>
60986 #endif
60989 main ()
60991 _isnanl(0);
60993 return 0;
60995 _ACEOF
60996 if ac_fn_cxx_try_compile "$LINENO"; then :
60997 glibcxx_cv_func__isnanl_use=yes
60998 else
60999 glibcxx_cv_func__isnanl_use=no
61001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61002 ac_ext=c
61003 ac_cpp='$CPP $CPPFLAGS'
61004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
61013 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
61015 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
61016 for ac_func in _isnanl
61017 do :
61018 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
61019 if test "x$ac_cv_func__isnanl" = x""yes; then :
61020 cat >>confdefs.h <<_ACEOF
61021 #define HAVE__ISNANL 1
61022 _ACEOF
61025 done
61034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
61035 $as_echo_n "checking for isinfl declaration... " >&6; }
61036 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
61037 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
61038 $as_echo_n "(cached) " >&6
61039 else
61042 ac_ext=cpp
61043 ac_cpp='$CXXCPP $CPPFLAGS'
61044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61049 /* end confdefs.h. */
61050 #include <math.h>
61051 #ifdef HAVE_IEEEFP_H
61052 #include <ieeefp.h>
61053 #endif
61056 main ()
61058 isinfl(0);
61060 return 0;
61062 _ACEOF
61063 if ac_fn_cxx_try_compile "$LINENO"; then :
61064 glibcxx_cv_func_isinfl_use=yes
61065 else
61066 glibcxx_cv_func_isinfl_use=no
61068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61069 ac_ext=c
61070 ac_cpp='$CPP $CPPFLAGS'
61071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
61080 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
61082 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
61083 for ac_func in isinfl
61084 do :
61085 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
61086 if test "x$ac_cv_func_isinfl" = x""yes; then :
61087 cat >>confdefs.h <<_ACEOF
61088 #define HAVE_ISINFL 1
61089 _ACEOF
61092 done
61094 else
61096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
61097 $as_echo_n "checking for _isinfl declaration... " >&6; }
61098 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
61099 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
61100 $as_echo_n "(cached) " >&6
61101 else
61104 ac_ext=cpp
61105 ac_cpp='$CXXCPP $CPPFLAGS'
61106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61111 /* end confdefs.h. */
61112 #include <math.h>
61113 #ifdef HAVE_IEEEFP_H
61114 #include <ieeefp.h>
61115 #endif
61118 main ()
61120 _isinfl(0);
61122 return 0;
61124 _ACEOF
61125 if ac_fn_cxx_try_compile "$LINENO"; then :
61126 glibcxx_cv_func__isinfl_use=yes
61127 else
61128 glibcxx_cv_func__isinfl_use=no
61130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61131 ac_ext=c
61132 ac_cpp='$CPP $CPPFLAGS'
61133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
61142 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
61144 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
61145 for ac_func in _isinfl
61146 do :
61147 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
61148 if test "x$ac_cv_func__isinfl" = x""yes; then :
61149 cat >>confdefs.h <<_ACEOF
61150 #define HAVE__ISINFL 1
61151 _ACEOF
61154 done
61163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
61164 $as_echo_n "checking for atan2l declaration... " >&6; }
61165 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
61166 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
61167 $as_echo_n "(cached) " >&6
61168 else
61171 ac_ext=cpp
61172 ac_cpp='$CXXCPP $CPPFLAGS'
61173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61178 /* end confdefs.h. */
61179 #include <math.h>
61181 main ()
61183 atan2l(0, 0);
61185 return 0;
61187 _ACEOF
61188 if ac_fn_cxx_try_compile "$LINENO"; then :
61189 glibcxx_cv_func_atan2l_use=yes
61190 else
61191 glibcxx_cv_func_atan2l_use=no
61193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61194 ac_ext=c
61195 ac_cpp='$CPP $CPPFLAGS'
61196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
61205 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
61207 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
61208 for ac_func in atan2l
61209 do :
61210 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
61211 if test "x$ac_cv_func_atan2l" = x""yes; then :
61212 cat >>confdefs.h <<_ACEOF
61213 #define HAVE_ATAN2L 1
61214 _ACEOF
61217 done
61219 else
61221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
61222 $as_echo_n "checking for _atan2l declaration... " >&6; }
61223 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
61224 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
61225 $as_echo_n "(cached) " >&6
61226 else
61229 ac_ext=cpp
61230 ac_cpp='$CXXCPP $CPPFLAGS'
61231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61236 /* end confdefs.h. */
61237 #include <math.h>
61239 main ()
61241 _atan2l(0, 0);
61243 return 0;
61245 _ACEOF
61246 if ac_fn_cxx_try_compile "$LINENO"; then :
61247 glibcxx_cv_func__atan2l_use=yes
61248 else
61249 glibcxx_cv_func__atan2l_use=no
61251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61252 ac_ext=c
61253 ac_cpp='$CPP $CPPFLAGS'
61254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
61263 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
61265 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
61266 for ac_func in _atan2l
61267 do :
61268 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
61269 if test "x$ac_cv_func__atan2l" = x""yes; then :
61270 cat >>confdefs.h <<_ACEOF
61271 #define HAVE__ATAN2L 1
61272 _ACEOF
61275 done
61284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
61285 $as_echo_n "checking for expl declaration... " >&6; }
61286 if test x${glibcxx_cv_func_expl_use+set} != xset; then
61287 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
61288 $as_echo_n "(cached) " >&6
61289 else
61292 ac_ext=cpp
61293 ac_cpp='$CXXCPP $CPPFLAGS'
61294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61299 /* end confdefs.h. */
61300 #include <math.h>
61301 #ifdef HAVE_IEEEFP_H
61302 #include <ieeefp.h>
61303 #endif
61306 main ()
61308 expl(0);
61310 return 0;
61312 _ACEOF
61313 if ac_fn_cxx_try_compile "$LINENO"; then :
61314 glibcxx_cv_func_expl_use=yes
61315 else
61316 glibcxx_cv_func_expl_use=no
61318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61319 ac_ext=c
61320 ac_cpp='$CPP $CPPFLAGS'
61321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
61330 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
61332 if test x$glibcxx_cv_func_expl_use = x"yes"; then
61333 for ac_func in expl
61334 do :
61335 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
61336 if test "x$ac_cv_func_expl" = x""yes; then :
61337 cat >>confdefs.h <<_ACEOF
61338 #define HAVE_EXPL 1
61339 _ACEOF
61342 done
61344 else
61346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
61347 $as_echo_n "checking for _expl declaration... " >&6; }
61348 if test x${glibcxx_cv_func__expl_use+set} != xset; then
61349 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
61350 $as_echo_n "(cached) " >&6
61351 else
61354 ac_ext=cpp
61355 ac_cpp='$CXXCPP $CPPFLAGS'
61356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61361 /* end confdefs.h. */
61362 #include <math.h>
61363 #ifdef HAVE_IEEEFP_H
61364 #include <ieeefp.h>
61365 #endif
61368 main ()
61370 _expl(0);
61372 return 0;
61374 _ACEOF
61375 if ac_fn_cxx_try_compile "$LINENO"; then :
61376 glibcxx_cv_func__expl_use=yes
61377 else
61378 glibcxx_cv_func__expl_use=no
61380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61381 ac_ext=c
61382 ac_cpp='$CPP $CPPFLAGS'
61383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
61392 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
61394 if test x$glibcxx_cv_func__expl_use = x"yes"; then
61395 for ac_func in _expl
61396 do :
61397 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
61398 if test "x$ac_cv_func__expl" = x""yes; then :
61399 cat >>confdefs.h <<_ACEOF
61400 #define HAVE__EXPL 1
61401 _ACEOF
61404 done
61413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
61414 $as_echo_n "checking for fabsl declaration... " >&6; }
61415 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
61416 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
61417 $as_echo_n "(cached) " >&6
61418 else
61421 ac_ext=cpp
61422 ac_cpp='$CXXCPP $CPPFLAGS'
61423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61428 /* end confdefs.h. */
61429 #include <math.h>
61430 #ifdef HAVE_IEEEFP_H
61431 #include <ieeefp.h>
61432 #endif
61435 main ()
61437 fabsl(0);
61439 return 0;
61441 _ACEOF
61442 if ac_fn_cxx_try_compile "$LINENO"; then :
61443 glibcxx_cv_func_fabsl_use=yes
61444 else
61445 glibcxx_cv_func_fabsl_use=no
61447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61448 ac_ext=c
61449 ac_cpp='$CPP $CPPFLAGS'
61450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
61459 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
61461 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
61462 for ac_func in fabsl
61463 do :
61464 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
61465 if test "x$ac_cv_func_fabsl" = x""yes; then :
61466 cat >>confdefs.h <<_ACEOF
61467 #define HAVE_FABSL 1
61468 _ACEOF
61471 done
61473 else
61475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
61476 $as_echo_n "checking for _fabsl declaration... " >&6; }
61477 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
61478 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
61479 $as_echo_n "(cached) " >&6
61480 else
61483 ac_ext=cpp
61484 ac_cpp='$CXXCPP $CPPFLAGS'
61485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61490 /* end confdefs.h. */
61491 #include <math.h>
61492 #ifdef HAVE_IEEEFP_H
61493 #include <ieeefp.h>
61494 #endif
61497 main ()
61499 _fabsl(0);
61501 return 0;
61503 _ACEOF
61504 if ac_fn_cxx_try_compile "$LINENO"; then :
61505 glibcxx_cv_func__fabsl_use=yes
61506 else
61507 glibcxx_cv_func__fabsl_use=no
61509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61510 ac_ext=c
61511 ac_cpp='$CPP $CPPFLAGS'
61512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
61521 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
61523 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
61524 for ac_func in _fabsl
61525 do :
61526 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
61527 if test "x$ac_cv_func__fabsl" = x""yes; then :
61528 cat >>confdefs.h <<_ACEOF
61529 #define HAVE__FABSL 1
61530 _ACEOF
61533 done
61542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
61543 $as_echo_n "checking for fmodl declaration... " >&6; }
61544 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
61545 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
61546 $as_echo_n "(cached) " >&6
61547 else
61550 ac_ext=cpp
61551 ac_cpp='$CXXCPP $CPPFLAGS'
61552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61557 /* end confdefs.h. */
61558 #include <math.h>
61560 main ()
61562 fmodl(0, 0);
61564 return 0;
61566 _ACEOF
61567 if ac_fn_cxx_try_compile "$LINENO"; then :
61568 glibcxx_cv_func_fmodl_use=yes
61569 else
61570 glibcxx_cv_func_fmodl_use=no
61572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61573 ac_ext=c
61574 ac_cpp='$CPP $CPPFLAGS'
61575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
61584 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
61586 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
61587 for ac_func in fmodl
61588 do :
61589 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
61590 if test "x$ac_cv_func_fmodl" = x""yes; then :
61591 cat >>confdefs.h <<_ACEOF
61592 #define HAVE_FMODL 1
61593 _ACEOF
61596 done
61598 else
61600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
61601 $as_echo_n "checking for _fmodl declaration... " >&6; }
61602 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
61603 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
61604 $as_echo_n "(cached) " >&6
61605 else
61608 ac_ext=cpp
61609 ac_cpp='$CXXCPP $CPPFLAGS'
61610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61615 /* end confdefs.h. */
61616 #include <math.h>
61618 main ()
61620 _fmodl(0, 0);
61622 return 0;
61624 _ACEOF
61625 if ac_fn_cxx_try_compile "$LINENO"; then :
61626 glibcxx_cv_func__fmodl_use=yes
61627 else
61628 glibcxx_cv_func__fmodl_use=no
61630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61631 ac_ext=c
61632 ac_cpp='$CPP $CPPFLAGS'
61633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
61642 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
61644 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
61645 for ac_func in _fmodl
61646 do :
61647 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
61648 if test "x$ac_cv_func__fmodl" = x""yes; then :
61649 cat >>confdefs.h <<_ACEOF
61650 #define HAVE__FMODL 1
61651 _ACEOF
61654 done
61663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
61664 $as_echo_n "checking for frexpl declaration... " >&6; }
61665 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
61666 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
61667 $as_echo_n "(cached) " >&6
61668 else
61671 ac_ext=cpp
61672 ac_cpp='$CXXCPP $CPPFLAGS'
61673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61678 /* end confdefs.h. */
61679 #include <math.h>
61681 main ()
61683 frexpl(0, 0);
61685 return 0;
61687 _ACEOF
61688 if ac_fn_cxx_try_compile "$LINENO"; then :
61689 glibcxx_cv_func_frexpl_use=yes
61690 else
61691 glibcxx_cv_func_frexpl_use=no
61693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61694 ac_ext=c
61695 ac_cpp='$CPP $CPPFLAGS'
61696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
61705 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
61707 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
61708 for ac_func in frexpl
61709 do :
61710 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
61711 if test "x$ac_cv_func_frexpl" = x""yes; then :
61712 cat >>confdefs.h <<_ACEOF
61713 #define HAVE_FREXPL 1
61714 _ACEOF
61717 done
61719 else
61721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
61722 $as_echo_n "checking for _frexpl declaration... " >&6; }
61723 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
61724 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
61725 $as_echo_n "(cached) " >&6
61726 else
61729 ac_ext=cpp
61730 ac_cpp='$CXXCPP $CPPFLAGS'
61731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61736 /* end confdefs.h. */
61737 #include <math.h>
61739 main ()
61741 _frexpl(0, 0);
61743 return 0;
61745 _ACEOF
61746 if ac_fn_cxx_try_compile "$LINENO"; then :
61747 glibcxx_cv_func__frexpl_use=yes
61748 else
61749 glibcxx_cv_func__frexpl_use=no
61751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61752 ac_ext=c
61753 ac_cpp='$CPP $CPPFLAGS'
61754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
61763 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
61765 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
61766 for ac_func in _frexpl
61767 do :
61768 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
61769 if test "x$ac_cv_func__frexpl" = x""yes; then :
61770 cat >>confdefs.h <<_ACEOF
61771 #define HAVE__FREXPL 1
61772 _ACEOF
61775 done
61784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
61785 $as_echo_n "checking for hypotl declaration... " >&6; }
61786 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
61787 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
61788 $as_echo_n "(cached) " >&6
61789 else
61792 ac_ext=cpp
61793 ac_cpp='$CXXCPP $CPPFLAGS'
61794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61799 /* end confdefs.h. */
61800 #include <math.h>
61802 main ()
61804 hypotl(0, 0);
61806 return 0;
61808 _ACEOF
61809 if ac_fn_cxx_try_compile "$LINENO"; then :
61810 glibcxx_cv_func_hypotl_use=yes
61811 else
61812 glibcxx_cv_func_hypotl_use=no
61814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61815 ac_ext=c
61816 ac_cpp='$CPP $CPPFLAGS'
61817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
61826 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
61828 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
61829 for ac_func in hypotl
61830 do :
61831 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
61832 if test "x$ac_cv_func_hypotl" = x""yes; then :
61833 cat >>confdefs.h <<_ACEOF
61834 #define HAVE_HYPOTL 1
61835 _ACEOF
61838 done
61840 else
61842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
61843 $as_echo_n "checking for _hypotl declaration... " >&6; }
61844 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
61845 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
61846 $as_echo_n "(cached) " >&6
61847 else
61850 ac_ext=cpp
61851 ac_cpp='$CXXCPP $CPPFLAGS'
61852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61857 /* end confdefs.h. */
61858 #include <math.h>
61860 main ()
61862 _hypotl(0, 0);
61864 return 0;
61866 _ACEOF
61867 if ac_fn_cxx_try_compile "$LINENO"; then :
61868 glibcxx_cv_func__hypotl_use=yes
61869 else
61870 glibcxx_cv_func__hypotl_use=no
61872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61873 ac_ext=c
61874 ac_cpp='$CPP $CPPFLAGS'
61875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
61884 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
61886 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
61887 for ac_func in _hypotl
61888 do :
61889 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
61890 if test "x$ac_cv_func__hypotl" = x""yes; then :
61891 cat >>confdefs.h <<_ACEOF
61892 #define HAVE__HYPOTL 1
61893 _ACEOF
61896 done
61905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
61906 $as_echo_n "checking for ldexpl declaration... " >&6; }
61907 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
61908 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
61909 $as_echo_n "(cached) " >&6
61910 else
61913 ac_ext=cpp
61914 ac_cpp='$CXXCPP $CPPFLAGS'
61915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61920 /* end confdefs.h. */
61921 #include <math.h>
61923 main ()
61925 ldexpl(0, 0);
61927 return 0;
61929 _ACEOF
61930 if ac_fn_cxx_try_compile "$LINENO"; then :
61931 glibcxx_cv_func_ldexpl_use=yes
61932 else
61933 glibcxx_cv_func_ldexpl_use=no
61935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61936 ac_ext=c
61937 ac_cpp='$CPP $CPPFLAGS'
61938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
61947 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
61949 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
61950 for ac_func in ldexpl
61951 do :
61952 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
61953 if test "x$ac_cv_func_ldexpl" = x""yes; then :
61954 cat >>confdefs.h <<_ACEOF
61955 #define HAVE_LDEXPL 1
61956 _ACEOF
61959 done
61961 else
61963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
61964 $as_echo_n "checking for _ldexpl declaration... " >&6; }
61965 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
61966 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
61967 $as_echo_n "(cached) " >&6
61968 else
61971 ac_ext=cpp
61972 ac_cpp='$CXXCPP $CPPFLAGS'
61973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61978 /* end confdefs.h. */
61979 #include <math.h>
61981 main ()
61983 _ldexpl(0, 0);
61985 return 0;
61987 _ACEOF
61988 if ac_fn_cxx_try_compile "$LINENO"; then :
61989 glibcxx_cv_func__ldexpl_use=yes
61990 else
61991 glibcxx_cv_func__ldexpl_use=no
61993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61994 ac_ext=c
61995 ac_cpp='$CPP $CPPFLAGS'
61996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
62005 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
62007 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
62008 for ac_func in _ldexpl
62009 do :
62010 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
62011 if test "x$ac_cv_func__ldexpl" = x""yes; then :
62012 cat >>confdefs.h <<_ACEOF
62013 #define HAVE__LDEXPL 1
62014 _ACEOF
62017 done
62026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
62027 $as_echo_n "checking for logl declaration... " >&6; }
62028 if test x${glibcxx_cv_func_logl_use+set} != xset; then
62029 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
62030 $as_echo_n "(cached) " >&6
62031 else
62034 ac_ext=cpp
62035 ac_cpp='$CXXCPP $CPPFLAGS'
62036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62041 /* end confdefs.h. */
62042 #include <math.h>
62043 #ifdef HAVE_IEEEFP_H
62044 #include <ieeefp.h>
62045 #endif
62048 main ()
62050 logl(0);
62052 return 0;
62054 _ACEOF
62055 if ac_fn_cxx_try_compile "$LINENO"; then :
62056 glibcxx_cv_func_logl_use=yes
62057 else
62058 glibcxx_cv_func_logl_use=no
62060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62061 ac_ext=c
62062 ac_cpp='$CPP $CPPFLAGS'
62063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
62072 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
62074 if test x$glibcxx_cv_func_logl_use = x"yes"; then
62075 for ac_func in logl
62076 do :
62077 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
62078 if test "x$ac_cv_func_logl" = x""yes; then :
62079 cat >>confdefs.h <<_ACEOF
62080 #define HAVE_LOGL 1
62081 _ACEOF
62084 done
62086 else
62088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
62089 $as_echo_n "checking for _logl declaration... " >&6; }
62090 if test x${glibcxx_cv_func__logl_use+set} != xset; then
62091 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
62092 $as_echo_n "(cached) " >&6
62093 else
62096 ac_ext=cpp
62097 ac_cpp='$CXXCPP $CPPFLAGS'
62098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62103 /* end confdefs.h. */
62104 #include <math.h>
62105 #ifdef HAVE_IEEEFP_H
62106 #include <ieeefp.h>
62107 #endif
62110 main ()
62112 _logl(0);
62114 return 0;
62116 _ACEOF
62117 if ac_fn_cxx_try_compile "$LINENO"; then :
62118 glibcxx_cv_func__logl_use=yes
62119 else
62120 glibcxx_cv_func__logl_use=no
62122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62123 ac_ext=c
62124 ac_cpp='$CPP $CPPFLAGS'
62125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
62134 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
62136 if test x$glibcxx_cv_func__logl_use = x"yes"; then
62137 for ac_func in _logl
62138 do :
62139 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
62140 if test "x$ac_cv_func__logl" = x""yes; then :
62141 cat >>confdefs.h <<_ACEOF
62142 #define HAVE__LOGL 1
62143 _ACEOF
62146 done
62155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
62156 $as_echo_n "checking for log10l declaration... " >&6; }
62157 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
62158 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
62159 $as_echo_n "(cached) " >&6
62160 else
62163 ac_ext=cpp
62164 ac_cpp='$CXXCPP $CPPFLAGS'
62165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62170 /* end confdefs.h. */
62171 #include <math.h>
62172 #ifdef HAVE_IEEEFP_H
62173 #include <ieeefp.h>
62174 #endif
62177 main ()
62179 log10l(0);
62181 return 0;
62183 _ACEOF
62184 if ac_fn_cxx_try_compile "$LINENO"; then :
62185 glibcxx_cv_func_log10l_use=yes
62186 else
62187 glibcxx_cv_func_log10l_use=no
62189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62190 ac_ext=c
62191 ac_cpp='$CPP $CPPFLAGS'
62192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
62201 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
62203 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
62204 for ac_func in log10l
62205 do :
62206 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
62207 if test "x$ac_cv_func_log10l" = x""yes; then :
62208 cat >>confdefs.h <<_ACEOF
62209 #define HAVE_LOG10L 1
62210 _ACEOF
62213 done
62215 else
62217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
62218 $as_echo_n "checking for _log10l declaration... " >&6; }
62219 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
62220 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
62221 $as_echo_n "(cached) " >&6
62222 else
62225 ac_ext=cpp
62226 ac_cpp='$CXXCPP $CPPFLAGS'
62227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62232 /* end confdefs.h. */
62233 #include <math.h>
62234 #ifdef HAVE_IEEEFP_H
62235 #include <ieeefp.h>
62236 #endif
62239 main ()
62241 _log10l(0);
62243 return 0;
62245 _ACEOF
62246 if ac_fn_cxx_try_compile "$LINENO"; then :
62247 glibcxx_cv_func__log10l_use=yes
62248 else
62249 glibcxx_cv_func__log10l_use=no
62251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62252 ac_ext=c
62253 ac_cpp='$CPP $CPPFLAGS'
62254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
62263 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
62265 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
62266 for ac_func in _log10l
62267 do :
62268 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
62269 if test "x$ac_cv_func__log10l" = x""yes; then :
62270 cat >>confdefs.h <<_ACEOF
62271 #define HAVE__LOG10L 1
62272 _ACEOF
62275 done
62284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
62285 $as_echo_n "checking for modfl declaration... " >&6; }
62286 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
62287 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
62288 $as_echo_n "(cached) " >&6
62289 else
62292 ac_ext=cpp
62293 ac_cpp='$CXXCPP $CPPFLAGS'
62294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62299 /* end confdefs.h. */
62300 #include <math.h>
62302 main ()
62304 modfl(0, 0);
62306 return 0;
62308 _ACEOF
62309 if ac_fn_cxx_try_compile "$LINENO"; then :
62310 glibcxx_cv_func_modfl_use=yes
62311 else
62312 glibcxx_cv_func_modfl_use=no
62314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62315 ac_ext=c
62316 ac_cpp='$CPP $CPPFLAGS'
62317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
62326 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
62328 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
62329 for ac_func in modfl
62330 do :
62331 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
62332 if test "x$ac_cv_func_modfl" = x""yes; then :
62333 cat >>confdefs.h <<_ACEOF
62334 #define HAVE_MODFL 1
62335 _ACEOF
62338 done
62340 else
62342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
62343 $as_echo_n "checking for _modfl declaration... " >&6; }
62344 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
62345 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
62346 $as_echo_n "(cached) " >&6
62347 else
62350 ac_ext=cpp
62351 ac_cpp='$CXXCPP $CPPFLAGS'
62352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62357 /* end confdefs.h. */
62358 #include <math.h>
62360 main ()
62362 _modfl(0, 0);
62364 return 0;
62366 _ACEOF
62367 if ac_fn_cxx_try_compile "$LINENO"; then :
62368 glibcxx_cv_func__modfl_use=yes
62369 else
62370 glibcxx_cv_func__modfl_use=no
62372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62373 ac_ext=c
62374 ac_cpp='$CPP $CPPFLAGS'
62375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
62384 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
62386 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
62387 for ac_func in _modfl
62388 do :
62389 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
62390 if test "x$ac_cv_func__modfl" = x""yes; then :
62391 cat >>confdefs.h <<_ACEOF
62392 #define HAVE__MODFL 1
62393 _ACEOF
62396 done
62405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
62406 $as_echo_n "checking for powl declaration... " >&6; }
62407 if test x${glibcxx_cv_func_powl_use+set} != xset; then
62408 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
62409 $as_echo_n "(cached) " >&6
62410 else
62413 ac_ext=cpp
62414 ac_cpp='$CXXCPP $CPPFLAGS'
62415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62420 /* end confdefs.h. */
62421 #include <math.h>
62423 main ()
62425 powl(0, 0);
62427 return 0;
62429 _ACEOF
62430 if ac_fn_cxx_try_compile "$LINENO"; then :
62431 glibcxx_cv_func_powl_use=yes
62432 else
62433 glibcxx_cv_func_powl_use=no
62435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62436 ac_ext=c
62437 ac_cpp='$CPP $CPPFLAGS'
62438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
62447 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
62449 if test x$glibcxx_cv_func_powl_use = x"yes"; then
62450 for ac_func in powl
62451 do :
62452 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
62453 if test "x$ac_cv_func_powl" = x""yes; then :
62454 cat >>confdefs.h <<_ACEOF
62455 #define HAVE_POWL 1
62456 _ACEOF
62459 done
62461 else
62463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
62464 $as_echo_n "checking for _powl declaration... " >&6; }
62465 if test x${glibcxx_cv_func__powl_use+set} != xset; then
62466 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
62467 $as_echo_n "(cached) " >&6
62468 else
62471 ac_ext=cpp
62472 ac_cpp='$CXXCPP $CPPFLAGS'
62473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62478 /* end confdefs.h. */
62479 #include <math.h>
62481 main ()
62483 _powl(0, 0);
62485 return 0;
62487 _ACEOF
62488 if ac_fn_cxx_try_compile "$LINENO"; then :
62489 glibcxx_cv_func__powl_use=yes
62490 else
62491 glibcxx_cv_func__powl_use=no
62493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62494 ac_ext=c
62495 ac_cpp='$CPP $CPPFLAGS'
62496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
62505 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
62507 if test x$glibcxx_cv_func__powl_use = x"yes"; then
62508 for ac_func in _powl
62509 do :
62510 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
62511 if test "x$ac_cv_func__powl" = x""yes; then :
62512 cat >>confdefs.h <<_ACEOF
62513 #define HAVE__POWL 1
62514 _ACEOF
62517 done
62526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
62527 $as_echo_n "checking for sqrtl declaration... " >&6; }
62528 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
62529 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
62530 $as_echo_n "(cached) " >&6
62531 else
62534 ac_ext=cpp
62535 ac_cpp='$CXXCPP $CPPFLAGS'
62536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62541 /* end confdefs.h. */
62542 #include <math.h>
62543 #ifdef HAVE_IEEEFP_H
62544 #include <ieeefp.h>
62545 #endif
62548 main ()
62550 sqrtl(0);
62552 return 0;
62554 _ACEOF
62555 if ac_fn_cxx_try_compile "$LINENO"; then :
62556 glibcxx_cv_func_sqrtl_use=yes
62557 else
62558 glibcxx_cv_func_sqrtl_use=no
62560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62561 ac_ext=c
62562 ac_cpp='$CPP $CPPFLAGS'
62563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
62572 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
62574 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
62575 for ac_func in sqrtl
62576 do :
62577 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
62578 if test "x$ac_cv_func_sqrtl" = x""yes; then :
62579 cat >>confdefs.h <<_ACEOF
62580 #define HAVE_SQRTL 1
62581 _ACEOF
62584 done
62586 else
62588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
62589 $as_echo_n "checking for _sqrtl declaration... " >&6; }
62590 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
62591 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
62592 $as_echo_n "(cached) " >&6
62593 else
62596 ac_ext=cpp
62597 ac_cpp='$CXXCPP $CPPFLAGS'
62598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62603 /* end confdefs.h. */
62604 #include <math.h>
62605 #ifdef HAVE_IEEEFP_H
62606 #include <ieeefp.h>
62607 #endif
62610 main ()
62612 _sqrtl(0);
62614 return 0;
62616 _ACEOF
62617 if ac_fn_cxx_try_compile "$LINENO"; then :
62618 glibcxx_cv_func__sqrtl_use=yes
62619 else
62620 glibcxx_cv_func__sqrtl_use=no
62622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62623 ac_ext=c
62624 ac_cpp='$CPP $CPPFLAGS'
62625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
62634 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
62636 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
62637 for ac_func in _sqrtl
62638 do :
62639 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
62640 if test "x$ac_cv_func__sqrtl" = x""yes; then :
62641 cat >>confdefs.h <<_ACEOF
62642 #define HAVE__SQRTL 1
62643 _ACEOF
62646 done
62655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
62656 $as_echo_n "checking for sincosl declaration... " >&6; }
62657 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
62658 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
62659 $as_echo_n "(cached) " >&6
62660 else
62663 ac_ext=cpp
62664 ac_cpp='$CXXCPP $CPPFLAGS'
62665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62670 /* end confdefs.h. */
62671 #include <math.h>
62673 main ()
62675 sincosl(0, 0, 0);
62677 return 0;
62679 _ACEOF
62680 if ac_fn_cxx_try_compile "$LINENO"; then :
62681 glibcxx_cv_func_sincosl_use=yes
62682 else
62683 glibcxx_cv_func_sincosl_use=no
62685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62686 ac_ext=c
62687 ac_cpp='$CPP $CPPFLAGS'
62688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
62697 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
62699 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
62700 for ac_func in sincosl
62701 do :
62702 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
62703 if test "x$ac_cv_func_sincosl" = x""yes; then :
62704 cat >>confdefs.h <<_ACEOF
62705 #define HAVE_SINCOSL 1
62706 _ACEOF
62709 done
62711 else
62713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
62714 $as_echo_n "checking for _sincosl declaration... " >&6; }
62715 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
62716 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
62717 $as_echo_n "(cached) " >&6
62718 else
62721 ac_ext=cpp
62722 ac_cpp='$CXXCPP $CPPFLAGS'
62723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62728 /* end confdefs.h. */
62729 #include <math.h>
62731 main ()
62733 _sincosl(0, 0, 0);
62735 return 0;
62737 _ACEOF
62738 if ac_fn_cxx_try_compile "$LINENO"; then :
62739 glibcxx_cv_func__sincosl_use=yes
62740 else
62741 glibcxx_cv_func__sincosl_use=no
62743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62744 ac_ext=c
62745 ac_cpp='$CPP $CPPFLAGS'
62746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
62755 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
62757 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
62758 for ac_func in _sincosl
62759 do :
62760 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
62761 if test "x$ac_cv_func__sincosl" = x""yes; then :
62762 cat >>confdefs.h <<_ACEOF
62763 #define HAVE__SINCOSL 1
62764 _ACEOF
62767 done
62776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
62777 $as_echo_n "checking for finitel declaration... " >&6; }
62778 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
62779 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
62780 $as_echo_n "(cached) " >&6
62781 else
62784 ac_ext=cpp
62785 ac_cpp='$CXXCPP $CPPFLAGS'
62786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62791 /* end confdefs.h. */
62792 #include <math.h>
62793 #ifdef HAVE_IEEEFP_H
62794 #include <ieeefp.h>
62795 #endif
62798 main ()
62800 finitel(0);
62802 return 0;
62804 _ACEOF
62805 if ac_fn_cxx_try_compile "$LINENO"; then :
62806 glibcxx_cv_func_finitel_use=yes
62807 else
62808 glibcxx_cv_func_finitel_use=no
62810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62811 ac_ext=c
62812 ac_cpp='$CPP $CPPFLAGS'
62813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
62822 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
62824 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
62825 for ac_func in finitel
62826 do :
62827 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
62828 if test "x$ac_cv_func_finitel" = x""yes; then :
62829 cat >>confdefs.h <<_ACEOF
62830 #define HAVE_FINITEL 1
62831 _ACEOF
62834 done
62836 else
62838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
62839 $as_echo_n "checking for _finitel declaration... " >&6; }
62840 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
62841 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
62842 $as_echo_n "(cached) " >&6
62843 else
62846 ac_ext=cpp
62847 ac_cpp='$CXXCPP $CPPFLAGS'
62848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62853 /* end confdefs.h. */
62854 #include <math.h>
62855 #ifdef HAVE_IEEEFP_H
62856 #include <ieeefp.h>
62857 #endif
62860 main ()
62862 _finitel(0);
62864 return 0;
62866 _ACEOF
62867 if ac_fn_cxx_try_compile "$LINENO"; then :
62868 glibcxx_cv_func__finitel_use=yes
62869 else
62870 glibcxx_cv_func__finitel_use=no
62872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62873 ac_ext=c
62874 ac_cpp='$CPP $CPPFLAGS'
62875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
62884 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
62886 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
62887 for ac_func in _finitel
62888 do :
62889 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
62890 if test "x$ac_cv_func__finitel" = x""yes; then :
62891 cat >>confdefs.h <<_ACEOF
62892 #define HAVE__FINITEL 1
62893 _ACEOF
62896 done
62904 LIBS="$ac_save_LIBS"
62905 CXXFLAGS="$ac_save_CXXFLAGS"
62908 ac_test_CXXFLAGS="${CXXFLAGS+set}"
62909 ac_save_CXXFLAGS="$CXXFLAGS"
62910 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
62913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
62914 $as_echo_n "checking for strtold declaration... " >&6; }
62915 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
62916 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
62917 $as_echo_n "(cached) " >&6
62918 else
62921 ac_ext=cpp
62922 ac_cpp='$CXXCPP $CPPFLAGS'
62923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62928 /* end confdefs.h. */
62929 #include <stdlib.h>
62931 main ()
62933 strtold(0, 0);
62935 return 0;
62937 _ACEOF
62938 if ac_fn_cxx_try_compile "$LINENO"; then :
62939 glibcxx_cv_func_strtold_use=yes
62940 else
62941 glibcxx_cv_func_strtold_use=no
62943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62944 ac_ext=c
62945 ac_cpp='$CPP $CPPFLAGS'
62946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
62955 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
62956 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
62957 for ac_func in strtold
62958 do :
62959 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
62960 if test "x$ac_cv_func_strtold" = x""yes; then :
62961 cat >>confdefs.h <<_ACEOF
62962 #define HAVE_STRTOLD 1
62963 _ACEOF
62966 done
62973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
62974 $as_echo_n "checking for strtof declaration... " >&6; }
62975 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
62976 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
62977 $as_echo_n "(cached) " >&6
62978 else
62981 ac_ext=cpp
62982 ac_cpp='$CXXCPP $CPPFLAGS'
62983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62988 /* end confdefs.h. */
62989 #include <stdlib.h>
62991 main ()
62993 strtof(0, 0);
62995 return 0;
62997 _ACEOF
62998 if ac_fn_cxx_try_compile "$LINENO"; then :
62999 glibcxx_cv_func_strtof_use=yes
63000 else
63001 glibcxx_cv_func_strtof_use=no
63003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63004 ac_ext=c
63005 ac_cpp='$CPP $CPPFLAGS'
63006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
63015 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
63016 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63017 for ac_func in strtof
63018 do :
63019 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
63020 if test "x$ac_cv_func_strtof" = x""yes; then :
63021 cat >>confdefs.h <<_ACEOF
63022 #define HAVE_STRTOF 1
63023 _ACEOF
63026 done
63033 CXXFLAGS="$ac_save_CXXFLAGS"
63036 *-solaris*)
63037 case "$target" in
63038 *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
63040 # If we're not using GNU ld, then there's no point in even trying these
63041 # tests. Check for that first. We should have already tested for gld
63042 # by now (in libtool), but require it now just to be safe...
63043 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63044 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63048 # The name set by libtool depends on the version of libtool. Shame on us
63049 # for depending on an impl detail, but c'est la vie. Older versions used
63050 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63051 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63052 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63053 # set (hence we're using an older libtool), then set it.
63054 if test x${with_gnu_ld+set} != xset; then
63055 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63056 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63057 with_gnu_ld=no
63058 else
63059 with_gnu_ld=$ac_cv_prog_gnu_ld
63063 # Start by getting the version number. I think the libtool test already
63064 # does some of this, but throws away the result.
63065 glibcxx_ld_is_gold=no
63066 if test x"$with_gnu_ld" = x"yes"; then
63067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63068 $as_echo_n "checking for ld version... " >&6; }
63070 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63071 glibcxx_ld_is_gold=yes
63073 ldver=`$LD --version 2>/dev/null |
63074 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'`
63076 glibcxx_gnu_ld_version=`echo $ldver | \
63077 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63079 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63082 # Set --gc-sections.
63083 glibcxx_have_gc_sections=no
63084 if test "$glibcxx_ld_is_gold" = "yes"; then
63085 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63086 glibcxx_have_gc_sections=yes
63088 else
63089 glibcxx_gcsections_min_ld=21602
63090 if test x"$with_gnu_ld" = x"yes" &&
63091 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63092 glibcxx_have_gc_sections=yes
63095 if test "$glibcxx_have_gc_sections" = "yes"; then
63096 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63097 # NB: This flag only works reliably after 2.16.1. Configure tests
63098 # for this are difficult, so hard wire a value that should work.
63100 ac_test_CFLAGS="${CFLAGS+set}"
63101 ac_save_CFLAGS="$CFLAGS"
63102 CFLAGS='-Wl,--gc-sections'
63104 # Check for -Wl,--gc-sections
63105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63106 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63107 if test x$gcc_no_link = xyes; then
63108 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63111 /* end confdefs.h. */
63112 int one(void) { return 1; }
63113 int two(void) { return 2; }
63116 main ()
63118 two();
63120 return 0;
63122 _ACEOF
63123 if ac_fn_c_try_link "$LINENO"; then :
63124 ac_gcsections=yes
63125 else
63126 ac_gcsections=no
63128 rm -f core conftest.err conftest.$ac_objext \
63129 conftest$ac_exeext conftest.$ac_ext
63130 if test "$ac_gcsections" = "yes"; then
63131 rm -f conftest.c
63132 touch conftest.c
63133 if $CC -c conftest.c; then
63134 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63135 grep "Warning: gc-sections option ignored" > /dev/null; then
63136 ac_gcsections=no
63139 rm -f conftest.c conftest.o conftest
63141 if test "$ac_gcsections" = "yes"; then
63142 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63145 $as_echo "$ac_gcsections" >&6; }
63147 if test "$ac_test_CFLAGS" = set; then
63148 CFLAGS="$ac_save_CFLAGS"
63149 else
63150 # this is the suspicious part
63151 CFLAGS=''
63155 # Set -z,relro.
63156 # Note this is only for shared objects.
63157 ac_ld_relro=no
63158 if test x"$with_gnu_ld" = x"yes"; then
63159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63160 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63161 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63162 if test -n "$cxx_z_relo"; then
63163 OPT_LDFLAGS="-Wl,-z,relro"
63164 ac_ld_relro=yes
63166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63167 $as_echo "$ac_ld_relro" >&6; }
63170 # Set linker optimization flags.
63171 if test x"$with_gnu_ld" = x"yes"; then
63172 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63178 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
63180 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63182 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
63184 # All of the dependencies for wide character support are here, so
63185 # turn it on.
63186 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
63189 esac
63190 case "$target" in
63191 *-*-solaris2.10)
63192 # These two C99 functions are present only in Solaris >= 10
63193 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
63195 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
63198 esac
63199 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63201 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63203 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
63205 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63208 *-tpf)
63209 SECTION_FLAGS='-ffunction-sections -fdata-sections'
63212 # If we're not using GNU ld, then there's no point in even trying these
63213 # tests. Check for that first. We should have already tested for gld
63214 # by now (in libtool), but require it now just to be safe...
63215 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63216 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63220 # The name set by libtool depends on the version of libtool. Shame on us
63221 # for depending on an impl detail, but c'est la vie. Older versions used
63222 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63223 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63224 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63225 # set (hence we're using an older libtool), then set it.
63226 if test x${with_gnu_ld+set} != xset; then
63227 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63228 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63229 with_gnu_ld=no
63230 else
63231 with_gnu_ld=$ac_cv_prog_gnu_ld
63235 # Start by getting the version number. I think the libtool test already
63236 # does some of this, but throws away the result.
63237 glibcxx_ld_is_gold=no
63238 if test x"$with_gnu_ld" = x"yes"; then
63239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63240 $as_echo_n "checking for ld version... " >&6; }
63242 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63243 glibcxx_ld_is_gold=yes
63245 ldver=`$LD --version 2>/dev/null |
63246 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'`
63248 glibcxx_gnu_ld_version=`echo $ldver | \
63249 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63251 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63254 # Set --gc-sections.
63255 glibcxx_have_gc_sections=no
63256 if test "$glibcxx_ld_is_gold" = "yes"; then
63257 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63258 glibcxx_have_gc_sections=yes
63260 else
63261 glibcxx_gcsections_min_ld=21602
63262 if test x"$with_gnu_ld" = x"yes" &&
63263 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63264 glibcxx_have_gc_sections=yes
63267 if test "$glibcxx_have_gc_sections" = "yes"; then
63268 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63269 # NB: This flag only works reliably after 2.16.1. Configure tests
63270 # for this are difficult, so hard wire a value that should work.
63272 ac_test_CFLAGS="${CFLAGS+set}"
63273 ac_save_CFLAGS="$CFLAGS"
63274 CFLAGS='-Wl,--gc-sections'
63276 # Check for -Wl,--gc-sections
63277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63278 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63279 if test x$gcc_no_link = xyes; then
63280 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63283 /* end confdefs.h. */
63284 int one(void) { return 1; }
63285 int two(void) { return 2; }
63288 main ()
63290 two();
63292 return 0;
63294 _ACEOF
63295 if ac_fn_c_try_link "$LINENO"; then :
63296 ac_gcsections=yes
63297 else
63298 ac_gcsections=no
63300 rm -f core conftest.err conftest.$ac_objext \
63301 conftest$ac_exeext conftest.$ac_ext
63302 if test "$ac_gcsections" = "yes"; then
63303 rm -f conftest.c
63304 touch conftest.c
63305 if $CC -c conftest.c; then
63306 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63307 grep "Warning: gc-sections option ignored" > /dev/null; then
63308 ac_gcsections=no
63311 rm -f conftest.c conftest.o conftest
63313 if test "$ac_gcsections" = "yes"; then
63314 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63317 $as_echo "$ac_gcsections" >&6; }
63319 if test "$ac_test_CFLAGS" = set; then
63320 CFLAGS="$ac_save_CFLAGS"
63321 else
63322 # this is the suspicious part
63323 CFLAGS=''
63327 # Set -z,relro.
63328 # Note this is only for shared objects.
63329 ac_ld_relro=no
63330 if test x"$with_gnu_ld" = x"yes"; then
63331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63332 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63333 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63334 if test -n "$cxx_z_relo"; then
63335 OPT_LDFLAGS="-Wl,-z,relro"
63336 ac_ld_relro=yes
63338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63339 $as_echo "$ac_ld_relro" >&6; }
63342 # Set linker optimization flags.
63343 if test x"$with_gnu_ld" = x"yes"; then
63344 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63350 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63352 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
63354 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
63356 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
63358 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
63360 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
63362 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63364 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63366 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
63368 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
63370 if test x"long_double_math_on_this_cpu" = x"yes"; then
63371 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
63373 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
63375 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
63377 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
63381 *-vxworks)
63382 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
63384 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
63386 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
63388 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
63390 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
63392 $as_echo "#define HAVE_COSF 1" >>confdefs.h
63394 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
63396 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
63398 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
63400 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
63402 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
63404 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63406 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
63408 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
63410 $as_echo "#define HAVE_POWF 1" >>confdefs.h
63412 $as_echo "#define HAVE_SINF 1" >>confdefs.h
63414 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
63416 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
63418 $as_echo "#define HAVE_TANF 1" >>confdefs.h
63420 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
63424 as_fn_error "No support for this host/target combination." "$LINENO" 5
63426 esac
63430 # At some point, we should differentiate between architectures
63431 # like x86, which have long double versions, and alpha/powerpc/etc.,
63432 # which don't. For the time being, punt.
63433 if test x"long_double_math_on_this_cpu" = x"yes"; then
63434 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
63436 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
63438 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
63440 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
63442 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
63444 $as_echo "#define HAVE_COSL 1" >>confdefs.h
63446 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
63448 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
63450 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
63452 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
63454 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
63456 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
63458 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
63460 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
63462 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
63464 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
63466 $as_echo "#define HAVE_POWL 1" >>confdefs.h
63468 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
63470 $as_echo "#define HAVE_SINL 1" >>confdefs.h
63472 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
63474 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
63476 $as_echo "#define HAVE_TANL 1" >>confdefs.h
63478 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
63483 # Check for _Unwind_GetIPInfo.
63486 # Check whether --with-system-libunwind was given.
63487 if test "${with_system_libunwind+set}" = set; then :
63488 withval=$with_system_libunwind;
63491 # If system-libunwind was not specifically set, pick a default setting.
63492 if test x$with_system_libunwind = x; then
63493 case ${target} in
63494 ia64-*-hpux*) with_system_libunwind=yes ;;
63495 *) with_system_libunwind=no ;;
63496 esac
63498 # Based on system-libunwind and target, do we have ipinfo?
63499 if test x$with_system_libunwind = xyes; then
63500 case ${target} in
63501 ia64-*-*) have_unwind_getipinfo=no ;;
63502 *) have_unwind_getipinfo=yes ;;
63503 esac
63504 else
63505 # Darwin before version 9 does not have _Unwind_GetIPInfo.
63507 case ${target} in
63508 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
63509 *) have_unwind_getipinfo=yes ;;
63510 esac
63514 if test x$have_unwind_getipinfo = xyes; then
63516 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
63522 # Check whether --enable-linux-futex was given.
63523 if test "${enable_linux_futex+set}" = set; then :
63524 enableval=$enable_linux_futex;
63525 case "$enableval" in
63526 yes|no|default) ;;
63527 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
63528 esac
63530 else
63531 enable_linux_futex=default
63535 case "$target" in
63536 *-linux*)
63537 case "$enable_linux_futex" in
63538 default)
63539 # If headers don't have gettid/futex syscalls definition, then
63540 # default to no, otherwise there will be compile time failures.
63541 # Otherwise, default to yes. If we don't detect we are
63542 # compiled/linked against NPTL and not cross-compiling, check
63543 # if programs are run by default against NPTL and if not, issue
63544 # a warning.
63545 enable_linux_futex=no
63546 if test x$gcc_no_link = xyes; then
63547 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63550 /* end confdefs.h. */
63551 #include <sys/syscall.h>
63552 int lk;
63554 main ()
63556 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
63558 return 0;
63560 _ACEOF
63561 if ac_fn_c_try_link "$LINENO"; then :
63562 save_LIBS="$LIBS"
63563 LIBS="-lpthread $LIBS"
63564 if test x$gcc_no_link = xyes; then
63565 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63568 /* end confdefs.h. */
63569 #ifndef _GNU_SOURCE
63570 #define _GNU_SOURCE 1
63571 #endif
63572 #include <pthread.h>
63573 pthread_t th; void *status;
63575 main ()
63577 pthread_tryjoin_np (th, &status);
63579 return 0;
63581 _ACEOF
63582 if ac_fn_c_try_link "$LINENO"; then :
63583 enable_linux_futex=yes
63584 else
63585 if test x$cross_compiling = xno; then
63586 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
63587 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
63588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
63589 If so, please configure with --disable-linux-futex" >&5
63590 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
63591 If so, please configure with --disable-linux-futex" >&2;}
63594 enable_linux_futex=yes
63596 rm -f core conftest.err conftest.$ac_objext \
63597 conftest$ac_exeext conftest.$ac_ext
63598 LIBS="$save_LIBS"
63600 rm -f core conftest.err conftest.$ac_objext \
63601 conftest$ac_exeext conftest.$ac_ext
63603 yes)
63604 if test x$gcc_no_link = xyes; then
63605 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63608 /* end confdefs.h. */
63609 #include <sys/syscall.h>
63610 int lk;
63612 main ()
63614 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
63616 return 0;
63618 _ACEOF
63619 if ac_fn_c_try_link "$LINENO"; then :
63621 else
63622 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
63624 rm -f core conftest.err conftest.$ac_objext \
63625 conftest$ac_exeext conftest.$ac_ext
63627 esac
63630 enable_linux_futex=no
63632 esac
63633 if test x$enable_linux_futex = xyes; then
63635 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
63642 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
63644 acx_cv_header_stdint=stddef.h
63645 acx_cv_header_stdint_kind="(already complete)"
63646 for i in stdint.h $inttype_headers; do
63647 unset ac_cv_type_uintptr_t
63648 unset ac_cv_type_uintmax_t
63649 unset ac_cv_type_int_least32_t
63650 unset ac_cv_type_int_fast32_t
63651 unset ac_cv_type_uint64_t
63652 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
63653 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
63654 #include <$i>
63656 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
63657 acx_cv_header_stdint=$i
63658 else
63659 continue
63662 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
63663 #include <$i>
63665 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
63667 else
63668 acx_cv_header_stdint_kind="(mostly complete)"
63671 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
63672 #include <$i>
63674 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
63676 else
63677 acx_cv_header_stdint_kind="(mostly complete)"
63680 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
63681 #include <$i>
63683 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
63685 else
63686 acx_cv_header_stdint_kind="(mostly complete)"
63689 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
63690 #include <$i>
63692 if test "x$ac_cv_type_uint64_t" = x""yes; then :
63694 else
63695 acx_cv_header_stdint_kind="(lacks uint64_t)"
63698 break
63699 done
63700 if test "$acx_cv_header_stdint" = stddef.h; then
63701 acx_cv_header_stdint_kind="(lacks uintmax_t)"
63702 for i in stdint.h $inttype_headers; do
63703 unset ac_cv_type_uintptr_t
63704 unset ac_cv_type_uint32_t
63705 unset ac_cv_type_uint64_t
63706 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
63707 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
63708 #include <$i>
63710 if test "x$ac_cv_type_uint32_t" = x""yes; then :
63711 acx_cv_header_stdint=$i
63712 else
63713 continue
63716 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
63717 #include <$i>
63719 if test "x$ac_cv_type_uint64_t" = x""yes; then :
63723 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
63724 #include <$i>
63726 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
63730 break
63731 done
63733 if test "$acx_cv_header_stdint" = stddef.h; then
63734 acx_cv_header_stdint_kind="(u_intXX_t style)"
63735 for i in sys/types.h $inttype_headers; do
63736 unset ac_cv_type_u_int32_t
63737 unset ac_cv_type_u_int64_t
63738 $as_echo_n "looking for u_intXX_t types in $i, " >&6
63739 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
63740 #include <$i>
63742 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
63743 acx_cv_header_stdint=$i
63744 else
63745 continue
63748 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
63749 #include <$i>
63751 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
63755 break
63756 done
63758 if test "$acx_cv_header_stdint" = stddef.h; then
63759 acx_cv_header_stdint_kind="(using manual detection)"
63762 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
63763 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
63764 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
63765 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
63766 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
63768 # ----------------- Summarize what we found so far
63770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
63771 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
63773 case `$as_basename -- include/gstdint.h ||
63774 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
63775 Xinclude/gstdint.h : 'X\(//\)$' \| \
63776 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
63777 $as_echo X/include/gstdint.h |
63778 sed '/^.*\/\([^/][^/]*\)\/*$/{
63779 s//\1/
63782 /^X\/\(\/\/\)$/{
63783 s//\1/
63786 /^X\/\(\/\).*/{
63787 s//\1/
63790 s/.*/./; q'` in
63791 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
63792 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
63793 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
63794 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
63795 *) ;;
63796 esac
63798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
63799 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
63801 # ----------------- done included file, check C basic types --------
63803 # Lacking an uintptr_t? Test size of void *
63804 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
63805 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
63806 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
63807 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
63808 # This bug is HP SR number 8606223364.
63809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
63810 $as_echo_n "checking size of void *... " >&6; }
63811 if test "${ac_cv_sizeof_void_p+set}" = set; then :
63812 $as_echo_n "(cached) " >&6
63813 else
63814 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
63816 else
63817 if test "$ac_cv_type_void_p" = yes; then
63818 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
63819 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
63820 { as_fn_set_status 77
63821 as_fn_error "cannot compute sizeof (void *)
63822 See \`config.log' for more details." "$LINENO" 5; }; }
63823 else
63824 ac_cv_sizeof_void_p=0
63829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
63830 $as_echo "$ac_cv_sizeof_void_p" >&6; }
63834 cat >>confdefs.h <<_ACEOF
63835 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
63836 _ACEOF
63839 esac
63841 # Lacking an uint64_t? Test size of long
63842 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
63843 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
63844 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
63845 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
63846 # This bug is HP SR number 8606223364.
63847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
63848 $as_echo_n "checking size of long... " >&6; }
63849 if test "${ac_cv_sizeof_long+set}" = set; then :
63850 $as_echo_n "(cached) " >&6
63851 else
63852 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
63854 else
63855 if test "$ac_cv_type_long" = yes; then
63856 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
63857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
63858 { as_fn_set_status 77
63859 as_fn_error "cannot compute sizeof (long)
63860 See \`config.log' for more details." "$LINENO" 5; }; }
63861 else
63862 ac_cv_sizeof_long=0
63867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
63868 $as_echo "$ac_cv_sizeof_long" >&6; }
63872 cat >>confdefs.h <<_ACEOF
63873 #define SIZEOF_LONG $ac_cv_sizeof_long
63874 _ACEOF
63877 esac
63879 if test $acx_cv_header_stdint = stddef.h; then
63880 # Lacking a good header? Test size of everything and deduce all types.
63881 # The cast to long int works around a bug in the HP C Compiler
63882 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
63883 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
63884 # This bug is HP SR number 8606223364.
63885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
63886 $as_echo_n "checking size of int... " >&6; }
63887 if test "${ac_cv_sizeof_int+set}" = set; then :
63888 $as_echo_n "(cached) " >&6
63889 else
63890 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
63892 else
63893 if test "$ac_cv_type_int" = yes; then
63894 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
63895 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
63896 { as_fn_set_status 77
63897 as_fn_error "cannot compute sizeof (int)
63898 See \`config.log' for more details." "$LINENO" 5; }; }
63899 else
63900 ac_cv_sizeof_int=0
63905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
63906 $as_echo "$ac_cv_sizeof_int" >&6; }
63910 cat >>confdefs.h <<_ACEOF
63911 #define SIZEOF_INT $ac_cv_sizeof_int
63912 _ACEOF
63915 # The cast to long int works around a bug in the HP C Compiler
63916 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
63917 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
63918 # This bug is HP SR number 8606223364.
63919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
63920 $as_echo_n "checking size of short... " >&6; }
63921 if test "${ac_cv_sizeof_short+set}" = set; then :
63922 $as_echo_n "(cached) " >&6
63923 else
63924 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
63926 else
63927 if test "$ac_cv_type_short" = yes; then
63928 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
63929 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
63930 { as_fn_set_status 77
63931 as_fn_error "cannot compute sizeof (short)
63932 See \`config.log' for more details." "$LINENO" 5; }; }
63933 else
63934 ac_cv_sizeof_short=0
63939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
63940 $as_echo "$ac_cv_sizeof_short" >&6; }
63944 cat >>confdefs.h <<_ACEOF
63945 #define SIZEOF_SHORT $ac_cv_sizeof_short
63946 _ACEOF
63949 # The cast to long int works around a bug in the HP C Compiler
63950 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
63951 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
63952 # This bug is HP SR number 8606223364.
63953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
63954 $as_echo_n "checking size of char... " >&6; }
63955 if test "${ac_cv_sizeof_char+set}" = set; then :
63956 $as_echo_n "(cached) " >&6
63957 else
63958 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
63960 else
63961 if test "$ac_cv_type_char" = yes; then
63962 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
63963 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
63964 { as_fn_set_status 77
63965 as_fn_error "cannot compute sizeof (char)
63966 See \`config.log' for more details." "$LINENO" 5; }; }
63967 else
63968 ac_cv_sizeof_char=0
63973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
63974 $as_echo "$ac_cv_sizeof_char" >&6; }
63978 cat >>confdefs.h <<_ACEOF
63979 #define SIZEOF_CHAR $ac_cv_sizeof_char
63980 _ACEOF
63984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
63985 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
63986 case "$ac_cv_sizeof_char" in
63987 1) acx_cv_type_int8_t=char ;;
63988 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
63989 esac
63990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
63991 $as_echo "$acx_cv_type_int8_t" >&6; }
63993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
63994 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
63995 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
63996 2:*) acx_cv_type_int16_t=int ;;
63997 *:2) acx_cv_type_int16_t=short ;;
63998 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
63999 esac
64000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
64001 $as_echo "$acx_cv_type_int16_t" >&6; }
64003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
64004 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
64005 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
64006 4:*) acx_cv_type_int32_t=int ;;
64007 *:4) acx_cv_type_int32_t=long ;;
64008 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
64009 esac
64010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
64011 $as_echo "$acx_cv_type_int32_t" >&6; }
64014 # These tests are here to make the output prettier
64016 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
64017 case "$ac_cv_sizeof_long" in
64018 8) acx_cv_type_int64_t=long ;;
64019 esac
64020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
64021 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
64022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
64023 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
64026 # Now we can use the above types
64028 if test "$ac_cv_type_uintptr_t" != yes; then
64029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
64030 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
64031 case $ac_cv_sizeof_void_p in
64032 2) acx_cv_type_intptr_t=int16_t ;;
64033 4) acx_cv_type_intptr_t=int32_t ;;
64034 8) acx_cv_type_intptr_t=int64_t ;;
64035 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
64036 esac
64037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
64038 $as_echo "$acx_cv_type_intptr_t" >&6; }
64041 # ----------------- done all checks, emit header -------------
64042 ac_config_commands="$ac_config_commands include/gstdint.h"
64047 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
64049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
64050 $as_echo_n "checking for GNU c++filt... " >&6; }
64051 if test "${ac_cv_path_CXXFILT+set}" = set; then :
64052 $as_echo_n "(cached) " >&6
64053 else
64054 if test -z "$CXXFILT"; then
64055 ac_path_CXXFILT_found=false
64056 # Loop through the user's path and test for each of PROGNAME-LIST
64057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64058 for as_dir in $PATH
64060 IFS=$as_save_IFS
64061 test -z "$as_dir" && as_dir=.
64062 for ac_prog in c++filt gc++filt; do
64063 for ac_exec_ext in '' $ac_executable_extensions; do
64064 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
64065 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
64066 # Check for GNU $ac_path_CXXFILT
64067 case `"$ac_path_CXXFILT" --version 2>&1` in
64068 *GNU*)
64069 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
64070 esac
64072 $ac_path_CXXFILT_found && break 3
64073 done
64074 done
64075 done
64076 IFS=$as_save_IFS
64077 if test -z "$ac_cv_path_CXXFILT"; then
64080 else
64081 ac_cv_path_CXXFILT=$CXXFILT
64085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
64086 $as_echo "$ac_cv_path_CXXFILT" >&6; }
64087 CXXFILT=$ac_cv_path_CXXFILT
64091 # Check whether --enable-symvers was given.
64092 if test "${enable_symvers+set}" = set; then :
64093 enableval=$enable_symvers;
64094 case "$enableval" in
64095 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
64096 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
64097 esac
64099 else
64100 enable_symvers=yes
64105 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
64106 # don't know enough about $LD to do tricks...
64108 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
64109 # with extern "C++" in version scripts.
64112 # Turn a 'yes' into a suitable default.
64113 if test x$enable_symvers = xyes ; then
64114 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
64115 enable_symvers=no
64116 else
64117 if test $with_gnu_ld = yes ; then
64118 case ${target_os} in
64119 hpux*)
64120 enable_symvers=no ;;
64122 enable_symvers=gnu ;;
64123 esac
64124 else
64125 case ${target_os} in
64126 darwin*)
64127 enable_symvers=darwin ;;
64128 # Sun symbol versioning exists since Solaris 2.5.
64129 solaris2.[5-9]* | solaris2.1[0-9]*)
64130 # make_sunver.pl needs GNU c++filt to support extern "C++" in
64131 # version scripts, so disable symbol versioning if none can be
64132 # found.
64133 if test -z "$ac_cv_path_CXXFILT"; then
64134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64135 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
64137 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
64138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64139 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64140 enable_symvers=no
64141 else
64142 enable_symvers=sun
64146 enable_symvers=no ;;
64147 esac
64152 # Check to see if 'darwin' or 'darwin-export' can win.
64153 if test x$enable_symvers = xdarwin-export ; then
64154 enable_symvers=darwin
64157 # Check if 'sun' was requested on non-Solaris 2 platforms.
64158 if test x$enable_symvers = xsun ; then
64159 case ${target_os} in
64160 solaris2*)
64161 # All fine.
64164 # Unlikely to work.
64165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64166 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
64168 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
64169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64170 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64171 enable_symvers=no
64173 esac
64176 # Check to see if 'gnu' can win.
64177 if test $enable_symvers = gnu ||
64178 test $enable_symvers = gnu-versioned-namespace ||
64179 test $enable_symvers = sun; then
64180 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
64181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
64182 $as_echo_n "checking for shared libgcc... " >&6; }
64183 ac_save_CFLAGS="$CFLAGS"
64184 CFLAGS=' -lgcc_s'
64185 if test x$gcc_no_link = xyes; then
64186 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64189 /* end confdefs.h. */
64192 main ()
64194 return 0;
64196 return 0;
64198 _ACEOF
64199 if ac_fn_c_try_link "$LINENO"; then :
64200 glibcxx_shared_libgcc=yes
64201 else
64202 glibcxx_shared_libgcc=no
64204 rm -f core conftest.err conftest.$ac_objext \
64205 conftest$ac_exeext conftest.$ac_ext
64206 CFLAGS="$ac_save_CFLAGS"
64207 if test $glibcxx_shared_libgcc = no; then
64208 cat > conftest.c <<EOF
64209 int main (void) { return 0; }
64211 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
64212 -shared -shared-libgcc -o conftest.so \
64213 conftest.c -v 2>&1 >/dev/null \
64214 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
64215 rm -f conftest.c conftest.so
64216 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
64217 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
64218 if test x$gcc_no_link = xyes; then
64219 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64222 /* end confdefs.h. */
64225 main ()
64227 return 0;
64229 return 0;
64231 _ACEOF
64232 if ac_fn_c_try_link "$LINENO"; then :
64233 glibcxx_shared_libgcc=yes
64235 rm -f core conftest.err conftest.$ac_objext \
64236 conftest$ac_exeext conftest.$ac_ext
64237 CFLAGS="$ac_save_CFLAGS"
64240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
64241 $as_echo "$glibcxx_shared_libgcc" >&6; }
64243 # For GNU ld, we need at least this version. The format is described in
64244 # GLIBCXX_CHECK_LINKER_FEATURES above.
64245 glibcxx_min_gnu_ld_version=21400
64247 # If no shared libgcc, can't win.
64248 if test $glibcxx_shared_libgcc != yes; then
64249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64250 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
64252 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
64253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64254 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64255 enable_symvers=no
64256 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
64257 : All interesting versions of Sun ld support sun style symbol versioning.
64258 elif test $with_gnu_ld != yes ; then
64259 # just fail for now
64260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64261 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
64263 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
64264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64265 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64266 enable_symvers=no
64267 elif test $glibcxx_ld_is_gold = yes ; then
64268 : All versions of gold support symbol versioning.
64269 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
64270 # The right tools, the right setup, but too old. Fallbacks?
64271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
64272 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
64273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
64274 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
64275 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
64276 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
64277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
64278 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
64279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64280 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64281 enable_symvers=no
64285 # Everything parsed; figure out what file to use.
64286 case $enable_symvers in
64288 SYMVER_FILE=config/abi/pre/none.ver
64290 gnu)
64291 SYMVER_FILE=config/abi/pre/gnu.ver
64293 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
64296 gnu-versioned-namespace)
64297 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
64299 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
64302 darwin)
64303 SYMVER_FILE=config/abi/pre/gnu.ver
64305 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
64308 sun)
64309 SYMVER_FILE=config/abi/pre/gnu.ver
64311 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
64314 esac
64316 if test x$enable_symvers != xno ; then
64318 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
64322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
64323 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
64324 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
64325 $as_echo_n "(cached) " >&6
64326 else
64328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64329 /* end confdefs.h. */
64330 void foo (void); __asm (".symver foo, bar@SYMVER");
64332 main ()
64336 return 0;
64338 _ACEOF
64339 if ac_fn_c_try_compile "$LINENO"; then :
64340 glibcxx_cv_have_as_symver_directive=yes
64341 else
64342 glibcxx_cv_have_as_symver_directive=no
64344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
64347 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
64348 if test $glibcxx_cv_have_as_symver_directive = yes; then
64350 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
64361 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
64362 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
64364 if test $enable_symvers != no ; then
64365 case ${target_os} in
64366 # The Solaris 2 runtime linker doesn't support the GNU extension of
64367 # binding the same symbol to different versions
64368 solaris2*)
64369 symvers_renaming=no ;;
64370 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
64373 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
64375 symvers_renaming=yes ;;
64376 esac
64377 else
64378 symvers_renaming=no
64382 # Now, set up compatibility support, if any.
64383 # In addition, need this to deal with std::size_t mangling in
64384 # src/compatibility.cc. In a perfect world, could use
64385 # typeid(std::size_t).name()[0] to do direct substitution.
64386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
64387 $as_echo_n "checking for size_t as unsigned int... " >&6; }
64388 ac_save_CFLAGS="$CFLAGS"
64389 CFLAGS="-Werror"
64390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64391 /* end confdefs.h. */
64394 main ()
64396 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
64398 return 0;
64400 _ACEOF
64401 if ac_fn_c_try_compile "$LINENO"; then :
64402 glibcxx_size_t_is_i=yes
64403 else
64404 glibcxx_size_t_is_i=no
64406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64407 CFLAGS=$ac_save_CFLAGS
64408 if test "$glibcxx_size_t_is_i" = yes; then
64410 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
64413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
64414 $as_echo "$glibcxx_size_t_is_i" >&6; }
64416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
64417 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
64418 ac_save_CFLAGS="$CFLAGS"
64419 CFLAGS="-Werror"
64420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64421 /* end confdefs.h. */
64424 main ()
64426 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
64428 return 0;
64430 _ACEOF
64431 if ac_fn_c_try_compile "$LINENO"; then :
64432 glibcxx_ptrdiff_t_is_i=yes
64433 else
64434 glibcxx_ptrdiff_t_is_i=no
64436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64437 CFLAGS=$ac_save_CFLAGS
64438 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
64440 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
64443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
64444 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
64447 # Check whether --enable-visibility was given.
64448 if test "${enable_visibility+set}" = set; then :
64449 enableval=$enable_visibility;
64450 case "$enableval" in
64451 yes|no) ;;
64452 *) as_fn_error "Argument to enable/disable visibility must be yes or no" "$LINENO" 5 ;;
64453 esac
64455 else
64456 enable_visibility=yes
64461 if test x$enable_visibility = xyes ; then
64462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
64463 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
64464 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
64465 $as_echo_n "(cached) " >&6
64466 else
64468 save_CFLAGS="$CFLAGS"
64469 CFLAGS="$CFLAGS -Werror"
64470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64471 /* end confdefs.h. */
64472 void __attribute__((visibility("hidden"))) foo(void) { }
64474 main ()
64478 return 0;
64480 _ACEOF
64481 if ac_fn_c_try_compile "$LINENO"; then :
64482 glibcxx_cv_have_attribute_visibility=yes
64483 else
64484 glibcxx_cv_have_attribute_visibility=no
64486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64487 CFLAGS="$save_CFLAGS"
64489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
64490 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
64491 if test $glibcxx_cv_have_attribute_visibility = no; then
64492 enable_visibility=no
64497 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_visibility" >&5
64498 $as_echo "$as_me: visibility supported: $enable_visibility" >&6;}
64501 ac_ldbl_compat=no
64502 case "$target" in
64503 powerpc*-*-linux* | \
64504 sparc*-*-linux* | \
64505 s390*-*-linux* | \
64506 alpha*-*-linux*)
64507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64508 /* end confdefs.h. */
64511 main ()
64514 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
64515 #error no need for long double compatibility
64516 #endif
64519 return 0;
64521 _ACEOF
64522 if ac_fn_c_try_compile "$LINENO"; then :
64523 ac_ldbl_compat=yes
64524 else
64525 ac_ldbl_compat=no
64527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64528 if test "$ac_ldbl_compat" = yes; then
64530 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
64532 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
64534 esac
64537 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
64539 if $GLIBCXX_IS_NATIVE ; then
64540 # Do checks for resource limit functions.
64542 setrlimit_have_headers=yes
64543 for ac_header in unistd.h sys/time.h sys/resource.h
64544 do :
64545 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
64546 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
64547 eval as_val=\$$as_ac_Header
64548 if test "x$as_val" = x""yes; then :
64549 cat >>confdefs.h <<_ACEOF
64550 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
64551 _ACEOF
64553 else
64554 setrlimit_have_headers=no
64557 done
64559 # If don't have the headers, then we can't run the tests now, and we
64560 # won't be seeing any of these during testsuite compilation.
64561 if test $setrlimit_have_headers = yes; then
64562 # Can't do these in a loop, else the resulting syntax is wrong.
64564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
64565 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
64566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64567 /* end confdefs.h. */
64568 #include <unistd.h>
64569 #include <sys/time.h>
64570 #include <sys/resource.h>
64573 main ()
64575 int f = RLIMIT_DATA ;
64577 return 0;
64579 _ACEOF
64580 if ac_fn_c_try_compile "$LINENO"; then :
64581 glibcxx_mresult=1
64582 else
64583 glibcxx_mresult=0
64585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64587 cat >>confdefs.h <<_ACEOF
64588 #define HAVE_LIMIT_DATA $glibcxx_mresult
64589 _ACEOF
64591 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64593 $as_echo "$res" >&6; }
64596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
64597 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
64598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64599 /* end confdefs.h. */
64600 #include <unistd.h>
64601 #include <sys/time.h>
64602 #include <sys/resource.h>
64605 main ()
64607 int f = RLIMIT_RSS ;
64609 return 0;
64611 _ACEOF
64612 if ac_fn_c_try_compile "$LINENO"; then :
64613 glibcxx_mresult=1
64614 else
64615 glibcxx_mresult=0
64617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64619 cat >>confdefs.h <<_ACEOF
64620 #define HAVE_LIMIT_RSS $glibcxx_mresult
64621 _ACEOF
64623 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64625 $as_echo "$res" >&6; }
64628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
64629 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
64630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64631 /* end confdefs.h. */
64632 #include <unistd.h>
64633 #include <sys/time.h>
64634 #include <sys/resource.h>
64637 main ()
64639 int f = RLIMIT_VMEM ;
64641 return 0;
64643 _ACEOF
64644 if ac_fn_c_try_compile "$LINENO"; then :
64645 glibcxx_mresult=1
64646 else
64647 glibcxx_mresult=0
64649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64651 cat >>confdefs.h <<_ACEOF
64652 #define HAVE_LIMIT_VMEM $glibcxx_mresult
64653 _ACEOF
64655 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64657 $as_echo "$res" >&6; }
64660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
64661 $as_echo_n "checking for RLIMIT_AS... " >&6; }
64662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64663 /* end confdefs.h. */
64664 #include <unistd.h>
64665 #include <sys/time.h>
64666 #include <sys/resource.h>
64669 main ()
64671 int f = RLIMIT_AS ;
64673 return 0;
64675 _ACEOF
64676 if ac_fn_c_try_compile "$LINENO"; then :
64677 glibcxx_mresult=1
64678 else
64679 glibcxx_mresult=0
64681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64683 cat >>confdefs.h <<_ACEOF
64684 #define HAVE_LIMIT_AS $glibcxx_mresult
64685 _ACEOF
64687 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64689 $as_echo "$res" >&6; }
64692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
64693 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
64694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64695 /* end confdefs.h. */
64696 #include <unistd.h>
64697 #include <sys/time.h>
64698 #include <sys/resource.h>
64701 main ()
64703 int f = RLIMIT_FSIZE ;
64705 return 0;
64707 _ACEOF
64708 if ac_fn_c_try_compile "$LINENO"; then :
64709 glibcxx_mresult=1
64710 else
64711 glibcxx_mresult=0
64713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64715 cat >>confdefs.h <<_ACEOF
64716 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
64717 _ACEOF
64719 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64721 $as_echo "$res" >&6; }
64724 # Check for rlimit, setrlimit.
64725 if test "${glibcxx_cv_setrlimit+set}" = set; then :
64726 $as_echo_n "(cached) " >&6
64727 else
64729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64730 /* end confdefs.h. */
64731 #include <unistd.h>
64732 #include <sys/time.h>
64733 #include <sys/resource.h>
64736 main ()
64738 struct rlimit r;
64739 setrlimit(0, &r);
64741 return 0;
64743 _ACEOF
64744 if ac_fn_c_try_compile "$LINENO"; then :
64745 glibcxx_cv_setrlimit=yes
64746 else
64747 glibcxx_cv_setrlimit=no
64749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
64756 $as_echo_n "checking for testsuite resource limits support... " >&6; }
64757 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
64758 ac_res_limits=yes
64760 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
64762 else
64763 ac_res_limits=no
64765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
64766 $as_echo "$ac_res_limits" >&6; }
64769 # Look for setenv, so that extended locale tests can be performed.
64771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
64772 $as_echo_n "checking for setenv declaration... " >&6; }
64773 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
64774 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
64775 $as_echo_n "(cached) " >&6
64776 else
64779 ac_ext=cpp
64780 ac_cpp='$CXXCPP $CPPFLAGS'
64781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64786 /* end confdefs.h. */
64787 #include <stdlib.h>
64789 main ()
64791 setenv(0, 0, 0);
64793 return 0;
64795 _ACEOF
64796 if ac_fn_cxx_try_compile "$LINENO"; then :
64797 glibcxx_cv_func_setenv_use=yes
64798 else
64799 glibcxx_cv_func_setenv_use=no
64801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64802 ac_ext=c
64803 ac_cpp='$CPP $CPPFLAGS'
64804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
64813 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
64814 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
64815 for ac_func in setenv
64816 do :
64817 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
64818 if test "x$ac_cv_func_setenv" = x""yes; then :
64819 cat >>confdefs.h <<_ACEOF
64820 #define HAVE_SETENV 1
64821 _ACEOF
64824 done
64830 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
64831 test $enable_symvers != no; then
64832 case "$host" in
64833 *-*-cygwin*)
64834 enable_abi_check=no ;;
64836 enable_abi_check=yes ;;
64837 esac
64838 else
64839 # Only build this as native, since automake does not understand
64840 # CXX_FOR_BUILD.
64841 enable_abi_check=no
64844 # Export file names for ABI checking.
64845 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
64849 # Define documentation rules conditionally.
64851 # See if makeinfo has been installed and is modern enough
64852 # that we can use it.
64854 # Extract the first word of "makeinfo", so it can be a program name with args.
64855 set dummy makeinfo; ac_word=$2
64856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
64857 $as_echo_n "checking for $ac_word... " >&6; }
64858 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
64859 $as_echo_n "(cached) " >&6
64860 else
64861 if test -n "$MAKEINFO"; then
64862 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
64863 else
64864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64865 for as_dir in $PATH
64867 IFS=$as_save_IFS
64868 test -z "$as_dir" && as_dir=.
64869 for ac_exec_ext in '' $ac_executable_extensions; do
64870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
64871 ac_cv_prog_MAKEINFO="makeinfo"
64872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
64873 break 2
64875 done
64876 done
64877 IFS=$as_save_IFS
64881 MAKEINFO=$ac_cv_prog_MAKEINFO
64882 if test -n "$MAKEINFO"; then
64883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
64884 $as_echo "$MAKEINFO" >&6; }
64885 else
64886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
64887 $as_echo "no" >&6; }
64891 if test -n "$MAKEINFO"; then
64892 # Found it, now check the version.
64893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
64894 $as_echo_n "checking for modern makeinfo... " >&6; }
64895 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
64896 $as_echo_n "(cached) " >&6
64897 else
64898 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
64899 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
64901 case $ac_prog_version in
64902 '') gcc_cv_prog_makeinfo_modern=no;;
64903 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
64904 *) gcc_cv_prog_makeinfo_modern=no;;
64905 esac
64908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
64909 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
64910 else
64911 gcc_cv_prog_makeinfo_modern=no
64913 if test $gcc_cv_prog_makeinfo_modern = no; then
64914 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
64917 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
64918 BUILD_INFO_TRUE=
64919 BUILD_INFO_FALSE='#'
64920 else
64921 BUILD_INFO_TRUE='#'
64922 BUILD_INFO_FALSE=
64926 # Check for doxygen
64927 # Extract the first word of "doxygen", so it can be a program name with args.
64928 set dummy doxygen; ac_word=$2
64929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
64930 $as_echo_n "checking for $ac_word... " >&6; }
64931 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
64932 $as_echo_n "(cached) " >&6
64933 else
64934 if test -n "$DOXYGEN"; then
64935 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
64936 else
64937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64938 for as_dir in $PATH
64940 IFS=$as_save_IFS
64941 test -z "$as_dir" && as_dir=.
64942 for ac_exec_ext in '' $ac_executable_extensions; do
64943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
64944 ac_cv_prog_DOXYGEN="yes"
64945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
64946 break 2
64948 done
64949 done
64950 IFS=$as_save_IFS
64952 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
64955 DOXYGEN=$ac_cv_prog_DOXYGEN
64956 if test -n "$DOXYGEN"; then
64957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
64958 $as_echo "$DOXYGEN" >&6; }
64959 else
64960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
64961 $as_echo "no" >&6; }
64965 # Extract the first word of "dot", so it can be a program name with args.
64966 set dummy dot; ac_word=$2
64967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
64968 $as_echo_n "checking for $ac_word... " >&6; }
64969 if test "${ac_cv_prog_DOT+set}" = set; then :
64970 $as_echo_n "(cached) " >&6
64971 else
64972 if test -n "$DOT"; then
64973 ac_cv_prog_DOT="$DOT" # Let the user override the test.
64974 else
64975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64976 for as_dir in $PATH
64978 IFS=$as_save_IFS
64979 test -z "$as_dir" && as_dir=.
64980 for ac_exec_ext in '' $ac_executable_extensions; do
64981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
64982 ac_cv_prog_DOT="yes"
64983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
64984 break 2
64986 done
64987 done
64988 IFS=$as_save_IFS
64990 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
64993 DOT=$ac_cv_prog_DOT
64994 if test -n "$DOT"; then
64995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
64996 $as_echo "$DOT" >&6; }
64997 else
64998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
64999 $as_echo "no" >&6; }
65004 # Check for docbook
65005 # Extract the first word of "xsltproc", so it can be a program name with args.
65006 set dummy xsltproc; ac_word=$2
65007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65008 $as_echo_n "checking for $ac_word... " >&6; }
65009 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
65010 $as_echo_n "(cached) " >&6
65011 else
65012 if test -n "$XSLTPROC"; then
65013 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
65014 else
65015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65016 for as_dir in $PATH
65018 IFS=$as_save_IFS
65019 test -z "$as_dir" && as_dir=.
65020 for ac_exec_ext in '' $ac_executable_extensions; do
65021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65022 ac_cv_prog_XSLTPROC="yes"
65023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65024 break 2
65026 done
65027 done
65028 IFS=$as_save_IFS
65030 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
65033 XSLTPROC=$ac_cv_prog_XSLTPROC
65034 if test -n "$XSLTPROC"; then
65035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
65036 $as_echo "$XSLTPROC" >&6; }
65037 else
65038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65039 $as_echo "no" >&6; }
65043 # Extract the first word of "xmllint", so it can be a program name with args.
65044 set dummy xmllint; ac_word=$2
65045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65046 $as_echo_n "checking for $ac_word... " >&6; }
65047 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
65048 $as_echo_n "(cached) " >&6
65049 else
65050 if test -n "$XMLLINT"; then
65051 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
65052 else
65053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65054 for as_dir in $PATH
65056 IFS=$as_save_IFS
65057 test -z "$as_dir" && as_dir=.
65058 for ac_exec_ext in '' $ac_executable_extensions; do
65059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65060 ac_cv_prog_XMLLINT="yes"
65061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65062 break 2
65064 done
65065 done
65066 IFS=$as_save_IFS
65068 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
65071 XMLLINT=$ac_cv_prog_XMLLINT
65072 if test -n "$XMLLINT"; then
65073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
65074 $as_echo "$XMLLINT" >&6; }
65075 else
65076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65077 $as_echo "no" >&6; }
65083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stylesheets used in generation of documentation" >&5
65084 $as_echo_n "checking for stylesheets used in generation of documentation... " >&6; }
65085 glibcxx_stylesheets=no
65086 if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude http://docbook.sourceforge.net/release/xsl-ns/current/xhtml-1_1/docbook.xsl - 2>/dev/null; then
65087 glibcxx_stylesheets=yes
65089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
65090 $as_echo "$glibcxx_stylesheets" >&6; }
65092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
65093 $as_echo_n "checking for local stylesheet directory... " >&6; }
65094 glibcxx_local_stylesheets=no
65095 if test x"$glibcxx_stylesheets" = x"yes"; then
65096 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
65097 glibcxx_local_stylesheets=yes
65098 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
65100 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
65101 glibcxx_local_stylesheets=yes
65102 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
65105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
65106 $as_echo "$glibcxx_local_stylesheets" >&6; }
65108 if test x"$glibcxx_local_stylesheets" = x"yes"; then
65110 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
65111 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
65112 else
65113 glibcxx_stylesheets=no
65117 # Check for xml/html dependencies.
65118 if test $ac_cv_prog_DOXYGEN = "yes" &&
65119 test $ac_cv_prog_DOT = "yes" &&
65120 test $ac_cv_prog_XSLTPROC = "yes" &&
65121 test $ac_cv_prog_XMLLINT = "yes" &&
65122 test $glibcxx_stylesheets = "yes"; then
65123 BUILD_XML_TRUE=
65124 BUILD_XML_FALSE='#'
65125 else
65126 BUILD_XML_TRUE='#'
65127 BUILD_XML_FALSE=
65131 if test $ac_cv_prog_DOXYGEN = "yes" &&
65132 test $ac_cv_prog_DOT = "yes" &&
65133 test $ac_cv_prog_XSLTPROC = "yes" &&
65134 test $ac_cv_prog_XMLLINT = "yes" &&
65135 test $glibcxx_stylesheets = "yes"; then
65136 BUILD_HTML_TRUE=
65137 BUILD_HTML_FALSE='#'
65138 else
65139 BUILD_HTML_TRUE='#'
65140 BUILD_HTML_FALSE=
65144 # Check for man dependencies.
65145 if test $ac_cv_prog_DOXYGEN = "yes" &&
65146 test $ac_cv_prog_DOT = "yes"; then
65147 BUILD_MAN_TRUE=
65148 BUILD_MAN_FALSE='#'
65149 else
65150 BUILD_MAN_TRUE='#'
65151 BUILD_MAN_FALSE=
65155 # Check for pdf/epub dependencies.
65156 # Extract the first word of "dblatex", so it can be a program name with args.
65157 set dummy dblatex; ac_word=$2
65158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65159 $as_echo_n "checking for $ac_word... " >&6; }
65160 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
65161 $as_echo_n "(cached) " >&6
65162 else
65163 if test -n "$DBLATEX"; then
65164 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
65165 else
65166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65167 for as_dir in $PATH
65169 IFS=$as_save_IFS
65170 test -z "$as_dir" && as_dir=.
65171 for ac_exec_ext in '' $ac_executable_extensions; do
65172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65173 ac_cv_prog_DBLATEX="yes"
65174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65175 break 2
65177 done
65178 done
65179 IFS=$as_save_IFS
65181 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
65184 DBLATEX=$ac_cv_prog_DBLATEX
65185 if test -n "$DBLATEX"; then
65186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
65187 $as_echo "$DBLATEX" >&6; }
65188 else
65189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65190 $as_echo "no" >&6; }
65194 # Extract the first word of "pdflatex", so it can be a program name with args.
65195 set dummy pdflatex; ac_word=$2
65196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65197 $as_echo_n "checking for $ac_word... " >&6; }
65198 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
65199 $as_echo_n "(cached) " >&6
65200 else
65201 if test -n "$PDFLATEX"; then
65202 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
65203 else
65204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65205 for as_dir in $PATH
65207 IFS=$as_save_IFS
65208 test -z "$as_dir" && as_dir=.
65209 for ac_exec_ext in '' $ac_executable_extensions; do
65210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65211 ac_cv_prog_PDFLATEX="yes"
65212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65213 break 2
65215 done
65216 done
65217 IFS=$as_save_IFS
65219 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
65222 PDFLATEX=$ac_cv_prog_PDFLATEX
65223 if test -n "$PDFLATEX"; then
65224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
65225 $as_echo "$PDFLATEX" >&6; }
65226 else
65227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65228 $as_echo "no" >&6; }
65232 if test $ac_cv_prog_DBLATEX = "yes" &&
65233 test $ac_cv_prog_PDFLATEX = "yes"; then
65234 BUILD_PDF_TRUE=
65235 BUILD_PDF_FALSE='#'
65236 else
65237 BUILD_PDF_TRUE='#'
65238 BUILD_PDF_FALSE=
65242 # Extract the first word of "ruby", so it can be a program name with args.
65243 set dummy ruby; ac_word=$2
65244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65245 $as_echo_n "checking for $ac_word... " >&6; }
65246 if test "${ac_cv_prog_RUBY+set}" = set; then :
65247 $as_echo_n "(cached) " >&6
65248 else
65249 if test -n "$RUBY"; then
65250 ac_cv_prog_RUBY="$RUBY" # Let the user override the test.
65251 else
65252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65253 for as_dir in $PATH
65255 IFS=$as_save_IFS
65256 test -z "$as_dir" && as_dir=.
65257 for ac_exec_ext in '' $ac_executable_extensions; do
65258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65259 ac_cv_prog_RUBY="yes"
65260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65261 break 2
65263 done
65264 done
65265 IFS=$as_save_IFS
65267 test -z "$ac_cv_prog_RUBY" && ac_cv_prog_RUBY="no"
65270 RUBY=$ac_cv_prog_RUBY
65271 if test -n "$RUBY"; then
65272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5
65273 $as_echo "$RUBY" >&6; }
65274 else
65275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65276 $as_echo "no" >&6; }
65280 # Extract the first word of "dbtoepub", so it can be a program name with args.
65281 set dummy dbtoepub; ac_word=$2
65282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65283 $as_echo_n "checking for $ac_word... " >&6; }
65284 if test "${ac_cv_prog_DBTOEPUB+set}" = set; then :
65285 $as_echo_n "(cached) " >&6
65286 else
65287 if test -n "$DBTOEPUB"; then
65288 ac_cv_prog_DBTOEPUB="$DBTOEPUB" # Let the user override the test.
65289 else
65290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65291 for as_dir in $PATH
65293 IFS=$as_save_IFS
65294 test -z "$as_dir" && as_dir=.
65295 for ac_exec_ext in '' $ac_executable_extensions; do
65296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65297 ac_cv_prog_DBTOEPUB="yes"
65298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65299 break 2
65301 done
65302 done
65303 IFS=$as_save_IFS
65305 test -z "$ac_cv_prog_DBTOEPUB" && ac_cv_prog_DBTOEPUB="no"
65308 DBTOEPUB=$ac_cv_prog_DBTOEPUB
65309 if test -n "$DBTOEPUB"; then
65310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBTOEPUB" >&5
65311 $as_echo "$DBTOEPUB" >&6; }
65312 else
65313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65314 $as_echo "no" >&6; }
65318 if test $ac_cv_prog_RUBY = "yes" &&
65319 test $ac_cv_prog_DBTOEPUB = "yes"; then
65320 BUILD_EPUB_TRUE=
65321 BUILD_EPUB_FALSE='#'
65322 else
65323 BUILD_EPUB_TRUE='#'
65324 BUILD_EPUB_FALSE=
65329 # Propagate the target-specific source directories through the build chain.
65330 ATOMICITY_SRCDIR=config/${atomicity_dir}
65331 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
65332 ATOMIC_FLAGS=${atomic_flags}
65333 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
65334 OS_INC_SRCDIR=config/${os_include_dir}
65335 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
65336 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
65346 # Determine cross-compile flags and AM_CONDITIONALs.
65347 #AC_SUBST(GLIBCXX_IS_NATIVE)
65348 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
65349 if test $is_hosted = yes; then
65350 GLIBCXX_HOSTED_TRUE=
65351 GLIBCXX_HOSTED_FALSE='#'
65352 else
65353 GLIBCXX_HOSTED_TRUE='#'
65354 GLIBCXX_HOSTED_FALSE=
65358 if test $enable_libstdcxx_pch = yes; then
65359 GLIBCXX_BUILD_PCH_TRUE=
65360 GLIBCXX_BUILD_PCH_FALSE='#'
65361 else
65362 GLIBCXX_BUILD_PCH_TRUE='#'
65363 GLIBCXX_BUILD_PCH_FALSE=
65367 if test $enable_cheaders = c; then
65368 GLIBCXX_C_HEADERS_C_TRUE=
65369 GLIBCXX_C_HEADERS_C_FALSE='#'
65370 else
65371 GLIBCXX_C_HEADERS_C_TRUE='#'
65372 GLIBCXX_C_HEADERS_C_FALSE=
65376 if test $enable_cheaders = c_std; then
65377 GLIBCXX_C_HEADERS_C_STD_TRUE=
65378 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
65379 else
65380 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
65381 GLIBCXX_C_HEADERS_C_STD_FALSE=
65385 if test $enable_cheaders = c_global; then
65386 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
65387 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
65388 else
65389 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
65390 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
65394 if test $c_compatibility = yes; then
65395 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
65396 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
65397 else
65398 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
65399 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
65403 if test $enable_libstdcxx_debug = yes; then
65404 GLIBCXX_BUILD_DEBUG_TRUE=
65405 GLIBCXX_BUILD_DEBUG_FALSE='#'
65406 else
65407 GLIBCXX_BUILD_DEBUG_TRUE='#'
65408 GLIBCXX_BUILD_DEBUG_FALSE=
65412 if test $enable_parallel = yes; then
65413 ENABLE_PARALLEL_TRUE=
65414 ENABLE_PARALLEL_FALSE='#'
65415 else
65416 ENABLE_PARALLEL_TRUE='#'
65417 ENABLE_PARALLEL_FALSE=
65421 if test $enable_extern_template = yes; then
65422 ENABLE_EXTERN_TEMPLATE_TRUE=
65423 ENABLE_EXTERN_TEMPLATE_FALSE='#'
65424 else
65425 ENABLE_EXTERN_TEMPLATE_TRUE='#'
65426 ENABLE_EXTERN_TEMPLATE_FALSE=
65430 if test $enable_symvers != no; then
65431 ENABLE_SYMVERS_TRUE=
65432 ENABLE_SYMVERS_FALSE='#'
65433 else
65434 ENABLE_SYMVERS_TRUE='#'
65435 ENABLE_SYMVERS_FALSE=
65439 if test $enable_symvers = gnu; then
65440 ENABLE_SYMVERS_GNU_TRUE=
65441 ENABLE_SYMVERS_GNU_FALSE='#'
65442 else
65443 ENABLE_SYMVERS_GNU_TRUE='#'
65444 ENABLE_SYMVERS_GNU_FALSE=
65448 if test $enable_symvers = gnu-versioned-namespace; then
65449 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
65450 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
65451 else
65452 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
65453 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
65457 if test $enable_symvers = darwin; then
65458 ENABLE_SYMVERS_DARWIN_TRUE=
65459 ENABLE_SYMVERS_DARWIN_FALSE='#'
65460 else
65461 ENABLE_SYMVERS_DARWIN_TRUE='#'
65462 ENABLE_SYMVERS_DARWIN_FALSE=
65466 if test $enable_symvers = sun; then
65467 ENABLE_SYMVERS_SUN_TRUE=
65468 ENABLE_SYMVERS_SUN_FALSE='#'
65469 else
65470 ENABLE_SYMVERS_SUN_TRUE='#'
65471 ENABLE_SYMVERS_SUN_FALSE=
65475 if test $symvers_renaming = no; then
65476 ENABLE_SYMVERS_SOL2_TRUE=
65477 ENABLE_SYMVERS_SOL2_FALSE='#'
65478 else
65479 ENABLE_SYMVERS_SOL2_TRUE='#'
65480 ENABLE_SYMVERS_SOL2_FALSE=
65484 if test $enable_visibility = yes; then
65485 ENABLE_VISIBILITY_TRUE=
65486 ENABLE_VISIBILITY_FALSE='#'
65487 else
65488 ENABLE_VISIBILITY_TRUE='#'
65489 ENABLE_VISIBILITY_FALSE=
65493 if test $ac_ldbl_compat = yes; then
65494 GLIBCXX_LDBL_COMPAT_TRUE=
65495 GLIBCXX_LDBL_COMPAT_FALSE='#'
65496 else
65497 GLIBCXX_LDBL_COMPAT_TRUE='#'
65498 GLIBCXX_LDBL_COMPAT_FALSE=
65504 cat >confcache <<\_ACEOF
65505 # This file is a shell script that caches the results of configure
65506 # tests run on this system so they can be shared between configure
65507 # scripts and configure runs, see configure's option --config-cache.
65508 # It is not useful on other systems. If it contains results you don't
65509 # want to keep, you may remove or edit it.
65511 # config.status only pays attention to the cache file if you give it
65512 # the --recheck option to rerun configure.
65514 # `ac_cv_env_foo' variables (set or unset) will be overridden when
65515 # loading this file, other *unset* `ac_cv_foo' will be assigned the
65516 # following values.
65518 _ACEOF
65520 # The following way of writing the cache mishandles newlines in values,
65521 # but we know of no workaround that is simple, portable, and efficient.
65522 # So, we kill variables containing newlines.
65523 # Ultrix sh set writes to stderr and can't be redirected directly,
65524 # and sets the high bit in the cache file unless we assign to the vars.
65526 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
65527 eval ac_val=\$$ac_var
65528 case $ac_val in #(
65529 *${as_nl}*)
65530 case $ac_var in #(
65531 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
65532 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
65533 esac
65534 case $ac_var in #(
65535 _ | IFS | as_nl) ;; #(
65536 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
65537 *) { eval $ac_var=; unset $ac_var;} ;;
65538 esac ;;
65539 esac
65540 done
65542 (set) 2>&1 |
65543 case $as_nl`(ac_space=' '; set) 2>&1` in #(
65544 *${as_nl}ac_space=\ *)
65545 # `set' does not quote correctly, so add quotes: double-quote
65546 # substitution turns \\\\ into \\, and sed turns \\ into \.
65547 sed -n \
65548 "s/'/'\\\\''/g;
65549 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
65550 ;; #(
65552 # `set' quotes correctly as required by POSIX, so do not add quotes.
65553 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
65555 esac |
65556 sort
65558 sed '
65559 /^ac_cv_env_/b end
65560 t clear
65561 :clear
65562 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
65563 t end
65564 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
65565 :end' >>confcache
65566 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
65567 if test -w "$cache_file"; then
65568 test "x$cache_file" != "x/dev/null" &&
65569 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
65570 $as_echo "$as_me: updating cache $cache_file" >&6;}
65571 cat confcache >$cache_file
65572 else
65573 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
65574 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
65577 rm -f confcache
65579 if test ${multilib} = yes; then
65580 multilib_arg="--enable-multilib"
65581 else
65582 multilib_arg=
65585 # Export all the install information.
65587 glibcxx_toolexecdir=no
65588 glibcxx_toolexeclibdir=no
65589 glibcxx_prefixdir=$prefix
65591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
65592 $as_echo_n "checking for gxx-include-dir... " >&6; }
65594 # Check whether --with-gxx-include-dir was given.
65595 if test "${with_gxx_include_dir+set}" = set; then :
65596 withval=$with_gxx_include_dir; case "$withval" in
65597 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
65598 no) gxx_include_dir=no ;;
65599 *) gxx_include_dir=$withval ;;
65600 esac
65601 else
65602 gxx_include_dir=no
65605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
65606 $as_echo "$gxx_include_dir" >&6; }
65608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
65609 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
65610 # Check whether --enable-version-specific-runtime-libs was given.
65611 if test "${enable_version_specific_runtime_libs+set}" = set; then :
65612 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
65613 yes) version_specific_libs=yes ;;
65614 no) version_specific_libs=no ;;
65615 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
65616 esac
65617 else
65618 version_specific_libs=no
65621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
65622 $as_echo "$version_specific_libs" >&6; }
65624 # Default case for install directory for include files.
65625 if test $version_specific_libs = no && test $gxx_include_dir = no; then
65626 gxx_include_dir='include/c++/${gcc_version}'
65627 if test -n "$with_cross_host" &&
65628 test x"$with_cross_host" != x"no"; then
65629 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
65630 else
65631 gxx_include_dir='${prefix}/'"$gxx_include_dir"
65635 # Version-specific runtime libs processing.
65636 if test $version_specific_libs = yes; then
65637 # Need the gcc compiler version to know where to install libraries
65638 # and header files if --enable-version-specific-runtime-libs option
65639 # is selected. FIXME: these variables are misnamed, there are
65640 # no executables installed in _toolexecdir or _toolexeclibdir.
65641 if test x"$gxx_include_dir" = x"no"; then
65642 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
65644 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
65645 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
65648 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
65649 # Install a library built with a cross compiler in tooldir, not libdir.
65650 if test x"$glibcxx_toolexecdir" = x"no"; then
65651 if test -n "$with_cross_host" &&
65652 test x"$with_cross_host" != x"no"; then
65653 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
65654 glibcxx_toolexeclibdir='${toolexecdir}/lib'
65655 else
65656 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
65657 glibcxx_toolexeclibdir='${libdir}'
65659 multi_os_directory=`$CXX -print-multi-os-directory`
65660 case $multi_os_directory in
65661 .) ;; # Avoid trailing /.
65662 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
65663 esac
65666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
65667 $as_echo_n "checking for install location... " >&6; }
65668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
65669 $as_echo "$gxx_include_dir" >&6; }
65677 # Export all the include and flag information to Makefiles.
65679 # Used for every C++ compile we perform.
65680 GLIBCXX_INCLUDES="\
65681 -I$glibcxx_builddir/include/$host_alias \
65682 -I$glibcxx_builddir/include \
65683 -I$glibcxx_srcdir/libsupc++"
65685 # For Canadian crosses, pick this up too.
65686 if test $CANADIAN = yes; then
65687 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
65690 # Stuff in the actual top level. Currently only used by libsupc++ to
65691 # get unwind* headers from the gcc dir.
65692 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
65693 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
65695 # Now, export this to all the little Makefiles....
65700 # Optimization flags that are probably a good idea for thrill-seekers. Just
65701 # uncomment the lines below and make, everything else is ready to go...
65702 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
65703 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
65706 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
65710 if test "$enable_shared" = yes; then
65711 LIBSUPCXX_PICFLAGS="-prefer-pic"
65712 else
65713 LIBSUPCXX_PICFLAGS=
65717 ac_config_files="$ac_config_files Makefile"
65719 ac_config_files="$ac_config_files scripts/testsuite_flags"
65721 ac_config_files="$ac_config_files scripts/extract_symvers"
65724 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
65725 # that multilib installs will end up installed in the correct place.
65726 # The testsuite needs it for multilib-aware ABI baseline files.
65727 # To work around this not being passed down from config-ml.in ->
65728 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
65729 # append it here. Only modify Makefiles that have just been created.
65731 # Also, get rid of this simulated-VPATH thing that automake does.
65732 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
65735 ac_config_commands="$ac_config_commands generate-headers"
65738 cat >confcache <<\_ACEOF
65739 # This file is a shell script that caches the results of configure
65740 # tests run on this system so they can be shared between configure
65741 # scripts and configure runs, see configure's option --config-cache.
65742 # It is not useful on other systems. If it contains results you don't
65743 # want to keep, you may remove or edit it.
65745 # config.status only pays attention to the cache file if you give it
65746 # the --recheck option to rerun configure.
65748 # `ac_cv_env_foo' variables (set or unset) will be overridden when
65749 # loading this file, other *unset* `ac_cv_foo' will be assigned the
65750 # following values.
65752 _ACEOF
65754 # The following way of writing the cache mishandles newlines in values,
65755 # but we know of no workaround that is simple, portable, and efficient.
65756 # So, we kill variables containing newlines.
65757 # Ultrix sh set writes to stderr and can't be redirected directly,
65758 # and sets the high bit in the cache file unless we assign to the vars.
65760 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
65761 eval ac_val=\$$ac_var
65762 case $ac_val in #(
65763 *${as_nl}*)
65764 case $ac_var in #(
65765 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
65766 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
65767 esac
65768 case $ac_var in #(
65769 _ | IFS | as_nl) ;; #(
65770 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
65771 *) { eval $ac_var=; unset $ac_var;} ;;
65772 esac ;;
65773 esac
65774 done
65776 (set) 2>&1 |
65777 case $as_nl`(ac_space=' '; set) 2>&1` in #(
65778 *${as_nl}ac_space=\ *)
65779 # `set' does not quote correctly, so add quotes: double-quote
65780 # substitution turns \\\\ into \\, and sed turns \\ into \.
65781 sed -n \
65782 "s/'/'\\\\''/g;
65783 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
65784 ;; #(
65786 # `set' quotes correctly as required by POSIX, so do not add quotes.
65787 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
65789 esac |
65790 sort
65792 sed '
65793 /^ac_cv_env_/b end
65794 t clear
65795 :clear
65796 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
65797 t end
65798 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
65799 :end' >>confcache
65800 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
65801 if test -w "$cache_file"; then
65802 test "x$cache_file" != "x/dev/null" &&
65803 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
65804 $as_echo "$as_me: updating cache $cache_file" >&6;}
65805 cat confcache >$cache_file
65806 else
65807 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
65808 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
65811 rm -f confcache
65813 test "x$prefix" = xNONE && prefix=$ac_default_prefix
65814 # Let make expand exec_prefix.
65815 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
65817 DEFS=-DHAVE_CONFIG_H
65819 ac_libobjs=
65820 ac_ltlibobjs=
65821 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
65822 # 1. Remove the extension, and $U if already installed.
65823 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
65824 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
65825 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
65826 # will be set to the directory where LIBOBJS objects are built.
65827 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
65828 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
65829 done
65830 LIBOBJS=$ac_libobjs
65832 LTLIBOBJS=$ac_ltlibobjs
65835 if test -n "$EXEEXT"; then
65836 am__EXEEXT_TRUE=
65837 am__EXEEXT_FALSE='#'
65838 else
65839 am__EXEEXT_TRUE='#'
65840 am__EXEEXT_FALSE=
65843 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
65844 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
65845 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65847 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
65848 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
65849 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65851 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
65852 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
65853 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65855 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
65856 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
65857 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65859 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
65860 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
65861 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65863 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
65864 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
65865 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65867 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
65868 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
65869 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65871 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
65872 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
65873 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65875 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
65876 as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
65877 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65879 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
65880 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
65881 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65883 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
65884 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
65885 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65887 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
65888 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
65889 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65891 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
65892 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
65893 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65895 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
65896 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
65897 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65899 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
65900 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
65901 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65903 if test -z "${ENABLE_SYMVERS_SOL2_TRUE}" && test -z "${ENABLE_SYMVERS_SOL2_FALSE}"; then
65904 as_fn_error "conditional \"ENABLE_SYMVERS_SOL2\" was never defined.
65905 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65907 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
65908 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
65909 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65911 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
65912 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
65913 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65915 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
65916 as_fn_error "conditional \"BUILD_INFO\" was never defined.
65917 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65919 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
65920 as_fn_error "conditional \"BUILD_XML\" was never defined.
65921 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65923 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
65924 as_fn_error "conditional \"BUILD_HTML\" was never defined.
65925 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65927 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
65928 as_fn_error "conditional \"BUILD_MAN\" was never defined.
65929 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65931 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
65932 as_fn_error "conditional \"BUILD_PDF\" was never defined.
65933 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65935 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
65936 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
65937 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65940 : ${CONFIG_STATUS=./config.status}
65941 ac_write_fail=0
65942 ac_clean_files_save=$ac_clean_files
65943 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
65944 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
65945 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
65946 as_write_fail=0
65947 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
65948 #! $SHELL
65949 # Generated by $as_me.
65950 # Run this file to recreate the current configuration.
65951 # Compiler output produced by configure, useful for debugging
65952 # configure, is in config.log if it exists.
65954 debug=false
65955 ac_cs_recheck=false
65956 ac_cs_silent=false
65958 SHELL=\${CONFIG_SHELL-$SHELL}
65959 export SHELL
65960 _ASEOF
65961 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
65962 ## -------------------- ##
65963 ## M4sh Initialization. ##
65964 ## -------------------- ##
65966 # Be more Bourne compatible
65967 DUALCASE=1; export DUALCASE # for MKS sh
65968 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
65969 emulate sh
65970 NULLCMD=:
65971 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
65972 # is contrary to our usage. Disable this feature.
65973 alias -g '${1+"$@"}'='"$@"'
65974 setopt NO_GLOB_SUBST
65975 else
65976 case `(set -o) 2>/dev/null` in #(
65977 *posix*) :
65978 set -o posix ;; #(
65979 *) :
65981 esac
65985 as_nl='
65987 export as_nl
65988 # Printing a long string crashes Solaris 7 /usr/bin/printf.
65989 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
65990 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
65991 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
65992 # Prefer a ksh shell builtin over an external printf program on Solaris,
65993 # but without wasting forks for bash or zsh.
65994 if test -z "$BASH_VERSION$ZSH_VERSION" \
65995 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
65996 as_echo='print -r --'
65997 as_echo_n='print -rn --'
65998 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
65999 as_echo='printf %s\n'
66000 as_echo_n='printf %s'
66001 else
66002 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
66003 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
66004 as_echo_n='/usr/ucb/echo -n'
66005 else
66006 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
66007 as_echo_n_body='eval
66008 arg=$1;
66009 case $arg in #(
66010 *"$as_nl"*)
66011 expr "X$arg" : "X\\(.*\\)$as_nl";
66012 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66013 esac;
66014 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66016 export as_echo_n_body
66017 as_echo_n='sh -c $as_echo_n_body as_echo'
66019 export as_echo_body
66020 as_echo='sh -c $as_echo_body as_echo'
66023 # The user is always right.
66024 if test "${PATH_SEPARATOR+set}" != set; then
66025 PATH_SEPARATOR=:
66026 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
66027 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
66028 PATH_SEPARATOR=';'
66033 # IFS
66034 # We need space, tab and new line, in precisely that order. Quoting is
66035 # there to prevent editors from complaining about space-tab.
66036 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
66037 # splitting by setting IFS to empty value.)
66038 IFS=" "" $as_nl"
66040 # Find who we are. Look in the path if we contain no directory separator.
66041 case $0 in #((
66042 *[\\/]* ) as_myself=$0 ;;
66043 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
66044 for as_dir in $PATH
66046 IFS=$as_save_IFS
66047 test -z "$as_dir" && as_dir=.
66048 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
66049 done
66050 IFS=$as_save_IFS
66053 esac
66054 # We did not find ourselves, most probably we were run as `sh COMMAND'
66055 # in which case we are not to be found in the path.
66056 if test "x$as_myself" = x; then
66057 as_myself=$0
66059 if test ! -f "$as_myself"; then
66060 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
66061 exit 1
66064 # Unset variables that we do not need and which cause bugs (e.g. in
66065 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
66066 # suppresses any "Segmentation fault" message there. '((' could
66067 # trigger a bug in pdksh 5.2.14.
66068 for as_var in BASH_ENV ENV MAIL MAILPATH
66069 do eval test x\${$as_var+set} = xset \
66070 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
66071 done
66072 PS1='$ '
66073 PS2='> '
66074 PS4='+ '
66076 # NLS nuisances.
66077 LC_ALL=C
66078 export LC_ALL
66079 LANGUAGE=C
66080 export LANGUAGE
66082 # CDPATH.
66083 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
66086 # as_fn_error ERROR [LINENO LOG_FD]
66087 # ---------------------------------
66088 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
66089 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
66090 # script with status $?, using 1 if that was 0.
66091 as_fn_error ()
66093 as_status=$?; test $as_status -eq 0 && as_status=1
66094 if test "$3"; then
66095 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
66096 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
66098 $as_echo "$as_me: error: $1" >&2
66099 as_fn_exit $as_status
66100 } # as_fn_error
66103 # as_fn_set_status STATUS
66104 # -----------------------
66105 # Set $? to STATUS, without forking.
66106 as_fn_set_status ()
66108 return $1
66109 } # as_fn_set_status
66111 # as_fn_exit STATUS
66112 # -----------------
66113 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
66114 as_fn_exit ()
66116 set +e
66117 as_fn_set_status $1
66118 exit $1
66119 } # as_fn_exit
66121 # as_fn_unset VAR
66122 # ---------------
66123 # Portably unset VAR.
66124 as_fn_unset ()
66126 { eval $1=; unset $1;}
66128 as_unset=as_fn_unset
66129 # as_fn_append VAR VALUE
66130 # ----------------------
66131 # Append the text in VALUE to the end of the definition contained in VAR. Take
66132 # advantage of any shell optimizations that allow amortized linear growth over
66133 # repeated appends, instead of the typical quadratic growth present in naive
66134 # implementations.
66135 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
66136 eval 'as_fn_append ()
66138 eval $1+=\$2
66140 else
66141 as_fn_append ()
66143 eval $1=\$$1\$2
66145 fi # as_fn_append
66147 # as_fn_arith ARG...
66148 # ------------------
66149 # Perform arithmetic evaluation on the ARGs, and store the result in the
66150 # global $as_val. Take advantage of shells that can avoid forks. The arguments
66151 # must be portable across $(()) and expr.
66152 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
66153 eval 'as_fn_arith ()
66155 as_val=$(( $* ))
66157 else
66158 as_fn_arith ()
66160 as_val=`expr "$@" || test $? -eq 1`
66162 fi # as_fn_arith
66165 if expr a : '\(a\)' >/dev/null 2>&1 &&
66166 test "X`expr 00001 : '.*\(...\)'`" = X001; then
66167 as_expr=expr
66168 else
66169 as_expr=false
66172 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
66173 as_basename=basename
66174 else
66175 as_basename=false
66178 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
66179 as_dirname=dirname
66180 else
66181 as_dirname=false
66184 as_me=`$as_basename -- "$0" ||
66185 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66186 X"$0" : 'X\(//\)$' \| \
66187 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
66188 $as_echo X/"$0" |
66189 sed '/^.*\/\([^/][^/]*\)\/*$/{
66190 s//\1/
66193 /^X\/\(\/\/\)$/{
66194 s//\1/
66197 /^X\/\(\/\).*/{
66198 s//\1/
66201 s/.*/./; q'`
66203 # Avoid depending upon Character Ranges.
66204 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
66205 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
66206 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
66207 as_cr_digits='0123456789'
66208 as_cr_alnum=$as_cr_Letters$as_cr_digits
66210 ECHO_C= ECHO_N= ECHO_T=
66211 case `echo -n x` in #(((((
66212 -n*)
66213 case `echo 'xy\c'` in
66214 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
66215 xy) ECHO_C='\c';;
66216 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
66217 ECHO_T=' ';;
66218 esac;;
66220 ECHO_N='-n';;
66221 esac
66223 rm -f conf$$ conf$$.exe conf$$.file
66224 if test -d conf$$.dir; then
66225 rm -f conf$$.dir/conf$$.file
66226 else
66227 rm -f conf$$.dir
66228 mkdir conf$$.dir 2>/dev/null
66230 if (echo >conf$$.file) 2>/dev/null; then
66231 if ln -s conf$$.file conf$$ 2>/dev/null; then
66232 as_ln_s='ln -s'
66233 # ... but there are two gotchas:
66234 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
66235 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
66236 # In both cases, we have to default to `cp -p'.
66237 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
66238 as_ln_s='cp -p'
66239 elif ln conf$$.file conf$$ 2>/dev/null; then
66240 as_ln_s=ln
66241 else
66242 as_ln_s='cp -p'
66244 else
66245 as_ln_s='cp -p'
66247 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
66248 rmdir conf$$.dir 2>/dev/null
66251 # as_fn_mkdir_p
66252 # -------------
66253 # Create "$as_dir" as a directory, including parents if necessary.
66254 as_fn_mkdir_p ()
66257 case $as_dir in #(
66258 -*) as_dir=./$as_dir;;
66259 esac
66260 test -d "$as_dir" || eval $as_mkdir_p || {
66261 as_dirs=
66262 while :; do
66263 case $as_dir in #(
66264 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
66265 *) as_qdir=$as_dir;;
66266 esac
66267 as_dirs="'$as_qdir' $as_dirs"
66268 as_dir=`$as_dirname -- "$as_dir" ||
66269 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
66270 X"$as_dir" : 'X\(//\)[^/]' \| \
66271 X"$as_dir" : 'X\(//\)$' \| \
66272 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
66273 $as_echo X"$as_dir" |
66274 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
66275 s//\1/
66278 /^X\(\/\/\)[^/].*/{
66279 s//\1/
66282 /^X\(\/\/\)$/{
66283 s//\1/
66286 /^X\(\/\).*/{
66287 s//\1/
66290 s/.*/./; q'`
66291 test -d "$as_dir" && break
66292 done
66293 test -z "$as_dirs" || eval "mkdir $as_dirs"
66294 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
66297 } # as_fn_mkdir_p
66298 if mkdir -p . 2>/dev/null; then
66299 as_mkdir_p='mkdir -p "$as_dir"'
66300 else
66301 test -d ./-p && rmdir ./-p
66302 as_mkdir_p=false
66305 if test -x / >/dev/null 2>&1; then
66306 as_test_x='test -x'
66307 else
66308 if ls -dL / >/dev/null 2>&1; then
66309 as_ls_L_option=L
66310 else
66311 as_ls_L_option=
66313 as_test_x='
66314 eval sh -c '\''
66315 if test -d "$1"; then
66316 test -d "$1/.";
66317 else
66318 case $1 in #(
66319 -*)set "./$1";;
66320 esac;
66321 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
66322 ???[sx]*):;;*)false;;esac;fi
66323 '\'' sh
66326 as_executable_p=$as_test_x
66328 # Sed expression to map a string onto a valid CPP name.
66329 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
66331 # Sed expression to map a string onto a valid variable name.
66332 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
66335 exec 6>&1
66336 ## ----------------------------------- ##
66337 ## Main body of $CONFIG_STATUS script. ##
66338 ## ----------------------------------- ##
66339 _ASEOF
66340 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
66342 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66343 # Save the log message, to keep $0 and so on meaningful, and to
66344 # report actual input values of CONFIG_FILES etc. instead of their
66345 # values after options handling.
66346 ac_log="
66347 This file was extended by package-unused $as_me version-unused, which was
66348 generated by GNU Autoconf 2.64. Invocation command line was
66350 CONFIG_FILES = $CONFIG_FILES
66351 CONFIG_HEADERS = $CONFIG_HEADERS
66352 CONFIG_LINKS = $CONFIG_LINKS
66353 CONFIG_COMMANDS = $CONFIG_COMMANDS
66354 $ $0 $@
66356 on `(hostname || uname -n) 2>/dev/null | sed 1q`
66359 _ACEOF
66361 case $ac_config_files in *"
66362 "*) set x $ac_config_files; shift; ac_config_files=$*;;
66363 esac
66365 case $ac_config_headers in *"
66366 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
66367 esac
66370 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66371 # Files that config.status was made for.
66372 config_files="$ac_config_files"
66373 config_headers="$ac_config_headers"
66374 config_commands="$ac_config_commands"
66376 _ACEOF
66378 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66379 ac_cs_usage="\
66380 \`$as_me' instantiates files and other configuration actions
66381 from templates according to the current configuration. Unless the files
66382 and actions are specified as TAGs, all are instantiated by default.
66384 Usage: $0 [OPTION]... [TAG]...
66386 -h, --help print this help, then exit
66387 -V, --version print version number and configuration settings, then exit
66388 -q, --quiet, --silent
66389 do not print progress messages
66390 -d, --debug don't remove temporary files
66391 --recheck update $as_me by reconfiguring in the same conditions
66392 --file=FILE[:TEMPLATE]
66393 instantiate the configuration file FILE
66394 --header=FILE[:TEMPLATE]
66395 instantiate the configuration header FILE
66397 Configuration files:
66398 $config_files
66400 Configuration headers:
66401 $config_headers
66403 Configuration commands:
66404 $config_commands
66406 Report bugs to the package provider."
66408 _ACEOF
66409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66410 ac_cs_version="\\
66411 package-unused config.status version-unused
66412 configured by $0, generated by GNU Autoconf 2.64,
66413 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
66415 Copyright (C) 2009 Free Software Foundation, Inc.
66416 This config.status script is free software; the Free Software Foundation
66417 gives unlimited permission to copy, distribute and modify it."
66419 ac_pwd='$ac_pwd'
66420 srcdir='$srcdir'
66421 INSTALL='$INSTALL'
66422 MKDIR_P='$MKDIR_P'
66423 AWK='$AWK'
66424 test -n "\$AWK" || AWK=awk
66425 _ACEOF
66427 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66428 # The default lists apply if the user does not specify any file.
66429 ac_need_defaults=:
66430 while test $# != 0
66432 case $1 in
66433 --*=*)
66434 ac_option=`expr "X$1" : 'X\([^=]*\)='`
66435 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
66436 ac_shift=:
66439 ac_option=$1
66440 ac_optarg=$2
66441 ac_shift=shift
66443 esac
66445 case $ac_option in
66446 # Handling of the options.
66447 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
66448 ac_cs_recheck=: ;;
66449 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
66450 $as_echo "$ac_cs_version"; exit ;;
66451 --debug | --debu | --deb | --de | --d | -d )
66452 debug=: ;;
66453 --file | --fil | --fi | --f )
66454 $ac_shift
66455 case $ac_optarg in
66456 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
66457 esac
66458 as_fn_append CONFIG_FILES " '$ac_optarg'"
66459 ac_need_defaults=false;;
66460 --header | --heade | --head | --hea )
66461 $ac_shift
66462 case $ac_optarg in
66463 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
66464 esac
66465 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
66466 ac_need_defaults=false;;
66467 --he | --h)
66468 # Conflict between --help and --header
66469 as_fn_error "ambiguous option: \`$1'
66470 Try \`$0 --help' for more information.";;
66471 --help | --hel | -h )
66472 $as_echo "$ac_cs_usage"; exit ;;
66473 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
66474 | -silent | --silent | --silen | --sile | --sil | --si | --s)
66475 ac_cs_silent=: ;;
66477 # This is an error.
66478 -*) as_fn_error "unrecognized option: \`$1'
66479 Try \`$0 --help' for more information." ;;
66481 *) as_fn_append ac_config_targets " $1"
66482 ac_need_defaults=false ;;
66484 esac
66485 shift
66486 done
66488 ac_configure_extra_args=
66490 if $ac_cs_silent; then
66491 exec 6>/dev/null
66492 ac_configure_extra_args="$ac_configure_extra_args --silent"
66495 _ACEOF
66496 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66497 if \$ac_cs_recheck; then
66498 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
66499 shift
66500 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
66501 CONFIG_SHELL='$SHELL'
66502 export CONFIG_SHELL
66503 exec "\$@"
66506 _ACEOF
66507 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66508 exec 5>>config.log
66510 echo
66511 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
66512 ## Running $as_me. ##
66513 _ASBOX
66514 $as_echo "$ac_log"
66515 } >&5
66517 _ACEOF
66518 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66520 # INIT-COMMANDS
66523 srcdir="$srcdir"
66524 host="$host"
66525 target="$target"
66526 with_multisubdir="$with_multisubdir"
66527 with_multisrctop="$with_multisrctop"
66528 with_target_subdir="$with_target_subdir"
66529 ac_configure_args="${multilib_arg} ${ac_configure_args}"
66530 multi_basedir="$multi_basedir"
66531 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
66532 CC="$CC"
66533 CXX="$CXX"
66534 GFORTRAN="$GFORTRAN"
66535 GCJ="$GCJ"
66538 # The HP-UX ksh and POSIX shell print the target directory to stdout
66539 # if CDPATH is set.
66540 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
66542 sed_quote_subst='$sed_quote_subst'
66543 double_quote_subst='$double_quote_subst'
66544 delay_variable_subst='$delay_variable_subst'
66545 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
66546 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
66547 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
66548 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
66549 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
66550 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
66551 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
66552 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
66553 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
66554 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
66555 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
66556 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
66557 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
66558 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
66559 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
66560 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
66561 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
66562 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
66563 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
66564 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
66565 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
66566 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
66567 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
66568 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
66569 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
66570 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
66571 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
66572 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
66573 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
66574 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
66575 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
66576 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
66577 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
66578 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
66579 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
66580 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
66581 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
66582 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
66583 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
66584 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
66585 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
66586 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
66587 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
66588 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
66589 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
66590 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
66591 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
66592 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
66593 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"`'
66594 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
66595 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
66596 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
66597 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
66598 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
66599 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
66600 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
66601 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
66602 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
66603 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
66604 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
66605 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
66606 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
66607 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
66608 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
66609 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
66610 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
66611 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
66612 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
66613 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
66614 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
66615 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
66616 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
66617 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
66618 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
66619 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
66620 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
66621 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
66622 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
66623 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
66624 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
66625 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
66626 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
66627 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
66628 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
66629 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
66630 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
66631 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
66632 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
66633 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
66634 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
66635 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
66636 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
66637 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
66638 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
66639 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
66640 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
66641 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
66642 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
66643 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
66644 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
66645 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
66646 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
66647 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
66648 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
66649 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
66650 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
66651 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
66652 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
66653 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
66654 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
66655 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
66656 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
66657 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
66658 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
66659 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
66660 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
66661 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
66662 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
66663 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
66664 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
66665 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
66666 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
66667 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
66668 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
66669 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
66670 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
66671 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
66672 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
66673 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66674 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66675 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
66676 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
66677 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
66678 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
66679 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
66680 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
66681 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
66682 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
66683 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
66684 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
66685 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
66686 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
66687 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66688 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66689 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66690 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66691 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66692 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66693 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
66694 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
66695 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
66696 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
66697 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
66698 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
66699 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
66700 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
66701 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
66702 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
66703 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
66704 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
66705 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
66706 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
66707 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
66708 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66709 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
66710 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
66711 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66712 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
66713 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
66714 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
66715 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
66716 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
66717 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
66718 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
66719 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
66721 LTCC='$LTCC'
66722 LTCFLAGS='$LTCFLAGS'
66723 compiler='$compiler_DEFAULT'
66725 # A function that is used when there is no print builtin or printf.
66726 func_fallback_echo ()
66728 eval 'cat <<_LTECHO_EOF
66730 _LTECHO_EOF'
66733 # Quote evaled strings.
66734 for var in SHELL \
66735 ECHO \
66736 SED \
66737 GREP \
66738 EGREP \
66739 FGREP \
66740 LD \
66741 NM \
66742 LN_S \
66743 lt_SP2NL \
66744 lt_NL2SP \
66745 reload_flag \
66746 OBJDUMP \
66747 deplibs_check_method \
66748 file_magic_cmd \
66749 AR \
66750 AR_FLAGS \
66751 STRIP \
66752 RANLIB \
66753 CC \
66754 CFLAGS \
66755 compiler \
66756 lt_cv_sys_global_symbol_pipe \
66757 lt_cv_sys_global_symbol_to_cdecl \
66758 lt_cv_sys_global_symbol_to_c_name_address \
66759 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
66760 lt_prog_compiler_no_builtin_flag \
66761 lt_prog_compiler_wl \
66762 lt_prog_compiler_pic \
66763 lt_prog_compiler_static \
66764 lt_cv_prog_compiler_c_o \
66765 need_locks \
66766 DSYMUTIL \
66767 NMEDIT \
66768 LIPO \
66769 OTOOL \
66770 OTOOL64 \
66771 shrext_cmds \
66772 export_dynamic_flag_spec \
66773 whole_archive_flag_spec \
66774 compiler_needs_object \
66775 with_gnu_ld \
66776 allow_undefined_flag \
66777 no_undefined_flag \
66778 hardcode_libdir_flag_spec \
66779 hardcode_libdir_flag_spec_ld \
66780 hardcode_libdir_separator \
66781 fix_srcfile_path \
66782 exclude_expsyms \
66783 include_expsyms \
66784 file_list_spec \
66785 variables_saved_for_relink \
66786 libname_spec \
66787 library_names_spec \
66788 soname_spec \
66789 install_override_mode \
66790 finish_eval \
66791 old_striplib \
66792 striplib \
66793 compiler_lib_search_dirs \
66794 predep_objects \
66795 postdep_objects \
66796 predeps \
66797 postdeps \
66798 compiler_lib_search_path \
66799 LD_CXX \
66800 reload_flag_CXX \
66801 compiler_CXX \
66802 lt_prog_compiler_no_builtin_flag_CXX \
66803 lt_prog_compiler_wl_CXX \
66804 lt_prog_compiler_pic_CXX \
66805 lt_prog_compiler_static_CXX \
66806 lt_cv_prog_compiler_c_o_CXX \
66807 export_dynamic_flag_spec_CXX \
66808 whole_archive_flag_spec_CXX \
66809 compiler_needs_object_CXX \
66810 with_gnu_ld_CXX \
66811 allow_undefined_flag_CXX \
66812 no_undefined_flag_CXX \
66813 hardcode_libdir_flag_spec_CXX \
66814 hardcode_libdir_flag_spec_ld_CXX \
66815 hardcode_libdir_separator_CXX \
66816 fix_srcfile_path_CXX \
66817 exclude_expsyms_CXX \
66818 include_expsyms_CXX \
66819 file_list_spec_CXX \
66820 compiler_lib_search_dirs_CXX \
66821 predep_objects_CXX \
66822 postdep_objects_CXX \
66823 predeps_CXX \
66824 postdeps_CXX \
66825 compiler_lib_search_path_CXX; do
66826 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
66827 *[\\\\\\\`\\"\\\$]*)
66828 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
66831 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
66833 esac
66834 done
66836 # Double-quote double-evaled strings.
66837 for var in reload_cmds \
66838 old_postinstall_cmds \
66839 old_postuninstall_cmds \
66840 old_archive_cmds \
66841 extract_expsyms_cmds \
66842 old_archive_from_new_cmds \
66843 old_archive_from_expsyms_cmds \
66844 archive_cmds \
66845 archive_expsym_cmds \
66846 module_cmds \
66847 module_expsym_cmds \
66848 export_symbols_cmds \
66849 prelink_cmds \
66850 postinstall_cmds \
66851 postuninstall_cmds \
66852 finish_cmds \
66853 sys_lib_search_path_spec \
66854 sys_lib_dlsearch_path_spec \
66855 reload_cmds_CXX \
66856 old_archive_cmds_CXX \
66857 old_archive_from_new_cmds_CXX \
66858 old_archive_from_expsyms_cmds_CXX \
66859 archive_cmds_CXX \
66860 archive_expsym_cmds_CXX \
66861 module_cmds_CXX \
66862 module_expsym_cmds_CXX \
66863 export_symbols_cmds_CXX \
66864 prelink_cmds_CXX; do
66865 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
66866 *[\\\\\\\`\\"\\\$]*)
66867 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
66870 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
66872 esac
66873 done
66875 ac_aux_dir='$ac_aux_dir'
66876 xsi_shell='$xsi_shell'
66877 lt_shell_append='$lt_shell_append'
66879 # See if we are running on zsh, and set the options which allow our
66880 # commands through without removal of \ escapes INIT.
66881 if test -n "\${ZSH_VERSION+set}" ; then
66882 setopt NO_GLOB_SUBST
66886 PACKAGE='$PACKAGE'
66887 VERSION='$VERSION'
66888 TIMESTAMP='$TIMESTAMP'
66889 RM='$RM'
66890 ofile='$ofile'
66897 GCC="$GCC"
66898 CC="$CC"
66899 acx_cv_header_stdint="$acx_cv_header_stdint"
66900 acx_cv_type_int8_t="$acx_cv_type_int8_t"
66901 acx_cv_type_int16_t="$acx_cv_type_int16_t"
66902 acx_cv_type_int32_t="$acx_cv_type_int32_t"
66903 acx_cv_type_int64_t="$acx_cv_type_int64_t"
66904 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
66905 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
66906 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
66907 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
66908 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
66909 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
66910 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
66911 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
66912 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
66915 _ACEOF
66917 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66919 # Handling of arguments.
66920 for ac_config_target in $ac_config_targets
66922 case $ac_config_target in
66923 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
66924 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
66925 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
66926 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
66927 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
66928 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
66929 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
66930 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
66931 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
66932 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
66933 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
66934 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
66935 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
66936 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
66937 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
66939 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
66940 esac
66941 done
66944 # If the user did not use the arguments to specify the items to instantiate,
66945 # then the envvar interface is used. Set only those that are not.
66946 # We use the long form for the default assignment because of an extremely
66947 # bizarre bug on SunOS 4.1.3.
66948 if $ac_need_defaults; then
66949 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
66950 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
66951 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
66954 # Have a temporary directory for convenience. Make it in the build tree
66955 # simply because there is no reason against having it here, and in addition,
66956 # creating and moving files from /tmp can sometimes cause problems.
66957 # Hook for its removal unless debugging.
66958 # Note that there is a small window in which the directory will not be cleaned:
66959 # after its creation but before its name has been assigned to `$tmp'.
66960 $debug ||
66962 tmp=
66963 trap 'exit_status=$?
66964 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
66966 trap 'as_fn_exit 1' 1 2 13 15
66968 # Create a (secure) tmp directory for tmp files.
66971 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
66972 test -n "$tmp" && test -d "$tmp"
66973 } ||
66975 tmp=./conf$$-$RANDOM
66976 (umask 077 && mkdir "$tmp")
66977 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
66979 # Set up the scripts for CONFIG_FILES section.
66980 # No need to generate them if there are no CONFIG_FILES.
66981 # This happens for instance with `./config.status config.h'.
66982 if test -n "$CONFIG_FILES"; then
66985 ac_cr=`echo X | tr X '\015'`
66986 # On cygwin, bash can eat \r inside `` if the user requested igncr.
66987 # But we know of no other shell where ac_cr would be empty at this
66988 # point, so we can use a bashism as a fallback.
66989 if test "x$ac_cr" = x; then
66990 eval ac_cr=\$\'\\r\'
66992 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
66993 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
66994 ac_cs_awk_cr='\r'
66995 else
66996 ac_cs_awk_cr=$ac_cr
66999 echo 'BEGIN {' >"$tmp/subs1.awk" &&
67000 _ACEOF
67004 echo "cat >conf$$subs.awk <<_ACEOF" &&
67005 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
67006 echo "_ACEOF"
67007 } >conf$$subs.sh ||
67008 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67009 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
67010 ac_delim='%!_!# '
67011 for ac_last_try in false false false false false :; do
67012 . ./conf$$subs.sh ||
67013 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67015 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
67016 if test $ac_delim_n = $ac_delim_num; then
67017 break
67018 elif $ac_last_try; then
67019 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67020 else
67021 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67023 done
67024 rm -f conf$$subs.sh
67026 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67027 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
67028 _ACEOF
67029 sed -n '
67031 s/^/S["/; s/!.*/"]=/
67034 s/^[^!]*!//
67035 :repl
67036 t repl
67037 s/'"$ac_delim"'$//
67038 t delim
67041 s/\(.\{148\}\).*/\1/
67042 t more1
67043 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
67046 b repl
67047 :more1
67048 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67051 s/.\{148\}//
67052 t nl
67053 :delim
67055 s/\(.\{148\}\).*/\1/
67056 t more2
67057 s/["\\]/\\&/g; s/^/"/; s/$/"/
67060 :more2
67061 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67064 s/.\{148\}//
67065 t delim
67066 ' <conf$$subs.awk | sed '
67067 /^[^""]/{
67069 s/\n//
67071 ' >>$CONFIG_STATUS || ac_write_fail=1
67072 rm -f conf$$subs.awk
67073 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67074 _ACAWK
67075 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
67076 for (key in S) S_is_set[key] = 1
67077 FS = "\a"
67081 line = $ 0
67082 nfields = split(line, field, "@")
67083 substed = 0
67084 len = length(field[1])
67085 for (i = 2; i < nfields; i++) {
67086 key = field[i]
67087 keylen = length(key)
67088 if (S_is_set[key]) {
67089 value = S[key]
67090 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
67091 len += length(value) + length(field[++i])
67092 substed = 1
67093 } else
67094 len += 1 + keylen
67097 print line
67100 _ACAWK
67101 _ACEOF
67102 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67103 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
67104 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
67105 else
67107 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
67108 || as_fn_error "could not setup config files machinery" "$LINENO" 5
67109 _ACEOF
67111 # VPATH may cause trouble with some makes, so we remove $(srcdir),
67112 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
67113 # trailing colons and then remove the whole line if VPATH becomes empty
67114 # (actually we leave an empty line to preserve line numbers).
67115 if test "x$srcdir" = x.; then
67116 ac_vpsub='/^[ ]*VPATH[ ]*=/{
67117 s/:*\$(srcdir):*/:/
67118 s/:*\${srcdir}:*/:/
67119 s/:*@srcdir@:*/:/
67120 s/^\([^=]*=[ ]*\):*/\1/
67121 s/:*$//
67122 s/^[^=]*=[ ]*$//
67126 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67127 fi # test -n "$CONFIG_FILES"
67129 # Set up the scripts for CONFIG_HEADERS section.
67130 # No need to generate them if there are no CONFIG_HEADERS.
67131 # This happens for instance with `./config.status Makefile'.
67132 if test -n "$CONFIG_HEADERS"; then
67133 cat >"$tmp/defines.awk" <<\_ACAWK ||
67134 BEGIN {
67135 _ACEOF
67137 # Transform confdefs.h into an awk script `defines.awk', embedded as
67138 # here-document in config.status, that substitutes the proper values into
67139 # config.h.in to produce config.h.
67141 # Create a delimiter string that does not exist in confdefs.h, to ease
67142 # handling of long lines.
67143 ac_delim='%!_!# '
67144 for ac_last_try in false false :; do
67145 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
67146 if test -z "$ac_t"; then
67147 break
67148 elif $ac_last_try; then
67149 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
67150 else
67151 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67153 done
67155 # For the awk script, D is an array of macro values keyed by name,
67156 # likewise P contains macro parameters if any. Preserve backslash
67157 # newline sequences.
67159 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
67160 sed -n '
67161 s/.\{148\}/&'"$ac_delim"'/g
67162 t rset
67163 :rset
67164 s/^[ ]*#[ ]*define[ ][ ]*/ /
67165 t def
67167 :def
67168 s/\\$//
67169 t bsnl
67170 s/["\\]/\\&/g
67171 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
67172 D["\1"]=" \3"/p
67173 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
67175 :bsnl
67176 s/["\\]/\\&/g
67177 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
67178 D["\1"]=" \3\\\\\\n"\\/p
67179 t cont
67180 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
67181 t cont
67183 :cont
67185 s/.\{148\}/&'"$ac_delim"'/g
67186 t clear
67187 :clear
67188 s/\\$//
67189 t bsnlc
67190 s/["\\]/\\&/g; s/^/"/; s/$/"/p
67192 :bsnlc
67193 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
67194 b cont
67195 ' <confdefs.h | sed '
67196 s/'"$ac_delim"'/"\\\
67197 "/g' >>$CONFIG_STATUS || ac_write_fail=1
67199 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67200 for (key in D) D_is_set[key] = 1
67201 FS = "\a"
67203 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
67204 line = \$ 0
67205 split(line, arg, " ")
67206 if (arg[1] == "#") {
67207 defundef = arg[2]
67208 mac1 = arg[3]
67209 } else {
67210 defundef = substr(arg[1], 2)
67211 mac1 = arg[2]
67213 split(mac1, mac2, "(") #)
67214 macro = mac2[1]
67215 prefix = substr(line, 1, index(line, defundef) - 1)
67216 if (D_is_set[macro]) {
67217 # Preserve the white space surrounding the "#".
67218 print prefix "define", macro P[macro] D[macro]
67219 next
67220 } else {
67221 # Replace #undef with comments. This is necessary, for example,
67222 # in the case of _POSIX_SOURCE, which is predefined and required
67223 # on some systems where configure will not decide to define it.
67224 if (defundef == "undef") {
67225 print "/*", prefix defundef, macro, "*/"
67226 next
67230 { print }
67231 _ACAWK
67232 _ACEOF
67233 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67234 as_fn_error "could not setup config headers machinery" "$LINENO" 5
67235 fi # test -n "$CONFIG_HEADERS"
67238 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
67239 shift
67240 for ac_tag
67242 case $ac_tag in
67243 :[FHLC]) ac_mode=$ac_tag; continue;;
67244 esac
67245 case $ac_mode$ac_tag in
67246 :[FHL]*:*);;
67247 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
67248 :[FH]-) ac_tag=-:-;;
67249 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
67250 esac
67251 ac_save_IFS=$IFS
67252 IFS=:
67253 set x $ac_tag
67254 IFS=$ac_save_IFS
67255 shift
67256 ac_file=$1
67257 shift
67259 case $ac_mode in
67260 :L) ac_source=$1;;
67261 :[FH])
67262 ac_file_inputs=
67263 for ac_f
67265 case $ac_f in
67266 -) ac_f="$tmp/stdin";;
67267 *) # Look for the file first in the build tree, then in the source tree
67268 # (if the path is not absolute). The absolute path cannot be DOS-style,
67269 # because $ac_f cannot contain `:'.
67270 test -f "$ac_f" ||
67271 case $ac_f in
67272 [\\/$]*) false;;
67273 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
67274 esac ||
67275 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
67276 esac
67277 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
67278 as_fn_append ac_file_inputs " '$ac_f'"
67279 done
67281 # Let's still pretend it is `configure' which instantiates (i.e., don't
67282 # use $as_me), people would be surprised to read:
67283 # /* config.h. Generated by config.status. */
67284 configure_input='Generated from '`
67285 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
67286 `' by configure.'
67287 if test x"$ac_file" != x-; then
67288 configure_input="$ac_file. $configure_input"
67289 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
67290 $as_echo "$as_me: creating $ac_file" >&6;}
67292 # Neutralize special characters interpreted by sed in replacement strings.
67293 case $configure_input in #(
67294 *\&* | *\|* | *\\* )
67295 ac_sed_conf_input=`$as_echo "$configure_input" |
67296 sed 's/[\\\\&|]/\\\\&/g'`;; #(
67297 *) ac_sed_conf_input=$configure_input;;
67298 esac
67300 case $ac_tag in
67301 *:-:* | *:-) cat >"$tmp/stdin" \
67302 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
67303 esac
67305 esac
67307 ac_dir=`$as_dirname -- "$ac_file" ||
67308 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67309 X"$ac_file" : 'X\(//\)[^/]' \| \
67310 X"$ac_file" : 'X\(//\)$' \| \
67311 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
67312 $as_echo X"$ac_file" |
67313 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67314 s//\1/
67317 /^X\(\/\/\)[^/].*/{
67318 s//\1/
67321 /^X\(\/\/\)$/{
67322 s//\1/
67325 /^X\(\/\).*/{
67326 s//\1/
67329 s/.*/./; q'`
67330 as_dir="$ac_dir"; as_fn_mkdir_p
67331 ac_builddir=.
67333 case "$ac_dir" in
67334 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
67336 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
67337 # A ".." for each directory in $ac_dir_suffix.
67338 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
67339 case $ac_top_builddir_sub in
67340 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
67341 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
67342 esac ;;
67343 esac
67344 ac_abs_top_builddir=$ac_pwd
67345 ac_abs_builddir=$ac_pwd$ac_dir_suffix
67346 # for backward compatibility:
67347 ac_top_builddir=$ac_top_build_prefix
67349 case $srcdir in
67350 .) # We are building in place.
67351 ac_srcdir=.
67352 ac_top_srcdir=$ac_top_builddir_sub
67353 ac_abs_top_srcdir=$ac_pwd ;;
67354 [\\/]* | ?:[\\/]* ) # Absolute name.
67355 ac_srcdir=$srcdir$ac_dir_suffix;
67356 ac_top_srcdir=$srcdir
67357 ac_abs_top_srcdir=$srcdir ;;
67358 *) # Relative name.
67359 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
67360 ac_top_srcdir=$ac_top_build_prefix$srcdir
67361 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
67362 esac
67363 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
67366 case $ac_mode in
67369 # CONFIG_FILE
67372 case $INSTALL in
67373 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
67374 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
67375 esac
67376 ac_MKDIR_P=$MKDIR_P
67377 case $MKDIR_P in
67378 [\\/$]* | ?:[\\/]* ) ;;
67379 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
67380 esac
67381 _ACEOF
67383 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67384 # If the template does not know about datarootdir, expand it.
67385 # FIXME: This hack should be removed a few years after 2.60.
67386 ac_datarootdir_hack=; ac_datarootdir_seen=
67387 ac_sed_dataroot='
67388 /datarootdir/ {
67392 /@datadir@/p
67393 /@docdir@/p
67394 /@infodir@/p
67395 /@localedir@/p
67396 /@mandir@/p'
67397 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
67398 *datarootdir*) ac_datarootdir_seen=yes;;
67399 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
67400 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
67401 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
67402 _ACEOF
67403 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67404 ac_datarootdir_hack='
67405 s&@datadir@&$datadir&g
67406 s&@docdir@&$docdir&g
67407 s&@infodir@&$infodir&g
67408 s&@localedir@&$localedir&g
67409 s&@mandir@&$mandir&g
67410 s&\\\${datarootdir}&$datarootdir&g' ;;
67411 esac
67412 _ACEOF
67414 # Neutralize VPATH when `$srcdir' = `.'.
67415 # Shell code in configure.ac might set extrasub.
67416 # FIXME: do we really want to maintain this feature?
67417 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67418 ac_sed_extra="$ac_vpsub
67419 $extrasub
67420 _ACEOF
67421 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67423 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
67424 s|@configure_input@|$ac_sed_conf_input|;t t
67425 s&@top_builddir@&$ac_top_builddir_sub&;t t
67426 s&@top_build_prefix@&$ac_top_build_prefix&;t t
67427 s&@srcdir@&$ac_srcdir&;t t
67428 s&@abs_srcdir@&$ac_abs_srcdir&;t t
67429 s&@top_srcdir@&$ac_top_srcdir&;t t
67430 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
67431 s&@builddir@&$ac_builddir&;t t
67432 s&@abs_builddir@&$ac_abs_builddir&;t t
67433 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
67434 s&@INSTALL@&$ac_INSTALL&;t t
67435 s&@MKDIR_P@&$ac_MKDIR_P&;t t
67436 $ac_datarootdir_hack
67438 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
67439 || as_fn_error "could not create $ac_file" "$LINENO" 5
67441 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
67442 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
67443 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
67444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
67445 which seems to be undefined. Please make sure it is defined." >&5
67446 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
67447 which seems to be undefined. Please make sure it is defined." >&2;}
67449 rm -f "$tmp/stdin"
67450 case $ac_file in
67451 -) cat "$tmp/out" && rm -f "$tmp/out";;
67452 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
67453 esac \
67454 || as_fn_error "could not create $ac_file" "$LINENO" 5
67458 # CONFIG_HEADER
67460 if test x"$ac_file" != x-; then
67462 $as_echo "/* $configure_input */" \
67463 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
67464 } >"$tmp/config.h" \
67465 || as_fn_error "could not create $ac_file" "$LINENO" 5
67466 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
67467 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
67468 $as_echo "$as_me: $ac_file is unchanged" >&6;}
67469 else
67470 rm -f "$ac_file"
67471 mv "$tmp/config.h" "$ac_file" \
67472 || as_fn_error "could not create $ac_file" "$LINENO" 5
67474 else
67475 $as_echo "/* $configure_input */" \
67476 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
67477 || as_fn_error "could not create -" "$LINENO" 5
67479 # Compute "$ac_file"'s index in $config_headers.
67480 _am_arg="$ac_file"
67481 _am_stamp_count=1
67482 for _am_header in $config_headers :; do
67483 case $_am_header in
67484 $_am_arg | $_am_arg:* )
67485 break ;;
67487 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
67488 esac
67489 done
67490 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
67491 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67492 X"$_am_arg" : 'X\(//\)[^/]' \| \
67493 X"$_am_arg" : 'X\(//\)$' \| \
67494 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
67495 $as_echo X"$_am_arg" |
67496 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67497 s//\1/
67500 /^X\(\/\/\)[^/].*/{
67501 s//\1/
67504 /^X\(\/\/\)$/{
67505 s//\1/
67508 /^X\(\/\).*/{
67509 s//\1/
67512 s/.*/./; q'`/stamp-h$_am_stamp_count
67515 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
67516 $as_echo "$as_me: executing $ac_file commands" >&6;}
67518 esac
67521 case $ac_file$ac_mode in
67522 "default-1":C)
67523 # Only add multilib support code if we just rebuilt the top-level
67524 # Makefile.
67525 case " $CONFIG_FILES " in
67526 *" Makefile "*)
67527 ac_file=Makefile . ${multi_basedir}/config-ml.in
67529 esac ;;
67530 "libtool":C)
67532 # See if we are running on zsh, and set the options which allow our
67533 # commands through without removal of \ escapes.
67534 if test -n "${ZSH_VERSION+set}" ; then
67535 setopt NO_GLOB_SUBST
67538 cfgfile="${ofile}T"
67539 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
67540 $RM "$cfgfile"
67542 cat <<_LT_EOF >> "$cfgfile"
67543 #! $SHELL
67545 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
67546 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
67547 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
67548 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
67550 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
67551 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
67552 # Written by Gordon Matzigkeit, 1996
67554 # This file is part of GNU Libtool.
67556 # GNU Libtool is free software; you can redistribute it and/or
67557 # modify it under the terms of the GNU General Public License as
67558 # published by the Free Software Foundation; either version 2 of
67559 # the License, or (at your option) any later version.
67561 # As a special exception to the GNU General Public License,
67562 # if you distribute this file as part of a program or library that
67563 # is built using GNU Libtool, you may include this file under the
67564 # same distribution terms that you use for the rest of that program.
67566 # GNU Libtool is distributed in the hope that it will be useful,
67567 # but WITHOUT ANY WARRANTY; without even the implied warranty of
67568 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
67569 # GNU General Public License for more details.
67571 # You should have received a copy of the GNU General Public License
67572 # along with GNU Libtool; see the file COPYING. If not, a copy
67573 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
67574 # obtained by writing to the Free Software Foundation, Inc.,
67575 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
67578 # The names of the tagged configurations supported by this script.
67579 available_tags="CXX "
67581 # ### BEGIN LIBTOOL CONFIG
67583 # Which release of libtool.m4 was used?
67584 macro_version=$macro_version
67585 macro_revision=$macro_revision
67587 # Whether or not to build shared libraries.
67588 build_libtool_libs=$enable_shared
67590 # Whether or not to build static libraries.
67591 build_old_libs=$enable_static
67593 # What type of objects to build.
67594 pic_mode=$pic_mode
67596 # Whether or not to optimize for fast installation.
67597 fast_install=$enable_fast_install
67599 # Shell to use when invoking shell scripts.
67600 SHELL=$lt_SHELL
67602 # An echo program that protects backslashes.
67603 ECHO=$lt_ECHO
67605 # The host system.
67606 host_alias=$host_alias
67607 host=$host
67608 host_os=$host_os
67610 # The build system.
67611 build_alias=$build_alias
67612 build=$build
67613 build_os=$build_os
67615 # A sed program that does not truncate output.
67616 SED=$lt_SED
67618 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
67619 Xsed="\$SED -e 1s/^X//"
67621 # A grep program that handles long lines.
67622 GREP=$lt_GREP
67624 # An ERE matcher.
67625 EGREP=$lt_EGREP
67627 # A literal string matcher.
67628 FGREP=$lt_FGREP
67630 # A BSD- or MS-compatible name lister.
67631 NM=$lt_NM
67633 # Whether we need soft or hard links.
67634 LN_S=$lt_LN_S
67636 # What is the maximum length of a command?
67637 max_cmd_len=$max_cmd_len
67639 # Object file suffix (normally "o").
67640 objext=$ac_objext
67642 # Executable file suffix (normally "").
67643 exeext=$exeext
67645 # whether the shell understands "unset".
67646 lt_unset=$lt_unset
67648 # turn spaces into newlines.
67649 SP2NL=$lt_lt_SP2NL
67651 # turn newlines into spaces.
67652 NL2SP=$lt_lt_NL2SP
67654 # An object symbol dumper.
67655 OBJDUMP=$lt_OBJDUMP
67657 # Method to check whether dependent libraries are shared objects.
67658 deplibs_check_method=$lt_deplibs_check_method
67660 # Command to use when deplibs_check_method == "file_magic".
67661 file_magic_cmd=$lt_file_magic_cmd
67663 # The archiver.
67664 AR=$lt_AR
67665 AR_FLAGS=$lt_AR_FLAGS
67667 # A symbol stripping program.
67668 STRIP=$lt_STRIP
67670 # Commands used to install an old-style archive.
67671 RANLIB=$lt_RANLIB
67672 old_postinstall_cmds=$lt_old_postinstall_cmds
67673 old_postuninstall_cmds=$lt_old_postuninstall_cmds
67675 # Whether to use a lock for old archive extraction.
67676 lock_old_archive_extraction=$lock_old_archive_extraction
67678 # A C compiler.
67679 LTCC=$lt_CC
67681 # LTCC compiler flags.
67682 LTCFLAGS=$lt_CFLAGS
67684 # Take the output of nm and produce a listing of raw symbols and C names.
67685 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
67687 # Transform the output of nm in a proper C declaration.
67688 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
67690 # Transform the output of nm in a C name address pair.
67691 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
67693 # Transform the output of nm in a C name address pair when lib prefix is needed.
67694 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
67696 # The name of the directory that contains temporary libtool files.
67697 objdir=$objdir
67699 # Used to examine libraries when file_magic_cmd begins with "file".
67700 MAGIC_CMD=$MAGIC_CMD
67702 # Must we lock files when doing compilation?
67703 need_locks=$lt_need_locks
67705 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
67706 DSYMUTIL=$lt_DSYMUTIL
67708 # Tool to change global to local symbols on Mac OS X.
67709 NMEDIT=$lt_NMEDIT
67711 # Tool to manipulate fat objects and archives on Mac OS X.
67712 LIPO=$lt_LIPO
67714 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
67715 OTOOL=$lt_OTOOL
67717 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
67718 OTOOL64=$lt_OTOOL64
67720 # Old archive suffix (normally "a").
67721 libext=$libext
67723 # Shared library suffix (normally ".so").
67724 shrext_cmds=$lt_shrext_cmds
67726 # The commands to extract the exported symbol list from a shared archive.
67727 extract_expsyms_cmds=$lt_extract_expsyms_cmds
67729 # Variables whose values should be saved in libtool wrapper scripts and
67730 # restored at link time.
67731 variables_saved_for_relink=$lt_variables_saved_for_relink
67733 # Do we need the "lib" prefix for modules?
67734 need_lib_prefix=$need_lib_prefix
67736 # Do we need a version for libraries?
67737 need_version=$need_version
67739 # Library versioning type.
67740 version_type=$version_type
67742 # Shared library runtime path variable.
67743 runpath_var=$runpath_var
67745 # Shared library path variable.
67746 shlibpath_var=$shlibpath_var
67748 # Is shlibpath searched before the hard-coded library search path?
67749 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
67751 # Format of library name prefix.
67752 libname_spec=$lt_libname_spec
67754 # List of archive names. First name is the real one, the rest are links.
67755 # The last name is the one that the linker finds with -lNAME
67756 library_names_spec=$lt_library_names_spec
67758 # The coded name of the library, if different from the real name.
67759 soname_spec=$lt_soname_spec
67761 # Permission mode override for installation of shared libraries.
67762 install_override_mode=$lt_install_override_mode
67764 # Command to use after installation of a shared archive.
67765 postinstall_cmds=$lt_postinstall_cmds
67767 # Command to use after uninstallation of a shared archive.
67768 postuninstall_cmds=$lt_postuninstall_cmds
67770 # Commands used to finish a libtool library installation in a directory.
67771 finish_cmds=$lt_finish_cmds
67773 # As "finish_cmds", except a single script fragment to be evaled but
67774 # not shown.
67775 finish_eval=$lt_finish_eval
67777 # Whether we should hardcode library paths into libraries.
67778 hardcode_into_libs=$hardcode_into_libs
67780 # Compile-time system search path for libraries.
67781 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
67783 # Run-time system search path for libraries.
67784 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
67786 # Whether dlopen is supported.
67787 dlopen_support=$enable_dlopen
67789 # Whether dlopen of programs is supported.
67790 dlopen_self=$enable_dlopen_self
67792 # Whether dlopen of statically linked programs is supported.
67793 dlopen_self_static=$enable_dlopen_self_static
67795 # Commands to strip libraries.
67796 old_striplib=$lt_old_striplib
67797 striplib=$lt_striplib
67800 # The linker used to build libraries.
67801 LD=$lt_LD
67803 # How to create reloadable object files.
67804 reload_flag=$lt_reload_flag
67805 reload_cmds=$lt_reload_cmds
67807 # Commands used to build an old-style archive.
67808 old_archive_cmds=$lt_old_archive_cmds
67810 # A language specific compiler.
67811 CC=$lt_compiler
67813 # Is the compiler the GNU compiler?
67814 with_gcc=$GCC
67816 # Compiler flag to turn off builtin functions.
67817 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
67819 # How to pass a linker flag through the compiler.
67820 wl=$lt_lt_prog_compiler_wl
67822 # Additional compiler flags for building library objects.
67823 pic_flag=$lt_lt_prog_compiler_pic
67825 # Compiler flag to prevent dynamic linking.
67826 link_static_flag=$lt_lt_prog_compiler_static
67828 # Does compiler simultaneously support -c and -o options?
67829 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
67831 # Whether or not to add -lc for building shared libraries.
67832 build_libtool_need_lc=$archive_cmds_need_lc
67834 # Whether or not to disallow shared libs when runtime libs are static.
67835 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
67837 # Compiler flag to allow reflexive dlopens.
67838 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
67840 # Compiler flag to generate shared objects directly from archives.
67841 whole_archive_flag_spec=$lt_whole_archive_flag_spec
67843 # Whether the compiler copes with passing no objects directly.
67844 compiler_needs_object=$lt_compiler_needs_object
67846 # Create an old-style archive from a shared archive.
67847 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
67849 # Create a temporary old-style archive to link instead of a shared archive.
67850 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
67852 # Commands used to build a shared archive.
67853 archive_cmds=$lt_archive_cmds
67854 archive_expsym_cmds=$lt_archive_expsym_cmds
67856 # Commands used to build a loadable module if different from building
67857 # a shared archive.
67858 module_cmds=$lt_module_cmds
67859 module_expsym_cmds=$lt_module_expsym_cmds
67861 # Whether we are building with GNU ld or not.
67862 with_gnu_ld=$lt_with_gnu_ld
67864 # Flag that allows shared libraries with undefined symbols to be built.
67865 allow_undefined_flag=$lt_allow_undefined_flag
67867 # Flag that enforces no undefined symbols.
67868 no_undefined_flag=$lt_no_undefined_flag
67870 # Flag to hardcode \$libdir into a binary during linking.
67871 # This must work even if \$libdir does not exist
67872 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
67874 # If ld is used when linking, flag to hardcode \$libdir into a binary
67875 # during linking. This must work even if \$libdir does not exist.
67876 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
67878 # Whether we need a single "-rpath" flag with a separated argument.
67879 hardcode_libdir_separator=$lt_hardcode_libdir_separator
67881 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
67882 # DIR into the resulting binary.
67883 hardcode_direct=$hardcode_direct
67885 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
67886 # DIR into the resulting binary and the resulting library dependency is
67887 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
67888 # library is relocated.
67889 hardcode_direct_absolute=$hardcode_direct_absolute
67891 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
67892 # into the resulting binary.
67893 hardcode_minus_L=$hardcode_minus_L
67895 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
67896 # into the resulting binary.
67897 hardcode_shlibpath_var=$hardcode_shlibpath_var
67899 # Set to "yes" if building a shared library automatically hardcodes DIR
67900 # into the library and all subsequent libraries and executables linked
67901 # against it.
67902 hardcode_automatic=$hardcode_automatic
67904 # Set to yes if linker adds runtime paths of dependent libraries
67905 # to runtime path list.
67906 inherit_rpath=$inherit_rpath
67908 # Whether libtool must link a program against all its dependency libraries.
67909 link_all_deplibs=$link_all_deplibs
67911 # Fix the shell variable \$srcfile for the compiler.
67912 fix_srcfile_path=$lt_fix_srcfile_path
67914 # Set to "yes" if exported symbols are required.
67915 always_export_symbols=$always_export_symbols
67917 # The commands to list exported symbols.
67918 export_symbols_cmds=$lt_export_symbols_cmds
67920 # Symbols that should not be listed in the preloaded symbols.
67921 exclude_expsyms=$lt_exclude_expsyms
67923 # Symbols that must always be exported.
67924 include_expsyms=$lt_include_expsyms
67926 # Commands necessary for linking programs (against libraries) with templates.
67927 prelink_cmds=$lt_prelink_cmds
67929 # Specify filename containing input files.
67930 file_list_spec=$lt_file_list_spec
67932 # How to hardcode a shared library path into an executable.
67933 hardcode_action=$hardcode_action
67935 # The directories searched by this compiler when creating a shared library.
67936 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
67938 # Dependencies to place before and after the objects being linked to
67939 # create a shared library.
67940 predep_objects=$lt_predep_objects
67941 postdep_objects=$lt_postdep_objects
67942 predeps=$lt_predeps
67943 postdeps=$lt_postdeps
67945 # The library search path used internally by the compiler when linking
67946 # a shared library.
67947 compiler_lib_search_path=$lt_compiler_lib_search_path
67949 # ### END LIBTOOL CONFIG
67951 _LT_EOF
67953 case $host_os in
67954 aix3*)
67955 cat <<\_LT_EOF >> "$cfgfile"
67956 # AIX sometimes has problems with the GCC collect2 program. For some
67957 # reason, if we set the COLLECT_NAMES environment variable, the problems
67958 # vanish in a puff of smoke.
67959 if test "X${COLLECT_NAMES+set}" != Xset; then
67960 COLLECT_NAMES=
67961 export COLLECT_NAMES
67963 _LT_EOF
67965 esac
67968 ltmain="$ac_aux_dir/ltmain.sh"
67971 # We use sed instead of cat because bash on DJGPP gets confused if
67972 # if finds mixed CR/LF and LF-only lines. Since sed operates in
67973 # text mode, it properly converts lines to CR/LF. This bash problem
67974 # is reportedly fixed, but why not run on old versions too?
67975 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
67976 || (rm -f "$cfgfile"; exit 1)
67978 case $xsi_shell in
67979 yes)
67980 cat << \_LT_EOF >> "$cfgfile"
67982 # func_dirname file append nondir_replacement
67983 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
67984 # otherwise set result to NONDIR_REPLACEMENT.
67985 func_dirname ()
67987 case ${1} in
67988 */*) func_dirname_result="${1%/*}${2}" ;;
67989 * ) func_dirname_result="${3}" ;;
67990 esac
67993 # func_basename file
67994 func_basename ()
67996 func_basename_result="${1##*/}"
67999 # func_dirname_and_basename file append nondir_replacement
68000 # perform func_basename and func_dirname in a single function
68001 # call:
68002 # dirname: Compute the dirname of FILE. If nonempty,
68003 # add APPEND to the result, otherwise set result
68004 # to NONDIR_REPLACEMENT.
68005 # value returned in "$func_dirname_result"
68006 # basename: Compute filename of FILE.
68007 # value retuned in "$func_basename_result"
68008 # Implementation must be kept synchronized with func_dirname
68009 # and func_basename. For efficiency, we do not delegate to
68010 # those functions but instead duplicate the functionality here.
68011 func_dirname_and_basename ()
68013 case ${1} in
68014 */*) func_dirname_result="${1%/*}${2}" ;;
68015 * ) func_dirname_result="${3}" ;;
68016 esac
68017 func_basename_result="${1##*/}"
68020 # func_stripname prefix suffix name
68021 # strip PREFIX and SUFFIX off of NAME.
68022 # PREFIX and SUFFIX must not contain globbing or regex special
68023 # characters, hashes, percent signs, but SUFFIX may contain a leading
68024 # dot (in which case that matches only a dot).
68025 func_stripname ()
68027 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
68028 # positional parameters, so assign one to ordinary parameter first.
68029 func_stripname_result=${3}
68030 func_stripname_result=${func_stripname_result#"${1}"}
68031 func_stripname_result=${func_stripname_result%"${2}"}
68034 # func_opt_split
68035 func_opt_split ()
68037 func_opt_split_opt=${1%%=*}
68038 func_opt_split_arg=${1#*=}
68041 # func_lo2o object
68042 func_lo2o ()
68044 case ${1} in
68045 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
68046 *) func_lo2o_result=${1} ;;
68047 esac
68050 # func_xform libobj-or-source
68051 func_xform ()
68053 func_xform_result=${1%.*}.lo
68056 # func_arith arithmetic-term...
68057 func_arith ()
68059 func_arith_result=$(( $* ))
68062 # func_len string
68063 # STRING may not start with a hyphen.
68064 func_len ()
68066 func_len_result=${#1}
68069 _LT_EOF
68071 *) # Bourne compatible functions.
68072 cat << \_LT_EOF >> "$cfgfile"
68074 # func_dirname file append nondir_replacement
68075 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
68076 # otherwise set result to NONDIR_REPLACEMENT.
68077 func_dirname ()
68079 # Extract subdirectory from the argument.
68080 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
68081 if test "X$func_dirname_result" = "X${1}"; then
68082 func_dirname_result="${3}"
68083 else
68084 func_dirname_result="$func_dirname_result${2}"
68088 # func_basename file
68089 func_basename ()
68091 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
68095 # func_stripname prefix suffix name
68096 # strip PREFIX and SUFFIX off of NAME.
68097 # PREFIX and SUFFIX must not contain globbing or regex special
68098 # characters, hashes, percent signs, but SUFFIX may contain a leading
68099 # dot (in which case that matches only a dot).
68100 # func_strip_suffix prefix name
68101 func_stripname ()
68103 case ${2} in
68104 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
68105 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
68106 esac
68109 # sed scripts:
68110 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
68111 my_sed_long_arg='1s/^-[^=]*=//'
68113 # func_opt_split
68114 func_opt_split ()
68116 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
68117 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
68120 # func_lo2o object
68121 func_lo2o ()
68123 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
68126 # func_xform libobj-or-source
68127 func_xform ()
68129 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
68132 # func_arith arithmetic-term...
68133 func_arith ()
68135 func_arith_result=`expr "$@"`
68138 # func_len string
68139 # STRING may not start with a hyphen.
68140 func_len ()
68142 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
68145 _LT_EOF
68146 esac
68148 case $lt_shell_append in
68149 yes)
68150 cat << \_LT_EOF >> "$cfgfile"
68152 # func_append var value
68153 # Append VALUE to the end of shell variable VAR.
68154 func_append ()
68156 eval "$1+=\$2"
68158 _LT_EOF
68161 cat << \_LT_EOF >> "$cfgfile"
68163 # func_append var value
68164 # Append VALUE to the end of shell variable VAR.
68165 func_append ()
68167 eval "$1=\$$1\$2"
68170 _LT_EOF
68172 esac
68175 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
68176 || (rm -f "$cfgfile"; exit 1)
68178 mv -f "$cfgfile" "$ofile" ||
68179 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
68180 chmod +x "$ofile"
68183 cat <<_LT_EOF >> "$ofile"
68185 # ### BEGIN LIBTOOL TAG CONFIG: CXX
68187 # The linker used to build libraries.
68188 LD=$lt_LD_CXX
68190 # How to create reloadable object files.
68191 reload_flag=$lt_reload_flag_CXX
68192 reload_cmds=$lt_reload_cmds_CXX
68194 # Commands used to build an old-style archive.
68195 old_archive_cmds=$lt_old_archive_cmds_CXX
68197 # A language specific compiler.
68198 CC=$lt_compiler_CXX
68200 # Is the compiler the GNU compiler?
68201 with_gcc=$GCC_CXX
68203 # Compiler flag to turn off builtin functions.
68204 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
68206 # How to pass a linker flag through the compiler.
68207 wl=$lt_lt_prog_compiler_wl_CXX
68209 # Additional compiler flags for building library objects.
68210 pic_flag=$lt_lt_prog_compiler_pic_CXX
68212 # Compiler flag to prevent dynamic linking.
68213 link_static_flag=$lt_lt_prog_compiler_static_CXX
68215 # Does compiler simultaneously support -c and -o options?
68216 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
68218 # Whether or not to add -lc for building shared libraries.
68219 build_libtool_need_lc=$archive_cmds_need_lc_CXX
68221 # Whether or not to disallow shared libs when runtime libs are static.
68222 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
68224 # Compiler flag to allow reflexive dlopens.
68225 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
68227 # Compiler flag to generate shared objects directly from archives.
68228 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
68230 # Whether the compiler copes with passing no objects directly.
68231 compiler_needs_object=$lt_compiler_needs_object_CXX
68233 # Create an old-style archive from a shared archive.
68234 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
68236 # Create a temporary old-style archive to link instead of a shared archive.
68237 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
68239 # Commands used to build a shared archive.
68240 archive_cmds=$lt_archive_cmds_CXX
68241 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
68243 # Commands used to build a loadable module if different from building
68244 # a shared archive.
68245 module_cmds=$lt_module_cmds_CXX
68246 module_expsym_cmds=$lt_module_expsym_cmds_CXX
68248 # Whether we are building with GNU ld or not.
68249 with_gnu_ld=$lt_with_gnu_ld_CXX
68251 # Flag that allows shared libraries with undefined symbols to be built.
68252 allow_undefined_flag=$lt_allow_undefined_flag_CXX
68254 # Flag that enforces no undefined symbols.
68255 no_undefined_flag=$lt_no_undefined_flag_CXX
68257 # Flag to hardcode \$libdir into a binary during linking.
68258 # This must work even if \$libdir does not exist
68259 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
68261 # If ld is used when linking, flag to hardcode \$libdir into a binary
68262 # during linking. This must work even if \$libdir does not exist.
68263 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
68265 # Whether we need a single "-rpath" flag with a separated argument.
68266 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
68268 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68269 # DIR into the resulting binary.
68270 hardcode_direct=$hardcode_direct_CXX
68272 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68273 # DIR into the resulting binary and the resulting library dependency is
68274 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
68275 # library is relocated.
68276 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
68278 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
68279 # into the resulting binary.
68280 hardcode_minus_L=$hardcode_minus_L_CXX
68282 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
68283 # into the resulting binary.
68284 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
68286 # Set to "yes" if building a shared library automatically hardcodes DIR
68287 # into the library and all subsequent libraries and executables linked
68288 # against it.
68289 hardcode_automatic=$hardcode_automatic_CXX
68291 # Set to yes if linker adds runtime paths of dependent libraries
68292 # to runtime path list.
68293 inherit_rpath=$inherit_rpath_CXX
68295 # Whether libtool must link a program against all its dependency libraries.
68296 link_all_deplibs=$link_all_deplibs_CXX
68298 # Fix the shell variable \$srcfile for the compiler.
68299 fix_srcfile_path=$lt_fix_srcfile_path_CXX
68301 # Set to "yes" if exported symbols are required.
68302 always_export_symbols=$always_export_symbols_CXX
68304 # The commands to list exported symbols.
68305 export_symbols_cmds=$lt_export_symbols_cmds_CXX
68307 # Symbols that should not be listed in the preloaded symbols.
68308 exclude_expsyms=$lt_exclude_expsyms_CXX
68310 # Symbols that must always be exported.
68311 include_expsyms=$lt_include_expsyms_CXX
68313 # Commands necessary for linking programs (against libraries) with templates.
68314 prelink_cmds=$lt_prelink_cmds_CXX
68316 # Specify filename containing input files.
68317 file_list_spec=$lt_file_list_spec_CXX
68319 # How to hardcode a shared library path into an executable.
68320 hardcode_action=$hardcode_action_CXX
68322 # The directories searched by this compiler when creating a shared library.
68323 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
68325 # Dependencies to place before and after the objects being linked to
68326 # create a shared library.
68327 predep_objects=$lt_predep_objects_CXX
68328 postdep_objects=$lt_postdep_objects_CXX
68329 predeps=$lt_predeps_CXX
68330 postdeps=$lt_postdeps_CXX
68332 # The library search path used internally by the compiler when linking
68333 # a shared library.
68334 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
68336 # ### END LIBTOOL TAG CONFIG: CXX
68337 _LT_EOF
68340 "include/gstdint.h":C)
68341 if test "$GCC" = yes; then
68342 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
68343 else
68344 echo "/* generated for $CC */" > tmp-stdint.h
68347 sed 's/^ *//' >> tmp-stdint.h <<EOF
68349 #ifndef GCC_GENERATED_STDINT_H
68350 #define GCC_GENERATED_STDINT_H 1
68352 #include <sys/types.h>
68355 if test "$acx_cv_header_stdint" != stdint.h; then
68356 echo "#include <stddef.h>" >> tmp-stdint.h
68358 if test "$acx_cv_header_stdint" != stddef.h; then
68359 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
68362 sed 's/^ *//' >> tmp-stdint.h <<EOF
68363 /* glibc uses these symbols as guards to prevent redefinitions. */
68364 #ifdef __int8_t_defined
68365 #define _INT8_T
68366 #define _INT16_T
68367 #define _INT32_T
68368 #endif
68369 #ifdef __uint32_t_defined
68370 #define _UINT32_T
68371 #endif
68375 # ----------------- done header, emit basic int types -------------
68376 if test "$acx_cv_header_stdint" = stddef.h; then
68377 sed 's/^ *//' >> tmp-stdint.h <<EOF
68379 #ifndef _UINT8_T
68380 #define _UINT8_T
68381 #ifndef __uint8_t_defined
68382 #define __uint8_t_defined
68383 #ifndef uint8_t
68384 typedef unsigned $acx_cv_type_int8_t uint8_t;
68385 #endif
68386 #endif
68387 #endif
68389 #ifndef _UINT16_T
68390 #define _UINT16_T
68391 #ifndef __uint16_t_defined
68392 #define __uint16_t_defined
68393 #ifndef uint16_t
68394 typedef unsigned $acx_cv_type_int16_t uint16_t;
68395 #endif
68396 #endif
68397 #endif
68399 #ifndef _UINT32_T
68400 #define _UINT32_T
68401 #ifndef __uint32_t_defined
68402 #define __uint32_t_defined
68403 #ifndef uint32_t
68404 typedef unsigned $acx_cv_type_int32_t uint32_t;
68405 #endif
68406 #endif
68407 #endif
68409 #ifndef _INT8_T
68410 #define _INT8_T
68411 #ifndef __int8_t_defined
68412 #define __int8_t_defined
68413 #ifndef int8_t
68414 typedef $acx_cv_type_int8_t int8_t;
68415 #endif
68416 #endif
68417 #endif
68419 #ifndef _INT16_T
68420 #define _INT16_T
68421 #ifndef __int16_t_defined
68422 #define __int16_t_defined
68423 #ifndef int16_t
68424 typedef $acx_cv_type_int16_t int16_t;
68425 #endif
68426 #endif
68427 #endif
68429 #ifndef _INT32_T
68430 #define _INT32_T
68431 #ifndef __int32_t_defined
68432 #define __int32_t_defined
68433 #ifndef int32_t
68434 typedef $acx_cv_type_int32_t int32_t;
68435 #endif
68436 #endif
68437 #endif
68439 elif test "$ac_cv_type_u_int32_t" = yes; then
68440 sed 's/^ *//' >> tmp-stdint.h <<EOF
68442 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
68443 #ifndef _INT8_T
68444 #define _INT8_T
68445 #endif
68446 #ifndef _INT16_T
68447 #define _INT16_T
68448 #endif
68449 #ifndef _INT32_T
68450 #define _INT32_T
68451 #endif
68453 #ifndef _UINT8_T
68454 #define _UINT8_T
68455 #ifndef __uint8_t_defined
68456 #define __uint8_t_defined
68457 #ifndef uint8_t
68458 typedef u_int8_t uint8_t;
68459 #endif
68460 #endif
68461 #endif
68463 #ifndef _UINT16_T
68464 #define _UINT16_T
68465 #ifndef __uint16_t_defined
68466 #define __uint16_t_defined
68467 #ifndef uint16_t
68468 typedef u_int16_t uint16_t;
68469 #endif
68470 #endif
68471 #endif
68473 #ifndef _UINT32_T
68474 #define _UINT32_T
68475 #ifndef __uint32_t_defined
68476 #define __uint32_t_defined
68477 #ifndef uint32_t
68478 typedef u_int32_t uint32_t;
68479 #endif
68480 #endif
68481 #endif
68483 else
68484 sed 's/^ *//' >> tmp-stdint.h <<EOF
68486 /* Some systems have guard macros to prevent redefinitions, define them. */
68487 #ifndef _INT8_T
68488 #define _INT8_T
68489 #endif
68490 #ifndef _INT16_T
68491 #define _INT16_T
68492 #endif
68493 #ifndef _INT32_T
68494 #define _INT32_T
68495 #endif
68496 #ifndef _UINT8_T
68497 #define _UINT8_T
68498 #endif
68499 #ifndef _UINT16_T
68500 #define _UINT16_T
68501 #endif
68502 #ifndef _UINT32_T
68503 #define _UINT32_T
68504 #endif
68508 # ------------- done basic int types, emit int64_t types ------------
68509 if test "$ac_cv_type_uint64_t" = yes; then
68510 sed 's/^ *//' >> tmp-stdint.h <<EOF
68512 /* system headers have good uint64_t and int64_t */
68513 #ifndef _INT64_T
68514 #define _INT64_T
68515 #endif
68516 #ifndef _UINT64_T
68517 #define _UINT64_T
68518 #endif
68520 elif test "$ac_cv_type_u_int64_t" = yes; then
68521 sed 's/^ *//' >> tmp-stdint.h <<EOF
68523 /* system headers have an u_int64_t (and int64_t) */
68524 #ifndef _INT64_T
68525 #define _INT64_T
68526 #endif
68527 #ifndef _UINT64_T
68528 #define _UINT64_T
68529 #ifndef __uint64_t_defined
68530 #define __uint64_t_defined
68531 #ifndef uint64_t
68532 typedef u_int64_t uint64_t;
68533 #endif
68534 #endif
68535 #endif
68537 elif test -n "$acx_cv_type_int64_t"; then
68538 sed 's/^ *//' >> tmp-stdint.h <<EOF
68540 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
68541 #ifndef _INT64_T
68542 #define _INT64_T
68543 #ifndef int64_t
68544 typedef $acx_cv_type_int64_t int64_t;
68545 #endif
68546 #endif
68547 #ifndef _UINT64_T
68548 #define _UINT64_T
68549 #ifndef __uint64_t_defined
68550 #define __uint64_t_defined
68551 #ifndef uint64_t
68552 typedef unsigned $acx_cv_type_int64_t uint64_t;
68553 #endif
68554 #endif
68555 #endif
68557 else
68558 sed 's/^ *//' >> tmp-stdint.h <<EOF
68560 /* some common heuristics for int64_t, using compiler-specific tests */
68561 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
68562 #ifndef _INT64_T
68563 #define _INT64_T
68564 #ifndef __int64_t_defined
68565 #ifndef int64_t
68566 typedef long long int64_t;
68567 #endif
68568 #endif
68569 #endif
68570 #ifndef _UINT64_T
68571 #define _UINT64_T
68572 #ifndef uint64_t
68573 typedef unsigned long long uint64_t;
68574 #endif
68575 #endif
68577 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
68578 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
68579 does not implement __extension__. But that compiler doesn't define
68580 __GNUC_MINOR__. */
68581 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
68582 # define __extension__
68583 # endif
68585 # ifndef _INT64_T
68586 # define _INT64_T
68587 # ifndef int64_t
68588 __extension__ typedef long long int64_t;
68589 # endif
68590 # endif
68591 # ifndef _UINT64_T
68592 # define _UINT64_T
68593 # ifndef uint64_t
68594 __extension__ typedef unsigned long long uint64_t;
68595 # endif
68596 # endif
68598 #elif !defined __STRICT_ANSI__
68599 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
68601 # ifndef _INT64_T
68602 # define _INT64_T
68603 # ifndef int64_t
68604 typedef __int64 int64_t;
68605 # endif
68606 # endif
68607 # ifndef _UINT64_T
68608 # define _UINT64_T
68609 # ifndef uint64_t
68610 typedef unsigned __int64 uint64_t;
68611 # endif
68612 # endif
68613 # endif /* compiler */
68615 #endif /* ANSI version */
68619 # ------------- done int64_t types, emit intptr types ------------
68620 if test "$ac_cv_type_uintptr_t" != yes; then
68621 sed 's/^ *//' >> tmp-stdint.h <<EOF
68623 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
68624 #ifndef __uintptr_t_defined
68625 #ifndef uintptr_t
68626 typedef u$acx_cv_type_intptr_t uintptr_t;
68627 #endif
68628 #endif
68629 #ifndef __intptr_t_defined
68630 #ifndef intptr_t
68631 typedef $acx_cv_type_intptr_t intptr_t;
68632 #endif
68633 #endif
68637 # ------------- done intptr types, emit int_least types ------------
68638 if test "$ac_cv_type_int_least32_t" != yes; then
68639 sed 's/^ *//' >> tmp-stdint.h <<EOF
68641 /* Define int_least types */
68642 typedef int8_t int_least8_t;
68643 typedef int16_t int_least16_t;
68644 typedef int32_t int_least32_t;
68645 #ifdef _INT64_T
68646 typedef int64_t int_least64_t;
68647 #endif
68649 typedef uint8_t uint_least8_t;
68650 typedef uint16_t uint_least16_t;
68651 typedef uint32_t uint_least32_t;
68652 #ifdef _UINT64_T
68653 typedef uint64_t uint_least64_t;
68654 #endif
68658 # ------------- done intptr types, emit int_fast types ------------
68659 if test "$ac_cv_type_int_fast32_t" != yes; then
68660 sed 's/^ *//' >> tmp-stdint.h <<EOF
68662 /* Define int_fast types. short is often slow */
68663 typedef int8_t int_fast8_t;
68664 typedef int int_fast16_t;
68665 typedef int32_t int_fast32_t;
68666 #ifdef _INT64_T
68667 typedef int64_t int_fast64_t;
68668 #endif
68670 typedef uint8_t uint_fast8_t;
68671 typedef unsigned int uint_fast16_t;
68672 typedef uint32_t uint_fast32_t;
68673 #ifdef _UINT64_T
68674 typedef uint64_t uint_fast64_t;
68675 #endif
68679 if test "$ac_cv_type_uintmax_t" != yes; then
68680 sed 's/^ *//' >> tmp-stdint.h <<EOF
68682 /* Define intmax based on what we found */
68683 #ifndef intmax_t
68684 #ifdef _INT64_T
68685 typedef int64_t intmax_t;
68686 #else
68687 typedef long intmax_t;
68688 #endif
68689 #endif
68690 #ifndef uintmax_t
68691 #ifdef _UINT64_T
68692 typedef uint64_t uintmax_t;
68693 #else
68694 typedef unsigned long uintmax_t;
68695 #endif
68696 #endif
68700 sed 's/^ *//' >> tmp-stdint.h <<EOF
68702 #endif /* GCC_GENERATED_STDINT_H */
68705 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
68706 rm -f tmp-stdint.h
68707 else
68708 mv -f tmp-stdint.h include/gstdint.h
68712 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
68713 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
68714 "include/Makefile":F) cat > vpsed$$ << \_EOF
68715 s!`test -f '$<' || echo '$(srcdir)/'`!!
68716 _EOF
68717 sed -f vpsed$$ $ac_file > tmp$$
68718 mv tmp$$ $ac_file
68719 rm vpsed$$
68720 echo 'MULTISUBDIR =' >> $ac_file
68721 ml_norecursion=yes
68722 . ${multi_basedir}/config-ml.in
68723 { ml_norecursion=; unset ml_norecursion;}
68725 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
68726 s!`test -f '$<' || echo '$(srcdir)/'`!!
68727 _EOF
68728 sed -f vpsed$$ $ac_file > tmp$$
68729 mv tmp$$ $ac_file
68730 rm vpsed$$
68731 echo 'MULTISUBDIR =' >> $ac_file
68732 ml_norecursion=yes
68733 . ${multi_basedir}/config-ml.in
68734 { ml_norecursion=; unset ml_norecursion;}
68736 "python/Makefile":F) cat > vpsed$$ << \_EOF
68737 s!`test -f '$<' || echo '$(srcdir)/'`!!
68738 _EOF
68739 sed -f vpsed$$ $ac_file > tmp$$
68740 mv tmp$$ $ac_file
68741 rm vpsed$$
68742 echo 'MULTISUBDIR =' >> $ac_file
68743 ml_norecursion=yes
68744 . ${multi_basedir}/config-ml.in
68745 { ml_norecursion=; unset ml_norecursion;}
68747 "src/Makefile":F) cat > vpsed$$ << \_EOF
68748 s!`test -f '$<' || echo '$(srcdir)/'`!!
68749 _EOF
68750 sed -f vpsed$$ $ac_file > tmp$$
68751 mv tmp$$ $ac_file
68752 rm vpsed$$
68753 echo 'MULTISUBDIR =' >> $ac_file
68754 ml_norecursion=yes
68755 . ${multi_basedir}/config-ml.in
68756 { ml_norecursion=; unset ml_norecursion;}
68758 "doc/Makefile":F) cat > vpsed$$ << \_EOF
68759 s!`test -f '$<' || echo '$(srcdir)/'`!!
68760 _EOF
68761 sed -f vpsed$$ $ac_file > tmp$$
68762 mv tmp$$ $ac_file
68763 rm vpsed$$
68764 echo 'MULTISUBDIR =' >> $ac_file
68765 ml_norecursion=yes
68766 . ${multi_basedir}/config-ml.in
68767 { ml_norecursion=; unset ml_norecursion;}
68769 "po/Makefile":F) cat > vpsed$$ << \_EOF
68770 s!`test -f '$<' || echo '$(srcdir)/'`!!
68771 _EOF
68772 sed -f vpsed$$ $ac_file > tmp$$
68773 mv tmp$$ $ac_file
68774 rm vpsed$$
68775 echo 'MULTISUBDIR =' >> $ac_file
68776 ml_norecursion=yes
68777 . ${multi_basedir}/config-ml.in
68778 { ml_norecursion=; unset ml_norecursion;}
68780 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
68781 s!`test -f '$<' || echo '$(srcdir)/'`!!
68782 _EOF
68783 sed -f vpsed$$ $ac_file > tmp$$
68784 mv tmp$$ $ac_file
68785 rm vpsed$$
68786 echo 'MULTISUBDIR =' >> $ac_file
68787 ml_norecursion=yes
68788 . ${multi_basedir}/config-ml.in
68789 { ml_norecursion=; unset ml_norecursion;}
68791 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
68793 esac
68794 done # for ac_tag
68797 as_fn_exit 0
68798 _ACEOF
68799 ac_clean_files=$ac_clean_files_save
68801 test $ac_write_fail = 0 ||
68802 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
68805 # configure is writing to config.log, and then calls config.status.
68806 # config.status does its own redirection, appending to config.log.
68807 # Unfortunately, on DOS this fails, as config.log is still kept open
68808 # by configure, so config.status won't be able to write to it; its
68809 # output is simply discarded. So we exec the FD to /dev/null,
68810 # effectively closing config.log, so it can be properly (re)opened and
68811 # appended to by config.status. When coming back to configure, we
68812 # need to make the FD available again.
68813 if test "$no_create" != yes; then
68814 ac_cs_success=:
68815 ac_config_status_args=
68816 test "$silent" = yes &&
68817 ac_config_status_args="$ac_config_status_args --quiet"
68818 exec 5>/dev/null
68819 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
68820 exec 5>>config.log
68821 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
68822 # would make configure fail if this is the last instruction.
68823 $ac_cs_success || as_fn_exit $?
68825 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
68826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
68827 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}